Properties
Properties
- Buildable
- B173: Diff 147
- Build Plan
- Plan 2 Software Heritage Python tests
- Status
Failed
Lint
Lint
- When
- Completed at Jun 10 2016, 4:19 PM · Built for 5 s
- Status
Passed
1 empty logs are hidden. Show all logs.
1 | python3 -m flake8 swh bin/swh-web-ui-dev |
---|---|
2 |
Python tests
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.
2156 | During handling of the above exception, another exception occurred: |
---|---|
2157 | |
2158 | Traceback (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 |
2177 | ImportError: cannot import name 'decode_with_escape' |
2178 | |
2179 | ====================================================================== |
2180 | ERROR: Failure: ImportError (cannot import name 'decode_with_escape') |
2181 | ---------------------------------------------------------------------- |
2182 | Traceback (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 |
2204 | ImportError: cannot import name 'decode_with_escape' |
2205 | |
2206 | ====================================================================== |
2207 | ERROR: Failure: ImportError (cannot import name 'decode_with_escape') |
2208 | ---------------------------------------------------------------------- |
2209 | Traceback (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 |
2233 | ImportError: cannot import name 'decode_with_escape' |
2234 | |
2235 | ====================================================================== |
2236 | FAIL: browse_revision_history_ok_same_sha1 (ui.tests.views.test_browse.RevisionView) |
2237 | ---------------------------------------------------------------------- |
2238 | Traceback (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) |
2241 | AssertionError: 404 != 302 |
2242 | |
2243 | ====================================================================== |
2244 | FAIL: search_default (ui.tests.views.test_browse.SearchView) |
2245 | ---------------------------------------------------------------------- |
2246 | Traceback (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) |
2249 | AssertionError: 404 != 200 |
2250 | |
2251 | ---------------------------------------------------------------------- |
2252 | Ran 160 tests in 0.429s |
2253 | |
2254 | FAILED (errors=67, failures=2) |
2255 |
Update environment from working copy
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.
2 | Already up-to-date. |
---|---|
3 | |
4 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-fetcher-googlecode |
5 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-fetcher-googlecode |
6 | Already up-to-date. |
7 | |
8 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-core |
9 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-core |
10 | From ssh://forge.softwareheritage.org/diffusion/DCORE/swh-core |
11 | 5a2ef92..e2306b1 master -> origin/master |
12 | Updating 5a2ef92..e2306b1 |
13 | Fast-forward |
14 | swh/core/tests/test_utils.py | 77 ++++++++++++++++++++++++++++++++++++++++++++ |
15 | swh/core/utils.py | 55 +++++++++++++++++++++++++++++++ |
16 | 2 files changed, 132 insertions(+) |
17 | |
18 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-cloner-git |
19 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-cloner-git |
20 | Already up-to-date. |
21 | |
22 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-lister-github |
23 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-lister-github |
24 | Already up-to-date. |
25 | |
26 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-debian |
27 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-debian |
28 | Already up-to-date. |
29 | |
30 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-antelink |
31 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-antelink |
32 | Already up-to-date. |
33 | |
34 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-core |
35 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-core |
36 | Already up-to-date. |
37 | |
38 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-git |
39 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-git |
40 | Already up-to-date. |
41 | |
42 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-dir |
43 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-dir |
44 | Already up-to-date. |
45 | |
46 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-tar |
47 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-tar |
48 | Already up-to-date. |
49 | |
50 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-svn |
51 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-svn |
52 | Already up-to-date. |
53 | |
54 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-model |
55 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-model |
56 | Already up-to-date. |
57 | |
58 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-py-template |
59 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-py-template |
60 | Already up-to-date. |
61 | |
62 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-scheduler |
63 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-scheduler |
64 | Already up-to-date. |
65 | |
66 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-storage |
67 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-storage |
68 | From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage |
69 | bca87a1..363f3e6 master -> origin/master |
70 | Updating bca87a1..363f3e6 |
71 | Fast-forward |
72 | swh/storage/converters.py | 56 +------------------------- |
73 | swh/storage/tests/test_converters.py | 77 ------------------------------------ |
74 | 2 files changed, 1 insertion(+), 132 deletions(-) |
75 | |
76 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-storage-testdata |
77 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-storage-testdata |
78 | Already up-to-date. |
79 | |
80 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-web-ui |
81 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-web-ui |
82 | From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui |
83 | f64ec78..e9360a4 master -> origin/master |
84 | Updating f64ec78..e9360a4 |
85 | Fast-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 | |
100 | mr update: finished (18 ok) |
101 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at Jun 10 2016, 4:19 PM · Built instantly
- Status
Passed