Page MenuHomeSoftware Heritage

Build 1335

You are viewing an older run of this build. View Current Build

Properties

Buildable
B1009: Diff 811
Build Plan
Plan 2 Software Heritage Python tests
Status
Passed

History

Lint

When
Completed at Sep 15 2017, 8:05 PM · Built for 9 s
Status
Passed
1 empty logs are hidden. Show all logs.

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

1python3 -m flake8 swh
2

Python tests

When
Completed at Sep 15 2017, 8:05 PM · Built for 28 s
Status
Failed
1 empty logs are hidden. Show all logs.

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

11996 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11997 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11998 File "<frozen importlib._bootstrap>", line 1129, in _exec
11999 File "<frozen importlib._bootstrap>", line 1471, in exec_module
12000 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
12001 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
12002 from swh.web.ui.views import (
12003 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
12004 from swh.web.ui.utils import gen_path_info
12005 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
12006 import magic
12007ImportError: No module named 'magic'
12008--------------------- >> end captured logging << ---------------------
12009
12010======================================================================
12011ERROR: Failure: ImportError (No module named 'magic')
12012----------------------------------------------------------------------
12013Traceback (most recent call last):
12014 File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
12015 raise self.exc_val.with_traceback(self.tb)
12016 File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName
12017 addr.filename, addr.module)
12018 File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
12019 return self.importFromDir(dir_path, fqname)
12020 File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
12021 mod = load_module(part_fqname, fh, filename, desc)
12022 File "/usr/lib/python3.4/imp.py", line 235, in load_module
12023 return load_source(name, filename, file)
12024 File "/usr/lib/python3.4/imp.py", line 171, in load_source
12025 module = methods.load()
12026 File "<frozen importlib._bootstrap>", line 1220, in load
12027 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
12028 File "<frozen importlib._bootstrap>", line 1129, in _exec
12029 File "<frozen importlib._bootstrap>", line 1471, in exec_module
12030 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
12031 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/ui/views/test_content.py", line 12, in <module>
12032 from swh.web.ui.utils import gen_path_info
12033 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
12034 import magic
12035ImportError: No module named 'magic'
12036
12037======================================================================
12038ERROR: Failure: ImportError (No module named 'magic')
12039----------------------------------------------------------------------
12040Traceback (most recent call last):
12041 File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
12042 raise self.exc_val.with_traceback(self.tb)
12043 File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName
12044 addr.filename, addr.module)
12045 File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
12046 return self.importFromDir(dir_path, fqname)
12047 File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
12048 mod = load_module(part_fqname, fh, filename, desc)
12049 File "/usr/lib/python3.4/imp.py", line 235, in load_module
12050 return load_source(name, filename, file)
12051 File "/usr/lib/python3.4/imp.py", line 171, in load_source
12052 module = methods.load()
12053 File "<frozen importlib._bootstrap>", line 1220, in load
12054 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
12055 File "<frozen importlib._bootstrap>", line 1129, in _exec
12056 File "<frozen importlib._bootstrap>", line 1471, in exec_module
12057 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
12058 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/ui/views/test_directory.py", line 12, in <module>
12059 from swh.web.ui.utils import gen_path_info
12060 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
12061 import magic
12062ImportError: No module named 'magic'
12063
12064======================================================================
12065ERROR: Failure: ImportError (No module named 'magic')
12066----------------------------------------------------------------------
12067Traceback (most recent call last):
12068 File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
12069 raise self.exc_val.with_traceback(self.tb)
12070 File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName
12071 addr.filename, addr.module)
12072 File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
12073 return self.importFromDir(dir_path, fqname)
12074 File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
12075 mod = load_module(part_fqname, fh, filename, desc)
12076 File "/usr/lib/python3.4/imp.py", line 235, in load_module
12077 return load_source(name, filename, file)
12078 File "/usr/lib/python3.4/imp.py", line 171, in load_source
12079 module = methods.load()
12080 File "<frozen importlib._bootstrap>", line 1220, in load
12081 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
12082 File "<frozen importlib._bootstrap>", line 1129, in _exec
12083 File "<frozen importlib._bootstrap>", line 1471, in exec_module
12084 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
12085 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/ui/test_utils.py", line 10, in <module>
12086 from swh.web.ui import utils
12087 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
12088 import magic
12089ImportError: No module named 'magic'
12090
12091----------------------------------------------------------------------
12092Ran 252 tests in 16.760s
12093
12094FAILED (errors=79)
12095

Update environment from working copy

When
Completed at Sep 15 2017, 8:05 PM · Built for 19 s
Status
Passed
1 empty logs are hidden. Show all logs.

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

179 swh/web/api/views/stat.py | 2 +-
180 swh/web/{api => common}/converters.py | 0
181 swh/web/{api => common}/exc.py | 0
182 swh/web/{api => common}/query.py | 2 +-
183 swh/web/{api => common}/service.py | 6 +-
184 .../api_extras.py => common/swh_templatetags.py} | 1 -
185 swh/web/common/throttling.py | 18 ++-
186 swh/web/common/utils.py | 120 ++++++++++++++
187 swh/web/config.py | 18 ++-
188 swh/web/manage.py | 3 +-
189 swh/web/{settings.py => settings/common.py} | 14 +-
190 swh/web/settings/development.py | 7 +
191 swh/web/settings/production.py | 15 ++
192 swh/web/{api => }/templates/about.html | 0
193 swh/web/{api => }/templates/api-endpoints.html | 2 +-
194 swh/web/{api => }/templates/api.html | 0
195 swh/web/{api => }/templates/apidoc.html | 10 +-
196 swh/web/{api => }/templates/browse.html | 0
197 .../{api => }/templates/content-with-origin.html | 0
198 swh/web/{api => }/templates/content.html | 0
199 swh/web/{api => }/templates/directory.html | 0
200 swh/web/{api => }/templates/entity.html | 0
201 .../templates/includes/apidoc-header-toc.html | 0
202 .../templates/includes/apidoc-header.html | 0
203 .../{api => }/templates/includes/apidoc-header.md | 0
204 .../{api => }/templates/includes/home-content.html | 0
205 .../templates/includes/home-directory.html | 0
206 .../{api => }/templates/includes/home-origin.html | 0
207 .../templates/includes/home-revision.html | 0
208 .../templates/includes/home-search-symbol.html | 0
209 .../{api => }/templates/includes/search-form.html | 0
210 swh/web/{api => }/templates/layout.html | 1 -
211 swh/web/{api => }/templates/origin.html | 0
212 swh/web/{api => }/templates/person.html | 0
213 swh/web/{api => }/templates/release.html | 0
214 .../{api => }/templates/revision-directory.html | 0
215 swh/web/{api => }/templates/revision-log.html | 0
216 swh/web/{api => }/templates/revision.html | 0
217 swh/web/{api => }/templates/search.html | 0
218 swh/web/{api => }/templates/symbols.html | 0
219 swh/web/tests/__init__.py | 35 ++--
220 swh/web/tests/api/test_api_lookup.py | 2 +-
221 swh/web/tests/api/test_apiresponse.py | 2 +-
222 swh/web/tests/api/test_utils.py | 75 ---------
223 swh/web/tests/api/views/test_entity.py | 2 +-
224 swh/web/tests/api/views/test_revision.py | 24 +--
225 swh/web/tests/{api => common}/test_converters.py | 2 +-
226 swh/web/tests/{api => common}/test_query.py | 10 +-
227 swh/web/tests/{api => common}/test_service.py | 180 ++++++++++-----------
228 swh/web/tests/{api => common}/test_templatetags.py | 12 +-
229 swh/web/tests/common/test_utils.py | 87 ++++++++++
230 swh/web/wsgi.py | 2 +-
231 70 files changed, 474 insertions(+), 386 deletions(-)
232 delete mode 100644 resources/test/webapp.yml
233 delete mode 100644 swh/web/api/templatetags/__init__.py
234 rename swh/web/{api => common}/converters.py (100%)
235 rename swh/web/{api => common}/exc.py (100%)
236 rename swh/web/{api => common}/query.py (98%)
237 rename swh/web/{api => common}/service.py (99%)
238 rename swh/web/{api/templatetags/api_extras.py => common/swh_templatetags.py} (99%)
239 create mode 100644 swh/web/common/utils.py
240 mode change 100644 => 100755 swh/web/manage.py
241 rename swh/web/{settings.py => settings/common.py} (91%)
242 create mode 100644 swh/web/settings/development.py
243 create mode 100644 swh/web/settings/production.py
244 rename swh/web/{api => }/templates/about.html (100%)
245 rename swh/web/{api => }/templates/api-endpoints.html (98%)
246 rename swh/web/{api => }/templates/api.html (100%)
247 rename swh/web/{api => }/templates/apidoc.html (94%)
248 rename swh/web/{api => }/templates/browse.html (100%)
249 rename swh/web/{api => }/templates/content-with-origin.html (100%)
250 rename swh/web/{api => }/templates/content.html (100%)
251 rename swh/web/{api => }/templates/directory.html (100%)
252 rename swh/web/{api => }/templates/entity.html (100%)
253 rename swh/web/{api => }/templates/includes/apidoc-header-toc.html (100%)
254 rename swh/web/{api => }/templates/includes/apidoc-header.html (100%)
255 rename swh/web/{api => }/templates/includes/apidoc-header.md (100%)
256 rename swh/web/{api => }/templates/includes/home-content.html (100%)
257 rename swh/web/{api => }/templates/includes/home-directory.html (100%)
258 rename swh/web/{api => }/templates/includes/home-origin.html (100%)
259 rename swh/web/{api => }/templates/includes/home-revision.html (100%)
260 rename swh/web/{api => }/templates/includes/home-search-symbol.html (100%)
261 rename swh/web/{api => }/templates/includes/search-form.html (100%)
262 rename swh/web/{api => }/templates/layout.html (99%)
263 rename swh/web/{api => }/templates/origin.html (100%)
264 rename swh/web/{api => }/templates/person.html (100%)
265 rename swh/web/{api => }/templates/release.html (100%)
266 rename swh/web/{api => }/templates/revision-directory.html (100%)
267 rename swh/web/{api => }/templates/revision-log.html (100%)
268 rename swh/web/{api => }/templates/revision.html (100%)
269 rename swh/web/{api => }/templates/search.html (100%)
270 rename swh/web/{api => }/templates/symbols.html (100%)
271 rename swh/web/tests/{api => common}/test_converters.py (99%)
272 rename swh/web/tests/{api => common}/test_query.py (95%)
273 rename swh/web/tests/{api => common}/test_service.py (94%)
274 rename swh/web/tests/{api => common}/test_templatetags.py (83%)
275 create mode 100644 swh/web/tests/common/test_utils.py
276
277mr update: finished (23 ok)
278

Clone on Software Heritage Worker

When
Completed at Sep 15 2017, 8:04 PM · Built instantly
Status
Passed