Page MenuHomePhabricator

Investigate occasionally failing before each hooks for termbox
Open, Needs TriagePublic

Description

While centrally looking at browser test failures T277205 it sems that the termbox tests can be a little unreliable in CI.

1 [Chrome 90.0.4430.212 linux #0-8]    ✖ "before each" hook for Termbox: reading
1 [Chrome 90.0.4430.212 linux #0-7]    ✖ "before each" hook for Termbox: LicenseOverlay
1 [Chrome 90.0.4430.212 linux #0-6]        ✖ "before each" hook for Termbox: editing
1 [Chrome 90.0.4430.212 linux #0-5]    ✖ "before each" hook for Termbox: AnonEditWarning

The most recent failures of these happen in https://integration.wikimedia.org/ci/view/All/job/wmf-quibble-selenium-php72-docker/125081/
(which I have for now marked as keep the build forever)

Event Timeline

https://gerrit.wikimedia.org/r/c/mediawiki/core/+/976297/ https://integration.wikimedia.org/ci/job/wmf-quibble-selenium-php74-docker/69597/console

19:25:47 ------------------------------------------------------------------
19:25:47 [Chrome 90.0.4430.212 linux #0-7] Running: Chrome (v90.0.4430.212) on linux
19:25:47 [Chrome 90.0.4430.212 linux #0-7] Session ID: 094e389d-5e38-4aec-a073-5ba94e217b49
19:25:47 [Chrome 90.0.4430.212 linux #0-7]
19:25:47 [Chrome 90.0.4430.212 linux #0-7] » /view/lib/wikibase-termbox/tests/selenium/specs/LicenseOverlay.spec.js
19:25:47 [Chrome 90.0.4430.212 linux #0-7] Termbox: LicenseOverlay
19:25:47 [Chrome 90.0.4430.212 linux #0-7]    ? is shown when clicking publish
19:25:47 [Chrome 90.0.4430.212 linux #0-7]    ✖ "before each" hook for Termbox: LicenseOverlay
19:25:47 [Chrome 90.0.4430.212 linux #0-7]    ✖ "after each" hook for Termbox: LicenseOverlay
19:25:47 [Chrome 90.0.4430.212 linux #0-7]
19:25:47 [Chrome 90.0.4430.212 linux #0-7] 2 failing (3m 41.8s)
19:25:47 [Chrome 90.0.4430.212 linux #0-7]
19:25:47 [Chrome 90.0.4430.212 linux #0-7] 1) Termbox: LicenseOverlay "before each" hook for Termbox: LicenseOverlay
19:25:47 [Chrome 90.0.4430.212 linux #0-7] Timeout of 60000ms exceeded. The execution in the test "Termbox: LicenseOverlay "before each" hook for "is shown when clicking publish"" took too long. Try to reduce the run time or increase your timeout for test specs (https://webdriver.io/docs/timeouts). (/workspace/src/extensions/Wikibase/view/lib/wikibase-termbox/tests/selenium/specs/LicenseOverlay.spec.js)
19:25:47 [Chrome 90.0.4430.212 linux #0-7] Error: Timeout of 60000ms exceeded. The execution in the test "Termbox: LicenseOverlay "before each" hook for "is shown when clicking publish"" took too long. Try to reduce the run time or increase your timeout for test specs (https://webdriver.io/docs/timeouts). (/workspace/src/extensions/Wikibase/view/lib/wikibase-termbox/tests/selenium/specs/LicenseOverlay.spec.js)
19:25:47 [Chrome 90.0.4430.212 linux #0-7]     at createTimeoutError (/workspace/src/extensions/Wikibase/node_modules/mocha/lib/errors.js:498:15)
19:25:47 [Chrome 90.0.4430.212 linux #0-7]     at Hook.Runnable._timeoutError (/workspace/src/extensions/Wikibase/node_modules/mocha/lib/runnable.js:431:10)
19:25:47 [Chrome 90.0.4430.212 linux #0-7]     at Timeout.<anonymous> (/workspace/src/extensions/Wikibase/node_modules/mocha/lib/runnable.js:246:24)
19:25:47 [Chrome 90.0.4430.212 linux #0-7]     at listOnTimeout (node:internal/timers:559:17)
19:25:47 [Chrome 90.0.4430.212 linux #0-7]     at processTimers (node:internal/timers:502:7)
19:25:47 [Chrome 90.0.4430.212 linux #0-7]
19:25:47 [Chrome 90.0.4430.212 linux #0-7] 2) Termbox: LicenseOverlay "after each" hook for Termbox: LicenseOverlay
19:25:47 [Chrome 90.0.4430.212 linux #0-7] Timeout of 60000ms exceeded. The execution in the test "Termbox: LicenseOverlay "after each" hook for "is shown when clicking publish"" took too long. Try to reduce the run time or increase your timeout for test specs (https://webdriver.io/docs/timeouts). (/workspace/src/extensions/Wikibase/view/lib/wikibase-termbox/tests/selenium/specs/LicenseOverlay.spec.js)
19:25:47 [Chrome 90.0.4430.212 linux #0-7] Error: Timeout of 60000ms exceeded. The execution in the test "Termbox: LicenseOverlay "after each" hook for "is shown when clicking publish"" took too long. Try to reduce the run time or increase your timeout for test specs (https://webdriver.io/docs/timeouts). (/workspace/src/extensions/Wikibase/view/lib/wikibase-termbox/tests/selenium/specs/LicenseOverlay.spec.js)
19:25:47 [Chrome 90.0.4430.212 linux #0-7]     at createTimeoutError (/workspace/src/extensions/Wikibase/node_modules/mocha/lib/errors.js:498:15)
19:25:47 [Chrome 90.0.4430.212 linux #0-7]     at Hook.Runnable._timeoutError (/workspace/src/extensions/Wikibase/node_modules/mocha/lib/runnable.js:431:10)
19:25:47 [Chrome 90.0.4430.212 linux #0-7]     at Timeout.<anonymous> (/workspace/src/extensions/Wikibase/node_modules/mocha/lib/runnable.js:246:24)
19:25:47 [Chrome 90.0.4430.212 linux #0-7]     at listOnTimeout (node:internal/timers:559:17)
19:25:47 [Chrome 90.0.4430.212 linux #0-7]     at processTimers (node:internal/timers:502:7)
19:25:47 ------------------------------------------------------------------
19:25:47 [Chrome 90.0.4430.212 linux #0-7] Running: Chrome (v90.0.4430.212) on linux
19:25:47 [Chrome 90.0.4430.212 linux #0-7] Session ID: 4d2e7028-e32e-4501-9288-178a5117856c
19:25:47 [Chrome 90.0.4430.212 linux #0-7]
19:25:47 [Chrome 90.0.4430.212 linux #0-7] » /view/lib/wikibase-termbox/tests/selenium/specs/LicenseOverlay.spec.js
19:25:47 [Chrome 90.0.4430.212 linux #0-7] Termbox: LicenseOverlay
19:25:47 [Chrome 90.0.4430.212 linux #0-7]    ? is shown when clicking publish
19:25:47 [Chrome 90.0.4430.212 linux #0-7]    ✖ "before each" hook for Termbox: LicenseOverlay
19:25:47 [Chrome 90.0.4430.212 linux #0-7]
19:25:47 [Chrome 90.0.4430.212 linux #0-7] 1 failing (1m 24.8s)
19:25:47 [Chrome 90.0.4430.212 linux #0-7]
19:25:47 [Chrome 90.0.4430.212 linux #0-7] 1) Termbox: LicenseOverlay "before each" hook for Termbox: LicenseOverlay
19:25:47 [Chrome 90.0.4430.212 linux #0-7] Timeout of 60000ms exceeded. The execution in the test "Termbox: LicenseOverlay "before each" hook for "is shown when clicking publish"" took too long. Try to reduce the run time or increase your timeout for test specs (https://webdriver.io/docs/timeouts). (/workspace/src/extensions/Wikibase/view/lib/wikibase-termbox/tests/selenium/specs/LicenseOverlay.spec.js)
19:25:47 [Chrome 90.0.4430.212 linux #0-7] Error: Timeout of 60000ms exceeded. The execution in the test "Termbox: LicenseOverlay "before each" hook for "is shown when clicking publish"" took too long. Try to reduce the run time or increase your timeout for test specs (https://webdriver.io/docs/timeouts). (/workspace/src/extensions/Wikibase/view/lib/wikibase-termbox/tests/selenium/specs/LicenseOverlay.spec.js)
19:25:47 [Chrome 90.0.4430.212 linux #0-7]     at createTimeoutError (/workspace/src/extensions/Wikibase/node_modules/mocha/lib/errors.js:498:15)
19:25:47 [Chrome 90.0.4430.212 linux #0-7]     at Hook.Runnable._timeoutError (/workspace/src/extensions/Wikibase/node_modules/mocha/lib/runnable.js:431:10)
19:25:47 [Chrome 90.0.4430.212 linux #0-7]     at Timeout.<anonymous> (/workspace/src/extensions/Wikibase/node_modules/mocha/lib/runnable.js:246:24)
19:25:47 [Chrome 90.0.4430.212 linux #0-7]     at listOnTimeout (node:internal/timers:559:17)
19:25:47 [Chrome 90.0.4430.212 linux #0-7]     at processTimers (node:internal/timers:502:7)
19:25:47 ------------------------------------------------------------------