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

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

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