Related to T2494
Details
Details
- Reviewers
vlorentz - Group Reviewers
Reviewers - Maniphest Tasks
- T2494: tests: Use data model objects within tests (drop dicts)
- Commits
- rDSTOcaa7f7947992: test_storage: content_find: Use data model object
tox
Diff Detail
Diff Detail
- Repository
- rDSTO Storage manager
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 13803 Build 21154: Phabricator diff pipeline on jenkins Jenkins console · Jenkins Build 21153: arc lint + arc unit
Time | Test | |
---|---|---|
166 ms | Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.test_api_client.TestStorage::test_stat_counters self = <swh.storage.tests.test_api_client.TestStorage object at 0x7f9cdf138f28>
swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7f9cdf47d358>
sample_data_model = {'authority': [MetadataAuthority(type=<MetadataAuthorityType.DEPOSIT_CLIENT: 'deposit_client'>, url='http://hal.inria.... perms=<DentryPerms.directory: 16384>),), id=b'7z\xa5\xfc\xd9D\xfb\xab\xf5\x02\xdb\xfd\xa5\\\xd1M3\xc8\xc3\xc6')], ...}
| |
773 ms | Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.test_cassandra.TestCassandraStorage::test_stat_counters self = <swh.storage.tests.test_cassandra.TestCassandraStorage object at 0x7f9b326689b0>
swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7f9b32668240>
sample_data_model = {'authority': [MetadataAuthority(type=<MetadataAuthorityType.DEPOSIT_CLIENT: 'deposit_client'>, url='http://hal.inria.... perms=<DentryPerms.directory: 16384>),), id=b'7z\xa5\xfc\xd9D\xfb\xab\xf5\x02\xdb\xfd\xa5\\\xd1M3\xc8\xc3\xc6')], ...}
| |
192 ms | Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.test_in_memory.TestStorage::test_stat_counters self = <swh.storage.tests.test_storage.TestStorage object at 0x7f9af9b6a8d0>
swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7f9afc4f4748>
sample_data_model = {'authority': [MetadataAuthority(type=<MetadataAuthorityType.DEPOSIT_CLIENT: 'deposit_client'>, url='http://hal.inria.... perms=<DentryPerms.directory: 16384>),), id=b'7z\xa5\xfc\xd9D\xfb\xab\xf5\x02\xdb\xfd\xa5\\\xd1M3\xc8\xc3\xc6')], ...}
| |
298 ms | Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.test_storage.TestStorage::test_stat_counters self = <swh.storage.tests.test_storage.TestStorage object at 0x7f9af9b12c50>
swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7f9b01032240>
sample_data_model = {'authority': [MetadataAuthority(type=<MetadataAuthorityType.DEPOSIT_CLIENT: 'deposit_client'>, url='http://hal.inria.... perms=<DentryPerms.directory: 16384>),), id=b'7z\xa5\xfc\xd9D\xfb\xab\xf5\x02\xdb\xfd\xa5\\\xd1M3\xc8\xc3\xc6')], ...}
| |
7 ms | Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.fixer::swh.storage.fixer._fix_content | |
View Full Test Results (4 Failed · 784 Passed · 17 Skipped) |
Event Timeline
Comment Actions
Build has FAILED
Patch application report for D3573 (id=12578)
Could not rebase; Attempt merge onto 1c1bef91e1...
Updating 1c1bef91..843ecfb6 Fast-forward swh/storage/tests/test_storage.py | 719 ++++++++++++++++++++------------------ 1 file changed, 377 insertions(+), 342 deletions(-)
Changes applied before test
commit 843ecfb6c124525ea34873505f6d766056fb09f2 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Mon Jul 20 17:39:02 2020 +0200 test_storage: content_find: Use data model object Related to T2494 commit 1bf74dcd90ef2b333af9b465de7a23f48c53993d Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Mon Jul 20 16:35:46 2020 +0200 test_storage: stat_counters: Use data model object Related to T2494 commit cf80d3c29d7a7f2094570c14478fcc93dd995a12 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Mon Jul 20 15:58:35 2020 +0200 test_storage: snapshot: Use data model object Related to T2494 commit 4f1017173b98cbc742a45d1b44ea5716dcab29a5 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Mon Jul 20 15:36:05 2020 +0200 test_storage: origin_visit/origin_visit_status: Use data model object Related to T2494
Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/504/
See console output for more information: https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/504/console
Comment Actions
Build is green
Patch application report for D3573 (id=12580)
Could not rebase; Attempt merge onto 1c1bef91e1...
Updating 1c1bef91..caa7f794 Fast-forward swh/storage/tests/test_storage.py | 717 ++++++++++++++++++++------------------ 1 file changed, 376 insertions(+), 341 deletions(-)
Changes applied before test
commit caa7f7947992f2c9979f9038eceba290c8cf105f Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Mon Jul 20 17:39:02 2020 +0200 test_storage: content_find: Use data model object Related to T2494 commit 64535049b02de6ad0c43d9f55d1093d1a8a4d8e2 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Mon Jul 20 16:35:46 2020 +0200 test_storage: stat_counters: Use data model object Related to T2494 commit cf80d3c29d7a7f2094570c14478fcc93dd995a12 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Mon Jul 20 15:58:35 2020 +0200 test_storage: snapshot: Use data model object Related to T2494 commit 4f1017173b98cbc742a45d1b44ea5716dcab29a5 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Mon Jul 20 15:36:05 2020 +0200 test_storage: origin_visit/origin_visit_status: Use data model object Related to T2494
See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/506/ for more details.