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.
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 | |
10 | ====================================================================== |
11 | ERROR: Failure: ImportError (cannot import name '_obj_path') |
12 | ---------------------------------------------------------------------- |
13 | Traceback (most recent call last): |
14 | File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest |
15 | raise self.exc_val.with_traceback(self.tb) |
16 | File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName |
17 | addr.filename, addr.module) |
18 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath |
19 | return self.importFromDir(dir_path, fqname) |
20 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir |
21 | mod = load_module(part_fqname, fh, filename, desc) |
22 | File "/usr/lib/python3.4/imp.py", line 235, in load_module |
23 | return load_source(name, filename, file) |
24 | File "/usr/lib/python3.4/imp.py", line 171, in load_source |
25 | module = methods.load() |
26 | File "<frozen importlib._bootstrap>", line 1220, in load |
27 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked |
28 | File "<frozen importlib._bootstrap>", line 1129, in _exec |
29 | File "<frozen importlib._bootstrap>", line 1471, in exec_module |
30 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed |
31 | File "/home/temp-drydock/drydock/workingcopy-159/repo/swh-storage/swh/storage/tests/test_checker.py", line 14, in <module> |
32 | from swh.storage.objstorage.objstorage import _obj_path |
33 | ImportError: cannot import name '_obj_path' |
34 | |
35 | ====================================================================== |
36 | ERROR: Failure: ImportError (cannot import name '_obj_path') |
37 | ---------------------------------------------------------------------- |
38 | Traceback (most recent call last): |
39 | File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest |
40 | raise self.exc_val.with_traceback(self.tb) |
41 | File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName |
42 | addr.filename, addr.module) |
43 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath |
44 | return self.importFromDir(dir_path, fqname) |
45 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir |
46 | mod = load_module(part_fqname, fh, filename, desc) |
47 | File "/usr/lib/python3.4/imp.py", line 235, in load_module |
48 | return load_source(name, filename, file) |
49 | File "/usr/lib/python3.4/imp.py", line 171, in load_source |
50 | module = methods.load() |
51 | File "<frozen importlib._bootstrap>", line 1220, in load |
52 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked |
53 | File "<frozen importlib._bootstrap>", line 1129, in _exec |
54 | File "<frozen importlib._bootstrap>", line 1471, in exec_module |
55 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed |
56 | File "/home/temp-drydock/drydock/workingcopy-159/repo/swh-storage/swh/storage/tests/test_objstorage_api.py", line 15, in <module> |
57 | from swh.storage.objstorage.objstorage import _obj_path |
58 | ImportError: cannot import name '_obj_path' |
59 | |
60 | ---------------------------------------------------------------------- |
61 | Ran 6 tests in 0.456s |
62 | |
63 | FAILED (errors=2) |
64 |
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 |
103 | create mode 100644 swh/loader/svn/tests/test_utils.py |
---|---|
104 | create mode 100644 swh/loader/svn/utils.py |
105 | |
106 | mr update: /home/temp-drydock/drydock/workingcopy-159/repo/swh-environment/swh-loader-tar |
107 | mr update: /home/temp-drydock/drydock/workingcopy-159/repo/swh-environment/swh-loader-tar |
108 | From ssh://forge.softwareheritage.org/diffusion/DLDTAR/swh-loader-tar |
109 | 08c8894..48e41a4 master -> origin/master |
110 | * [new tag] v0.0.19 -> v0.0.19 |
111 | * [new tag] v0.0.18 -> v0.0.18 |
112 | Updating 08c8894..48e41a4 |
113 | Fast-forward |
114 | debian/control | 4 +-- |
115 | requirements.txt | 4 +-- |
116 | swh/loader/tar/build.py | 50 ++++++++++++++++++++------------------ |
117 | swh/loader/tar/loader.py | 16 ++---------- |
118 | swh/loader/tar/tasks.py | 9 +++---- |
119 | swh/loader/tar/tests/test_build.py | 29 ++++++++++++---------- |
120 | 6 files changed, 52 insertions(+), 60 deletions(-) |
121 | |
122 | mr update: /home/temp-drydock/drydock/workingcopy-159/repo/swh-environment/swh-py-template |
123 | mr update: /home/temp-drydock/drydock/workingcopy-159/repo/swh-environment/swh-py-template |
124 | Already up-to-date. |
125 | |
126 | mr update: /home/temp-drydock/drydock/workingcopy-159/repo/swh-environment/swh-scheduler |
127 | mr update: /home/temp-drydock/drydock/workingcopy-159/repo/swh-environment/swh-scheduler |
128 | Already up-to-date. |
129 | |
130 | mr update: /home/temp-drydock/drydock/workingcopy-159/repo/swh-environment/swh-model |
131 | mr update: /home/temp-drydock/drydock/workingcopy-159/repo/swh-environment/swh-model |
132 | From ssh://forge.softwareheritage.org/diffusion/DMOD/swh-model |
133 | 9b9ec94..5f7c931 master -> origin/master |
134 | * [new tag] v0.0.10 -> v0.0.10 |
135 | * [new tag] v0.0.11 -> v0.0.11 |
136 | Updating 9b9ec94..5f7c931 |
137 | Fast-forward |
138 | swh/model/git.py | 366 +++++++++---------- |
139 | swh/model/tests/test_git.py | 831 +++++++++++++++++++++----------------------- |
140 | 2 files changed, 565 insertions(+), 632 deletions(-) |
141 | |
142 | mr update: /home/temp-drydock/drydock/workingcopy-159/repo/swh-environment/swh-storage |
143 | mr update: /home/temp-drydock/drydock/workingcopy-159/repo/swh-environment/swh-storage |
144 | From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage |
145 | bca87a1..45eab09 master -> origin/master |
146 | Updating bca87a1..45eab09 |
147 | Fast-forward |
148 | bin/swh-objstorage-add-dir | 2 +- |
149 | swh/storage/checker/checker.py | 6 +- |
150 | swh/storage/converters.py | 56 +-- |
151 | swh/storage/objstorage/__init__.py | 5 +- |
152 | swh/storage/objstorage/api/server.py | 13 +- |
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