Page MenuHomeSoftware Heritage

Build 1095

Properties

Buildable
B815: Diff 642
Build Plan
Plan 2 Software Heritage Python tests
Status
Failed

Lint

When
Completed at Mar 21 2017, 6:45 PM · Built for 6 s
Status
Failed

Build Log 3668 (remote - stderr)
25 - 50 - 100 - Unlimited Lines

1make: *** [check] Error 1
2

Build Log 3667 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1python3 -m flake8 swh bin/swh-storage-add-dir
2swh/storage/vault/cookers/revision_git.py:171:22: W503 line break before binary operator
3swh/storage/vault/cookers/revision_git.py:184:21: W503 line break before binary operator
4swh/storage/vault/cookers/revision_git.py:185:26: W503 line break before binary operator
5swh/storage/vault/cookers/revision_git.py:186:26: W503 line break before binary operator
6../Makefile.python:25: recipe for target 'check' failed
7

Python tests

When
Completed at Mar 21 2017, 6:45 PM · Built for 4 s
Status
Failed
1 empty logs are hidden. Show all logs.

Build Log 3666 (remote - stderr)
25 - 50 - 100 - Unlimited Lines

115 mod = load_module(part_fqname, fh, filename, desc)
116 File "/usr/lib/python3.4/imp.py", line 235, in load_module
117 return load_source(name, filename, file)
118 File "/usr/lib/python3.4/imp.py", line 171, in load_source
119 module = methods.load()
120 File "<frozen importlib._bootstrap>", line 1220, in load
121 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
122 File "<frozen importlib._bootstrap>", line 1129, in _exec
123 File "<frozen importlib._bootstrap>", line 1471, in exec_module
124 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
125 File "/home/temp-drydock/drydock/workingcopy-175/repo/swh-storage/swh/storage/tests/test_db.py", line 13, in <module>
126 from swh.model.hashutil import hash_to_bytes
127 File "/home/temp-drydock/drydock/workingcopy-175/repo/swh-model/swh/model/hashutil.py", line 48, in <module>
128 import pyblake2
129ImportError: No module named 'pyblake2'
130
131======================================================================
132ERROR: Failure: ImportError (No module named 'pyblake2')
133----------------------------------------------------------------------
134Traceback (most recent call last):
135 File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
136 raise self.exc_val.with_traceback(self.tb)
137 File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName
138 addr.filename, addr.module)
139 File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
140 return self.importFromDir(dir_path, fqname)
141 File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
142 mod = load_module(part_fqname, fh, filename, desc)
143 File "/usr/lib/python3.4/imp.py", line 235, in load_module
144 return load_source(name, filename, file)
145 File "/usr/lib/python3.4/imp.py", line 171, in load_source
146 module = methods.load()
147 File "<frozen importlib._bootstrap>", line 1220, in load
148 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
149 File "<frozen importlib._bootstrap>", line 1129, in _exec
150 File "<frozen importlib._bootstrap>", line 1471, in exec_module
151 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
152 File "/home/temp-drydock/drydock/workingcopy-175/repo/swh-storage/swh/storage/tests/test_storage.py", line 22, in <module>
153 from swh.model import identifiers
154 File "/home/temp-drydock/drydock/workingcopy-175/repo/swh-model/swh/model/identifiers.py", line 10, in <module>
155 from .hashutil import hash_data, hash_git_data
156 File "/home/temp-drydock/drydock/workingcopy-175/repo/swh-model/swh/model/hashutil.py", line 48, in <module>
157 import pyblake2
158ImportError: No module named 'pyblake2'
159
160----------------------------------------------------------------------
161Ran 5 tests in 0.398s
162
163FAILED (errors=5)
164

Update environment from working copy

When
Completed at Mar 21 2017, 6:45 PM · Built for 13 s
Status
Passed
1 empty logs are hidden. Show all logs.

Build Log 3663 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

226 swh/web/ui/tests/test_service.py | 122 +++++++++++++++++++-----------------
227 swh/web/ui/tests/views/test_api.py | 108 ++++++++++++++++++++++++++++++-
228 swh/web/ui/views/api.py | 34 +++++++---
229 swh/web/ui/views/browse.py | 4 --
230 swh/web/ui/views/errorhandler.py | 16 +++--
231 15 files changed, 347 insertions(+), 190 deletions(-)
232
233mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-storage
234mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-storage
235From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage
236 f711c20..7eabf17 master -> origin/master
237 * [new tag] v0.0.82 -> v0.0.82
238Updating f711c20..7eabf17
239Fast-forward
240 debian/control | 5 +-
241 requirements-swh.txt | 2 +-
242 requirements.txt | 11 +-
243 sql/swh-func.sql | 50 +++-----
244 sql/swh-schema.sql | 2 +-
245 sql/upgrades/102.sql | 183 +++++++++++++++++++++++++++++
246 swh/storage/archiver/copier.py | 4 +-
247 swh/storage/archiver/db.py | 2 +-
248 swh/storage/archiver/director.py | 5 +-
249 swh/storage/archiver/storage.py | 3 +-
250 swh/storage/archiver/updater.py | 56 +++++++++
251 swh/storage/archiver/worker.py | 3 +-
252 swh/storage/db.py | 43 ++++---
253 swh/storage/listener.py | 1 +
254 swh/storage/provenance/tasks.py | 6 +-
255 swh/storage/storage.py | 54 ++++-----
256 swh/storage/tests/test_api_client.py | 4 +-
257 swh/storage/tests/test_archiver.py | 2 +-
258 swh/storage/tests/test_db.py | 10 +-
259 swh/storage/tests/test_storage.py | 104 ++++++++--------
260 swh/storage/vault/api/client.py | 2 +-
261 swh/storage/vault/api/cooking_tasks.py | 9 +-
262 swh/storage/vault/api/server.py | 17 ++-
263 swh/storage/vault/cache.py | 8 +-
264 swh/storage/vault/cookers/__init__.py | 4 +-
265 swh/storage/vault/cookers/base.py | 55 ++++++---
266 swh/storage/vault/cookers/directory.py | 19 +--
267 swh/storage/vault/cookers/revision_flat.py | 26 +---
268 swh/storage/vault/cookers/revision_git.py | 162 +++++++++++++++++++++++++
269 29 files changed, 616 insertions(+), 236 deletions(-)
270 create mode 100644 sql/upgrades/102.sql
271 create mode 100644 swh/storage/archiver/updater.py
272 create mode 100644 swh/storage/vault/cookers/revision_git.py
273
274mr update: finished (24 ok)
275

Clone on Software Heritage Worker

When
Completed at Mar 21 2017, 6:45 PM · Built instantly
Status
Passed

Event Timeline