Properties
Properties
- Buildable
- B224: rDSTOac0632653199: objstorage.multiplexer: add tests for the multiplexer object storage
- Build Plan
- Plan 2 Software Heritage Python tests
- Status
Failed
Lint
Lint
- When
- Completed at Jun 21 2016, 2:38 PM · Built for 2 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 21 2016, 2:38 PM · Built for 1 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) ... ok |
4 | check_valid_content (test_checker.TestChecker) ... ok |
5 | repair_content_missing (test_checker.TestChecker) ... ok |
6 | repair_content_present_distributed (test_checker.TestChecker) ... ok |
7 | repair_content_present_first (test_checker.TestChecker) ... ok |
8 | repair_content_present_second (test_checker.TestChecker) ... ok |
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 | Failure: ImportError (No module named 'swh.storage.objstorage.multiplexer.filter') ... ERROR |
14 | add_get_w_id (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
15 | add_get_wo_id (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
16 | check_id_mismatch (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
17 | check_missing (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
18 | check_not_gzip (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
19 | check_present (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
20 | contains (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
21 | get_missing (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
22 | get_random_contents (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
23 | iter (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
24 | len (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
25 | restore_content (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
26 | |
27 | ====================================================================== |
28 | ERROR: Failure: ImportError (No module named 'swh.storage.objstorage.multiplexer.filter') |
29 | ---------------------------------------------------------------------- |
30 | Traceback (most recent call last): |
31 | File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest |
32 | raise self.exc_val.with_traceback(self.tb) |
33 | File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName |
34 | addr.filename, addr.module) |
35 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath |
36 | return self.importFromDir(dir_path, fqname) |
37 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir |
38 | mod = load_module(part_fqname, fh, filename, desc) |
39 | File "/usr/lib/python3.4/imp.py", line 235, in load_module |
40 | return load_source(name, filename, file) |
41 | File "/usr/lib/python3.4/imp.py", line 171, in load_source |
42 | module = methods.load() |
43 | File "<frozen importlib._bootstrap>", line 1220, in load |
44 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked |
45 | File "<frozen importlib._bootstrap>", line 1129, in _exec |
46 | File "<frozen importlib._bootstrap>", line 1471, in exec_module |
47 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed |
48 | File "/home/temp-drydock/drydock/workingcopy-161/repo/swh-storage/swh/storage/tests/test_objstorage_multiplexer.py", line 13, in <module> |
49 | from swh.storage.objstorage.multiplexer.filter import add_filter, read_only |
50 | ImportError: No module named 'swh.storage.objstorage.multiplexer.filter' |
51 | |
52 | ---------------------------------------------------------------------- |
53 | Ran 23 tests in 0.617s |
54 | |
55 | FAILED (errors=1) |
56 |
Update environment from working copy
Update environment from working copy
- When
- Completed at Jun 21 2016, 2:38 PM · Built for 21 s
- Status
Passed
1 | mr update: command failed |
---|---|
2 | mr update: command failed |
3 | mr update: command failed |
4 | mr update: command failed |
5 | mr update: command failed |
6 |
41 | and the repository exists. |
---|---|
42 | |
43 | mr update: /home/temp-drydock/drydock/workingcopy-161/repo/swh-environment/swh-loader-svn |
44 | mr update: /home/temp-drydock/drydock/workingcopy-161/repo/swh-environment/swh-loader-svn |
45 | ssh_exchange_identification: Connection closed by remote host |
46 | fatal: Could not read from remote repository. |
47 | |
48 | Please make sure you have the correct access rights |
49 | and the repository exists. |
50 | |
51 | mr update: /home/temp-drydock/drydock/workingcopy-161/repo/swh-environment/swh-loader-tar |
52 | mr update: /home/temp-drydock/drydock/workingcopy-161/repo/swh-environment/swh-loader-tar |
53 | ssh_exchange_identification: Connection closed by remote host |
54 | fatal: Could not read from remote repository. |
55 | |
56 | Please make sure you have the correct access rights |
57 | and the repository exists. |
58 | |
59 | mr update: /home/temp-drydock/drydock/workingcopy-161/repo/swh-environment/swh-model |
60 | mr update: /home/temp-drydock/drydock/workingcopy-161/repo/swh-environment/swh-model |
61 | ssh_exchange_identification: Connection closed by remote host |
62 | fatal: Could not read from remote repository. |
63 | |
64 | Please make sure you have the correct access rights |
65 | and the repository exists. |
66 | |
67 | mr update: /home/temp-drydock/drydock/workingcopy-161/repo/swh-environment/swh-loader-antelink |
68 | mr update: /home/temp-drydock/drydock/workingcopy-161/repo/swh-environment/swh-loader-antelink |
69 | Already up-to-date. |
70 | |
71 | mr update: /home/temp-drydock/drydock/workingcopy-161/repo/swh-environment/swh-scheduler |
72 | mr update: /home/temp-drydock/drydock/workingcopy-161/repo/swh-environment/swh-scheduler |
73 | Already up-to-date. |
74 | |
75 | mr update: /home/temp-drydock/drydock/workingcopy-161/repo/swh-environment/swh-loader-core |
76 | mr update: /home/temp-drydock/drydock/workingcopy-161/repo/swh-environment/swh-loader-core |
77 | Already up-to-date. |
78 | |
79 | mr update: /home/temp-drydock/drydock/workingcopy-161/repo/swh-environment/swh-loader-git |
80 | mr update: /home/temp-drydock/drydock/workingcopy-161/repo/swh-environment/swh-loader-git |
81 | Already up-to-date. |
82 | |
83 | mr update: /home/temp-drydock/drydock/workingcopy-161/repo/swh-environment/swh-py-template |
84 | mr update: /home/temp-drydock/drydock/workingcopy-161/repo/swh-environment/swh-py-template |
85 | Already up-to-date. |
86 | |
87 | mr update: /home/temp-drydock/drydock/workingcopy-161/repo/swh-environment/swh-storage-testdata |
88 | mr update: /home/temp-drydock/drydock/workingcopy-161/repo/swh-environment/swh-storage-testdata |
89 | Already up-to-date. |
90 | |
91 | mr update: /home/temp-drydock/drydock/workingcopy-161/repo/swh-environment/swh-storage |
92 | mr update: /home/temp-drydock/drydock/workingcopy-161/repo/swh-environment/swh-storage |
93 | From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage |
94 | 8c6e8d7..bed4d47 master -> origin/master |
95 | * [new tag] v0.0.41 -> v0.0.41 |
96 | Updating 8c6e8d7..bed4d47 |
97 | Fast-forward |
98 | swh/storage/api/client.py | 6 + |
99 | swh/storage/api/server.py | 5 + |
100 | swh/storage/checker/checker.py | 4 +- |
101 | swh/storage/objstorage/api/server.py | 5 +- |
102 | swh/storage/objstorage/multiplexer/__init__.py | 4 + |
103 | .../objstorage/multiplexer/filter/__init__.py | 98 ++++++ |
104 | .../objstorage/multiplexer/filter/filter.py | 48 +++ |
105 | .../objstorage/multiplexer/filter/id_filter.py | 99 ++++++ |
106 | .../multiplexer/filter/read_write_filter.py | 17 + |
107 | .../multiplexer/multiplexer_objstorage.py | 166 +++++++++ |
108 | swh/storage/objstorage/objstorage.py | 6 +- |
109 | swh/storage/objstorage/objstorage_pathslicing.py | 59 ++-- |
110 | swh/storage/storage.py | 44 ++- |
111 | swh/storage/tests/test_archiver.py | 2 +- |
112 | swh/storage/tests/test_checker.py | 4 +- |
113 | swh/storage/tests/test_multiplexer_filter.py | 373 +++++++++++++++++++++ |
114 | swh/storage/tests/test_objstorage_api.py | 21 +- |
115 | swh/storage/tests/test_objstorage_multiplexer.py | 78 +++++ |
116 | swh/storage/tests/test_objstorage_pathslicing.py | 6 +- |
117 | swh/storage/tests/test_storage.py | 65 ++++ |
118 | 20 files changed, 1038 insertions(+), 72 deletions(-) |
119 | create mode 100644 swh/storage/objstorage/multiplexer/__init__.py |
120 | create mode 100644 swh/storage/objstorage/multiplexer/filter/__init__.py |
121 | create mode 100644 swh/storage/objstorage/multiplexer/filter/filter.py |
122 | create mode 100644 swh/storage/objstorage/multiplexer/filter/id_filter.py |
123 | create mode 100644 swh/storage/objstorage/multiplexer/filter/read_write_filter.py |
124 | create mode 100644 swh/storage/objstorage/multiplexer/multiplexer_objstorage.py |
125 | create mode 100644 swh/storage/tests/test_multiplexer_filter.py |
126 | create mode 100644 swh/storage/tests/test_objstorage_multiplexer.py |
127 | |
128 | mr update: /home/temp-drydock/drydock/workingcopy-161/repo/swh-environment/swh-web-ui |
129 | mr update: /home/temp-drydock/drydock/workingcopy-161/repo/swh-environment/swh-web-ui |
130 | From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui |
131 | 6003846..2b9a9c6 master -> origin/master |
132 | Updating 6003846..2b9a9c6 |
133 | Fast-forward |
134 | swh/web/ui/backend.py | 17 +++-------------- |
135 | swh/web/ui/templates/upload_and_search.html | 18 +++++++----------- |
136 | swh/web/ui/tests/test_backend.py | 9 +++------ |
137 | 3 files changed, 13 insertions(+), 31 deletions(-) |
138 | |
139 | mr update: finished (13 ok; 5 failed) |
140 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at Jun 21 2016, 2:37 PM · Built instantly
- Status
Passed