Page MenuHomeSoftware Heritage

Build 677

Properties

Buildable
B461: Diff 392
Build Plan
Plan 2 Software Heritage Python tests
Status
Failed

Lint

When
Completed at Sep 8 2016, 12:15 PM · Built for 5 s
Status
Failed

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

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

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

1python3 -m flake8 swh bin/swh-web-ui-dev
2swh/web/ui/apidoc.py:124:9: F841 local variable 'last_dec_err' is assigned to but never used
3swh/web/ui/apidoc.py:129:13: F841 local variable 'no_args' is assigned to but never used
4../Makefile.python:25: recipe for target 'check' failed
5

Python tests

When
Completed at Sep 8 2016, 12:15 PM · Built for 5 s
Status
Failed

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

435======================================================================
436ERROR: apidoc_route (ui.tests.test_apidoc.APIDocTestCase)
437----------------------------------------------------------------------
438Traceback (most recent call last):
439 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
440 return func(*args, **keywargs)
441 File "/home/temp-drydock/drydock/workingcopy-174/repo/swh-web-ui/swh/web/ui/tests/test_apidoc.py", line 52, in apidoc_route
442 decorated('some', 'value', kws='and a kw')
443 File "/home/temp-drydock/drydock/workingcopy-174/repo/swh-web-ui/swh/web/ui/apidoc.py", line 165, in doc_func
444 return self.compute_return(f, rv)
445 File "/home/temp-drydock/drydock/workingcopy-174/repo/swh-web-ui/swh/web/ui/apidoc.py", line 198, in compute_return
446 if re.match(route_re, request.url) and not data['noargs'] \
447 File "/usr/lib/python3/dist-packages/werkzeug/local.py", line 338, in __getattr__
448 return getattr(self._get_current_object(), name)
449 File "/usr/lib/python3/dist-packages/werkzeug/local.py", line 297, in _get_current_object
450 return self.__local()
451 File "/usr/lib/python3/dist-packages/flask/globals.py", line 20, in _lookup_req_object
452 raise RuntimeError('working outside of request context')
453RuntimeError: working outside of request context
454
455----------------------------------------------------------------------
456Ran 329 tests in 1.939s
457
458FAILED (errors=9)
459

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

1add rule api_origin_visits
2add rule api_origin_visit
3add rule api_search
4add rule api_origin
5add rule api_person
6add rule api_release
7add rule api_directory_through_revision_origin
8add rule api_revision_with_origin
9add rule api_revision
10add rule api_revision_raw_message
11add rule api_revision_directory
12add rule api_revision_log
13add rule api_revision_log_by
14add rule api_directory
15add rule api_content_provenance
16add rule api_content_raw
17add rule api_content_metadata
18add rule api_entity_by_uuid
19add rule some_fname
20

Update environment from working copy

When
Completed at Sep 8 2016, 12:15 PM · Built for 11 s
Status
Passed
1 empty logs are hidden. Show all logs.

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

98 3 files changed, 3 insertions(+), 3 deletions(-)
99
100mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-web-ui
101mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-web-ui
102From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui
103 070c877..75fcb40 master -> origin/master
104 * [new tag] v0.0.35 -> v0.0.35
105Updating 070c877..75fcb40
106Fast-forward
107 debian/control | 4 +-
108 requirements.txt | 2 +-
109 swh/web/ui/converters.py | 2 +
110 swh/web/ui/templates/includes/home-directory.html | 2 +-
111 swh/web/ui/templates/includes/home-origin.html | 6 +-
112 swh/web/ui/templates/includes/home-revision.html | 2 +-
113 swh/web/ui/tests/test_service.py | 10 ++-
114 swh/web/ui/tests/views/test_api.py | 92 ++++++++++++++++-------
115 swh/web/ui/tests/views/test_browse.py | 25 ++++--
116 swh/web/ui/utils.py | 46 ++++++++----
117 swh/web/ui/views/api.py | 43 +++++++++--
118 swh/web/ui/views/browse.py | 51 +++++++++----
119 12 files changed, 206 insertions(+), 79 deletions(-)
120
121mr update: finished (20 ok)
122

Clone on Software Heritage Worker

When
Completed at Sep 8 2016, 12:15 PM · Built instantly
Status
Passed

Event Timeline