Page MenuHomePhabricator

Flaky test: Wikibase/client/data-bridge/tests/selenium/specs/errorHandling.js
Closed, ResolvedPublic

Description

https://integration.wikimedia.org/ci/job/wmf-quibble-selenium-php72-docker/82863/console

16:14:44 ------------------------------------------------------------------
16:14:44 [chrome 73.0.3683.75 Linux #0-4] Spec: /workspace/src/extensions/Wikibase/client/data-bridge/tests/selenium/specs/errorHandling.js
16:14:44 [chrome 73.0.3683.75 Linux #0-4] Running: chrome (v73.0.3683.75) on Linux
16:14:44 [chrome 73.0.3683.75 Linux #0-4] Session ID: 3f4b67d15a459830f7ba099bac52ad55
16:14:44 [chrome 73.0.3683.75 Linux #0-4]
16:14:44 [chrome 73.0.3683.75 Linux #0-4] App
16:14:44 [chrome 73.0.3683.75 Linux #0-4]    ✓ shows ErrorUnknown when launching bridge for a non-existent entity
16:14:44 [chrome 73.0.3683.75 Linux #0-4]    ✓ can be relaunched from ErrorUnknown
16:14:44 [chrome 73.0.3683.75 Linux #0-4]    ✓ can retry saving bridge from ErrorSaving
16:14:44 [chrome 73.0.3683.75 Linux #0-4]    ✓ can go back from a save error both on desktop and mobile
16:14:44 [chrome 73.0.3683.75 Linux #0-4]
16:14:44 [chrome 73.0.3683.75 Linux #0-4]     when assertuser fails
16:14:44 [chrome 73.0.3683.75 Linux #0-4]        ✓ can retry saving without assertuser
16:14:44 [chrome 73.0.3683.75 Linux #0-4]        ✓ can login and retry saving
16:14:44 [chrome 73.0.3683.75 Linux #0-4]        ✓ still asserts user after logging in
16:14:44 [chrome 73.0.3683.75 Linux #0-4]        ✓ shows custom Bridge warning on login page
16:14:44 [chrome 73.0.3683.75 Linux #0-4]
16:14:44 [chrome 73.0.3683.75 Linux #0-4]     when there is an edit conflict
16:14:44 [chrome 73.0.3683.75 Linux #0-4]        ? reloads on reload button click
16:14:44 [chrome 73.0.3683.75 Linux #0-4]        ✖ "before each" hook
16:14:44 [chrome 73.0.3683.75 Linux #0-4]
16:14:44 [chrome 73.0.3683.75 Linux #0-4] 8 passing (1m 46.3s)
16:14:44 [chrome 73.0.3683.75 Linux #0-4] 1 failing
16:14:44 [chrome 73.0.3683.75 Linux #0-4]
16:14:44 [chrome 73.0.3683.75 Linux #0-4] 1) when there is an edit conflict "before each" hook
16:14:44 [chrome 73.0.3683.75 Linux #0-4] element (".oo-ui-dialog #data-bridge-app .wb-db-bridge") still not displayed after 5000ms
16:14:44 [chrome 73.0.3683.75 Linux #0-4] Error: element (".oo-ui-dialog #data-bridge-app .wb-db-bridge") still not displayed after 5000ms
16:14:44 [chrome 73.0.3683.75 Linux #0-4]     at Context.beforeEach (/workspace/src/extensions/Wikibase/client/data-bridge/tests/selenium/specs/errorHandling.js:362:26)
16:14:44 ------------------------------------------------------------------

Similar to T273327: ✖ can retry saving bridge from ErrorSaving.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Nikerabbit triaged this task as Unbreak Now! priority.Mar 9 2021, 2:31 PM

https://integration.wikimedia.org/ci/job/wmf-quibble-selenium-php72-docker/82866/console has a very similar one:

16:15:24 ------------------------------------------------------------------
16:15:24 [chrome 73.0.3683.75 Linux #0-4] Spec: /workspace/src/extensions/Wikibase/client/data-bridge/tests/selenium/specs/errorHandling.js
16:15:24 [chrome 73.0.3683.75 Linux #0-4] Running: chrome (v73.0.3683.75) on Linux
16:15:24 [chrome 73.0.3683.75 Linux #0-4] Session ID: 720c5e430e97847965174efaaf0be845
16:15:24 [chrome 73.0.3683.75 Linux #0-4]
16:15:24 [chrome 73.0.3683.75 Linux #0-4] App
16:15:24 [chrome 73.0.3683.75 Linux #0-4]    ✓ shows ErrorUnknown when launching bridge for a non-existent entity
16:15:24 [chrome 73.0.3683.75 Linux #0-4]    ✓ can be relaunched from ErrorUnknown
16:15:24 [chrome 73.0.3683.75 Linux #0-4]    ✓ can retry saving bridge from ErrorSaving
16:15:24 [chrome 73.0.3683.75 Linux #0-4]    ✓ can go back from a save error both on desktop and mobile
16:15:24 [chrome 73.0.3683.75 Linux #0-4]
16:15:24 [chrome 73.0.3683.75 Linux #0-4]     when assertuser fails
16:15:24 [chrome 73.0.3683.75 Linux #0-4]        ✖ can retry saving without assertuser
16:15:24 [chrome 73.0.3683.75 Linux #0-4]        ✓ can login and retry saving
16:15:24 [chrome 73.0.3683.75 Linux #0-4]        ✓ still asserts user after logging in
16:15:24 [chrome 73.0.3683.75 Linux #0-4]        ✓ shows custom Bridge warning on login page
16:15:24 [chrome 73.0.3683.75 Linux #0-4]
16:15:24 [chrome 73.0.3683.75 Linux #0-4]     when there is an edit conflict
16:15:24 [chrome 73.0.3683.75 Linux #0-4]        ✓ reloads on reload button click
16:15:24 [chrome 73.0.3683.75 Linux #0-4]        ✓ reloads on close button click
16:15:24 [chrome 73.0.3683.75 Linux #0-4]
16:15:24 [chrome 73.0.3683.75 Linux #0-4] 9 passing (2m 7.4s)
16:15:24 [chrome 73.0.3683.75 Linux #0-4] 1 failing
16:15:24 [chrome 73.0.3683.75 Linux #0-4]
16:15:24 [chrome 73.0.3683.75 Linux #0-4] 1) when assertuser fails can retry saving without assertuser
16:15:24 [chrome 73.0.3683.75 Linux #0-4] element (".oo-ui-dialog #data-bridge-app .wb-db-error") still not displayed after 10000ms
16:15:24 [chrome 73.0.3683.75 Linux #0-4] Error: element (".oo-ui-dialog #data-bridge-app .wb-db-error") still not displayed after 10000ms
16:15:24 [chrome 73.0.3683.75 Linux #0-4]     at Context.it (/workspace/src/extensions/Wikibase/client/data-bridge/tests/selenium/specs/errorHandling.js:263:25)
16:15:24 ------------------------------------------------------------------
Addshore edited projects, added wdwb-tech (legacy-backlog); removed wdwb-tech.
Addshore added a subscriber: Addshore.

Change 670428 had a related patch set uploaded (by Tonina Zhelyazkova; owner: Tonina Zhelyazkova):
[mediawiki/extensions/Wikibase@master] bridge: Increase timeout in selenium tests for error handling

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

Change 670428 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] bridge: Increase timeout in selenium tests for error handling

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

Tonina_Zhelyazkova_WMDE lowered the priority of this task from Unbreak Now! to Medium.Mar 12 2021, 4:58 PM

Decreasing the priority since I'm not aware of any failed instances of this test since the linked patch was merged.

Addshore claimed this task.

Will go ahead and resolve it for now

Change 682705 had a related patch set uploaded (by Addshore; author: Addshore):

[mediawiki/extensions/Wikibase@master] bridge: Switch tests waiting for bridge to open from 10 -> 20s wait

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

Change 682705 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] bridge: Switch tests waiting for bridge to open from 10 -> 20s wait

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

Change 683141 had a related patch set uploaded (by Addshore; author: Addshore):

[mediawiki/extensions/Wikibase@REL1_36] bridge: Switch tests waiting for bridge to open from 10 -> 20s wait

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

Change 685474 had a related patch set uploaded (by WMDE-leszek; author: Addshore):

[mediawiki/extensions/Wikibase@REL1_35] bridge: Switch tests waiting for bridge to open from 10 -> 20s wait

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

Change 685474 abandoned by WMDE-leszek:

[mediawiki/extensions/Wikibase@REL1_35] bridge: Switch tests waiting for bridge to open from 10 -> 20s wait

Reason:

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

Change 683141 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@REL1_36] bridge: Switch tests waiting for bridge to open from 10 -> 20s wait

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