Properties
Properties
- Buildable
- B178: rDSTOc664995863c8: Add an implementation of the object storage api and a test class
- 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:50 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 | Failure: ImportError (cannot import name '_obj_path') ... ERROR |
4 | db_to_author (test_converters.TestConverters) ... ok |
5 | db_to_git_headers (test_converters.TestConverters) ... ok |
6 | db_to_release (test_converters.TestConverters) ... ok |
7 | db_to_revision (test_converters.TestConverters) ... ok |
8 | Failure: ImportError (cannot import name '_obj_path') ... ERROR |
9 | add_get_w_id (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
10 | add_get_wo_id (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
11 | check_id_mismatch (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
12 | check_missing (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
13 | check_not_gzip (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
14 | check_present (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
15 | contains (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
16 | get_missing (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
17 | get_random_contents (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
18 | iter (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
19 | len (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
20 | restore_content (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
21 | |
22 | ====================================================================== |
23 | ERROR: Failure: ImportError (cannot import name '_obj_path') |
24 | ---------------------------------------------------------------------- |
25 | Traceback (most recent call last): |
26 | File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest |
27 | raise self.exc_val.with_traceback(self.tb) |
28 | File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName |
29 | addr.filename, addr.module) |
30 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath |
31 | return self.importFromDir(dir_path, fqname) |
32 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir |
33 | mod = load_module(part_fqname, fh, filename, desc) |
34 | File "/usr/lib/python3.4/imp.py", line 235, in load_module |
35 | return load_source(name, filename, file) |
36 | File "/usr/lib/python3.4/imp.py", line 171, in load_source |
37 | module = methods.load() |
38 | File "<frozen importlib._bootstrap>", line 1220, in load |
39 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked |
40 | File "<frozen importlib._bootstrap>", line 1129, in _exec |
41 | File "<frozen importlib._bootstrap>", line 1471, in exec_module |
42 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed |
43 | File "/home/temp-drydock/drydock/workingcopy-157/repo/swh-storage/swh/storage/tests/test_checker.py", line 14, in <module> |
44 | from swh.storage.objstorage.objstorage import _obj_path |
45 | ImportError: cannot import name '_obj_path' |
46 | |
47 | ====================================================================== |
48 | ERROR: Failure: ImportError (cannot import name '_obj_path') |
49 | ---------------------------------------------------------------------- |
50 | Traceback (most recent call last): |
51 | File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest |
52 | raise self.exc_val.with_traceback(self.tb) |
53 | File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName |
54 | addr.filename, addr.module) |
55 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath |
56 | return self.importFromDir(dir_path, fqname) |
57 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir |
58 | mod = load_module(part_fqname, fh, filename, desc) |
59 | File "/usr/lib/python3.4/imp.py", line 235, in load_module |
60 | return load_source(name, filename, file) |
61 | File "/usr/lib/python3.4/imp.py", line 171, in load_source |
62 | module = methods.load() |
63 | File "<frozen importlib._bootstrap>", line 1220, in load |
64 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked |
65 | File "<frozen importlib._bootstrap>", line 1129, in _exec |
66 | File "<frozen importlib._bootstrap>", line 1471, in exec_module |
67 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed |
68 | File "/home/temp-drydock/drydock/workingcopy-157/repo/swh-storage/swh/storage/tests/test_objstorage_api.py", line 15, in <module> |
69 | from swh.storage.objstorage.objstorage import _obj_path |
70 | ImportError: cannot import name '_obj_path' |
71 | |
72 | ---------------------------------------------------------------------- |
73 | Ran 18 tests in 0.818s |
74 | |
75 | FAILED (errors=2) |
76 |
Update environment from working copy
Update environment from working copy
- When
- Completed at Jun 13 2016, 2:50 PM · Built for 23 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 | mr update: command failed |
7 | mr update: command failed |
8 |
112 | create mode 100644 swh/loader/svn/ra.py |
---|---|
113 | delete mode 100644 swh/loader/svn/tests/test_svn.py |
114 | create mode 100644 swh/loader/svn/tests/test_utils.py |
115 | create mode 100644 swh/loader/svn/utils.py |
116 | |
117 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-tar |
118 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-tar |
119 | From ssh://forge.softwareheritage.org/diffusion/DLDTAR/swh-loader-tar |
120 | f590883..48e41a4 master -> origin/master |
121 | * [new tag] v0.0.19 -> v0.0.19 |
122 | * [new tag] v0.0.18 -> v0.0.18 |
123 | Updating f590883..48e41a4 |
124 | Fast-forward |
125 | debian/control | 4 +-- |
126 | requirements.txt | 4 +-- |
127 | swh/loader/tar/build.py | 50 ++++++++++++++++++++------------------ |
128 | swh/loader/tar/loader.py | 20 +++++---------- |
129 | swh/loader/tar/tasks.py | 9 +++---- |
130 | swh/loader/tar/tests/test_build.py | 29 ++++++++++++---------- |
131 | 6 files changed, 56 insertions(+), 60 deletions(-) |
132 | |
133 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-model |
134 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-model |
135 | From ssh://forge.softwareheritage.org/diffusion/DMOD/swh-model |
136 | 9b9ec94..5f7c931 master -> origin/master |
137 | * [new branch] compute-and-walk-with-relative-path -> origin/compute-and-walk-with-relative-path |
138 | * [new tag] v0.0.10 -> v0.0.10 |
139 | * [new tag] v0.0.11 -> v0.0.11 |
140 | Updating 9b9ec94..5f7c931 |
141 | Fast-forward |
142 | swh/model/git.py | 366 +++++++++---------- |
143 | swh/model/tests/test_git.py | 831 +++++++++++++++++++++----------------------- |
144 | 2 files changed, 565 insertions(+), 632 deletions(-) |
145 | |
146 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-scheduler |
147 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-scheduler |
148 | Already up-to-date. |
149 | |
150 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-storage-testdata |
151 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-storage-testdata |
152 | Already up-to-date. |
153 | |
154 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-storage |
155 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-storage |
156 | From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage |
157 | eb8ada4..45eab09 master -> origin/master |
158 | Updating eb8ada4..45eab09 |
159 | Fast-forward |
160 | bin/swh-objstorage-add-dir | 2 +- |
161 | setup.py | 1 + |
162 | swh/storage/checker/checker.py | 97 +++-- |
163 | swh/storage/converters.py | 56 +-- |
164 | swh/storage/objstorage/__init__.py | 5 +- |
165 | swh/storage/objstorage/api/server.py | 13 +- |
166 | swh/storage/objstorage/objstorage.py | 434 +++-------------------- |
167 | swh/storage/objstorage/objstorage_pathslicing.py | 350 ++++++++++++++++++ |
168 | swh/storage/storage.py | 10 +- |
169 | swh/storage/tests/objstorage_testing.py | 70 ++++ |
170 | swh/storage/tests/test_checker.py | 52 ++- |
171 | swh/storage/tests/test_converters.py | 77 ---- |
172 | swh/storage/tests/test_objstorage.py | 163 --------- |
173 | swh/storage/tests/test_objstorage_api.py | 13 +- |
174 | swh/storage/tests/test_objstorage_pathslicing.py | 78 ++++ |
175 | 15 files changed, 689 insertions(+), 732 deletions(-) |
176 | create mode 100644 swh/storage/objstorage/objstorage_pathslicing.py |
177 | create mode 100644 swh/storage/tests/objstorage_testing.py |
178 | delete mode 100644 swh/storage/tests/test_objstorage.py |
179 | create mode 100644 swh/storage/tests/test_objstorage_pathslicing.py |
180 | |
181 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-web-ui |
182 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-web-ui |
183 | From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui |
184 | d99ae9c..110ba85 master -> origin/master |
185 | Updating d99ae9c..110ba85 |
186 | Fast-forward |
187 | swh/web/ui/backend.py | 30 +++ |
188 | swh/web/ui/converters.py | 41 +++- |
189 | swh/web/ui/service.py | 59 +++++- |
190 | swh/web/ui/templates/content.html | 5 + |
191 | swh/web/ui/templates/directory.html | 7 +- |
192 | swh/web/ui/templates/entity.html | 5 + |
193 | swh/web/ui/templates/origin.html | 5 + |
194 | swh/web/ui/templates/person.html | 5 + |
195 | swh/web/ui/templates/release.html | 12 +- |
196 | swh/web/ui/templates/revision-directory.html | 23 ++- |
197 | swh/web/ui/templates/revision-log.html | 54 +++++- |
198 | swh/web/ui/templates/revision.html | 29 ++- |
199 | swh/web/ui/tests/test_backend.py | 56 ++++++ |
200 | swh/web/ui/tests/test_converters.py | 138 ++++++++++++++ |
201 | swh/web/ui/tests/test_service.py | 267 +++++++++++++++++++++++++++ |
202 | swh/web/ui/tests/test_utils.py | 94 +++++++++- |
203 | swh/web/ui/tests/views/test_api.py | 143 ++++++++++++++ |
204 | swh/web/ui/tests/views/test_browse.py | 95 ++++++++++ |
205 | swh/web/ui/utils.py | 5 + |
206 | swh/web/ui/views/api.py | 77 ++++++++ |
207 | swh/web/ui/views/browse.py | 59 +++++- |
208 | 21 files changed, 1177 insertions(+), 32 deletions(-) |
209 | |
210 | mr update: finished (11 ok; 7 failed) |
211 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at Jun 13 2016, 2:50 PM · Built instantly
- Status
Passed