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:33 PM · Built for 2 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:33 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-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) |
| 43 | TypeError: must be str, not bytes |
| 44 | |
| 45 | ---------------------------------------------------------------------- |
| 46 | Ran 28 tests in 0.549s |
| 47 | |
| 48 | FAILED (errors=1) |
| 49 |
Update environment from working copy
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.
| 76 | Updating 60a0be9..eb8ada4 |
|---|---|
| 77 | Fast-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 | |
| 91 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-storage-testdata |
| 92 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-storage-testdata |
| 93 | Already up-to-date. |
| 94 | |
| 95 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-web-ui |
| 96 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-web-ui |
| 97 | Already up-to-date. |
| 98 | |
| 99 | mr update: finished (18 ok) |
| 100 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at May 27 2016, 4:33 PM · Built instantly
- Status
Passed