Properties
Properties
- Buildable
- B588: rDSTOc92af7a2420b: Refactor: Unify redundant behavior in SWHRemoteAPI
- Build Plan
- Plan 2 Software Heritage Python tests
- Status
Failed
Lint
Lint
- When
- Completed at Jan 26 2017, 3:13 PM · Built for 5 s
- Status
Passed
1 empty logs are hidden. Show all logs.
| 1 | python3 -m flake8 swh bin/swh-storage-add-dir |
|---|---|
| 2 |
Python tests
Python tests
- When
- Completed at Jan 26 2017, 3:13 PM · Built for 6 s
- Status
Failed
1 empty logs are hidden. Show all logs.
| 1 | W: unknown repository 'swh-environment', you might want to remove it |
|---|---|
| 2 | Failure: ImportError (No module named 'swh.objstorage.api.common') ... ERROR |
| 3 | ctags_to_db (test_converters.TestConverters) ... ok |
| 4 | db_to_author (test_converters.TestConverters) ... ok |
| 5 | db_to_ctags (test_converters.TestConverters) ... ok |
| 6 | db_to_git_headers (test_converters.TestConverters) ... ok |
| 7 | db_to_language (test_converters.TestConverters) ... ok |
| 8 | db_to_mimetype (test_converters.TestConverters) ... ok |
| 9 | db_to_release (test_converters.TestConverters) ... ok |
| 10 | db_to_revision (test_converters.TestConverters) ... ok |
| 11 | |
| 12 | ====================================================================== |
| 13 | ERROR: Failure: ImportError (No module named 'swh.objstorage.api.common') |
| 14 | ---------------------------------------------------------------------- |
| 15 | Traceback (most recent call last): |
| 16 | File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest |
| 17 | raise self.exc_val.with_traceback(self.tb) |
| 18 | File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName |
| 19 | addr.filename, addr.module) |
| 20 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath |
| 21 | return self.importFromDir(dir_path, fqname) |
| 22 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir |
| 23 | mod = load_module(part_fqname, fh, filename, desc) |
| 24 | File "/usr/lib/python3.4/imp.py", line 235, in load_module |
| 25 | return load_source(name, filename, file) |
| 26 | File "/usr/lib/python3.4/imp.py", line 171, in load_source |
| 27 | module = methods.load() |
| 28 | File "<frozen importlib._bootstrap>", line 1220, in load |
| 29 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked |
| 30 | File "<frozen importlib._bootstrap>", line 1129, in _exec |
| 31 | File "<frozen importlib._bootstrap>", line 1471, in exec_module |
| 32 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed |
| 33 | File "/home/temp-drydock/drydock/workingcopy-178/repo/swh-storage/swh/storage/tests/test_api_client.py", line 12, in <module> |
| 34 | from swh.storage.api.server import app |
| 35 | File "/home/temp-drydock/drydock/workingcopy-178/repo/swh-storage/swh/storage/api/server.py", line 14, in <module> |
| 36 | from swh.objstorage.api.common import (BytesRequest, decode_request, |
| 37 | ImportError: No module named 'swh.objstorage.api.common' |
| 38 | |
| 39 | ---------------------------------------------------------------------- |
| 40 | Ran 9 tests in 3.154s |
| 41 | |
| 42 | FAILED (errors=1) |
| 43 |
Update environment from working copy
Update environment from working copy
- When
- Completed at Jan 26 2017, 3:13 PM · Built for 25 s
- Status
Passed
1 empty logs are hidden. Show all logs.
| 75 | * [new tag] v0.0.17 -> v0.0.17 |
|---|---|
| 76 | Updating 39db1d6..cf8a95b |
| 77 | Fast-forward |
| 78 | debian/control | 5 ++-- |
| 79 | requirements.txt | 5 +--- |
| 80 | swh/objstorage/api/client.py | 36 ++++------------------- |
| 81 | swh/objstorage/api/common.py | 69 -------------------------------------------- |
| 82 | swh/objstorage/api/server.py | 13 ++++----- |
| 83 | 5 files changed, 15 insertions(+), 113 deletions(-) |
| 84 | delete mode 100644 swh/objstorage/api/common.py |
| 85 | |
| 86 | mr update: /home/temp-drydock/drydock/workingcopy-178/repo/swh-environment/swh-scheduler |
| 87 | mr update: /home/temp-drydock/drydock/workingcopy-178/repo/swh-environment/swh-scheduler |
| 88 | Already up-to-date. |
| 89 | |
| 90 | mr update: /home/temp-drydock/drydock/workingcopy-178/repo/swh-environment/swh-storage-testdata |
| 91 | mr update: /home/temp-drydock/drydock/workingcopy-178/repo/swh-environment/swh-storage-testdata |
| 92 | Already up-to-date. |
| 93 | |
| 94 | mr update: /home/temp-drydock/drydock/workingcopy-178/repo/swh-environment/swh-py-template |
| 95 | mr update: /home/temp-drydock/drydock/workingcopy-178/repo/swh-environment/swh-py-template |
| 96 | Already up-to-date. |
| 97 | |
| 98 | mr update: /home/temp-drydock/drydock/workingcopy-178/repo/swh-environment/swh-storage |
| 99 | mr update: /home/temp-drydock/drydock/workingcopy-178/repo/swh-environment/swh-storage |
| 100 | From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage |
| 101 | a8c0e13..fed8afb master -> origin/master |
| 102 | * [new tag] v0.0.77 -> v0.0.77 |
| 103 | Updating a8c0e13..fed8afb |
| 104 | Fast-forward |
| 105 | debian/control | 6 ++-- |
| 106 | requirements.txt | 7 ++--- |
| 107 | swh/storage/api/client.py | 61 +++++---------------------------------- |
| 108 | swh/storage/api/server.py | 13 ++++----- |
| 109 | swh/storage/db.py | 13 +++++++-- |
| 110 | swh/storage/storage.py | 11 +++++-- |
| 111 | swh/storage/tests/test_storage.py | 22 ++++++++++++++ |
| 112 | swh/storage/vault/api/client.py | 54 +++------------------------------- |
| 113 | swh/storage/vault/api/server.py | 9 +++--- |
| 114 | 9 files changed, 67 insertions(+), 129 deletions(-) |
| 115 | |
| 116 | mr update: /home/temp-drydock/drydock/workingcopy-178/repo/swh-environment/swh-web-ui |
| 117 | mr update: /home/temp-drydock/drydock/workingcopy-178/repo/swh-environment/swh-web-ui |
| 118 | From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui |
| 119 | 7ed6b19..318e268 master -> origin/master |
| 120 | * [new tag] v0.0.55 -> v0.0.55 |
| 121 | * [new tag] v0.0.56 -> v0.0.56 |
| 122 | * [new tag] v0.0.57 -> v0.0.57 |
| 123 | * [new tag] v0.0.58 -> v0.0.58 |
| 124 | * [new tag] v0.0.59 -> v0.0.59 |
| 125 | * [new tag] v0.0.60 -> v0.0.60 |
| 126 | * [new tag] v0.0.61 -> v0.0.61 |
| 127 | * [new tag] v0.0.62 -> v0.0.62 |
| 128 | * [new tag] v0.0.63 -> v0.0.63 |
| 129 | * [new tag] v0.0.64 -> v0.0.64 |
| 130 | * [new tag] v0.0.65 -> v0.0.65 |
| 131 | * [new tag] v0.0.67 -> v0.0.67 |
| 132 | * [new tag] v0.0.68 -> v0.0.68 |
| 133 | Updating 7ed6b19..318e268 |
| 134 | Fast-forward |
| 135 | README | 59 +----- |
| 136 | debian/control | 17 +- |
| 137 | requirements.txt | 5 +- |
| 138 | resources/test/webapp.yml | 10 + |
| 139 | swh/web/ui/apidoc.py | 166 ++++++++++----- |
| 140 | swh/web/ui/backend.py | 16 +- |
| 141 | swh/web/ui/converters.py | 57 +++++- |
| 142 | swh/web/ui/main.py | 63 ++++-- |
| 143 | swh/web/ui/renderers.py | 65 ++++-- |
| 144 | swh/web/ui/service.py | 13 +- |
| 145 | swh/web/ui/static/css/style.css | 179 +++++++++++++++- |
| 146 | swh/web/ui/static/img/arrow-up-small.png | Bin 0 -> 868 bytes |
| 147 | swh/web/ui/static/img/swh-logo.png | Bin 0 -> 47353 bytes |
| 148 | swh/web/ui/templates/api-endpoints.html | 71 ++++--- |
| 149 | swh/web/ui/templates/apidoc.html | 59 +++++- |
| 150 | .../ui/templates/includes/apidoc-header-toc.html | 26 +++ |
| 151 | swh/web/ui/templates/includes/apidoc-header.html | 147 ++++---------- |
| 152 | swh/web/ui/templates/includes/apidoc-header.md | 120 ++++------- |
| 153 | swh/web/ui/templates/layout.html | 71 ++++--- |
| 154 | swh/web/ui/tests/test_apidoc.py | 5 + |
| 155 | swh/web/ui/tests/test_app.py | 15 +- |
| 156 | swh/web/ui/tests/test_backend.py | 5 +- |
| 157 | swh/web/ui/tests/test_converters.py | 60 +++--- |
| 158 | swh/web/ui/tests/test_renderers.py | 35 ++-- |
| 159 | swh/web/ui/tests/test_service.py | 15 +- |
| 160 | swh/web/ui/tests/test_utils.py | 39 ++-- |
| 161 | swh/web/ui/tests/views/test_api.py | 144 +++++-------- |
| 162 | swh/web/ui/tests/views/test_browse.py | 23 +-- |
| 163 | swh/web/ui/tests/views/test_main.py | 2 +- |
| 164 | swh/web/ui/utils.py | 14 +- |
| 165 | swh/web/ui/views/api.py | 225 +++++++++++++++------ |
| 166 | swh/web/ui/views/browse.py | 16 +- |
| 167 | swh/web/ui/views/main.py | 2 +- |
| 168 | 33 files changed, 1055 insertions(+), 689 deletions(-) |
| 169 | create mode 100644 swh/web/ui/static/img/arrow-up-small.png |
| 170 | create mode 100644 swh/web/ui/static/img/swh-logo.png |
| 171 | create mode 100644 swh/web/ui/templates/includes/apidoc-header-toc.html |
| 172 | |
| 173 | mr update: finished (21 ok) |
| 174 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at Jan 26 2017, 3:13 PM · Built instantly
- Status
Passed