Properties
Properties
- Buildable
- B177: rDSTO90c716d5265a: Create a base API that define the objstorage behavior
- Build Plan
- Plan 2 Software Heritage Python tests
- Status
Failed
Lint
Lint
- When
- Completed at Jun 13 2016, 2:51 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 13 2016, 2:51 PM · Built for 1 s
- Status
Failed
1 empty logs are hidden. Show all logs.
14 | raise self.exc_val.with_traceback(self.tb) |
---|---|
15 | File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName |
16 | addr.filename, addr.module) |
17 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath |
18 | return self.importFromDir(dir_path, fqname) |
19 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir |
20 | mod = load_module(part_fqname, fh, filename, desc) |
21 | File "/usr/lib/python3.4/imp.py", line 235, in load_module |
22 | return load_source(name, filename, file) |
23 | File "/usr/lib/python3.4/imp.py", line 171, in load_source |
24 | module = methods.load() |
25 | File "<frozen importlib._bootstrap>", line 1220, in load |
26 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked |
27 | File "<frozen importlib._bootstrap>", line 1129, in _exec |
28 | File "<frozen importlib._bootstrap>", line 1471, in exec_module |
29 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed |
30 | File "/home/temp-drydock/drydock/workingcopy-159/repo/swh-storage/swh/storage/tests/test_checker.py", line 14, in <module> |
31 | from swh.storage.objstorage.objstorage import _obj_path |
32 | ImportError: cannot import name '_obj_path' |
33 | |
34 | ====================================================================== |
35 | ERROR: Failure: ImportError (cannot import name '_obj_path') |
36 | ---------------------------------------------------------------------- |
37 | Traceback (most recent call last): |
38 | File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest |
39 | raise self.exc_val.with_traceback(self.tb) |
40 | File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName |
41 | addr.filename, addr.module) |
42 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath |
43 | return self.importFromDir(dir_path, fqname) |
44 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir |
45 | mod = load_module(part_fqname, fh, filename, desc) |
46 | File "/usr/lib/python3.4/imp.py", line 235, in load_module |
47 | return load_source(name, filename, file) |
48 | File "/usr/lib/python3.4/imp.py", line 171, in load_source |
49 | module = methods.load() |
50 | File "<frozen importlib._bootstrap>", line 1220, in load |
51 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked |
52 | File "<frozen importlib._bootstrap>", line 1129, in _exec |
53 | File "<frozen importlib._bootstrap>", line 1471, in exec_module |
54 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed |
55 | File "/home/temp-drydock/drydock/workingcopy-159/repo/swh-storage/swh/storage/tests/test_objstorage_api.py", line 15, in <module> |
56 | from swh.storage.objstorage.objstorage import _obj_path |
57 | ImportError: cannot import name '_obj_path' |
58 | |
59 | ---------------------------------------------------------------------- |
60 | Ran 6 tests in 0.456s |
61 | |
62 | FAILED (errors=2) |
63 |
Update environment from working copy
Update environment from working copy
- When
- Completed at Jun 13 2016, 2:50 PM · Built for 25 s
- Status
Passed
1 | mr update: command failed |
---|---|
2 | mr update: command failed |
3 |
153 | swh/storage/objstorage/objstorage.py | 435 +++-------------------- |
---|---|
154 | swh/storage/objstorage/objstorage_pathslicing.py | 350 ++++++++++++++++++ |
155 | swh/storage/storage.py | 10 +- |
156 | swh/storage/tests/objstorage_testing.py | 70 ++++ |
157 | swh/storage/tests/test_checker.py | 17 +- |
158 | swh/storage/tests/test_converters.py | 77 ---- |
159 | swh/storage/tests/test_objstorage.py | 163 --------- |
160 | swh/storage/tests/test_objstorage_api.py | 12 +- |
161 | swh/storage/tests/test_objstorage_pathslicing.py | 78 ++++ |
162 | 14 files changed, 590 insertions(+), 704 deletions(-) |
163 | create mode 100644 swh/storage/objstorage/objstorage_pathslicing.py |
164 | create mode 100644 swh/storage/tests/objstorage_testing.py |
165 | delete mode 100644 swh/storage/tests/test_objstorage.py |
166 | create mode 100644 swh/storage/tests/test_objstorage_pathslicing.py |
167 | |
168 | mr update: /home/temp-drydock/drydock/workingcopy-159/repo/swh-environment/swh-storage-testdata |
169 | mr update: /home/temp-drydock/drydock/workingcopy-159/repo/swh-environment/swh-storage-testdata |
170 | Already up-to-date. |
171 | |
172 | mr update: /home/temp-drydock/drydock/workingcopy-159/repo/swh-environment/swh-web-ui |
173 | mr update: /home/temp-drydock/drydock/workingcopy-159/repo/swh-environment/swh-web-ui |
174 | From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui |
175 | 52deecd..110ba85 master -> origin/master |
176 | Updating 52deecd..110ba85 |
177 | Fast-forward |
178 | swh/web/ui/backend.py | 30 ++++++ |
179 | swh/web/ui/converters.py | 38 +++++-- |
180 | swh/web/ui/service.py | 32 +++++- |
181 | swh/web/ui/templates/content.html | 5 + |
182 | swh/web/ui/templates/directory.html | 7 +- |
183 | swh/web/ui/templates/entity.html | 5 + |
184 | swh/web/ui/templates/origin.html | 5 + |
185 | swh/web/ui/templates/person.html | 5 + |
186 | swh/web/ui/templates/release.html | 12 ++- |
187 | swh/web/ui/templates/revision-directory.html | 23 +++- |
188 | swh/web/ui/templates/revision-log.html | 54 ++++++++-- |
189 | swh/web/ui/templates/revision.html | 29 ++++- |
190 | swh/web/ui/tests/test_backend.py | 56 ++++++++++ |
191 | swh/web/ui/tests/test_converters.py | 128 ++++++++++++++++++++++ |
192 | swh/web/ui/tests/test_service.py | 154 ++++++++++++++++++++++++++- |
193 | swh/web/ui/tests/test_utils.py | 94 +++++++++++++++- |
194 | swh/web/ui/tests/views/test_api.py | 91 ++++++++++++++-- |
195 | swh/web/ui/tests/views/test_browse.py | 95 +++++++++++++++++ |
196 | swh/web/ui/utils.py | 5 + |
197 | swh/web/ui/views/api.py | 57 +++++++++- |
198 | swh/web/ui/views/browse.py | 59 +++++++++- |
199 | 21 files changed, 940 insertions(+), 44 deletions(-) |
200 | |
201 | mr update: finished (16 ok; 2 failed) |
202 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at Jun 13 2016, 2:50 PM · Built instantly
- Status
Passed