Page MenuHomeSoftware Heritage

Build 262

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

Properties

Buildable
B173: Diff 147
Build Plan
Plan 2 Software Heritage Python tests
Status
Failed

Lint

When
Completed at Jun 10 2016, 4:06 PM · Built for 4 s
Status
Passed
1 empty logs are hidden. Show all logs.

Build Log 884 (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:06 PM · Built for 2 s
Status
Failed
1 empty logs are hidden. Show all logs.

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

2231 File "/home/temp-drydock/drydock/workingcopy-164/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-164/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-164/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.467s
2253
2254FAILED (errors=67, failures=2)
2255

Update environment from working copy

When
Completed at Jun 10 2016, 4:06 PM · Built for 7 s
Status
Passed
1 empty logs are hidden. Show all logs.

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

71mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-storage-testdata
72Already up-to-date.
73
74mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-web-ui
75mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-web-ui
76From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui
77 f64ec78..e9360a4 master -> origin/master
78Updating f64ec78..e9360a4
79Fast-forward
80 swh/web/ui/converters.py | 28 ++++++---
81 swh/web/ui/service.py | 7 +--
82 swh/web/ui/templates/revision-log.html | 14 ++++-
83 swh/web/ui/templates/revision.html | 10 ++++
84 swh/web/ui/tests/test_converters.py | 101 +++++++++++++++++++++++++++++++++
85 swh/web/ui/tests/test_service.py | 72 ++++++++++++++++++++++-
86 swh/web/ui/tests/test_utils.py | 94 +++++++++++++++++++++++++++++-
87 swh/web/ui/tests/views/test_api.py | 12 ++--
88 swh/web/ui/tests/views/test_browse.py | 13 +++++
89 swh/web/ui/utils.py | 5 ++
90 swh/web/ui/views/api.py | 7 ++-
91 swh/web/ui/views/browse.py | 8 +++
92 12 files changed, 343 insertions(+), 28 deletions(-)
93
94mr update: finished (18 ok)
95

Clone on Software Heritage Worker

When
Completed at Jun 10 2016, 4:06 PM · Built instantly
Status
Passed