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

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

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