Hopefully, this clarifies a bit the fixtures...
Details
- Reviewers
- None
- Group Reviewers
Reviewers - Commits
- rDLSb90ffa4bddee: tests: Reduce db initialization fixtures to a minimum
tox
Diff Detail
- Repository
- rDLS Listers
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 16741 Build 25820: Phabricator diff pipeline on jenkins Jenkins console · Jenkins Build 25819: arc lint + arc unit
Time | Test | |
---|---|---|
718 ms | Jenkins > .tox.py3.lib.python3.7.site-packages.swh.lister.debian.tests.test_lister::test_lister_debian lister_debian = <swh.lister.debian.lister.DebianLister object at 0x7f42f0ec4588>
datadir = '/var/lib/jenkins/workspace/DLS/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/lister/debian/tests/data'
requests_mock_datadir = <requests_mock.mocker.Mocker object at 0x7f42f0288ef0>
| |
1,597 ms | Jenkins > .tox.py3.lib.python3.7.site-packages.swh.lister.bitbucket.tests.test_lister::test_lister_bitbucket | |
2,746 ms | Jenkins > .tox.py3.lib.python3.7.site-packages.swh.lister.bitbucket.tests.test_lister.BitBucketListerTester::test_api_request | |
699 ms | Jenkins > .tox.py3.lib.python3.7.site-packages.swh.lister.bitbucket.tests.test_lister.BitBucketListerTester::test_fetch_multiple_pages_nodb | |
1,628 ms | Jenkins > .tox.py3.lib.python3.7.site-packages.swh.lister.bitbucket.tests.test_lister.BitBucketListerTester::test_fetch_multiple_pages_yesdb | |
View Full Test Results (1 Failed · 137 Passed) |
Event Timeline
Build has FAILED
Patch application report for D4388 (id=15514)
Could not rebase; Attempt merge onto a19cb5fb51...
Updating a19cb5f..4c91df5 Fast-forward swh/lister/core/lister_base.py | 1 + swh/lister/debian/tests/conftest.py | 46 +++++++++++++++---------------- swh/lister/launchpad/tests/conftest.py | 9 ++---- swh/lister/launchpad/tests/test_lister.py | 3 +- swh/lister/pytest_plugin.py | 14 ++++++---- 5 files changed, 36 insertions(+), 37 deletions(-)
Changes applied before test
commit 4c91df5938c28cb261e2313a41d752f314b4283e Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Thu Oct 29 17:37:45 2020 +0100 tests: Reduce db initialization fixtures to a minimum commit b35dff1266182b74e2765c3a79b21b087b323186 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Thu Oct 29 16:54:10 2020 +0100 Create listing task with a default of 3 if unspecified This will allow to retry task if they do not specify it. commit e2a861c801e575935276bb1ac7ba5e549f9224cb Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Thu Oct 29 22:09:32 2020 +0100 debian.tests: Fix test The scheduler fixture introduced truncates tables in between tests. The debian tests unfortunately share state and it broke when that changed. This fixes the test by avoiding the truncation of the scheduler db table "task". Ideally those tests need to be reworked to avoid sharing state between tests. [1] https://jenkins.softwareheritage.org/job/DLS/job/tests/1043
Link to build: https://jenkins.softwareheritage.org/job/DLS/job/tests-on-diff/61/
See console output for more information: https://jenkins.softwareheritage.org/job/DLS/job/tests-on-diff/61/console
Build has FAILED
Patch application report for D4388 (id=15516)
Could not rebase; Attempt merge onto e2a861c801...
Updating e2a861c..baa1513 Fast-forward swh/lister/core/lister_base.py | 1 + swh/lister/debian/tests/conftest.py | 27 ++++----------------------- swh/lister/launchpad/tests/conftest.py | 8 ++------ swh/lister/launchpad/tests/test_lister.py | 3 +-- swh/lister/pytest_plugin.py | 14 +++++++++----- 5 files changed, 17 insertions(+), 36 deletions(-)
Changes applied before test
commit baa151360584979b5153fb1ed645a06512e40d1c Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Thu Oct 29 17:37:45 2020 +0100 tests: Reduce db initialization fixtures to a minimum commit b35dff1266182b74e2765c3a79b21b087b323186 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Thu Oct 29 16:54:10 2020 +0100 Create listing task with a default of 3 if unspecified This will allow to retry task if they do not specify it.
Link to build: https://jenkins.softwareheritage.org/job/DLS/job/tests-on-diff/62/
See console output for more information: https://jenkins.softwareheritage.org/job/DLS/job/tests-on-diff/62/console
Build has FAILED
Patch application report for D4388 (id=15516)
Rebasing onto b35dff1266...
Current branch diff-target is up to date.
Changes applied before test
commit baa151360584979b5153fb1ed645a06512e40d1c Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Thu Oct 29 17:37:45 2020 +0100 tests: Reduce db initialization fixtures to a minimum
Link to build: https://jenkins.softwareheritage.org/job/DLS/job/tests-on-diff/64/
See console output for more information: https://jenkins.softwareheritage.org/job/DLS/job/tests-on-diff/64/console
Build has FAILED
Patch application report for D4388 (id=15522)
Rebasing onto b35dff1266...
Current branch diff-target is up to date.
Changes applied before test
commit b90ffa4bddee9ea242ebeaa235d24e850ab13ca9 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Thu Oct 29 17:37:45 2020 +0100 tests: Reduce db initialization fixtures to a minimum
Link to build: https://jenkins.softwareheritage.org/job/DLS/job/tests-on-diff/65/
See console output for more information: https://jenkins.softwareheritage.org/job/DLS/job/tests-on-diff/65/console