Page MenuHomeSoftware Heritage

cypress.json: Activate test retries in run mode
ClosedPublic

Authored by anlambert on May 20 2021, 1:57 PM.

Details

Summary

A failing test will be executed at most five times.

Let's hope it will reduce the number of flaky tests on Jenkins.

Related to T3331

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build has FAILED

Patch application report for D5761 (id=20593)

Rebasing onto 5adccbb354...

Current branch diff-target is up to date.
Changes applied before test
commit a0df9a0f1fcdd76fd0127a1dae55730c324ee8ed
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Thu May 20 13:56:41 2021 +0200

    cypress.json: Activate test retries in run mode
    
    A failing test will be executed at most three times.
    
    Let's hope it will reduce the number of flaky tests on Jenkins.
    
    Related to T3331

Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/836/
See console output for more information: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/836/console

Harbormaster returned this revision to the author for changes because remote builds failed.May 20 2021, 2:13 PM
Harbormaster failed remote builds in B21558: Diff 20593!

Build has FAILED

Patch application report for D5761 (id=20593)

Rebasing onto 5adccbb354...

Current branch diff-target is up to date.
Changes applied before test
commit a0df9a0f1fcdd76fd0127a1dae55730c324ee8ed
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Thu May 20 13:56:41 2021 +0200

    cypress.json: Activate test retries in run mode
    
    A failing test will be executed at most three times.
    
    Let's hope it will reduce the number of flaky tests on Jenkins.
    
    Related to T3331

Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/836/
See console output for more information: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/836/console

Sigh... Let's try to increase the number of retries and launch a couple of subsequent builds to test.

Build is green

Patch application report for D5761 (id=20594)

Rebasing onto 5adccbb354...

Current branch diff-target is up to date.
Changes applied before test
commit 36524f0d5413d49e3fca6e03ef015b9d0eb7a463
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Thu May 20 13:56:41 2021 +0200

    cypress.json: Activate test retries in run mode
    
    A failing test will be executed at most five times.
    
    Let's hope it will reduce the number of flaky tests on Jenkins.
    
    Related to T3331

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/837/ for more details.

Build is green

Patch application report for D5761 (id=20594)

Rebasing onto 5adccbb354...

Current branch diff-target is up to date.
Changes applied before test
commit 36524f0d5413d49e3fca6e03ef015b9d0eb7a463
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Thu May 20 13:56:41 2021 +0200

    cypress.json: Activate test retries in run mode
    
    A failing test will be executed at most five times.
    
    Let's hope it will reduce the number of flaky tests on Jenkins.
    
    Related to T3331

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/838/ for more details.

Build is green

Patch application report for D5761 (id=20594)

Rebasing onto 5adccbb354...

Current branch diff-target is up to date.
Changes applied before test
commit 36524f0d5413d49e3fca6e03ef015b9d0eb7a463
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Thu May 20 13:56:41 2021 +0200

    cypress.json: Activate test retries in run mode
    
    A failing test will be executed at most five times.
    
    Let's hope it will reduce the number of flaky tests on Jenkins.
    
    Related to T3331

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/839/ for more details.

Build is green

Patch application report for D5761 (id=20594)

Rebasing onto 5adccbb354...

Current branch diff-target is up to date.
Changes applied before test
commit 36524f0d5413d49e3fca6e03ef015b9d0eb7a463
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Thu May 20 13:56:41 2021 +0200

    cypress.json: Activate test retries in run mode
    
    A failing test will be executed at most five times.
    
    Let's hope it will reduce the number of flaky tests on Jenkins.
    
    Related to T3331

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/840/ for more details.

Four CI pipeline executions in a row and no flaky cypress tests when setting retries to 4. I guess we can land this then.

Build is green

Patch application report for D5761 (id=20597)

Rebasing onto 5adccbb354...

Current branch diff-target is up to date.
Changes applied before test
commit 7506c2d4e77247da1b6563639da5fd8bef388099
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Thu May 20 13:56:41 2021 +0200

    cypress.json: Activate test retries in run mode
    
    A failing test will be executed at most five times.
    
    It enables to significantly reduce the number of flaky tests on Jenkins.
    
    Closes T3331

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/841/ for more details.

Five CI pipeline executions in a row and no flaky cypress tests \o/

ardumont added a subscriber: ardumont.

ok then, let's try that ;)

This revision is now accepted and ready to land.May 20 2021, 3:25 PM