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
410 | Traceback (most recent call last): |
---|---|
411 | File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched |
412 | return func(*args, **keywargs) |
413 | File "/home/temp-drydock/drydock/workingcopy-174/repo/swh-web-ui/swh/web/ui/tests/test_apidoc.py", line 245, in apidoc_returns_noargs |
414 | noargs=True |
415 | File "/home/temp-drydock/drydock/workingcopy-174/repo/swh-web-ui/swh/web/ui/apidoc.py", line 305, in ret_fun |
416 | return self.maintain_stack(f, args, kwargs) |
417 | File "/home/temp-drydock/drydock/workingcopy-174/repo/swh-web-ui/swh/web/ui/apidoc.py", line 137, in maintain_stack |
418 | % self.__class__.__name__) |
419 | Exception: Apidoc returns: expected an apidoc route decorator first |
420 | |
421 | ====================================================================== |
422 | ERROR: apidoc_returns_same_fun (ui.tests.test_apidoc.APIDocTestCase) |
423 | ---------------------------------------------------------------------- |
424 | Traceback (most recent call last): |
425 | File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched |
426 | return func(*args, **keywargs) |
427 | File "/home/temp-drydock/drydock/workingcopy-174/repo/swh-web-ui/swh/web/ui/tests/test_apidoc.py", line 291, in apidoc_returns_same_fun |
428 | noargs=False |
429 | File "/home/temp-drydock/drydock/workingcopy-174/repo/swh-web-ui/swh/web/ui/apidoc.py", line 305, in ret_fun |
430 | return self.maintain_stack(f, args, kwargs) |
431 | File "/home/temp-drydock/drydock/workingcopy-174/repo/swh-web-ui/swh/web/ui/apidoc.py", line 137, in maintain_stack |
432 | % self.__class__.__name__) |
433 | Exception: Apidoc returns: expected an apidoc route decorator first |
434 | |
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.
73 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-py-template |
---|---|
74 | Already up-to-date. |
75 | |
76 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-storage-testdata |
77 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-storage-testdata |
78 | Already up-to-date. |
79 | |
80 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-scheduler |
81 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-scheduler |
82 | From ssh://forge.softwareheritage.org/diffusion/DSCH/swh-scheduler |
83 | 51cb666..0fb8eef master -> origin/master |
84 | Updating 51cb666..0fb8eef |
85 | Fast-forward |
86 | swh/scheduler/cli.py | 2 +- |
87 | 1 file changed, 1 insertion(+), 1 deletion(-) |
88 | |
89 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-storage |
90 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-storage |
91 | From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage |
92 | cf7ff9e..8c10704 master -> origin/master |
93 | Updating cf7ff9e..8c10704 |
94 | Fast-forward |
95 | swh/storage/archiver/db.py | 2 +- |
96 | swh/storage/archiver/director.py | 2 +- |
97 | swh/storage/archiver/storage.py | 2 +- |
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