Page MenuHomeSoftware Heritage

Build 491

Properties

Buildable
B329: Diff 293
Build Plan
Plan 2 Software Heritage Python tests
Status
Failed

Lint

When
Completed at Aug 1 2016, 4:04 PM · Built for 5 s
Status
Passed
1 empty logs are hidden. Show all logs.

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

1python3 -m flake8 swh bin/swh-web-ui-dev
2

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.

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

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)
451werkzeug.routing.BuildError: ('browse_content', {}, None)
452
453----------------------------------------------------------------------
454Ran 311 tests in 1.700s
455
456FAILED (errors=2)
457

Update environment from working copy

When
Completed at Aug 1 2016, 4:04 PM · Built for 11 s
Status
Passed

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

1mr update: command failed
2

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

84
85mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-storage
86mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-storage
87Already up-to-date.
88
89mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-web-ui
90mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-web-ui
91From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui
92 41306c7..5d895d0 master -> origin/master
93Updating 41306c7..5d895d0
94Fast-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
107mr update: finished (18 ok; 1 failed)
108

Clone on Software Heritage Worker

When
Completed at Aug 1 2016, 4:04 PM · Built instantly
Status
Passed

Event Timeline