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

2156During handling of the above exception, another exception occurred:
2157
2158Traceback (most recent call last):
2159 File "/usr/lib/python3.4/unittest/mock.py", line 1128, in patched
2160 arg = patching.__enter__()
2161 File "/usr/lib/python3.4/unittest/mock.py", line 1181, in __enter__
2162 self.target = self.getter()
2163 File "/usr/lib/python3.4/unittest/mock.py", line 1348, in <lambda>
2164 getter = lambda: _importer(target)
2165 File "/usr/lib/python3.4/unittest/mock.py", line 1041, in _importer
2166 thing = _dot_lookup(thing, comp, import_path)
2167 File "/usr/lib/python3.4/unittest/mock.py", line 1030, in _dot_lookup
2168 __import__(import_path)
2169 File "/home/temp-drydock/drydock/workingcopy-163/repo/swh-web-ui/swh/web/ui/views/__init__.py", line 6, in <module>
2170 from . import main, api, browse, errorhandler # noqa: only for side effects
2171 File "/home/temp-drydock/drydock/workingcopy-163/repo/swh-web-ui/swh/web/ui/views/api.py", line 10, in <module>
2172 from swh.web.ui import service, utils
2173 File "/home/temp-drydock/drydock/workingcopy-163/repo/swh-web-ui/swh/web/ui/service.py", line 9, in <module>
2174 from swh.web.ui import converters, query, upload, backend
2175 File "/home/temp-drydock/drydock/workingcopy-163/repo/swh-web-ui/swh/web/ui/converters.py", line 8, in <module>
2176 from swh.core.utils import decode_with_escape
2177ImportError: cannot import name 'decode_with_escape'
2178
2179======================================================================
2180ERROR: Failure: ImportError (cannot import name 'decode_with_escape')
2181----------------------------------------------------------------------
2182Traceback (most recent call last):
2183 File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
2184 raise self.exc_val.with_traceback(self.tb)
2185 File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName
2186 addr.filename, addr.module)
2187 File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
2188 return self.importFromDir(dir_path, fqname)
2189 File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
2190 mod = load_module(part_fqname, fh, filename, desc)
2191 File "/usr/lib/python3.4/imp.py", line 235, in load_module
2192 return load_source(name, filename, file)
2193 File "/usr/lib/python3.4/imp.py", line 171, in load_source
2194 module = methods.load()
2195 File "<frozen importlib._bootstrap>", line 1220, in load
2196 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2197 File "<frozen importlib._bootstrap>", line 1129, in _exec
2198 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2199 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2200 File "/home/temp-drydock/drydock/workingcopy-163/repo/swh-web-ui/swh/web/ui/tests/test_converters.py", line 12, in <module>
2201 from swh.web.ui import converters
2202 File "/home/temp-drydock/drydock/workingcopy-163/repo/swh-web-ui/swh/web/ui/converters.py", line 8, in <module>
2203 from swh.core.utils import decode_with_escape
2204ImportError: cannot import name 'decode_with_escape'
2205
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

2Already up-to-date.
3
4mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-fetcher-googlecode
5mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-fetcher-googlecode
6Already up-to-date.
7
8mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-core
9mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-core
10From ssh://forge.softwareheritage.org/diffusion/DCORE/swh-core
11 5a2ef92..e2306b1 master -> origin/master
12Updating 5a2ef92..e2306b1
13Fast-forward
14 swh/core/tests/test_utils.py | 77 ++++++++++++++++++++++++++++++++++++++++++++
15 swh/core/utils.py | 55 +++++++++++++++++++++++++++++++
16 2 files changed, 132 insertions(+)
17
18mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-cloner-git
19mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-cloner-git
20Already up-to-date.
21
22mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-lister-github
23mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-lister-github
24Already up-to-date.
25
26mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-debian
27mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-debian
28Already up-to-date.
29
30mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-antelink
31mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-antelink
32Already up-to-date.
33
34mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-core
35mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-core
36Already up-to-date.
37
38mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-git
39mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-git
40Already up-to-date.
41
42mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-dir
43mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-dir
44Already up-to-date.
45
46mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-tar
47mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-tar
48Already up-to-date.
49
50mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-svn
51mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-svn
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