Properties
Properties
- Buildable
- B80: rDSTOa3a7bd4d9f11: Add an http API for objstorage and refactor the shared code with storage.api
- Build Plan
- Plan 2 Software Heritage Python tests
- Status
Passed
Lint
Lint
- When
- Completed at May 4 2016, 3:05 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 4 2016, 3:05 PM · Built for 1 s
- Status
Passed
1 empty logs are hidden. Show all logs.
| 7 | db_to_revision (test_converters.TestConverters) ... ok |
|---|---|
| 8 | decode_with_escape (test_converters.TestConverters) ... ok |
| 9 | encode_with_unescape (test_converters.TestConverters) ... ok |
| 10 | encode_with_unescape_invalid_escape (test_converters.TestConverters) ... ok |
| 11 | add_bytes_w_id (test_objstorage.TestObjStorage) ... ok |
| 12 | add_bytes_wo_id (test_objstorage.TestObjStorage) ... ok |
| 13 | add_file_w_id (test_objstorage.TestObjStorage) ... ok |
| 14 | add_file_wo_id (test_objstorage.TestObjStorage) ... ok |
| 15 | check_file_and_dirs_mode (test_objstorage.TestObjStorage) ... ok |
| 16 | check_id_mismatch (test_objstorage.TestObjStorage) ... ok |
| 17 | check_missing (test_objstorage.TestObjStorage) ... ok |
| 18 | check_not_gzip (test_objstorage.TestObjStorage) ... ok |
| 19 | check_ok (test_objstorage.TestObjStorage) ... ok |
| 20 | contains (test_objstorage.TestObjStorage) ... ok |
| 21 | get_bytes (test_objstorage.TestObjStorage) ... ok |
| 22 | get_file_path (test_objstorage.TestObjStorage) ... ok |
| 23 | get_missing (test_objstorage.TestObjStorage) ... ok |
| 24 | iter (test_objstorage.TestObjStorage) ... ok |
| 25 | len (test_objstorage.TestObjStorage) ... ok |
| 26 | |
| 27 | ---------------------------------------------------------------------- |
| 28 | Ran 23 tests in 0.301s |
| 29 | |
| 30 | OK |
| 31 |
Update environment from working copy
Update environment from working copy
- When
- Completed at May 4 2016, 3:05 PM · Built for 14 s
- Status
Passed
1 empty logs are hidden. Show all logs.
| 72 | Updating ede4392..f0bda08 |
|---|---|
| 73 | Fast-forward |
| 74 | swh/storage/api/client.py | 27 +-------- |
| 75 | swh/storage/api/common.py | 69 ++++++++++++++++++++++ |
| 76 | swh/storage/api/server.py | 44 ++------------ |
| 77 | swh/storage/objstorage/__init__.py | 1 + |
| 78 | swh/storage/objstorage/api/__init__.py | 0 |
| 79 | swh/storage/objstorage/api/client.py | 92 ++++++++++++++++++++++++++++++ |
| 80 | swh/storage/objstorage/api/server.py | 67 ++++++++++++++++++++++ |
| 81 | swh/storage/{ => objstorage}/objstorage.py | 2 +- |
| 82 | swh/storage/tests/server_testing.py | 80 ++++++++++++++++++++++++++ |
| 83 | swh/storage/tests/test_api_client.py | 69 +++++----------------- |
| 84 | swh/storage/tests/test_objstorage_api.py | 83 +++++++++++++++++++++++++++ |
| 85 | 11 files changed, 416 insertions(+), 118 deletions(-) |
| 86 | create mode 100644 swh/storage/api/common.py |
| 87 | create mode 100644 swh/storage/objstorage/__init__.py |
| 88 | create mode 100644 swh/storage/objstorage/api/__init__.py |
| 89 | create mode 100644 swh/storage/objstorage/api/client.py |
| 90 | create mode 100644 swh/storage/objstorage/api/server.py |
| 91 | rename swh/storage/{ => objstorage}/objstorage.py (99%) |
| 92 | create mode 100644 swh/storage/tests/server_testing.py |
| 93 | create mode 100644 swh/storage/tests/test_objstorage_api.py |
| 94 | |
| 95 | mr update: finished (18 ok) |
| 96 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at May 4 2016, 3:05 PM · Built instantly
- Status
Passed