Page MenuHomePhabricator

Browser Test failures on unrelated patches
Closed, DuplicatePublic

Description

Seen on https://gerrit.wikimedia.org/r/c/mediawiki/core/+/992509 https://integration.wikimedia.org/ci/job/wmf-quibble-selenium-php74-docker/78950/console

13:05:04 Setting up modified /workspace/src/LocalSettings.php
13:05:04 Restarting php7.4-fpm
13:05:04 [0-0] RUNNING in chrome - /tests/selenium/specs/newpagesfeed.js
13:05:05 [0-0] RunJobs through requests to the main page (run 1).
13:05:15 [0-0] RunJobs detected 3 more queued job(s).
13:05:15 [0-0] RunJobs through requests to the main page (run 2).
13:05:15 [0-0] RunJobs detected 3 more queued job(s).
13:05:15 [0-0] RunJobs through requests to the main page (run 3).
13:05:15 [0-0] RunJobs detected 3 more queued job(s).
13:05:15 [0-0] RunJobs through requests to the main page (run 4).
13:05:15 [0-0] RunJobs detected 3 more queued job(s).
13:05:15 [0-0] RunJobs through requests to the main page (run 5).
13:05:15 [0-0] RunJobs detected 3 more queued job(s).
13:05:15 [0-0] RunJobs through requests to the main page (run 6).
13:05:15 [0-0] RunJobs detected 3 more queued job(s).
13:05:15 [0-0] RunJobs through requests to the main page (run 7).
13:05:15 [0-0] RunJobs detected 3 more queued job(s).
13:05:15 [0-0] RunJobs through requests to the main page (run 8).
13:05:15 [0-0] RunJobs detected 3 more queued job(s).
13:05:15 [0-0] RunJobs through requests to the main page (run 9).
13:05:15 [0-0] RunJobs detected 3 more queued job(s).
13:05:15 [0-0] RunJobs through requests to the main page (run 10).
13:05:15 [0-0] RunJobs detected 3 more queued job(s).
13:05:15 [0-0] RunJobs stopping requests to the main page due to reached limit.
13:05:15 [0-0] PASSED in chrome - /tests/selenium/specs/newpagesfeed.js
13:05:17 [0-1] RUNNING in chrome - /tests/selenium/specs/toolbar.js
13:05:18 [0-1] RunJobs through requests to the main page (run 1).
13:05:21 [0-1] RunJobs detected 3 more queued job(s).
13:05:21 [0-1] RunJobs through requests to the main page (run 2).
13:05:21 [0-1] RunJobs detected 3 more queued job(s).
13:05:21 [0-1] RunJobs through requests to the main page (run 3).
13:05:21 [0-1] RunJobs detected 3 more queued job(s).
13:05:21 [0-1] RunJobs through requests to the main page (run 4).
13:05:21 [0-1] RunJobs detected 3 more queued job(s).
13:05:21 [0-1] RunJobs through requests to the main page (run 5).
13:05:21 [0-1] RunJobs detected 3 more queued job(s).
13:05:21 [0-1] RunJobs through requests to the main page (run 6).
13:05:21 [0-1] RunJobs detected 3 more queued job(s).
13:05:21 [0-1] RunJobs through requests to the main page (run 7).
13:05:21 [0-1] RunJobs detected 3 more queued job(s).
13:05:21 [0-1] RunJobs through requests to the main page (run 8).
13:05:21 [0-1] RunJobs detected 3 more queued job(s).
13:05:21 [0-1] RunJobs through requests to the main page (run 9).
13:05:21 [0-1] RunJobs detected 3 more queued job(s).
13:05:21 [0-1] RunJobs through requests to the main page (run 10).
13:05:21 [0-1] RunJobs detected 3 more queued job(s).
13:05:21 [0-1] RunJobs stopping requests to the main page due to reached limit.
13:05:21 [0-1] Error in "PageTriage Toolbar.should allow user to add a maintainence tag to a page"
13:05:35 Error: waitUntil condition timed out after 5000ms
13:05:35     at /workspace/src/extensions/PageTriage/node_modules/webdriverio/build/commands/browser/waitUntil.js:68:19
13:05:35     at async Browser.wrapCommandFn (/workspace/src/extensions/PageTriage/node_modules/@wdio/utils/build/shim.js:137:29)
13:05:35     at async Context.<anonymous> (/workspace/src/extensions/PageTriage/tests/selenium/specs/toolbar.js:67:3)
13:05:35 [0-1] RETRYING in chrome - /tests/selenium/specs/toolbar.js
13:05:43 [0-1] RUNNING in chrome - /tests/selenium/specs/toolbar.js
13:05:43 [0-1] RunJobs through requests to the main page (run 1).
13:05:46 [0-1] RunJobs detected 3 more queued job(s).
13:05:46 [0-1] RunJobs through requests to the main page (run 2).
13:05:46 [0-1] RunJobs detected 3 more queued job(s).
13:05:46 [0-1] RunJobs through requests to the main page (run 3).
13:05:46 [0-1] RunJobs detected 3 more queued job(s).
13:05:46 [0-1] RunJobs through requests to the main page (run 4).
13:05:46 [0-1] RunJobs detected 3 more queued job(s).
13:05:46 [0-1] RunJobs through requests to the main page (run 5).
13:05:46 [0-1] RunJobs detected 3 more queued job(s).
13:05:46 [0-1] RunJobs through requests to the main page (run 6).
13:05:46 [0-1] RunJobs detected 17 more queued job(s).
13:05:46 [0-1] RunJobs through requests to the main page (run 7).
13:05:46 [0-1] RunJobs detected 17 more queued job(s).
13:05:47 [0-1] RunJobs through requests to the main page (run 8).
13:05:47 [0-1] RunJobs detected 17 more queued job(s).
13:05:47 [0-1] RunJobs through requests to the main page (run 9).
13:05:47 [0-1] RunJobs detected 17 more queued job(s).
13:05:47 [0-1] RunJobs through requests to the main page (run 10).
13:05:47 [0-1] RunJobs detected 17 more queued job(s).
13:05:47 [0-1] RunJobs stopping requests to the main page due to reached limit.
13:05:47 [0-1] Error in "PageTriage Toolbar.should allow user to add a maintainence tag to a page"
13:06:00 Error: waitUntil condition timed out after 5000ms
13:06:00     at /workspace/src/extensions/PageTriage/node_modules/webdriverio/build/commands/browser/waitUntil.js:68:19
13:06:00     at async Browser.wrapCommandFn (/workspace/src/extensions/PageTriage/node_modules/@wdio/utils/build/shim.js:137:29)
13:06:00     at async Context.<anonymous> (/workspace/src/extensions/PageTriage/tests/selenium/specs/toolbar.js:67:3)
13:06:00 [0-1] FAILED in chrome - /tests/selenium/specs/toolbar.js (1 retries)
13:06:07 Restoring original /workspace/src/LocalSettings.php
13:06:07 Restarting php7.4-fpm
13:06:07 
13:06:08  "spec" Reporter:
13:06:08 ------------------------------------------------------------------
13:06:08 [Chrome 90.0.4430.212 linux #0-0] Running: Chrome (v90.0.4430.212) on linux
13:06:08 [Chrome 90.0.4430.212 linux #0-0] Session ID: 2beaa9ee-14d2-490f-8a9a-23b89676c2f4
13:06:08 [Chrome 90.0.4430.212 linux #0-0]
13:06:08 [Chrome 90.0.4430.212 linux #0-0] » /tests/selenium/specs/newpagesfeed.js
13:06:08 [Chrome 90.0.4430.212 linux #0-0] Special:NewPagesFeed
13:06:08 [Chrome 90.0.4430.212 linux #0-0]    ✓ is viewable
13:06:08 [Chrome 90.0.4430.212 linux #0-0]    ✓ new article appears in feed
13:06:08 [Chrome 90.0.4430.212 linux #0-0]
13:06:08 [Chrome 90.0.4430.212 linux #0-0] 2 passing (11.7s)
13:06:08 ------------------------------------------------------------------
13:06:08 [Chrome 90.0.4430.212 linux #0-1] Running: Chrome (v90.0.4430.212) on linux
13:06:08 [Chrome 90.0.4430.212 linux #0-1] Session ID: b79adfe9-4bd9-4d1c-b573-5c4110a199ef
13:06:08 [Chrome 90.0.4430.212 linux #0-1]
13:06:08 [Chrome 90.0.4430.212 linux #0-1] » /tests/selenium/specs/toolbar.js
13:06:08 [Chrome 90.0.4430.212 linux #0-1] PageTriage Toolbar
13:06:08 [Chrome 90.0.4430.212 linux #0-1]    ✓ should load
13:06:08 [Chrome 90.0.4430.212 linux #0-1]    ✖ should allow user to add a maintainence tag to a page
13:06:08 [Chrome 90.0.4430.212 linux #0-1]    ✓ should allow user to add a maintainence tag to a page and send a note to user
13:06:08 [Chrome 90.0.4430.212 linux #0-1]
13:06:08 [Chrome 90.0.4430.212 linux #0-1] 2 passing (23.3s)
13:06:08 [Chrome 90.0.4430.212 linux #0-1] 1 failing
13:06:08 [Chrome 90.0.4430.212 linux #0-1]
13:06:08 [Chrome 90.0.4430.212 linux #0-1] 1) PageTriage Toolbar should allow user to add a maintainence tag to a page
13:06:08 [Chrome 90.0.4430.212 linux #0-1] waitUntil condition timed out after 5000ms
13:06:08 [Chrome 90.0.4430.212 linux #0-1] Error: waitUntil condition timed out after 5000ms
13:06:08 [Chrome 90.0.4430.212 linux #0-1]     at /workspace/src/extensions/PageTriage/node_modules/webdriverio/build/commands/browser/waitUntil.js:68:19
13:06:08 [Chrome 90.0.4430.212 linux #0-1]     at async Browser.wrapCommandFn (/workspace/src/extensions/PageTriage/node_modules/@wdio/utils/build/shim.js:137:29)
13:06:08 [Chrome 90.0.4430.212 linux #0-1]     at async Context.<anonymous> (/workspace/src/extensions/PageTriage/tests/selenium/specs/toolbar.js:67:3)
13:06:08 ------------------------------------------------------------------
13:06:08 [Chrome 90.0.4430.212 linux #0-1] Running: Chrome (v90.0.4430.212) on linux
13:06:08 [Chrome 90.0.4430.212 linux #0-1] Session ID: 99b72c9d-70e1-42c1-a397-e9997f3b4b7d
13:06:08 [Chrome 90.0.4430.212 linux #0-1]
13:06:08 [Chrome 90.0.4430.212 linux #0-1] » /tests/selenium/specs/toolbar.js
13:06:08 [Chrome 90.0.4430.212 linux #0-1] PageTriage Toolbar
13:06:08 [Chrome 90.0.4430.212 linux #0-1]    ✓ should load
13:06:08 [Chrome 90.0.4430.212 linux #0-1]    ✖ should allow user to add a maintainence tag to a page
13:06:08 [Chrome 90.0.4430.212 linux #0-1]    ✓ should allow user to add a maintainence tag to a page and send a note to user
13:06:08 [Chrome 90.0.4430.212 linux #0-1]
13:06:08 [Chrome 90.0.4430.212 linux #0-1] 2 passing (22.5s)
13:06:08 [Chrome 90.0.4430.212 linux #0-1] 1 failing
13:06:08 [Chrome 90.0.4430.212 linux #0-1]
13:06:08 [Chrome 90.0.4430.212 linux #0-1] 1) PageTriage Toolbar should allow user to add a maintainence tag to a page
13:06:08 [Chrome 90.0.4430.212 linux #0-1] waitUntil condition timed out after 5000ms
13:06:08 [Chrome 90.0.4430.212 linux #0-1] Error: waitUntil condition timed out after 5000ms
13:06:08 [Chrome 90.0.4430.212 linux #0-1]     at /workspace/src/extensions/PageTriage/node_modules/webdriverio/build/commands/browser/waitUntil.js:68:19
13:06:08 [Chrome 90.0.4430.212 linux #0-1]     at async Browser.wrapCommandFn (/workspace/src/extensions/PageTriage/node_modules/@wdio/utils/build/shim.js:137:29)
13:06:08 [Chrome 90.0.4430.212 linux #0-1]     at async Context.<anonymous> (/workspace/src/extensions/PageTriage/tests/selenium/specs/toolbar.js:67:3)
13:06:08 
13:06:08 
13:06:08 Spec Files:	 1 passed, 1 retries, 1 failed, 2 total (100% completed) in 00:01:04 
13:06:08 
13:06:08 INFO:quibble.commands:<<< Finish: Browser tests: mediawiki/core, mediawiki/extension

Event Timeline

Change 992750 had a related patch set uploaded (by Novem Linguae; author: Novem Linguae):

[mediawiki/extensions/PageTriage@master] Use await more in Selenium tests

https://gerrit.wikimedia.org/r/992750

Change 992750 abandoned by Novem Linguae:

[mediawiki/extensions/PageTriage@master] Use await more in Selenium tests

Reason:

https://gerrit.wikimedia.org/r/c/mediawiki/extensions/PageTriage/+/994181 solves the issue with less lines changed.

https://gerrit.wikimedia.org/r/992750

Change 994181 had a related patch set uploaded (by Novem Linguae; author: Zfilipin):

[mediawiki/extensions/PageTriage@master] selenium: Fix flaky test

https://gerrit.wikimedia.org/r/994181

Change 994181 merged by jenkins-bot:

[mediawiki/extensions/PageTriage@master] selenium: Fix flaky test

https://gerrit.wikimedia.org/r/994181