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

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__)
365Exception: Apidoc raises: expected an apidoc route decorator first
366
367======================================================================
368ERROR: apidoc_raises_previous (ui.tests.test_apidoc.APIDocTestCase)
369----------------------------------------------------------------------
370Traceback (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__)
377Exception: Apidoc raises: expected an apidoc route decorator first
378
379======================================================================
380ERROR: apidoc_return_endpoint_call (ui.tests.test_apidoc.APIDocTestCase)
381----------------------------------------------------------------------
382Traceback (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__)
391Exception: Apidoc returns: expected an apidoc route decorator first
392
393======================================================================
394ERROR: apidoc_returns_doc_call (ui.tests.test_apidoc.APIDocTestCase)
395----------------------------------------------------------------------
396Traceback (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__)
405Exception: Apidoc returns: expected an apidoc route decorator first
406
407======================================================================
408ERROR: apidoc_returns_noargs (ui.tests.test_apidoc.APIDocTestCase)
409----------------------------------------------------------------------
410Traceback (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__)
419Exception: Apidoc returns: expected an apidoc route decorator first
420
421======================================================================
422ERROR: apidoc_returns_same_fun (ui.tests.test_apidoc.APIDocTestCase)
423----------------------------------------------------------------------
424Traceback (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__)
433Exception: Apidoc returns: expected an apidoc route decorator first
434
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

23
24mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-core
25mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-core
26Already up-to-date.
27
28mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-debian
29mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-debian
30Already up-to-date.
31
32mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-lister-github
33mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-lister-github
34Already up-to-date.
35
36mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-dir
37mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-dir
38Already up-to-date.
39
40mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-git
41mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-git
42Already up-to-date.
43
44mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-svn
45mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-svn
46Already up-to-date.
47
48mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-tar
49mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-loader-tar
50Already up-to-date.
51
52mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-model
53mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-model
54Already up-to-date.
55
56mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-objstorage
57mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-objstorage
58From ssh://forge.softwareheritage.org/diffusion/DOBJS/swh-objstorage
59 d729254..75e05fc master -> origin/master
60 * [new tag] v0.0.8 -> v0.0.8
61Updating d729254..75e05fc
62Fast-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
72mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-py-template
73mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-py-template
74Already up-to-date.
75
76mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-storage-testdata
77mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-storage-testdata
78Already up-to-date.
79
80mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-scheduler
81mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-scheduler
82From ssh://forge.softwareheritage.org/diffusion/DSCH/swh-scheduler
83 51cb666..0fb8eef master -> origin/master
84Updating 51cb666..0fb8eef
85Fast-forward
86 swh/scheduler/cli.py | 2 +-
87 1 file changed, 1 insertion(+), 1 deletion(-)
88
89mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-storage
90mr update: /home/temp-drydock/drydock/workingcopy-174/repo/swh-environment/swh-storage
91From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage
92 cf7ff9e..8c10704 master -> origin/master
93Updating cf7ff9e..8c10704
94Fast-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
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