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

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)
381werkzeug.routing.BuildError: ('browse_content', {}, None)
382
383======================================================================
384ERROR: search_post_hashes_some (ui.tests.views.test_browse.SearchView)
385----------------------------------------------------------------------
386Traceback (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)
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

9mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-core
10Already up-to-date.
11
12mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-fetcher-googlecode
13mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-fetcher-googlecode
14Already up-to-date.
15
16mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-cloner-git
17mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-cloner-git
18Already up-to-date.
19
20mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-antelink
21mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-antelink
22Already up-to-date.
23
24mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-core
25mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-core
26Already up-to-date.
27
28mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-debian
29mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-debian
30Already up-to-date.
31
32mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-dir
33mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-dir
34Already up-to-date.
35
36mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-git
37mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-git
38From ssh://forge.softwareheritage.org/diffusion/DLDG/swh-loader-git
39 6081f9f..451176b master -> origin/master
40 * [new tag] v0.0.16 -> v0.0.16
41Updating 6081f9f..451176b
42Fast-forward
43 swh/loader/git/updater.py | 2 +-
44 1 file changed, 1 insertion(+), 1 deletion(-)
45
46mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-svn
47mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-svn
48Already up-to-date.
49
50mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-model
51mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-model
52Already up-to-date.
53
54mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-objstorage
55mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-objstorage
56
57*** Please tell me who you are.
58
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