Page MenuHomeSoftware Heritage

Build 262

Properties

Buildable
B173: Diff 147
Build Plan
Plan 2 Software Heritage Python tests
Status
Failed

Lint

When
Completed at Jun 10 2016, 4:19 PM · Built for 5 s
Status
Passed
1 empty logs are hidden. Show all logs.

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

1python3 -m flake8 swh bin/swh-web-ui-dev
2

Python tests

When
Completed at Jun 10 2016, 4:19 PM · Built for 2 s
Status
Failed
1 empty logs are hidden. Show all logs.

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

2206======================================================================
2207ERROR: Failure: ImportError (cannot import name 'decode_with_escape')
2208----------------------------------------------------------------------
2209Traceback (most recent call last):
2210 File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
2211 raise self.exc_val.with_traceback(self.tb)
2212 File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName
2213 addr.filename, addr.module)
2214 File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
2215 return self.importFromDir(dir_path, fqname)
2216 File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
2217 mod = load_module(part_fqname, fh, filename, desc)
2218 File "/usr/lib/python3.4/imp.py", line 235, in load_module
2219 return load_source(name, filename, file)
2220 File "/usr/lib/python3.4/imp.py", line 171, in load_source
2221 module = methods.load()
2222 File "<frozen importlib._bootstrap>", line 1220, in load
2223 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2224 File "<frozen importlib._bootstrap>", line 1129, in _exec
2225 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2226 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2227 File "/home/temp-drydock/drydock/workingcopy-163/repo/swh-web-ui/swh/web/ui/tests/test_service.py", line 12, in <module>
2228 from swh.web.ui import service
2229 File "/home/temp-drydock/drydock/workingcopy-163/repo/swh-web-ui/swh/web/ui/service.py", line 9, in <module>
2230 from swh.web.ui import converters, query, upload, backend
2231 File "/home/temp-drydock/drydock/workingcopy-163/repo/swh-web-ui/swh/web/ui/converters.py", line 8, in <module>
2232 from swh.core.utils import decode_with_escape
2233ImportError: cannot import name 'decode_with_escape'
2234
2235======================================================================
2236FAIL: browse_revision_history_ok_same_sha1 (ui.tests.views.test_browse.RevisionView)
2237----------------------------------------------------------------------
2238Traceback (most recent call last):
2239 File "/home/temp-drydock/drydock/workingcopy-163/repo/swh-web-ui/swh/web/ui/tests/views/test_browse.py", line 1065, in browse_revision_history_ok_same_sha1
2240 self.assertEqual(rv.status_code, 302)
2241AssertionError: 404 != 302
2242
2243======================================================================
2244FAIL: search_default (ui.tests.views.test_browse.SearchView)
2245----------------------------------------------------------------------
2246Traceback (most recent call last):
2247 File "/home/temp-drydock/drydock/workingcopy-163/repo/swh-web-ui/swh/web/ui/tests/views/test_browse.py", line 28, in search_default
2248 self.assertEqual(rv.status_code, 200)
2249AssertionError: 404 != 200
2250
2251----------------------------------------------------------------------
2252Ran 160 tests in 0.429s
2253
2254FAILED (errors=67, failures=2)
2255

Update environment from working copy

When
Completed at Jun 10 2016, 4:19 PM · Built for 7 s
Status
Passed
1 empty logs are hidden. Show all logs.

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

52Already up-to-date.
53
54mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-model
55mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-model
56Already up-to-date.
57
58mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-py-template
59mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-py-template
60Already up-to-date.
61
62mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-scheduler
63mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-scheduler
64Already up-to-date.
65
66mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-storage
67mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-storage
68From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage
69 bca87a1..363f3e6 master -> origin/master
70Updating bca87a1..363f3e6
71Fast-forward
72 swh/storage/converters.py | 56 +-------------------------
73 swh/storage/tests/test_converters.py | 77 ------------------------------------
74 2 files changed, 1 insertion(+), 132 deletions(-)
75
76mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-storage-testdata
77mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-storage-testdata
78Already up-to-date.
79
80mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-web-ui
81mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-web-ui
82From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui
83 f64ec78..e9360a4 master -> origin/master
84Updating f64ec78..e9360a4
85Fast-forward
86 swh/web/ui/converters.py | 28 ++++++---
87 swh/web/ui/service.py | 7 +--
88 swh/web/ui/templates/revision-log.html | 14 ++++-
89 swh/web/ui/templates/revision.html | 10 ++++
90 swh/web/ui/tests/test_converters.py | 101 +++++++++++++++++++++++++++++++++
91 swh/web/ui/tests/test_service.py | 72 ++++++++++++++++++++++-
92 swh/web/ui/tests/test_utils.py | 94 +++++++++++++++++++++++++++++-
93 swh/web/ui/tests/views/test_api.py | 12 ++--
94 swh/web/ui/tests/views/test_browse.py | 13 +++++
95 swh/web/ui/utils.py | 5 ++
96 swh/web/ui/views/api.py | 7 ++-
97 swh/web/ui/views/browse.py | 8 +++
98 12 files changed, 343 insertions(+), 28 deletions(-)
99
100mr update: finished (18 ok)
101

Clone on Software Heritage Worker

When
Completed at Jun 10 2016, 4:19 PM · Built instantly
Status
Passed