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
360 | decorated(call_args=((), {}), doc_route='some/route/') |
---|---|
361 | File "/home/temp-drydock/drydock/workingcopy-174/repo/swh-web-ui/swh/web/ui/apidoc.py", line 280, in exc_fun |
362 | return self.maintain_stack(f, args, kwargs) |
363 | File "/home/temp-drydock/drydock/workingcopy-174/repo/swh-web-ui/swh/web/ui/apidoc.py", line 137, in maintain_stack |
364 | % self.__class__.__name__) |
365 | Exception: Apidoc raises: expected an apidoc route decorator first |
366 | |
367 | ====================================================================== |
368 | ERROR: apidoc_raises_previous (ui.tests.test_apidoc.APIDocTestCase) |
369 | ---------------------------------------------------------------------- |
370 | Traceback (most recent call last): |
371 | File "/home/temp-drydock/drydock/workingcopy-174/repo/swh-web-ui/swh/web/ui/tests/test_apidoc.py", line 146, in apidoc_raises_previous |
372 | excs=self.stub_excs) |
373 | File "/home/temp-drydock/drydock/workingcopy-174/repo/swh-web-ui/swh/web/ui/apidoc.py", line 280, in exc_fun |
374 | return self.maintain_stack(f, args, kwargs) |
375 | File "/home/temp-drydock/drydock/workingcopy-174/repo/swh-web-ui/swh/web/ui/apidoc.py", line 137, in maintain_stack |
376 | % self.__class__.__name__) |
377 | Exception: Apidoc raises: expected an apidoc route decorator first |
378 | |
379 | ====================================================================== |
380 | ERROR: apidoc_return_endpoint_call (ui.tests.test_apidoc.APIDocTestCase) |
381 | ---------------------------------------------------------------------- |
382 | Traceback (most recent call last): |
383 | File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched |
384 | return func(*args, **keywargs) |
385 | File "/home/temp-drydock/drydock/workingcopy-174/repo/swh-web-ui/swh/web/ui/tests/test_apidoc.py", line 341, in apidoc_return_endpoint_call |
386 | doc_route='some/doc/route/', |
387 | File "/home/temp-drydock/drydock/workingcopy-174/repo/swh-web-ui/swh/web/ui/apidoc.py", line 305, in ret_fun |
388 | return self.maintain_stack(f, args, kwargs) |
389 | File "/home/temp-drydock/drydock/workingcopy-174/repo/swh-web-ui/swh/web/ui/apidoc.py", line 137, in maintain_stack |
390 | % self.__class__.__name__) |
391 | Exception: Apidoc returns: expected an apidoc route decorator first |
392 | |
393 | ====================================================================== |
394 | ERROR: apidoc_returns_doc_call (ui.tests.test_apidoc.APIDocTestCase) |
395 | ---------------------------------------------------------------------- |
396 | Traceback (most recent call last): |
397 | File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched |
398 | return func(*args, **keywargs) |
399 | File "/home/temp-drydock/drydock/workingcopy-174/repo/swh-web-ui/swh/web/ui/tests/test_apidoc.py", line 198, in apidoc_returns_doc_call |
400 | noargs=False |
401 | File "/home/temp-drydock/drydock/workingcopy-174/repo/swh-web-ui/swh/web/ui/apidoc.py", line 305, in ret_fun |
402 | return self.maintain_stack(f, args, kwargs) |
403 | File "/home/temp-drydock/drydock/workingcopy-174/repo/swh-web-ui/swh/web/ui/apidoc.py", line 137, in maintain_stack |
404 | % self.__class__.__name__) |
405 | Exception: Apidoc returns: expected an apidoc route decorator first |
406 | |
407 | ====================================================================== |
408 | ERROR: apidoc_returns_noargs (ui.tests.test_apidoc.APIDocTestCase) |
409 | ---------------------------------------------------------------------- |
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.
23 | |
---|---|
24 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-core |
25 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-core |
26 | Already up-to-date. |
27 | |
28 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-debian |
29 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-debian |
30 | Already up-to-date. |
31 | |
32 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-lister-github |
33 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-lister-github |
34 | Already up-to-date. |
35 | |
36 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-dir |
37 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-dir |
38 | Already up-to-date. |
39 | |
40 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-git |
41 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-git |
42 | Already up-to-date. |
43 | |
44 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-svn |
45 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-svn |
46 | Already up-to-date. |
47 | |
48 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-tar |
49 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-tar |
50 | Already up-to-date. |
51 | |
52 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-model |
53 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-model |
54 | Already up-to-date. |
55 | |
56 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-objstorage |
57 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-objstorage |
58 | From ssh://forge.softwareheritage.org/diffusion/DOBJS/swh-objstorage |
59 | d729254..75e05fc master -> origin/master |
60 | * [new tag] v0.0.8 -> v0.0.8 |
61 | Updating d729254..75e05fc |
62 | Fast-forward |
63 | debian/control | 10 ++- |
64 | debian/rules | 3 + |
65 | requirements.txt | 2 + |
66 | swh/objstorage/cloud/__init__.py | 2 +- |
67 | swh/objstorage/cloud/objstorage_cloud.py | 58 ++++++++++-------- |
68 | swh/objstorage/tests/test_objstorage_cloud.py | 87 +++++++++++++++++++++++++++ |
69 | 6 files changed, 135 insertions(+), 27 deletions(-) |
70 | create mode 100644 swh/objstorage/tests/test_objstorage_cloud.py |
71 | |
72 | mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-py-template |
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