Problem/Motivation
Drupal\FunctionalTests\Bootstrap\UncaughtExceptionTest::testLostDatabaseConnection
Behat\Mink\Exception\ResponseTextException: The text "DatabaseAccessDeniedException" was not found anywhere in the text of the current page.
This random failure is popping up now, 12 times recently according to the dashboard
Issue fork drupal-3521851
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3521851--random-test
changes, plain diff MR !11982
- 3521851-rerun
changes, plain diff MR !11981
Comments
Comment #2
acbramley commentedComment #4
acbramley commentedComment #6
acbramley commentedActually, the message in the failure is
I forgot the test case after the failed one still spits out HTML output.
Comment #7
acbramley commentedThis is so inconsistent.
The latest commit passed 100/100 times on a Repeat run but failed in the normal test run.
Then I reran the Repeat run and it failed every single time.
Comment #8
andypostlooks it caused by Mysql upgrade to 8.4 where the plugin is deprecated, now reverted #3515706: [CI] Switch the default test environment to PHP 8.4 and MySQL 8.4
just curious why it does not fire in daily tests
Comment #9
andypostupdated dev images https://git.drupalcode.org/project/drupalci_environments/-/commit/88e0e7...
triggered jobs to test new image
Comment #10
andypostComment #11
andypost@acbramley after fixes it looks no longer reproducible
Comment #12
andypostComment #13
acbramley commentedLooks good, thanks for that!