Properties
Properties
- Buildable
- B212: rDSTO029a9512ddc5: storage: change objstorage initialization arguments
- Build Plan
- Plan 2 Software Heritage Python tests
- Status
Failed
Lint
Lint
- When
- Completed at Jun 16 2016, 3:12 PM · Built for 3 s
- Status
Passed
1 empty logs are hidden. Show all logs.
| 1 | python3 -m flake8 swh bin/swh-storage-add-dir bin/swh-objstorage-fsck bin/swh-objstorage-add-dir |
|---|---|
| 2 |
Python tests
Python tests
- When
- Completed at Jun 16 2016, 3:12 PM · Built for 2 s
- Status
Failed
1 empty logs are hidden. Show all logs.
| 1 | W: unknown repository 'swh-environment', you might want to remove it |
|---|---|
| 2 | W: unknown repository 'swh-loader-vcs', you might want to remove it |
| 3 | check_invalid_content (test_checker.TestChecker) ... ERROR |
| 4 | check_valid_content (test_checker.TestChecker) ... ERROR |
| 5 | repair_content_missing (test_checker.TestChecker) ... ERROR |
| 6 | repair_content_present_distributed (test_checker.TestChecker) ... ERROR |
| 7 | repair_content_present_first (test_checker.TestChecker) ... ERROR |
| 8 | repair_content_present_second (test_checker.TestChecker) ... ERROR |
| 9 | db_to_author (test_converters.TestConverters) ... ok |
| 10 | db_to_git_headers (test_converters.TestConverters) ... ok |
| 11 | db_to_release (test_converters.TestConverters) ... ok |
| 12 | db_to_revision (test_converters.TestConverters) ... ok |
| 13 | add_get_w_id (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
| 14 | add_get_wo_id (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
| 15 | check_id_mismatch (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
| 16 | check_missing (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
| 17 | check_not_gzip (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
| 18 | check_present (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
| 19 | contains (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
| 20 | get_missing (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
| 21 | get_random_contents (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
| 22 | iter (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
| 23 | len (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
| 24 | restore_content (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
| 25 | |
| 26 | ====================================================================== |
| 27 | ERROR: check_invalid_content (test_checker.TestChecker) |
| 28 | ---------------------------------------------------------------------- |
| 29 | Traceback (most recent call last): |
| 30 | File "/home/temp-drydock/drydock/workingcopy-154/repo/swh-storage/swh/storage/tests/test_checker.py", line 47, in setUp |
| 31 | self.checker = ContentChecker(config, path, depth, 'http://None') |
| 32 | File "/home/temp-drydock/drydock/workingcopy-154/repo/swh-storage/swh/storage/checker/checker.py", line 50, in __init__ |
| 33 | self.objstorage = PathSlicingObjStorage(root, depth, slicing=2) |
| 34 | TypeError: __init__() got multiple values for argument 'slicing' |
| 35 | |
| 36 | ====================================================================== |
| 37 | ERROR: check_valid_content (test_checker.TestChecker) |
| 38 | ---------------------------------------------------------------------- |
| 39 | Traceback (most recent call last): |
| 40 | File "/home/temp-drydock/drydock/workingcopy-154/repo/swh-storage/swh/storage/tests/test_checker.py", line 47, in setUp |
| 41 | self.checker = ContentChecker(config, path, depth, 'http://None') |
| 42 | File "/home/temp-drydock/drydock/workingcopy-154/repo/swh-storage/swh/storage/checker/checker.py", line 50, in __init__ |
| 43 | self.objstorage = PathSlicingObjStorage(root, depth, slicing=2) |
| 44 | TypeError: __init__() got multiple values for argument 'slicing' |
| 45 | |
| 46 | ====================================================================== |
| 47 | ERROR: repair_content_missing (test_checker.TestChecker) |
| 48 | ---------------------------------------------------------------------- |
| 49 | Traceback (most recent call last): |
| 50 | File "/home/temp-drydock/drydock/workingcopy-154/repo/swh-storage/swh/storage/tests/test_checker.py", line 47, in setUp |
| 51 | self.checker = ContentChecker(config, path, depth, 'http://None') |
| 52 | File "/home/temp-drydock/drydock/workingcopy-154/repo/swh-storage/swh/storage/checker/checker.py", line 50, in __init__ |
| 53 | self.objstorage = PathSlicingObjStorage(root, depth, slicing=2) |
| 54 | TypeError: __init__() got multiple values for argument 'slicing' |
| 55 | |
| 56 | ====================================================================== |
| 57 | ERROR: repair_content_present_distributed (test_checker.TestChecker) |
| 58 | ---------------------------------------------------------------------- |
| 59 | Traceback (most recent call last): |
| 60 | File "/home/temp-drydock/drydock/workingcopy-154/repo/swh-storage/swh/storage/tests/test_checker.py", line 47, in setUp |
| 61 | self.checker = ContentChecker(config, path, depth, 'http://None') |
| 62 | File "/home/temp-drydock/drydock/workingcopy-154/repo/swh-storage/swh/storage/checker/checker.py", line 50, in __init__ |
| 63 | self.objstorage = PathSlicingObjStorage(root, depth, slicing=2) |
| 64 | TypeError: __init__() got multiple values for argument 'slicing' |
| 65 | |
| 66 | ====================================================================== |
| 67 | ERROR: repair_content_present_first (test_checker.TestChecker) |
| 68 | ---------------------------------------------------------------------- |
| 69 | Traceback (most recent call last): |
| 70 | File "/home/temp-drydock/drydock/workingcopy-154/repo/swh-storage/swh/storage/tests/test_checker.py", line 47, in setUp |
| 71 | self.checker = ContentChecker(config, path, depth, 'http://None') |
| 72 | File "/home/temp-drydock/drydock/workingcopy-154/repo/swh-storage/swh/storage/checker/checker.py", line 50, in __init__ |
| 73 | self.objstorage = PathSlicingObjStorage(root, depth, slicing=2) |
| 74 | TypeError: __init__() got multiple values for argument 'slicing' |
| 75 | |
| 76 | ====================================================================== |
| 77 | ERROR: repair_content_present_second (test_checker.TestChecker) |
| 78 | ---------------------------------------------------------------------- |
| 79 | Traceback (most recent call last): |
| 80 | File "/home/temp-drydock/drydock/workingcopy-154/repo/swh-storage/swh/storage/tests/test_checker.py", line 47, in setUp |
| 81 | self.checker = ContentChecker(config, path, depth, 'http://None') |
| 82 | File "/home/temp-drydock/drydock/workingcopy-154/repo/swh-storage/swh/storage/checker/checker.py", line 50, in __init__ |
| 83 | self.objstorage = PathSlicingObjStorage(root, depth, slicing=2) |
| 84 | TypeError: __init__() got multiple values for argument 'slicing' |
| 85 | |
| 86 | ---------------------------------------------------------------------- |
| 87 | Ran 22 tests in 0.834s |
| 88 | |
| 89 | FAILED (errors=6) |
| 90 |
Update environment from working copy
Update environment from working copy
- When
- Completed at Jun 16 2016, 3:12 PM · Built for 31 s
- Status
Passed
| 1 | mr update: command failed |
|---|---|
| 2 | mr update: command failed |
| 3 | mr update: command failed |
| 4 |
| 1 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/snippets |
|---|---|
| 2 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/snippets |
| 3 | Already up-to-date. |
| 4 | |
| 5 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-cloner-git |
| 6 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-cloner-git |
| 7 | Already up-to-date. |
| 8 | |
| 9 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-core |
| 10 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-core |
| 11 | ssh_exchange_identification: Connection closed by remote host |
| 12 | fatal: Could not read from remote repository. |
| 13 | |
| 14 | Please make sure you have the correct access rights |
| 15 | and the repository exists. |
| 16 | |
| 17 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-debian |
| 18 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-debian |
| 19 | ssh_exchange_identification: Connection closed by remote host |
| 20 | fatal: Could not read from remote repository. |
| 21 | |
| 22 | Please make sure you have the correct access rights |
| 23 | and the repository exists. |
| 24 | |
| 25 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-lister-github |
| 26 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-lister-github |
| 27 | Already up-to-date. |
| 28 | |
| 29 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-fetcher-googlecode |
| 30 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-fetcher-googlecode |
| 31 | Already up-to-date. |
| 32 | |
| 33 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-core |
| 34 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-core |
| 35 | Already up-to-date. |
| 36 | |
| 37 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-tar |
| 38 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-tar |
| 39 | ssh_exchange_identification: Connection closed by remote host |
| 40 | fatal: Could not read from remote repository. |
| 41 | |
| 42 | Please make sure you have the correct access rights |
| 43 | and the repository exists. |
| 44 | |
| 45 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-antelink |
| 46 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-antelink |
| 47 | Already up-to-date. |
| 48 | |
| 49 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-dir |
| 50 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-dir |
| 51 | Already up-to-date. |
| 52 | |
| 53 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-git |
| 54 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-git |
| 55 | Already up-to-date. |
| 56 | |
| 57 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-svn |
| 58 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-svn |
| 59 | Already up-to-date. |
| 60 | |
| 61 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-model |
| 62 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-model |
| 63 | Already up-to-date. |
| 64 | |
| 65 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-py-template |
| 66 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-py-template |
| 67 | Already up-to-date. |
| 68 | |
| 69 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-scheduler |
| 70 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-scheduler |
| 71 | Already up-to-date. |
| 72 | |
| 73 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-web-ui |
| 74 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-web-ui |
| 75 | Already up-to-date. |
| 76 | |
| 77 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-storage-testdata |
| 78 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-storage-testdata |
| 79 | Already up-to-date. |
| 80 | |
| 81 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-storage |
| 82 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-storage |
| 83 | From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage |
| 84 | 8c6e8d7..68abde3 master -> origin/master |
| 85 | Updating 8c6e8d7..68abde3 |
| 86 | Fast-forward |
| 87 | swh/storage/checker/checker.py | 4 +- |
| 88 | swh/storage/objstorage/api/server.py | 5 +- |
| 89 | swh/storage/objstorage/objstorage.py | 6 ++- |
| 90 | swh/storage/objstorage/objstorage_pathslicing.py | 59 +++++++++++------------- |
| 91 | swh/storage/storage.py | 4 +- |
| 92 | swh/storage/tests/test_archiver.py | 2 +- |
| 93 | swh/storage/tests/test_checker.py | 4 +- |
| 94 | swh/storage/tests/test_objstorage_api.py | 21 +++------ |
| 95 | swh/storage/tests/test_objstorage_pathslicing.py | 6 +-- |
| 96 | 9 files changed, 51 insertions(+), 60 deletions(-) |
| 97 | |
| 98 | mr update: finished (15 ok; 3 failed) |
| 99 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at Jun 16 2016, 3:11 PM · Built instantly
- Status
Passed