Page MenuHomePhabricator

MinervaNeue selenium tests sometimes hanging
Closed, DuplicatePublic

Description

Something is triggering presumably an infinite loop in the test runner after it's done npm ci?

Example:
https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php74-selenium-docker/2359/console

00:14:33.825 npm WARN deprecated core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
00:14:36.926 Build timed out (after 60 minutes). Marking the build as failed.
01:00:00.039 Build was aborted

Seen this on a few runs today. Maybe an issue in CI/infrastructure, maybe in the tests?

Event Timeline

This sometimes happen outside of npm ci when the tests are running
https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php81/879/console

16:49:24 Execution of 3 workers started at 2024-10-28T15:49:24.983Z
16:49:24 
16:49:26 [0-2] RUNNING in chrome - /tests/selenium/specs/watchstar.js
16:49:26 [0-0] RUNNING in chrome - /tests/selenium/specs/mainmenu_loggedin.js
16:49:26 [0-1] RUNNING in chrome - /tests/selenium/specs/references.js
16:49:42 [0-0] Nearby item will only appear in main menu if $wgMFNearby is configured
16:49:43 [0-0] PASSED in chrome - /tests/selenium/specs/mainmenu_loggedin.js
16:49:43 [0-2] PASSED in chrome - /tests/selenium/specs/watchstar.js
17:34:28 Build was aborted

Also timed out today
https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php82/891/console

13:34:43 Execution of 3 workers started at 2024-10-30T13:34:43.221Z
13:34:43 
13:34:44 [0-2] RUNNING in chrome - /tests/selenium/specs/watchstar.js
13:34:44 [0-1] RUNNING in chrome - /tests/selenium/specs/references.js
13:34:44 [0-0] RUNNING in chrome - /tests/selenium/specs/mainmenu_loggedin.js
13:35:00 [0-0] Nearby item will only appear in main menu if $wgMFNearby is configured
13:35:00 [0-0] PASSED in chrome - /tests/selenium/specs/mainmenu_loggedin.js
13:35:01 [0-2] PASSED in chrome - /tests/selenium/specs/watchstar.js
14:30:12 Build timed out (after 60 minutes). Marking the build as failed.
14:30:12 Build was aborted

Tentatively marking as duplicate of T389536, which is receiving immediate attention. I'm not 100% sure that it's the same issue, but when selenium is involved I'm not sure of anything, so here we go.