Properties
Properties
- Buildable
- B329: Diff 293
- Build Plan
- Plan 2 Software Heritage Python tests
- Status
Failed
Lint
Lint
- When
- Completed at Aug 1 2016, 4:04 PM · Built for 5 s
- Status
Passed
1 empty logs are hidden. Show all logs.
1 | python3 -m flake8 swh bin/swh-web-ui-dev |
---|---|
2 |
Python tests
Python tests
- When
- Completed at Aug 1 2016, 4:04 PM · Built for 4 s
- Status
Failed
1 empty logs are hidden. Show all logs.
358 | rv = template.render(context) |
---|---|
359 | File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 969, in render |
360 | return self.environment.handle_exception(exc_info, True) |
361 | File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 742, in handle_exception |
362 | reraise(exc_type, exc_value, tb) |
363 | File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 36, in reraise |
364 | raise value.with_traceback(tb) |
365 | File "/home/temp-drydock/drydock/workingcopy-164/repo/swh-web-ui/swh/web/ui/templates/search.html", line 1, in <module> |
366 | {% extends "layout.html" %} |
367 | File "/home/temp-drydock/drydock/workingcopy-164/repo/swh-web-ui/swh/web/ui/templates/layout.html", line 34, in <module> |
368 | {% block content %}{% endblock %} |
369 | File "/home/temp-drydock/drydock/workingcopy-164/repo/swh-web-ui/swh/web/ui/templates/search.html", line 102, in <module> |
370 | <td><a href="{{ url_for('browse_content') }}sha1:{{ res['sha1'] }}">{{ res['sha1'] }}</a></td> |
371 | File "/usr/lib/python3/dist-packages/flask/helpers.py", line 312, in url_for |
372 | return appctx.app.handle_url_build_error(error, endpoint, values) |
373 | File "/usr/lib/python3/dist-packages/flask/app.py", line 1641, in handle_url_build_error |
374 | reraise(exc_type, exc_value, tb) |
375 | File "/usr/lib/python3/dist-packages/flask/_compat.py", line 33, in reraise |
376 | raise value |
377 | File "/usr/lib/python3/dist-packages/flask/helpers.py", line 305, in url_for |
378 | force_external=external) |
379 | File "/usr/lib/python3/dist-packages/werkzeug/routing.py", line 1616, in build |
380 | raise BuildError(endpoint, values, method) |
381 | werkzeug.routing.BuildError: ('browse_content', {}, None) |
382 | |
383 | ====================================================================== |
384 | ERROR: search_post_hashes_some (ui.tests.views.test_browse.SearchView) |
385 | ---------------------------------------------------------------------- |
386 | Traceback (most recent call last): |
387 | File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched |
388 | return func(*args, **keywargs) |
389 | File "/home/temp-drydock/drydock/workingcopy-164/repo/swh-web-ui/swh/web/ui/tests/views/test_browse.py", line 176, in search_post_hashes_some |
390 | rv = self.client.post('/search/') |
391 | File "/usr/lib/python3/dist-packages/werkzeug/test.py", line 772, in post |
392 | return self.open(*args, **kw) |
393 | File "/usr/lib/python3/dist-packages/flask/testing.py", line 108, in open |
394 | follow_redirects=follow_redirects) |
395 | File "/usr/lib/python3/dist-packages/werkzeug/test.py", line 736, in open |
396 | response = self.run_wsgi_app(environ, buffered=buffered) |
397 | File "/usr/lib/python3/dist-packages/werkzeug/test.py", line 659, in run_wsgi_app |
398 | rv = run_wsgi_app(self.application, environ, buffered=buffered) |
399 | File "/usr/lib/python3/dist-packages/werkzeug/test.py", line 855, in run_wsgi_app |
400 | app_iter = app(environ, start_response) |
401 | File "/usr/lib/python3/dist-packages/flask/app.py", line 1836, in __call__ |
402 | return self.wsgi_app(environ, start_response) |
403 | File "/usr/lib/python3/dist-packages/flask/app.py", line 1820, in wsgi_app |
404 | response = self.make_response(self.handle_exception(e)) |
405 | File "/usr/lib/python3/dist-packages/flask/app.py", line 1403, in handle_exception |
406 | reraise(exc_type, exc_value, tb) |
407 | File "/usr/lib/python3/dist-packages/flask/_compat.py", line 33, in reraise |
408 | raise value |
409 | File "/usr/lib/python3/dist-packages/flask/app.py", line 1817, in wsgi_app |
410 | response = self.full_dispatch_request() |
411 | File "/usr/lib/python3/dist-packages/flask/app.py", line 1477, in full_dispatch_request |
412 | rv = self.handle_user_exception(e) |
413 | File "/usr/lib/python3/dist-packages/flask_api/app.py", line 95, in handle_user_exception |
414 | reraise(exc_type, exc_value, tb) |
415 | File "/usr/lib/python3/dist-packages/flask/_compat.py", line 33, in reraise |
416 | raise value |
417 | File "/usr/lib/python3/dist-packages/flask/app.py", line 1475, in full_dispatch_request |
418 | rv = self.dispatch_request() |
419 | File "/usr/lib/python3/dist-packages/flask/app.py", line 1461, in dispatch_request |
420 | return self.view_functions[rule.endpoint](**req.view_args) |
421 | File "/usr/lib/python3/dist-packages/flask_api/decorators.py", line 26, in decorated_function |
422 | return func(*args, **kwargs) |
423 | File "/home/temp-drydock/drydock/workingcopy-164/repo/swh-web-ui/swh/web/ui/views/browse.py", line 97, in search |
424 | return render_template('search.html', **env) |
425 | File "/usr/lib/python3/dist-packages/flask/templating.py", line 128, in render_template |
426 | context, ctx.app) |
427 | File "/usr/lib/python3/dist-packages/flask/templating.py", line 110, in _render |
428 | rv = template.render(context) |
429 | File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 969, in render |
430 | return self.environment.handle_exception(exc_info, True) |
431 | File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 742, in handle_exception |
432 | reraise(exc_type, exc_value, tb) |
433 | File "/usr/lib/python3/dist-packages/jinja2/_compat.py", line 36, in reraise |
434 | raise value.with_traceback(tb) |
435 | File "/home/temp-drydock/drydock/workingcopy-164/repo/swh-web-ui/swh/web/ui/templates/search.html", line 1, in <module> |
436 | {% extends "layout.html" %} |
437 | File "/home/temp-drydock/drydock/workingcopy-164/repo/swh-web-ui/swh/web/ui/templates/layout.html", line 34, in <module> |
438 | {% block content %}{% endblock %} |
439 | File "/home/temp-drydock/drydock/workingcopy-164/repo/swh-web-ui/swh/web/ui/templates/search.html", line 102, in <module> |
440 | <td><a href="{{ url_for('browse_content') }}sha1:{{ res['sha1'] }}">{{ res['sha1'] }}</a></td> |
441 | File "/usr/lib/python3/dist-packages/flask/helpers.py", line 312, in url_for |
442 | return appctx.app.handle_url_build_error(error, endpoint, values) |
443 | File "/usr/lib/python3/dist-packages/flask/app.py", line 1641, in handle_url_build_error |
444 | reraise(exc_type, exc_value, tb) |
445 | File "/usr/lib/python3/dist-packages/flask/_compat.py", line 33, in reraise |
446 | raise value |
447 | File "/usr/lib/python3/dist-packages/flask/helpers.py", line 305, in url_for |
448 | force_external=external) |
449 | File "/usr/lib/python3/dist-packages/werkzeug/routing.py", line 1616, in build |
450 | raise BuildError(endpoint, values, method) |
451 | werkzeug.routing.BuildError: ('browse_content', {}, None) |
452 | |
453 | ---------------------------------------------------------------------- |
454 | Ran 311 tests in 1.700s |
455 | |
456 | FAILED (errors=2) |
457 |
Update environment from working copy
Update environment from working copy
- When
- Completed at Aug 1 2016, 4:04 PM · Built for 11 s
- Status
Passed
9 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-core |
---|---|
10 | Already up-to-date. |
11 | |
12 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-fetcher-googlecode |
13 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-fetcher-googlecode |
14 | Already up-to-date. |
15 | |
16 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-cloner-git |
17 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-cloner-git |
18 | Already up-to-date. |
19 | |
20 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-antelink |
21 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-antelink |
22 | Already up-to-date. |
23 | |
24 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-core |
25 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-core |
26 | Already up-to-date. |
27 | |
28 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-debian |
29 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-debian |
30 | Already up-to-date. |
31 | |
32 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-dir |
33 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-dir |
34 | Already up-to-date. |
35 | |
36 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-git |
37 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-git |
38 | From ssh://forge.softwareheritage.org/diffusion/DLDG/swh-loader-git |
39 | 6081f9f..451176b master -> origin/master |
40 | * [new tag] v0.0.16 -> v0.0.16 |
41 | Updating 6081f9f..451176b |
42 | Fast-forward |
43 | swh/loader/git/updater.py | 2 +- |
44 | 1 file changed, 1 insertion(+), 1 deletion(-) |
45 | |
46 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-svn |
47 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-svn |
48 | Already up-to-date. |
49 | |
50 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-model |
51 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-model |
52 | Already up-to-date. |
53 | |
54 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-objstorage |
55 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-objstorage |
56 | |
57 | *** Please tell me who you are. |
58 | |
59 | Run |
60 | |
61 | git config --global user.email "you@example.com" |
62 | git config --global user.name "Your Name" |
63 | |
64 | to set your account's default identity. |
65 | Omit --global to set the identity only in this repository. |
66 | |
67 | fatal: empty ident name (for <temp-drydock@worker01.softwareheritage.org>) not allowed |
68 | |
69 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-tar |
70 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-tar |
71 | Already up-to-date. |
72 | |
73 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-py-template |
74 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-py-template |
75 | Already up-to-date. |
76 | |
77 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-scheduler |
78 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-scheduler |
79 | Already up-to-date. |
80 | |
81 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-storage-testdata |
82 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-storage-testdata |
83 | Already up-to-date. |
84 | |
85 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-storage |
86 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-storage |
87 | Already up-to-date. |
88 | |
89 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-web-ui |
90 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-web-ui |
91 | From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui |
92 | 41306c7..5d895d0 master -> origin/master |
93 | Updating 41306c7..5d895d0 |
94 | Fast-forward |
95 | swh/web/ui/converters.py | 2 + |
96 | swh/web/ui/main.py | 3 +- |
97 | swh/web/ui/renderers.py | 6 + |
98 | swh/web/ui/templates/revision-log.html | 243 ++++++------ |
99 | swh/web/ui/tests/test_converters.py | 117 ++++++ |
100 | swh/web/ui/tests/test_service.py | 663 ++++++++++----------------------- |
101 | swh/web/ui/tests/views/test_api.py | 80 +++- |
102 | swh/web/ui/tests/views/test_browse.py | 48 +-- |
103 | swh/web/ui/views/api.py | 46 ++- |
104 | swh/web/ui/views/browse.py | 6 +- |
105 | 10 files changed, 586 insertions(+), 628 deletions(-) |
106 | |
107 | mr update: finished (18 ok; 1 failed) |
108 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at Aug 1 2016, 4:04 PM · Built instantly
- Status
Passed