Related to T2494
Details
Details
- Reviewers
vlorentz - Group Reviewers
Reviewers - Maniphest Tasks
- T2494: tests: Use data model objects within tests (drop dicts)
- Commits
- rDSTO64535049b02d: test_storage: stat_counters: 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 13801 Build 21150: Phabricator diff pipeline on jenkins Jenkins console · Jenkins Build 21149: arc lint + arc unit
Time | Test | |
---|---|---|
153 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 0x7f1f743289b0>
swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7f1f7432bcc0>
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')], ...}
| |
1,019 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 0x7f1dc7a67cc0>
swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7f1dc7a677f0>
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')], ...}
| |
277 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 0x7f1d900bd940>
swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7f1d900bd2e8>
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 0x7f1d99737630>
swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7f1d99737940>
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 D3572 (id=12576)
Could not rebase; Attempt merge onto 1c1bef91e1...
Updating 1c1bef91..1bf74dcd Fast-forward swh/storage/tests/test_storage.py | 430 ++++++++++++++++++++------------------ 1 file changed, 232 insertions(+), 198 deletions(-)
Changes applied before test
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/503/
See console output for more information: https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/503/console
Comment Actions
Build is green
Patch application report for D3572 (id=12579)
Could not rebase; Attempt merge onto 1c1bef91e1...
Updating 1c1bef91..64535049 Fast-forward swh/storage/tests/test_storage.py | 428 ++++++++++++++++++++------------------ 1 file changed, 231 insertions(+), 197 deletions(-)
Changes applied before test
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/505/ for more details.