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

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)
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

59Run
60
61 git config --global user.email "you@example.com"
62 git config --global user.name "Your Name"
63
64to set your account's default identity.
65Omit --global to set the identity only in this repository.
66
67fatal: empty ident name (for <temp-drydock@worker01.softwareheritage.org>) not allowed
68
69mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-tar
70mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-tar
71Already up-to-date.
72
73mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-py-template
74mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-py-template
75Already up-to-date.
76
77mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-scheduler
78mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-scheduler
79Already up-to-date.
80
81mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-storage-testdata
82mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-storage-testdata
83Already up-to-date.
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