Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
mysql db driver
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Dec 2025 at 03:17 UTC
Updated:
21 Jan 2026 at 11:06 UTC
Jump to comment: Most recent
Comments
Comment #2
andypostprobably the cause is
\Drupal\FunctionalTests\Update\UpdatePathTestBase::doInstall()Comment #3
andypostmore precise title
Comment #5
andypostComment #6
mondrakeChanges are in teardown and tests runs are green. Thanks
Comment #7
mondrakeI think the IS needs to adjust the proposed resolution as it's very different from the MR
Comment #8
catchYes please.
Comment #9
mondrakeComment #10
mondrakeThe fix is good sense: you don't want to execute a method on a service that is not available, especially since we are at test tearDown and there's not much need to clear the session AFAICS.
What'd be interesting to find out is why tests fail for mysqli, but for other drivers don't. But that's IMHO lower priority than fixing the issue here which is a Critical. Follow up for that?
Comment #11
mondrakeComment #12
mondrakeComment #13
mondrakeComment #14
mondrakeComment #15
smustgrave commentedSorry to be that guy, needs a rebase please.
Comment #16
mondrakeRebase Xmas Edition. Happy holidays!
Comment #17
smustgrave commentedLeft a comment
Happy holidays to you too!
Comment #18
mondrakeChanged as suggested
Comment #19
smustgrave commentedGoing on a limb and marking but the 1 feedback I saw was addressed.
Comment #20
xjmGetting mixed signals... The MR is still marked as a draft. :) If it is not a draft, please mark it as ready. :)
Comment #21
mondrakeOnly the author can do the un-drafting, so please @andypost the honor is yours
Comment #22
andypost+1 RTBC, marked as ready
Comment #23
mondrakeComment #25
xjmCommitted to 11.x, thanks!
It did not cherry-pick cleanly to 11.3.x, but I assume we want it there too?
Comment #26
mondrakeIt's probably due to #3562159: Make it easier to run test-only job against different PHP / DB combinations not being backported. If there's no need for that, then I'd say there's no need here either. Otherwise I'd suggest to backport that first to have the pipelines in sync.
Comment #27
catchUsually a bit hesitant to backport big CI changes because sooner or later we change something we don't want to backport (like default PHP version), but went ahead and backported that one so this can get in easier.
Comment #29
xjmCherry-picked to 11.3.x as well now, and adding credit for @catch on review of the backport. Thanks!