Page MenuHomeSoftware Heritage

Fix flaky test_grab_ready_* tests
ClosedPublic

Authored by vlorentz on May 6 2021, 4:17 PM.

Diff Detail

Repository
rDSCH Scheduling utilities
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 21343
Build 33147: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 33146: arc lint + arc unit

Unit TestsFailed

TimeTest
108 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.scheduler.tests.test_api_client.TestScheduler::test_grab_ready_priority_tasks
self = <swh.scheduler.tests.test_scheduler.TestScheduler object at 0x7f1b9ddf5e10> swh_scheduler = <RemoteScheduler url=mock://example.com/>
89 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.scheduler.tests.test_api_client.TestScheduler::test_grab_ready_tasks
self = <swh.scheduler.tests.test_scheduler.TestScheduler object at 0x7f1b9e764278> swh_scheduler = <RemoteScheduler url=mock://example.com/>
72 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.scheduler.tests.test_scheduler.TestScheduler::test_grab_ready_priority_tasks
self = <swh.scheduler.tests.test_scheduler.TestScheduler object at 0x7f1b9dae4278> swh_scheduler = <swh.scheduler.backend.SchedulerBackend object at 0x7f1b9dae4748>
64 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.scheduler.tests.test_scheduler.TestScheduler::test_grab_ready_tasks
self = <swh.scheduler.tests.test_scheduler.TestScheduler object at 0x7f1b9441d0f0> swh_scheduler = <swh.scheduler.backend.SchedulerBackend object at 0x7f1b94223e80>
6 msJenkins > .tox.py3.lib.python3.7.site-packages.swh.scheduler.cli.task::swh.scheduler.cli.task.pretty_print_task
View Full Test Results (4 Failed · 269 Passed · 1 Skipped)

Event Timeline

Build has FAILED

Patch application report for D5705 (id=20362)

Rebasing onto 8a892e2f86...

Current branch diff-target is up to date.
Changes applied before test
commit 205a6396f7112069d37bf819e806380daf16f90c
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Thu May 6 16:16:50 2021 +0200

    Fix flaky test_grab_ready_* tests

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

Harbormaster returned this revision to the author for changes because remote builds failed.May 6 2021, 4:19 PM
Harbormaster failed remote builds in B21343: Diff 20362!

Build is green

Patch application report for D5705 (id=20363)

Rebasing onto 8a892e2f86...

Current branch diff-target is up to date.
Changes applied before test
commit fe9d94905a86f3863de0c06b877687f665b6146e
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Thu May 6 16:16:50 2021 +0200

    Fix flaky test_grab_ready_* tests

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

This revision is now accepted and ready to land.May 6 2021, 4:54 PM
This revision was automatically updated to reflect the committed changes.