Page MenuHomeSoftware Heritage

Build 824

You are viewing an older run of this build. View Current Build

Properties

Buildable
B596: Diff 410
Build Plan
Plan 2 Software Heritage Python tests
Status
Failed

Lint

When
Completed at Feb 6 2017, 6:24 PM · Built for 23 s
Status
Failed

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

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

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

1python3 -m flake8 swh bin/swh-web-ui-dev
2swh/web/ui/tests/views/test_api.py:300:38: E222 multiple spaces after operator
3swh/web/ui/tests/views/test_api.py:301:38: E222 multiple spaces after operator
4../Makefile.python:25: recipe for target 'check' failed
5

Python tests

When
Completed at Feb 6 2017, 6:24 PM · Built for 9 s
Status
Failed
1 empty logs are hidden. Show all logs.

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

208 File "/home/temp-drydock/drydock/workingcopy-179/repo/swh-web-ui/swh/web/ui/tests/test_apidoc.py", line 9, in <module>
209 from swh.web.ui import apidoc
210 File "/home/temp-drydock/drydock/workingcopy-179/repo/swh-web-ui/swh/web/ui/apidoc.py", line 14, in <module>
211 from swh.web.ui.main import app
212 File "/home/temp-drydock/drydock/workingcopy-179/repo/swh-web-ui/swh/web/ui/main.py", line 10, in <module>
213 from flask_limiter import Limiter
214ImportError: No module named 'flask_limiter'
215
216======================================================================
217ERROR: Failure: ImportError (No module named 'flask_limiter')
218----------------------------------------------------------------------
219Traceback (most recent call last):
220 File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
221 raise self.exc_val.with_traceback(self.tb)
222 File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName
223 addr.filename, addr.module)
224 File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
225 return self.importFromDir(dir_path, fqname)
226 File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
227 mod = load_module(part_fqname, fh, filename, desc)
228 File "/usr/lib/python3.4/imp.py", line 235, in load_module
229 return load_source(name, filename, file)
230 File "/usr/lib/python3.4/imp.py", line 171, in load_source
231 module = methods.load()
232 File "<frozen importlib._bootstrap>", line 1220, in load
233 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
234 File "<frozen importlib._bootstrap>", line 1129, in _exec
235 File "<frozen importlib._bootstrap>", line 1471, in exec_module
236 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
237 File "/home/temp-drydock/drydock/workingcopy-179/repo/swh-web-ui/swh/web/ui/tests/test_app.py", line 10, in <module>
238 from swh.web.ui import main
239 File "/home/temp-drydock/drydock/workingcopy-179/repo/swh-web-ui/swh/web/ui/main.py", line 10, in <module>
240 from flask_limiter import Limiter
241ImportError: No module named 'flask_limiter'
242
243======================================================================
244ERROR: Failure: ImportError (No module named 'flask_limiter')
245----------------------------------------------------------------------
246Traceback (most recent call last):
247 File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
248 raise self.exc_val.with_traceback(self.tb)
249 File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName
250 addr.filename, addr.module)
251 File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
252 return self.importFromDir(dir_path, fqname)
253 File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
254 mod = load_module(part_fqname, fh, filename, desc)
255 File "/usr/lib/python3.4/imp.py", line 235, in load_module
256 return load_source(name, filename, file)
257 File "/usr/lib/python3.4/imp.py", line 171, in load_source
258 module = methods.load()
259 File "<frozen importlib._bootstrap>", line 1220, in load
260 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
261 File "<frozen importlib._bootstrap>", line 1129, in _exec
262 File "<frozen importlib._bootstrap>", line 1471, in exec_module
263 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
264 File "/home/temp-drydock/drydock/workingcopy-179/repo/swh-web-ui/swh/web/ui/tests/test_backend.py", line 12, in <module>
265 from swh.web.ui import backend
266 File "/home/temp-drydock/drydock/workingcopy-179/repo/swh-web-ui/swh/web/ui/backend.py", line 8, in <module>
267 from . import main
268 File "/home/temp-drydock/drydock/workingcopy-179/repo/swh-web-ui/swh/web/ui/main.py", line 10, in <module>
269 from flask_limiter import Limiter
270ImportError: No module named 'flask_limiter'
271
272======================================================================
273ERROR: Failure: ImportError (No module named 'flask_limiter')
274----------------------------------------------------------------------
275Traceback (most recent call last):
276 File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
277 raise self.exc_val.with_traceback(self.tb)
278 File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName
279 addr.filename, addr.module)
280 File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
281 return self.importFromDir(dir_path, fqname)
282 File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
283 mod = load_module(part_fqname, fh, filename, desc)
284 File "/usr/lib/python3.4/imp.py", line 235, in load_module
285 return load_source(name, filename, file)
286 File "/usr/lib/python3.4/imp.py", line 171, in load_source
287 module = methods.load()
288 File "<frozen importlib._bootstrap>", line 1220, in load
289 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
290 File "<frozen importlib._bootstrap>", line 1129, in _exec
291 File "<frozen importlib._bootstrap>", line 1471, in exec_module
292 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
293 File "/home/temp-drydock/drydock/workingcopy-179/repo/swh-web-ui/swh/web/ui/tests/test_service.py", line 12, in <module>
294 from swh.web.ui import service
295 File "/home/temp-drydock/drydock/workingcopy-179/repo/swh-web-ui/swh/web/ui/service.py", line 9, in <module>
296 from swh.web.ui import converters, query, backend
297 File "/home/temp-drydock/drydock/workingcopy-179/repo/swh-web-ui/swh/web/ui/backend.py", line 8, in <module>
298 from . import main
299 File "/home/temp-drydock/drydock/workingcopy-179/repo/swh-web-ui/swh/web/ui/main.py", line 10, in <module>
300 from flask_limiter import Limiter
301ImportError: No module named 'flask_limiter'
302
303----------------------------------------------------------------------
304Ran 96 tests in 0.987s
305
306FAILED (errors=7)
307

Update environment from working copy

When
Completed at Feb 6 2017, 6:24 PM · Built for 16 s
Status
Passed
1 empty logs are hidden. Show all logs.

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

143 create mode 100644 sql/upgrades/100.sql
144
145mr update: /home/temp-drydock/drydock/workingcopy-179/repo/swh-environment/swh-web-ui
146mr update: /home/temp-drydock/drydock/workingcopy-179/repo/swh-environment/swh-web-ui
147From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui
148 fca1bee..354f2cc master -> origin/master
149 * [new tag] v0.0.67 -> v0.0.67
150 * [new tag] v0.0.68 -> v0.0.68
151 * [new tag] v0.0.69 -> v0.0.69
152 * [new tag] v0.0.70 -> v0.0.70
153 * [new tag] v0.0.71 -> v0.0.71
154 * [new tag] v0.0.72 -> v0.0.72
155 * [new tag] v0.0.73 -> v0.0.73
156 * [new tag] v0.0.74 -> v0.0.74
157 * [new tag] v0.0.75 -> v0.0.75
158 * [new tag] v0.0.76 -> v0.0.76
159Updating fca1bee..354f2cc
160Fast-forward
161 debian/control | 10 +-
162 requirements.txt | 6 -
163 swh/web/ui/apidoc.py | 205 +++----
164 swh/web/ui/converters.py | 4 +-
165 swh/web/ui/main.py | 19 +-
166 swh/web/ui/renderers.py | 17 +-
167 swh/web/ui/static/css/jquery.dataTables.min.css | 1 -
168 swh/web/ui/static/css/style.css | 231 ++++++--
169 swh/web/ui/static/img/icons/swh-logo-32x32.png | Bin 0 -> 2126 bytes
170 .../static/img/icons/swh-logo-archive-180x180.png | Bin 0 -> 16349 bytes
171 .../static/img/icons/swh-logo-archive-192x192.png | Bin 0 -> 17289 bytes
172 .../static/img/icons/swh-logo-archive-270x270.png | Bin 0 -> 24005 bytes
173 swh/web/ui/static/img/swh-logo-archive.png | Bin 0 -> 45564 bytes
174 swh/web/ui/static/img/swh-logo-archive.svg | 160 ++++++
175 swh/web/ui/static/img/swh-logo.png | Bin 37942 -> 0 bytes
176 swh/web/ui/static/lib/README | 2 -
177 swh/web/ui/static/lib/core.js | 1 -
178 swh/web/ui/static/lib/jquery.dataTables.min.js | 1 -
179 swh/web/ui/static/lib/jquery.flot.min.js | 1 -
180 swh/web/ui/static/lib/jquery.flot.selection.min.js | 1 -
181 swh/web/ui/static/lib/jquery.flot.time.min.js | 1 -
182 swh/web/ui/static/lib/jquery.flot.tooltip.min.js | 1 -
183 swh/web/ui/static/lib/lib-typedarrays.js | 1 -
184 swh/web/ui/static/lib/sha1.js | 1 -
185 swh/web/ui/static/lib/sha256.js | 1 -
186 swh/web/ui/static/robots.txt | 2 +
187 swh/web/ui/templates/api-endpoints.html | 75 ++-
188 swh/web/ui/templates/api.html | 2 +-
189 swh/web/ui/templates/apidoc.html | 64 ++-
190 .../ui/templates/includes/apidoc-header-toc.html | 30 +-
191 swh/web/ui/templates/includes/apidoc-header.html | 171 +++---
192 swh/web/ui/templates/includes/apidoc-header.md | 290 +++++-----
193 swh/web/ui/templates/includes/search-form.html | 9 +-
194 swh/web/ui/templates/layout.html | 59 +-
195 swh/web/ui/templates/origin.html | 9 +-
196 swh/web/ui/tests/test_apidoc.py | 23 +-
197 swh/web/ui/tests/test_app.py | 4 +-
198 swh/web/ui/tests/test_converters.py | 8 +-
199 swh/web/ui/tests/test_renderers.py | 19 +-
200 swh/web/ui/tests/test_utils.py | 128 ++---
201 swh/web/ui/tests/views/test_api.py | 216 +++----
202 swh/web/ui/tests/views/test_browse.py | 4 +-
203 swh/web/ui/tests/views/test_main.py | 16 +-
204 swh/web/ui/utils.py | 58 +-
205 swh/web/ui/views/api.py | 621 +++++++++++----------
206 swh/web/ui/views/browse.py | 37 +-
207 swh/web/ui/views/main.py | 8 +-
208 47 files changed, 1370 insertions(+), 1147 deletions(-)
209 delete mode 120000 swh/web/ui/static/css/jquery.dataTables.min.css
210 create mode 100644 swh/web/ui/static/img/icons/swh-logo-32x32.png
211 create mode 100644 swh/web/ui/static/img/icons/swh-logo-archive-180x180.png
212 create mode 100644 swh/web/ui/static/img/icons/swh-logo-archive-192x192.png
213 create mode 100644 swh/web/ui/static/img/icons/swh-logo-archive-270x270.png
214 create mode 100644 swh/web/ui/static/img/swh-logo-archive.png
215 create mode 100644 swh/web/ui/static/img/swh-logo-archive.svg
216 delete mode 100644 swh/web/ui/static/img/swh-logo.png
217 delete mode 100644 swh/web/ui/static/lib/README
218 delete mode 120000 swh/web/ui/static/lib/core.js
219 delete mode 120000 swh/web/ui/static/lib/jquery.dataTables.min.js
220 delete mode 120000 swh/web/ui/static/lib/jquery.flot.min.js
221 delete mode 120000 swh/web/ui/static/lib/jquery.flot.selection.min.js
222 delete mode 120000 swh/web/ui/static/lib/jquery.flot.time.min.js
223 delete mode 120000 swh/web/ui/static/lib/jquery.flot.tooltip.min.js
224 delete mode 120000 swh/web/ui/static/lib/lib-typedarrays.js
225 delete mode 120000 swh/web/ui/static/lib/sha1.js
226 delete mode 120000 swh/web/ui/static/lib/sha256.js
227 create mode 100644 swh/web/ui/static/robots.txt
228
229mr update: /home/temp-drydock/drydock/workingcopy-179/repo/swh-environment/swh-storage-testdata
230mr update: /home/temp-drydock/drydock/workingcopy-179/repo/swh-environment/swh-storage-testdata
231From ssh://forge.softwareheritage.org/diffusion/DSTOT/swh-storage-testdata
232 e32f585..83349e1 master -> origin/master
233Updating e32f585..83349e1
234Fast-forward
235 dumps/swh-archiver.dump | Bin 11449 -> 11449 bytes
236 dumps/swh-archiver.sql | 2 +-
237 dumps/swh.dump | Bin 191266 -> 185669 bytes
238 dumps/swh.sql | 264 ++++++++++++------------------------------------
239 4 files changed, 65 insertions(+), 201 deletions(-)
240
241mr update: finished (21 ok)
242

Clone on Software Heritage Worker

When
Completed at Feb 6 2017, 6:24 PM · Built instantly
Status
Passed