Properties
Properties
- Buildable
- B136: Diff 106
- Build Plan
- Plan 2 Software Heritage Python tests
- Status
Failed
Lint
Lint
- When
- Completed at May 27 2016, 4:32 PM · Built for 3 s
- Status
Passed
1 empty logs are hidden. Show all logs.
1 | python3 -m flake8 swh bin/swh-storage-add-dir bin/swh-objstorage-fsck bin/swh-objstorage-add-dir |
---|---|
2 |
Python tests
Python tests
- When
- Completed at May 27 2016, 4:32 PM · Built for 1 s
- Status
Failed
1 empty logs are hidden. Show all logs.
25 | contains (test_objstorage.TestObjStorage) ... ok |
---|---|
26 | get_bytes (test_objstorage.TestObjStorage) ... ok |
27 | get_file_path (test_objstorage.TestObjStorage) ... ok |
28 | get_missing (test_objstorage.TestObjStorage) ... ok |
29 | get_random_contents (test_objstorage.TestObjStorage) ... ERROR |
30 | iter (test_objstorage.TestObjStorage) ... ok |
31 | len (test_objstorage.TestObjStorage) ... ok |
32 | |
33 | ====================================================================== |
34 | ERROR: get_random_contents (test_objstorage.TestObjStorage) |
35 | ---------------------------------------------------------------------- |
36 | Traceback (most recent call last): |
37 | File "/home/temp-drydock/drydock/workingcopy-154/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) |
43 | TypeError: must be str, not bytes |
44 | |
45 | ---------------------------------------------------------------------- |
46 | Ran 28 tests in 0.581s |
47 | |
48 | FAILED (errors=1) |
49 |
Update environment from working copy
Update environment from working copy
- When
- Completed at May 27 2016, 4:32 PM · Built for 8 s
- Status
Passed
1 empty logs are hidden. Show all logs.
66 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-storage |
---|---|
67 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-storage |
68 | From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage |
69 | 60a0be9..eb8ada4 master -> origin/master |
70 | Updating 60a0be9..eb8ada4 |
71 | Fast-forward |
72 | swh/storage/checker/__init__.py | 0 |
73 | swh/storage/checker/checker.py | 134 +++++++++++++++++++++++++++++++ |
74 | swh/storage/objstorage/api/client.py | 11 +++ |
75 | swh/storage/objstorage/api/server.py | 7 ++ |
76 | swh/storage/objstorage/objstorage.py | 61 +++++++++++++- |
77 | swh/storage/tests/test_checker.py | 96 ++++++++++++++++++++++ |
78 | swh/storage/tests/test_objstorage.py | 6 ++ |
79 | swh/storage/tests/test_objstorage_api.py | 11 +++ |
80 | 8 files changed, 322 insertions(+), 4 deletions(-) |
81 | create mode 100644 swh/storage/checker/__init__.py |
82 | create mode 100644 swh/storage/checker/checker.py |
83 | create mode 100644 swh/storage/tests/test_checker.py |
84 | |
85 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-web-ui |
86 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-web-ui |
87 | Already up-to-date. |
88 | |
89 | mr update: finished (18 ok) |
90 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at May 27 2016, 4:32 PM · Built instantly
- Status
Passed