Page MenuHomeSoftware Heritage

Build 196

Properties

Buildable
B136: Diff 106
Build Plan
Plan 2 Software Heritage Python tests
Status
Failed

History

Lint

When
Completed at May 27 2016, 4:33 PM · Built for 2 s
Status
Passed
1 empty logs are hidden. Show all logs.

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

1python3 -m flake8 swh bin/swh-storage-add-dir bin/swh-objstorage-fsck bin/swh-objstorage-add-dir
2

Python tests

When
Completed at May 27 2016, 4:33 PM · Built for 1 s
Status
Failed
1 empty logs are hidden. Show all logs.

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

25contains (test_objstorage.TestObjStorage) ... ok
26get_bytes (test_objstorage.TestObjStorage) ... ok
27get_file_path (test_objstorage.TestObjStorage) ... ok
28get_missing (test_objstorage.TestObjStorage) ... ok
29get_random_contents (test_objstorage.TestObjStorage) ... ERROR
30iter (test_objstorage.TestObjStorage) ... ok
31len (test_objstorage.TestObjStorage) ... ok
32
33======================================================================
34ERROR: get_random_contents (test_objstorage.TestObjStorage)
35----------------------------------------------------------------------
36Traceback (most recent call last):
37 File "/home/temp-drydock/drydock/workingcopy-157/repo/swh-storage/swh/storage/tests/test_objstorage.py", line 138, in get_random_contents
38 self.assertIn(hashutil.hex_to_hash(id), [self.obj_id])
39 File "/usr/lib/python3.4/functools.py", line 458, in wrapper
40 result = user_function(*args, **kwds)
41 File "/usr/lib/python3/dist-packages/swh/core/hashutil.py", line 164, in hex_to_hash
42 return bytes.fromhex(hex)
43TypeError: must be str, not bytes
44
45----------------------------------------------------------------------
46Ran 28 tests in 0.549s
47
48FAILED (errors=1)
49

Update environment from working copy

When
Completed at May 27 2016, 4:33 PM · Built for 7 s
Status
Passed
1 empty logs are hidden. Show all logs.

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

76Updating 60a0be9..eb8ada4
77Fast-forward
78 swh/storage/checker/__init__.py | 0
79 swh/storage/checker/checker.py | 134 +++++++++++++++++++++++++++++++
80 swh/storage/objstorage/api/client.py | 11 +++
81 swh/storage/objstorage/api/server.py | 7 ++
82 swh/storage/objstorage/objstorage.py | 61 +++++++++++++-
83 swh/storage/tests/test_checker.py | 96 ++++++++++++++++++++++
84 swh/storage/tests/test_objstorage.py | 6 ++
85 swh/storage/tests/test_objstorage_api.py | 11 +++
86 8 files changed, 322 insertions(+), 4 deletions(-)
87 create mode 100644 swh/storage/checker/__init__.py
88 create mode 100644 swh/storage/checker/checker.py
89 create mode 100644 swh/storage/tests/test_checker.py
90
91mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-storage-testdata
92mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-storage-testdata
93Already up-to-date.
94
95mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-web-ui
96mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-web-ui
97Already up-to-date.
98
99mr update: finished (18 ok)
100

Clone on Software Heritage Worker

When
Completed at May 27 2016, 4:33 PM · Built instantly
Status
Passed

Event Timeline