Properties
Properties
- Buildable
- B397: Diff 353
- Build Plan
- Plan 2 Software Heritage Python tests
- Status
Passed
Lint
Lint
- When
- Completed at Aug 19 2016, 5:18 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 |
---|---|
2 |
Python tests
Python tests
- When
- Completed at Aug 19 2016, 5:18 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 'get_objstorage') ... 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 | |
9 | ====================================================================== |
10 | ERROR: Failure: ImportError (cannot import name 'get_objstorage') |
11 | ---------------------------------------------------------------------- |
12 | Traceback (most recent call last): |
13 | File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest |
14 | raise self.exc_val.with_traceback(self.tb) |
15 | File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName |
16 | addr.filename, addr.module) |
17 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath |
18 | return self.importFromDir(dir_path, fqname) |
19 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir |
20 | mod = load_module(part_fqname, fh, filename, desc) |
21 | File "/usr/lib/python3.4/imp.py", line 235, in load_module |
22 | return load_source(name, filename, file) |
23 | File "/usr/lib/python3.4/imp.py", line 171, in load_source |
24 | module = methods.load() |
25 | File "<frozen importlib._bootstrap>", line 1220, in load |
26 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked |
27 | File "<frozen importlib._bootstrap>", line 1129, in _exec |
28 | File "<frozen importlib._bootstrap>", line 1471, in exec_module |
29 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed |
30 | File "/home/temp-drydock/drydock/workingcopy-160/repo/swh-storage/swh/storage/tests/test_archiver.py", line 19, in <module> |
31 | from swh.storage.archiver import ArchiverDirector, ArchiverWorker |
32 | File "/home/temp-drydock/drydock/workingcopy-160/repo/swh-storage/swh/storage/archiver/__init__.py", line 1, in <module> |
33 | from .director import ArchiverDirector # NOQA |
34 | File "/home/temp-drydock/drydock/workingcopy-160/repo/swh-storage/swh/storage/archiver/director.py", line 9, in <module> |
35 | from . import tasks # NOQA |
36 | File "/home/temp-drydock/drydock/workingcopy-160/repo/swh-storage/swh/storage/archiver/tasks.py", line 7, in <module> |
37 | from .worker import ArchiverWorker |
38 | File "/home/temp-drydock/drydock/workingcopy-160/repo/swh-storage/swh/storage/archiver/worker.py", line 14, in <module> |
39 | from swh.objstorage import get_objstorage |
40 | ImportError: cannot import name 'get_objstorage' |
41 | |
42 | ---------------------------------------------------------------------- |
43 | Ran 5 tests in 0.780s |
44 | |
45 | FAILED (errors=1) |
46 |
Update environment from working copy
Update environment from working copy
- When
- Completed at Aug 19 2016, 5:18 PM · Built for 14 s
- Status
Passed
1 | mr checkout: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-journal |
---|---|
2 | mr checkout: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-journal |
3 | Cloning into 'swh-journal'... |
4 | |
5 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-cloner-git |
6 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-cloner-git |
7 | Already up-to-date. |
8 | |
9 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-core |
10 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-core |
11 | From ssh://forge.softwareheritage.org/diffusion/DCORE/swh-core |
12 | 6a54576..0a7abb5 master -> origin/master |
13 | * [new tag] v0.0.22 -> v0.0.22 |
14 | Updating 6a54576..0a7abb5 |
15 | Fast-forward |
16 | debian/control | 1 + |
17 | requirements.txt | 1 + |
18 | swh/core/config.py | 14 +++++++++++++- |
19 | swh/core/tests/test_config.py | 6 +++++- |
20 | 4 files changed, 20 insertions(+), 2 deletions(-) |
21 | |
22 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-fetcher-googlecode |
23 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-fetcher-googlecode |
24 | Already up-to-date. |
25 | |
26 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/snippets |
27 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/snippets |
28 | From ssh://forge.softwareheritage.org/diffusion/59/code-snippets |
29 | f798ad6..a646b3e master -> origin/master |
30 | Updating f798ad6..a646b3e |
31 | Fast-forward |
32 | zack/origins-by-visit.sql | 3 +++ |
33 | zack/update-tasks-by-interval.sql | 22 ++++++++++++++++++++++ |
34 | 2 files changed, 25 insertions(+) |
35 | create mode 100644 zack/update-tasks-by-interval.sql |
36 | |
37 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-lister-github |
38 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-lister-github |
39 | Already up-to-date. |
40 | |
41 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-loader-antelink |
42 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-loader-antelink |
43 | Already up-to-date. |
44 | |
45 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-loader-core |
46 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-loader-core |
47 | Already up-to-date. |
48 | |
49 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-loader-debian |
50 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-loader-debian |
51 | Already up-to-date. |
52 | |
53 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-loader-dir |
54 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-loader-dir |
55 | Already up-to-date. |
56 | |
57 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-loader-git |
58 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-loader-git |
59 | From ssh://forge.softwareheritage.org/diffusion/DLDG/swh-loader-git |
60 | 451176b..0ebc381 master -> origin/master |
61 | Updating 451176b..0ebc381 |
62 | Fast-forward |
63 | swh/loader/git/converters.py | 5 +++-- |
64 | 1 file changed, 3 insertions(+), 2 deletions(-) |
65 | |
66 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-model |
67 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-model |
68 | Already up-to-date. |
69 | |
70 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-loader-svn |
71 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-loader-svn |
72 | From ssh://forge.softwareheritage.org/diffusion/DLDSVN/swh-loader-svn |
73 | 837fbc1..134385e reschedule-svn-failed-task -> origin/reschedule-svn-failed-task |
74 | * [new tag] v0.0.12 -> v0.0.12 |
75 | * [new tag] v0.0.13 -> v0.0.13 |
76 | Already up-to-date. |
77 | |
78 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-objstorage |
79 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-objstorage |
80 | From ssh://forge.softwareheritage.org/diffusion/DOBJS/swh-objstorage |
81 | 38d4238..b8b6e1c master -> origin/master |
82 | * [new tag] v0.0.2 -> v0.0.2 |
83 | |
84 | *** Please tell me who you are. |
85 | |
86 | Run |
87 | |
88 | git config --global user.email "you@example.com" |
89 | git config --global user.name "Your Name" |
90 | |
91 | to set your account's default identity. |
92 | Omit --global to set the identity only in this repository. |
93 | |
94 | fatal: empty ident name (for <temp-drydock@worker01.softwareheritage.org>) not allowed |
95 | |
96 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-loader-tar |
97 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-loader-tar |
98 | From ssh://forge.softwareheritage.org/diffusion/DLDTAR/swh-loader-tar |
99 | 48e41a4..e777e55 master -> origin/master |
100 | * [new tag] v0.0.20 -> v0.0.20 |
101 | Updating 48e41a4..e777e55 |
102 | Fast-forward |
103 | debian/control | 4 ++-- |
104 | requirements.txt | 4 ++-- |
105 | 2 files changed, 4 insertions(+), 4 deletions(-) |
106 | |
107 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-py-template |
108 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-py-template |
109 | Already up-to-date. |
110 | |
111 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-scheduler |
112 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-scheduler |
113 | Already up-to-date. |
114 | |
115 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-storage-testdata |
116 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-storage-testdata |
117 | Already up-to-date. |
118 | |
119 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-web-ui |
120 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-web-ui |
121 | From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui |
122 | a4607b8..584302f master -> origin/master |
123 | Updating a4607b8..584302f |
124 | Fast-forward |
125 | debian/control | 2 +- |
126 | resources/test/webapp.ini | 4 +- |
127 | swh/web/ui/apidoc.py | 270 ++++++++++-- |
128 | swh/web/ui/backend.py | 8 +- |
129 | swh/web/ui/converters.py | 2 + |
130 | swh/web/ui/main.py | 28 +- |
131 | swh/web/ui/renderers.py | 217 ++++----- |
132 | swh/web/ui/service.py | 30 +- |
133 | swh/web/ui/templates/api.html | 207 +-------- |
134 | swh/web/ui/templates/apidoc.html | 84 ++++ |
135 | swh/web/ui/templates/origin.html | 2 +- |
136 | swh/web/ui/tests/test_apidoc.py | 299 +++++++++++++ |
137 | swh/web/ui/tests/test_app.py | 18 +- |
138 | swh/web/ui/tests/test_backend.py | 14 +- |
139 | swh/web/ui/tests/test_renderers.py | 270 ++++++------ |
140 | swh/web/ui/tests/test_service.py | 61 +-- |
141 | swh/web/ui/tests/views/test_api.py | 426 ++---------------- |
142 | swh/web/ui/tests/views/test_browse.py | 20 + |
143 | swh/web/ui/views/api.py | 799 ++++++++++++---------------------- |
144 | swh/web/ui/views/browse.py | 36 +- |
145 | swh/web/ui/views/errorhandler.py | 8 +- |
146 | swh/web/ui/views/main.py | 4 - |
147 | 22 files changed, 1288 insertions(+), 1521 deletions(-) |
148 | create mode 100644 swh/web/ui/templates/apidoc.html |
149 | create mode 100644 swh/web/ui/tests/test_apidoc.py |
150 | |
151 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-storage |
152 | mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-storage |
153 | From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage |
154 | 65f1b4f..febdc3a master -> origin/master |
155 | * [new tag] v0.0.49 -> v0.0.49 |
156 | * [new tag] v0.0.48 -> v0.0.48 |
157 | Updating 65f1b4f..febdc3a |
158 | Fast-forward |
159 | debian/control | 9 ++- |
160 | debian/rules | 12 +++- |
161 | docs/vault-blueprint.md | 139 +++++++++++++++++++++++++++++++++++++++ |
162 | requirements.txt | 2 +- |
163 | sql/swh-func.sql | 75 +++++++++++++++++++-- |
164 | sql/swh-schema.sql | 127 ++++++++++++++++++++++++++++++++++- |
165 | sql/upgrades/072.sql | 88 +++++++++++++++++++++++++ |
166 | sql/upgrades/073.sql | 48 ++++++++++++++ |
167 | sql/upgrades/074.sql | 112 +++++++++++++++++++++++++++++++ |
168 | swh/storage/archiver/director.py | 29 ++++---- |
169 | swh/storage/archiver/storage.py | 33 ++++++++-- |
170 | swh/storage/db.py | 79 ++++++++++++++++++++-- |
171 | swh/storage/listener.py | 100 ++++++++++++++++++++++++++++ |
172 | 13 files changed, 809 insertions(+), 44 deletions(-) |
173 | create mode 100644 docs/vault-blueprint.md |
174 | create mode 100644 sql/upgrades/072.sql |
175 | create mode 100644 sql/upgrades/073.sql |
176 | create mode 100644 sql/upgrades/074.sql |
177 | create mode 100644 swh/storage/listener.py |
178 | |
179 | mr update: finished (19 ok; 1 failed) |
180 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at Aug 19 2016, 5:17 PM · Built instantly
- Status
Passed