Hypothesis only runs the pagination tests with a single object when using the default profile...
Details
Diff Detail
- Repository
- rDWAPPS Web applications
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 22980 Build 35827: Phabricator diff pipeline on jenkins Jenkins console · Jenkins Build 35826: arc lint + arc unit
Time | Test | |
---|---|---|
12,246 ms | Jenkins > .tox.py3.lib.python3.7.site-packages.swh.web.tests.api.views.test_metadata::Tests / Python tests / test_api_raw_extrinsic_metadata api_client = <rest_framework.test.APIClient object at 0x7f8252c5c7b8>
archive_data = <swh.web.tests.conftest._ArchiveData object at 0x7f8252ea63c8>
| |
3,605 ms | Jenkins > .tox.py3.lib.python3.7.site-packages.swh.web.tests.api.views.test_metadata::Tests / Python tests / test_api_raw_extrinsic_metadata_list_authorities api_client = <rest_framework.test.APIClient object at 0x7f8250d43e10>
archive_data = <swh.web.tests.conftest._ArchiveData object at 0x7f8252ea63c8>
| |
2 ms | Jenkins > .tox.py3.lib.python3.7.site-packages.swh.web.tests.api.views.test_metadata::Tests / Python tests / test_api_raw_extrinsic_metadata_scroll[100] api_client = <rest_framework.test.APIClient object at 0x7f8250f1cf98>
archive_data = <swh.web.tests.conftest._ArchiveData object at 0x7f8252ea63c8>
limit = 100
| |
2 ms | Jenkins > .tox.py3.lib.python3.7.site-packages.swh.web.tests.api.views.test_metadata::Tests / Python tests / test_api_raw_extrinsic_metadata_scroll[10] api_client = <rest_framework.test.APIClient object at 0x7f8251287898>
archive_data = <swh.web.tests.conftest._ArchiveData object at 0x7f8252ea63c8>
limit = 10
| |
2 ms | Jenkins > .tox.py3.lib.python3.7.site-packages.swh.web.tests.api.views.test_metadata::Tests / Python tests / test_api_raw_extrinsic_metadata_scroll[1] api_client = <rest_framework.test.APIClient object at 0x7f8250dedc18>
archive_data = <swh.web.tests.conftest._ArchiveData object at 0x7f8252ea63c8>
limit = 1
| |
View Full Test Results (11 Failed · 707 Passed · 5 Skipped) |
Event Timeline
Build has FAILED
Patch application report for D6081 (id=22021)
Rebasing onto 70fb9a97c5...
Current branch diff-target is up to date.
Changes applied before test
commit 851d114901f9da0b6a5c4b56e92bc799d19b2fdc Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Aug 12 15:38:05 2021 +0200 Actually test api_raw_extrinsic_metadata_swhid, and fix its bugs Hypothesis only ran the pagination tests with a single object...
Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/992/
See console output for more information: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/992/console
Build has FAILED
Patch application report for D6081 (id=22026)
Rebasing onto 70fb9a97c5...
Current branch diff-target is up to date.
Changes applied before test
commit a6eac2220a73f4a6e676218f80a64788dc6d7f95 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Aug 12 15:38:05 2021 +0200 Fix api_raw_extrinsic_metadata_swhid-related bugs found when using the 'slow' hypothesis profile Hypothesis only runs the pagination tests with a single object when using the default profile... A future commit will change the default profile.
Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/993/
See console output for more information: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/993/console
Build is green
Patch application report for D6081 (id=22049)
Rebasing onto c5259fce4f...
Current branch diff-target is up to date.
Changes applied before test
commit 48e9258f8d10b2983b5ff6d24900bd04c80e02b4 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Aug 12 15:38:05 2021 +0200 Fix api_raw_extrinsic_metadata_swhid-related bugs found when using the 'slow' hypothesis profile Hypothesis only runs the pagination tests with a single object when using the default profile... A future commit will change the default profile.
See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/997/ for more details.
swh/web/api/views/metadata.py | ||
---|---|---|
141 | I also encountered the infinite loop case when scrolling results due to same page_token over requests. |
swh/web/api/views/metadata.py | ||
---|---|---|
141 | yes, I wasted almost an entire day debugging this... metadata = attr.evolve(metadata, id=metadata.compute_hash()) fixes it |