Problem/Motivation
Add testing with Maria DB 10.6 which is required by Drupal 11./
Steps to reproduce
Proposed resolution
Like it says, starting using an Maria DB 10.6test environment
Remaining tasks
Postponed on #3420973: Add MariaDB 10.6 to CI
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3420974
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:
Comments
Comment #4
andypostSecond commit can be removed after testing of the image
Comment #5
andypostimage pushed so removing testing commit and using new image https://git.drupalcode.org/project/drupalci_environments/-/jobs/808648
maybe the new job should be added to daily ones?
Comment #7
dimitriskr commentedComment #8
smustgrave commentedReviewed 6586, had test failures.
Comment #10
andypostIt was testing MR
Comment #11
smustgrave commentedTests are green for 10.6
Comment #14
catchCommitted/pushed to 11.x and cherry-picked to 10.2.x, thanks!
Removing the 'major version only' tag because it's fine to test with this combination on 10.x too.
Comment #15
dimitriskr commentedMariaDB 10.6: https://git.drupalcode.org/issue/drupal-2015121/-/pipelines/95023
MySQL 8: https://git.drupalcode.org/issue/drupal-2015121/-/pipelines/95019
There's something going on with
Drupal\FunctionalTests\Bootstrap\UncaughtExceptionTesttestComment #16
dimitriskr commentedComment #19
catchThose look like real failures. Reverted from both branches.
Comment #20
dimitriskr commentedWell, after the 3rd consecutive retry, the previously failed test passed.. Random? Connected with infrastructure issues?
https://git.drupalcode.org/issue/drupal-2015121/-/jobs/818007
Comment #21
andypost@dimitriskr maybe we should revert https://git.drupalcode.org/project/drupalci_environments/-/commit/fc58a0...
Comment #22
dimitriskr commentedI ran again the jobs and got the same error as before
Original phpunit error: https://git.drupalcode.org/issue/drupal-2015121/-/jobs/817769
Latest phpunit error: https://git.drupalcode.org/issue/drupal-2015121/-/jobs/918319
I re-ran the job only once (comparing to last time which passed at the 4th try) and it passed. Upon checking the browser output, I noticed it throwed different exception for the same reason. Is it something in the mysql driver?
Failing:
PDOException: SQLSTATE[HY000] [1698] Access denied for user 'cij44wcj6ozuljp5'@'127.0.0.1' in Drupal\Component\DependencyInjection\PhpArrayContainer->createService() (line 79 of /builds/issue/drupal-2015121/core/lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php).Passing:
Drupal\Core\Database\DatabaseAccessDeniedException: SQLSTATE[HY000] [1045] Access denied for user 'w7oihw6z5qupbfy5'@'127.0.0.1' (using password: YES) in Drupal\mysql\Driver\Database\mysql\Connection::open() (line 207 of /builds/issue/drupal-2015121/core/modules/mysql/src/Driver/Database/mysql/Connection.php).Comment #23
catchWhat's the status of #3401846: Add supported mariadb container images - are we missing something that was fixed in there maybe?
Comment #24
dimitriskr commentedThe differences in my.cnf is that #3401846: Add supported mariadb container images has extra
transaction_isolation = READ-COMMITTEDandinnodb_thread_concurrency = 0, while the committed my.cnf only hasinnodb_use_native_aio = 0Comment #25
quietone commentedWhat is the next step here?
Comment #26
quietone commentedI am not sure if there is work to be done here. Tests are passing on maria 10.6 so I am setting to NR.
Comment #27
catchYeah it looks fine to me too :)
We'll need another 11.x-specific issue to remove environments on the older database versions.
Comment #28
alexpottCommitted f1515fb and pushed to 11.x. Thanks!
Didn't backport cleanly to 10.3 and I don;t think we need it there as long as we have in 11.x