Properties
Properties
- Buildable
- B461: Diff 392
- Build Plan
- Plan 2 Software Heritage Python tests
- Status
Failed
Lint
Lint
- When
- Completed at Sep 8 2016, 12:15 PM · Built for 5 s
- Status
Failed
1 | python3 -m flake8 swh bin/swh-web-ui-dev |
---|---|
2 | swh/web/ui/apidoc.py:124:9: F841 local variable 'last_dec_err' is assigned to but never used |
3 | swh/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
Python tests
- When
- Completed at Sep 8 2016, 12:15 PM · Built for 5 s
- Status
Failed
435 | ====================================================================== |
---|---|
436 | ERROR: apidoc_route (ui.tests.test_apidoc.APIDocTestCase) |
437 | ---------------------------------------------------------------------- |
438 | Traceback (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') |
453 | RuntimeError: working outside of request context |
454 | |
455 | ---------------------------------------------------------------------- |
456 | Ran 329 tests in 1.939s |
457 | |
458 | FAILED (errors=9) |
459 |
1 | add rule api_origin_visits |
---|---|
2 | add rule api_origin_visit |
3 | add rule api_search |
4 | add rule api_origin |
5 | add rule api_person |
6 | add rule api_release |
7 | add rule api_directory_through_revision_origin |
8 | add rule api_revision_with_origin |
9 | add rule api_revision |
10 | add rule api_revision_raw_message |
11 | add rule api_revision_directory |
12 | add rule api_revision_log |
13 | add rule api_revision_log_by |
14 | add rule api_directory |
15 | add rule api_content_provenance |
16 | add rule api_content_raw |
17 | add rule api_content_metadata |
18 | add rule api_entity_by_uuid |
19 | add rule some_fname |
20 |
Update environment from working copy
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.
98 | 3 files changed, 3 insertions(+), 3 deletions(-) |
---|---|
99 | |
100 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-web-ui |
101 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-web-ui |
102 | From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui |
103 | 070c877..75fcb40 master -> origin/master |
104 | * [new tag] v0.0.35 -> v0.0.35 |
105 | Updating 070c877..75fcb40 |
106 | Fast-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 | |
121 | mr update: finished (20 ok) |
122 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at Sep 8 2016, 12:15 PM · Built instantly
- Status
Passed