Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
phpunit
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
25 Jul 2024 at 07:59 UTC
Updated:
19 Feb 2026 at 14:19 UTC
Jump to comment: Most recent
Move performance tests to selenium. Follow-up to #3463534: Performance test gitlab job is broken - revert to use chromedriver and blocks #3462682: Deprecate non-W3C compliant testing
Move job to use selenium and all tests are skipped.
Fix container. I'm pretty sure it has something to do with
tags:
- performance-test-runner
As the tests run successfully on selenium as part of the main job.
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
catchAdded verbose logging, the logging is more verbose but it's not giving me any more hints about what's going wrong.
Comment #5
alexpottFrom the verbose we see:
So the key part seems to be that selenium fails to start up chromedriver - it'd be great to see what is in /builds/chromedriver.log
Comment #7
alexpottNeeded to open a branch on core to actually test this. This MR is now working https://git.drupalcode.org/project/drupal/-/jobs/8348192
Comment #8
alexpott@maxwhitehead did the debugging that lead to the solution - I added them to the contribution list.
Comment #9
alexpottSo two things...
1. The chromedriver.log problem happens because there already is a chromedriver.log file in /build
2. This is not done right because we're not getting all the logs back from chrome....
The latest pushes to this branch address the latter issue. Something we thought was legacy turns out not to be.
I think this is ready now.
Comment #10
catchOK this looks great. I'm not sure why I thought one of those chrome configuration keys was legacy, maybe got confused with https://issues.chromium.org/issues/42322034. Let's just remove the comment.
Comment #11
alexpottI think some of tracing categories are legacy but still supported so maybe that's it. But moving to the non legacy versions eg
disabled-by-default-devtools.timelinewould result in more and different data so we shouldn't move to that here. Maybe it is something to consider when we move to a more modern version of Chrome.Comment #12
longwaveCommitted and pushed f1884efb4f9 to main and fec981c61ad to 11.x. Thanks!