Properties
Properties
- Buildable
- B474: rDSTO791444adf481: archive - sql/upgrades/004: Insert new archive id + clean up
- Build Plan
- Plan 2 Software Heritage Python tests
- Status
Passed
Lint
Lint
- When
- Completed at Sep 14 2016, 12:18 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 |
---|---|
2 |
Python tests
Python tests
- When
- Completed at Sep 14 2016, 12:18 PM · Built for 1 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 'azure') ... ERROR |
3 | db_to_author (test_converters.TestConverters) ... ok |
4 | db_to_git_headers (test_converters.TestConverters) ... ok |
5 | db_to_release (test_converters.TestConverters) ... ok |
6 | db_to_revision (test_converters.TestConverters) ... ok |
7 | |
8 | ====================================================================== |
9 | ERROR: Failure: ImportError (No module named 'azure') |
10 | ---------------------------------------------------------------------- |
11 | Traceback (most recent call last): |
12 | File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest |
13 | raise self.exc_val.with_traceback(self.tb) |
14 | File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName |
15 | addr.filename, addr.module) |
16 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath |
17 | return self.importFromDir(dir_path, fqname) |
18 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir |
19 | mod = load_module(part_fqname, fh, filename, desc) |
20 | File "/usr/lib/python3.4/imp.py", line 235, in load_module |
21 | return load_source(name, filename, file) |
22 | File "/usr/lib/python3.4/imp.py", line 171, in load_source |
23 | module = methods.load() |
24 | File "<frozen importlib._bootstrap>", line 1220, in load |
25 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked |
26 | File "<frozen importlib._bootstrap>", line 1129, in _exec |
27 | File "<frozen importlib._bootstrap>", line 1471, in exec_module |
28 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed |
29 | File "/home/temp-drydock/drydock/workingcopy-171/repo/swh-storage/swh/storage/tests/test_archiver.py", line 19, in <module> |
30 | from swh.storage.archiver import ArchiverWithRetentionPolicyDirector |
31 | File "/home/temp-drydock/drydock/workingcopy-171/repo/swh-storage/swh/storage/archiver/__init__.py", line 7, in <module> |
32 | from swh.objstorage.cloud import AzureCloudObjStorage # noqa |
33 | File "/home/temp-drydock/drydock/workingcopy-171/repo/swh-objstorage/swh/objstorage/cloud/__init__.py", line 2, in <module> |
34 | from .objstorage_azure import AzureCloudObjStorage |
35 | File "/home/temp-drydock/drydock/workingcopy-171/repo/swh-objstorage/swh/objstorage/cloud/objstorage_azure.py", line 12, in <module> |
36 | from azure.storage.blob import BlockBlobService |
37 | ImportError: No module named 'azure' |
38 | |
39 | ---------------------------------------------------------------------- |
40 | Ran 5 tests in 0.719s |
41 | |
42 | FAILED (errors=1) |
43 |
Update environment from working copy
Update environment from working copy
- When
- Completed at Sep 14 2016, 12:18 PM · Built for 9 s
- Status
Passed
1 empty logs are hidden. Show all logs.
80 | mr update: /home/temp-drydock/drydock/workingcopy-171/repo/swh-environment/swh-loader-dir |
---|---|
81 | Already up-to-date. |
82 | |
83 | mr update: /home/temp-drydock/drydock/workingcopy-171/repo/swh-environment/swh-loader-git |
84 | mr update: /home/temp-drydock/drydock/workingcopy-171/repo/swh-environment/swh-loader-git |
85 | Already up-to-date. |
86 | |
87 | mr update: /home/temp-drydock/drydock/workingcopy-171/repo/swh-environment/swh-loader-tar |
88 | mr update: /home/temp-drydock/drydock/workingcopy-171/repo/swh-environment/swh-loader-tar |
89 | Already up-to-date. |
90 | |
91 | mr update: /home/temp-drydock/drydock/workingcopy-171/repo/swh-environment/swh-loader-svn |
92 | mr update: /home/temp-drydock/drydock/workingcopy-171/repo/swh-environment/swh-loader-svn |
93 | Already up-to-date. |
94 | |
95 | mr update: /home/temp-drydock/drydock/workingcopy-171/repo/swh-environment/swh-objstorage |
96 | mr update: /home/temp-drydock/drydock/workingcopy-171/repo/swh-environment/swh-objstorage |
97 | From ssh://forge.softwareheritage.org/diffusion/DOBJS/swh-objstorage |
98 | 629f836..87c85be master -> origin/master |
99 | * [new tag] v0.0.9 -> v0.0.9 |
100 | Updating 629f836..87c85be |
101 | Fast-forward |
102 | bin/swh-objstorage-azure | 6 +++++- |
103 | swh/objstorage/__init__.py | 28 +++++++++++++++++++++++++++- |
104 | swh/objstorage/cloud/__init__.py | 8 +++++++- |
105 | swh/objstorage/cloud/objstorage_azure.py | 14 ++++++++++---- |
106 | swh/objstorage/objstorage_pathslicing.py | 2 +- |
107 | 5 files changed, 50 insertions(+), 8 deletions(-) |
108 | |
109 | mr update: /home/temp-drydock/drydock/workingcopy-171/repo/swh-environment/swh-model |
110 | mr update: /home/temp-drydock/drydock/workingcopy-171/repo/swh-environment/swh-model |
111 | Already up-to-date. |
112 | |
113 | mr update: /home/temp-drydock/drydock/workingcopy-171/repo/swh-environment/swh-py-template |
114 | mr update: /home/temp-drydock/drydock/workingcopy-171/repo/swh-environment/swh-py-template |
115 | Already up-to-date. |
116 | |
117 | mr update: /home/temp-drydock/drydock/workingcopy-171/repo/swh-environment/swh-scheduler |
118 | mr update: /home/temp-drydock/drydock/workingcopy-171/repo/swh-environment/swh-scheduler |
119 | Already up-to-date. |
120 | |
121 | mr update: /home/temp-drydock/drydock/workingcopy-171/repo/swh-environment/swh-web-ui |
122 | mr update: /home/temp-drydock/drydock/workingcopy-171/repo/swh-environment/swh-web-ui |
123 | Already up-to-date. |
124 | |
125 | mr update: /home/temp-drydock/drydock/workingcopy-171/repo/swh-environment/swh-storage-testdata |
126 | mr update: /home/temp-drydock/drydock/workingcopy-171/repo/swh-environment/swh-storage-testdata |
127 | From ssh://forge.softwareheritage.org/diffusion/DSTOT/swh-storage-testdata |
128 | a61dd8e..01a27bc master -> origin/master |
129 | Updating a61dd8e..01a27bc |
130 | Fast-forward |
131 | dumps/swh-archiver.dump | Bin 8586 -> 8097 bytes |
132 | dumps/swh-archiver.sql | 27 ++------ |
133 | dumps/swh.dump | Bin 122848 -> 121778 bytes |
134 | dumps/swh.sql | 161 ++++++++++++++++++++---------------------------- |
135 | 4 files changed, 72 insertions(+), 116 deletions(-) |
136 | |
137 | mr update: /home/temp-drydock/drydock/workingcopy-171/repo/swh-environment/swh-storage |
138 | mr update: /home/temp-drydock/drydock/workingcopy-171/repo/swh-environment/swh-storage |
139 | From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage |
140 | 1c90cd4..791444a master -> origin/master |
141 | Updating 1c90cd4..791444a |
142 | Fast-forward |
143 | debian/control | 3 +- |
144 | requirements.txt | 1 + |
145 | sql/archiver/swh-archiver-data.sql | 4 +- |
146 | sql/archiver/swh-archiver-schema.sql | 12 +- |
147 | sql/archiver/upgrades/004.sql | 12 + |
148 | sql/swh-func.sql | 17 ++ |
149 | sql/swh-schema.sql | 2 +- |
150 | sql/upgrades/080.sql | 23 ++ |
151 | swh/storage/api/client.py | 4 + |
152 | swh/storage/api/server.py | 6 + |
153 | swh/storage/archiver/__init__.py | 15 +- |
154 | swh/storage/archiver/db.py | 5 +- |
155 | swh/storage/archiver/director.py | 145 +++++++++--- |
156 | swh/storage/archiver/tasks.py | 17 +- |
157 | swh/storage/archiver/worker.py | 411 +++++++++++++++++++++++---------- |
158 | swh/storage/db.py | 20 +- |
159 | swh/storage/storage.py | 17 ++ |
160 | swh/storage/tests/test_archiver.py | 34 +-- |
161 | swh/storage/tests/test_storage.py | 87 +++++++ |
162 | swh/storage/vault/api/client.py | 71 ++++++ |
163 | swh/storage/vault/api/cooking_tasks.py | 24 ++ |
164 | swh/storage/vault/api/server.py | 92 ++++++++ |
165 | swh/storage/vault/cache.py | 64 +++++ |
166 | swh/storage/vault/conf.yaml | 0 |
167 | swh/storage/vault/cooker.py | 173 ++++++++++++++ |
168 | 25 files changed, 1055 insertions(+), 204 deletions(-) |
169 | create mode 100644 sql/archiver/upgrades/004.sql |
170 | create mode 100644 sql/upgrades/080.sql |
171 | create mode 100644 swh/storage/vault/api/client.py |
172 | create mode 100644 swh/storage/vault/api/cooking_tasks.py |
173 | create mode 100644 swh/storage/vault/api/server.py |
174 | create mode 100644 swh/storage/vault/cache.py |
175 | create mode 100644 swh/storage/vault/conf.yaml |
176 | create mode 100644 swh/storage/vault/cooker.py |
177 | |
178 | mr update: finished (20 ok) |
179 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at Sep 14 2016, 12:18 PM · Built instantly
- Status
Passed