Properties
Properties
- Buildable
- B178: rDSTOc664995863c8: Add an implementation of the object storage api and a test class
- Build Plan
- Plan 2 Software Heritage Python tests
- Status
Failed
Lint
Lint
- When
- Completed at Jun 13 2016, 2:51 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 Jun 13 2016, 2:50 PM · Built for 2 s
- Status
Failed
1 empty logs are hidden. Show all logs.
1 | W: unknown repository 'swh-environment', you might want to remove it |
---|---|
2 | W: unknown repository 'swh-loader-vcs', you might want to remove it |
3 | Failure: ImportError (cannot import name '_obj_path') ... ERROR |
4 | db_to_author (test_converters.TestConverters) ... ok |
5 | db_to_git_headers (test_converters.TestConverters) ... ok |
6 | db_to_release (test_converters.TestConverters) ... ok |
7 | db_to_revision (test_converters.TestConverters) ... ok |
8 | Failure: ImportError (cannot import name '_obj_path') ... ERROR |
9 | add_get_w_id (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
10 | add_get_wo_id (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
11 | check_id_mismatch (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
12 | check_missing (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
13 | check_not_gzip (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
14 | check_present (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
15 | contains (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
16 | get_missing (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
17 | get_random_contents (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
18 | iter (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
19 | len (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
20 | restore_content (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
21 | |
22 | ====================================================================== |
23 | ERROR: Failure: ImportError (cannot import name '_obj_path') |
24 | ---------------------------------------------------------------------- |
25 | Traceback (most recent call last): |
26 | File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest |
27 | raise self.exc_val.with_traceback(self.tb) |
28 | File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName |
29 | addr.filename, addr.module) |
30 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath |
31 | return self.importFromDir(dir_path, fqname) |
32 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir |
33 | mod = load_module(part_fqname, fh, filename, desc) |
34 | File "/usr/lib/python3.4/imp.py", line 235, in load_module |
35 | return load_source(name, filename, file) |
36 | File "/usr/lib/python3.4/imp.py", line 171, in load_source |
37 | module = methods.load() |
38 | File "<frozen importlib._bootstrap>", line 1220, in load |
39 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked |
40 | File "<frozen importlib._bootstrap>", line 1129, in _exec |
41 | File "<frozen importlib._bootstrap>", line 1471, in exec_module |
42 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed |
43 | File "/home/temp-drydock/drydock/workingcopy-157/repo/swh-storage/swh/storage/tests/test_checker.py", line 14, in <module> |
44 | from swh.storage.objstorage.objstorage import _obj_path |
45 | ImportError: cannot import name '_obj_path' |
46 | |
47 | ====================================================================== |
48 | ERROR: Failure: ImportError (cannot import name '_obj_path') |
49 | ---------------------------------------------------------------------- |
50 | Traceback (most recent call last): |
51 | File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest |
52 | raise self.exc_val.with_traceback(self.tb) |
53 | File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName |
54 | addr.filename, addr.module) |
55 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath |
56 | return self.importFromDir(dir_path, fqname) |
57 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir |
58 | mod = load_module(part_fqname, fh, filename, desc) |
59 | File "/usr/lib/python3.4/imp.py", line 235, in load_module |
60 | return load_source(name, filename, file) |
61 | File "/usr/lib/python3.4/imp.py", line 171, in load_source |
62 | module = methods.load() |
63 | File "<frozen importlib._bootstrap>", line 1220, in load |
64 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked |
65 | File "<frozen importlib._bootstrap>", line 1129, in _exec |
66 | File "<frozen importlib._bootstrap>", line 1471, in exec_module |
67 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed |
68 | File "/home/temp-drydock/drydock/workingcopy-157/repo/swh-storage/swh/storage/tests/test_objstorage_api.py", line 15, in <module> |
69 | from swh.storage.objstorage.objstorage import _obj_path |
70 | ImportError: cannot import name '_obj_path' |
71 | |
72 | ---------------------------------------------------------------------- |
73 | Ran 18 tests in 0.818s |
74 | |
75 | FAILED (errors=2) |
76 |
Update environment from working copy
Update environment from working copy
- When
- Completed at Jun 13 2016, 2:50 PM · Built for 23 s
- Status
Passed
1 | mr update: command failed |
---|---|
2 | mr update: command failed |
3 | mr update: command failed |
4 | mr update: command failed |
5 | mr update: command failed |
6 | mr update: command failed |
7 | mr update: command failed |
8 |
1 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-cloner-git |
---|---|
2 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-cloner-git |
3 | ssh_exchange_identification: Connection closed by remote host |
4 | fatal: Could not read from remote repository. |
5 | |
6 | Please make sure you have the correct access rights |
7 | and the repository exists. |
8 | |
9 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-fetcher-googlecode |
10 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-fetcher-googlecode |
11 | ssh_exchange_identification: Connection closed by remote host |
12 | fatal: Could not read from remote repository. |
13 | |
14 | Please make sure you have the correct access rights |
15 | and the repository exists. |
16 | |
17 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-core |
18 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-core |
19 | ssh_exchange_identification: Connection closed by remote host |
20 | fatal: Could not read from remote repository. |
21 | |
22 | Please make sure you have the correct access rights |
23 | and the repository exists. |
24 | |
25 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-antelink |
26 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-antelink |
27 | ssh_exchange_identification: Connection closed by remote host |
28 | fatal: Could not read from remote repository. |
29 | |
30 | Please make sure you have the correct access rights |
31 | and the repository exists. |
32 | |
33 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-dir |
34 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-dir |
35 | ssh_exchange_identification: Connection closed by remote host |
36 | fatal: Could not read from remote repository. |
37 | |
38 | Please make sure you have the correct access rights |
39 | and the repository exists. |
40 | |
41 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-git |
42 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-git |
43 | ssh_exchange_identification: Connection closed by remote host |
44 | fatal: Could not read from remote repository. |
45 | |
46 | Please make sure you have the correct access rights |
47 | and the repository exists. |
48 | |
49 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-lister-github |
50 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-lister-github |
51 | Already up-to-date. |
52 | |
53 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-core |
54 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-core |
55 | From ssh://forge.softwareheritage.org/diffusion/DCORE/swh-core |
56 | 5a2ef92..792cbab master -> origin/master |
57 | Updating 5a2ef92..792cbab |
58 | Fast-forward |
59 | swh/core/__init__.py | 0 |
60 | swh/core/tests/test_utils.py | 77 ++++++++++++++++++++++++++++++++++++++++++++ |
61 | swh/core/utils.py | 55 +++++++++++++++++++++++++++++++ |
62 | 3 files changed, 132 insertions(+) |
63 | create mode 100644 swh/core/__init__.py |
64 | |
65 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/snippets |
66 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/snippets |
67 | Already up-to-date. |
68 | |
69 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-py-template |
70 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-py-template |
71 | ssh_exchange_identification: Connection closed by remote host |
72 | fatal: Could not read from remote repository. |
73 | |
74 | Please make sure you have the correct access rights |
75 | and the repository exists. |
76 | |
77 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-debian |
78 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-debian |
79 | Already up-to-date. |
80 | |
81 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-svn |
82 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-svn |
83 | From ssh://forge.softwareheritage.org/diffusion/DLDSVN/swh-loader-svn |
84 | 1f70eab..a1333e4 master -> origin/master |
85 | f0edff5..6e2ad63 avoid-keyword-expansion -> origin/avoid-keyword-expansion |
86 | * [new branch] avoid-keyword-expansion-with-update -> origin/avoid-keyword-expansion-with-update |
87 | * [new branch] subvertpy -> origin/subvertpy |
88 | * [new tag] v0.0.8 -> v0.0.8 |
89 | * [new tag] git-svn-like-ok -> git-svn-like-ok |
90 | * [new tag] update-ready-again -> update-ready-again |
91 | Updating 1f70eab..a1333e4 |
92 | Fast-forward |
93 | .gitignore | 1 + |
94 | README | 115 +++++++ |
95 | README-dev.org | 8 +- |
96 | bin/hashtree.py | 53 +--- |
97 | debian/control | 7 +- |
98 | docs/comparison-git-svn-swh-svn.org | 348 ++++++++++++++++++++- |
99 | docs/swh-loader-svn.txt | 195 ++++++++++++ |
100 | requirements.txt | 7 +- |
101 | swh/loader/svn/converters.py | 8 +- |
102 | swh/loader/svn/loader.py | 102 +++---- |
103 | swh/loader/svn/ra.py | 516 ++++++++++++++++++++++++++++++++ |
104 | swh/loader/svn/svn.py | 315 ++++++++++--------- |
105 | swh/loader/svn/tasks.py | 14 +- |
106 | swh/loader/svn/tests/test_converters.py | 32 +- |
107 | swh/loader/svn/tests/test_svn.py | 24 -- |
108 | swh/loader/svn/tests/test_utils.py | 96 ++++++ |
109 | swh/loader/svn/utils.py | 123 ++++++++ |
110 | 17 files changed, 1630 insertions(+), 334 deletions(-) |
111 | create mode 100644 README |
112 | create mode 100644 docs/swh-loader-svn.txt |
113 | create mode 100644 swh/loader/svn/ra.py |
114 | delete mode 100644 swh/loader/svn/tests/test_svn.py |
115 | create mode 100644 swh/loader/svn/tests/test_utils.py |
116 | create mode 100644 swh/loader/svn/utils.py |
117 | |
118 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-tar |
119 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-tar |
120 | From ssh://forge.softwareheritage.org/diffusion/DLDTAR/swh-loader-tar |
121 | f590883..48e41a4 master -> origin/master |
122 | * [new tag] v0.0.19 -> v0.0.19 |
123 | * [new tag] v0.0.18 -> v0.0.18 |
124 | Updating f590883..48e41a4 |
125 | Fast-forward |
126 | debian/control | 4 +-- |
127 | requirements.txt | 4 +-- |
128 | swh/loader/tar/build.py | 50 ++++++++++++++++++++------------------ |
129 | swh/loader/tar/loader.py | 20 +++++---------- |
130 | swh/loader/tar/tasks.py | 9 +++---- |
131 | swh/loader/tar/tests/test_build.py | 29 ++++++++++++---------- |
132 | 6 files changed, 56 insertions(+), 60 deletions(-) |
133 | |
134 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-model |
135 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-model |
136 | From ssh://forge.softwareheritage.org/diffusion/DMOD/swh-model |
137 | 9b9ec94..5f7c931 master -> origin/master |
138 | * [new branch] compute-and-walk-with-relative-path -> origin/compute-and-walk-with-relative-path |
139 | * [new tag] v0.0.10 -> v0.0.10 |
140 | * [new tag] v0.0.11 -> v0.0.11 |
141 | Updating 9b9ec94..5f7c931 |
142 | Fast-forward |
143 | swh/model/git.py | 366 +++++++++---------- |
144 | swh/model/tests/test_git.py | 831 +++++++++++++++++++++----------------------- |
145 | 2 files changed, 565 insertions(+), 632 deletions(-) |
146 | |
147 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-scheduler |
148 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-scheduler |
149 | Already up-to-date. |
150 | |
151 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-storage-testdata |
152 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-storage-testdata |
153 | Already up-to-date. |
154 | |
155 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-storage |
156 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-storage |
157 | From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage |
158 | eb8ada4..45eab09 master -> origin/master |
159 | Updating eb8ada4..45eab09 |
160 | Fast-forward |
161 | bin/swh-objstorage-add-dir | 2 +- |
162 | setup.py | 1 + |
163 | swh/storage/checker/checker.py | 97 +++-- |
164 | swh/storage/converters.py | 56 +-- |
165 | swh/storage/objstorage/__init__.py | 5 +- |
166 | swh/storage/objstorage/api/server.py | 13 +- |
167 | swh/storage/objstorage/objstorage.py | 434 +++-------------------- |
168 | swh/storage/objstorage/objstorage_pathslicing.py | 350 ++++++++++++++++++ |
169 | swh/storage/storage.py | 10 +- |
170 | swh/storage/tests/objstorage_testing.py | 70 ++++ |
171 | swh/storage/tests/test_checker.py | 52 ++- |
172 | swh/storage/tests/test_converters.py | 77 ---- |
173 | swh/storage/tests/test_objstorage.py | 163 --------- |
174 | swh/storage/tests/test_objstorage_api.py | 13 +- |
175 | swh/storage/tests/test_objstorage_pathslicing.py | 78 ++++ |
176 | 15 files changed, 689 insertions(+), 732 deletions(-) |
177 | create mode 100644 swh/storage/objstorage/objstorage_pathslicing.py |
178 | create mode 100644 swh/storage/tests/objstorage_testing.py |
179 | delete mode 100644 swh/storage/tests/test_objstorage.py |
180 | create mode 100644 swh/storage/tests/test_objstorage_pathslicing.py |
181 | |
182 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-web-ui |
183 | mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-web-ui |
184 | From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui |
185 | d99ae9c..110ba85 master -> origin/master |
186 | Updating d99ae9c..110ba85 |
187 | Fast-forward |
188 | swh/web/ui/backend.py | 30 +++ |
189 | swh/web/ui/converters.py | 41 +++- |
190 | swh/web/ui/service.py | 59 +++++- |
191 | swh/web/ui/templates/content.html | 5 + |
192 | swh/web/ui/templates/directory.html | 7 +- |
193 | swh/web/ui/templates/entity.html | 5 + |
194 | swh/web/ui/templates/origin.html | 5 + |
195 | swh/web/ui/templates/person.html | 5 + |
196 | swh/web/ui/templates/release.html | 12 +- |
197 | swh/web/ui/templates/revision-directory.html | 23 ++- |
198 | swh/web/ui/templates/revision-log.html | 54 +++++- |
199 | swh/web/ui/templates/revision.html | 29 ++- |
200 | swh/web/ui/tests/test_backend.py | 56 ++++++ |
201 | swh/web/ui/tests/test_converters.py | 138 ++++++++++++++ |
202 | swh/web/ui/tests/test_service.py | 267 +++++++++++++++++++++++++++ |
203 | swh/web/ui/tests/test_utils.py | 94 +++++++++- |
204 | swh/web/ui/tests/views/test_api.py | 143 ++++++++++++++ |
205 | swh/web/ui/tests/views/test_browse.py | 95 ++++++++++ |
206 | swh/web/ui/utils.py | 5 + |
207 | swh/web/ui/views/api.py | 77 ++++++++ |
208 | swh/web/ui/views/browse.py | 59 +++++- |
209 | 21 files changed, 1177 insertions(+), 32 deletions(-) |
210 | |
211 | mr update: finished (11 ok; 7 failed) |
212 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at Jun 13 2016, 2:50 PM · Built instantly
- Status
Passed