Page MenuHomeSoftware Heritage

Build 588

You are viewing an older run of this build. View Current Build

Properties

Buildable
B397: Diff 353
Build Plan
Plan 2 Software Heritage Python tests
Status
Passed

History

Lint

When
Completed at Aug 19 2016, 5:18 PM · Built for 2 s
Status
Passed
1 empty logs are hidden. Show all logs.

Build Log 1953 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1python3 -m flake8 swh bin/swh-storage-add-dir
2

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.

Build Log 1952 (remote - stderr)
25 - 50 - 100 - Unlimited Lines

1W: unknown repository 'swh-environment', you might want to remove it
2W: unknown repository 'swh-loader-vcs', you might want to remove it
3Failure: ImportError (cannot import name 'get_objstorage') ... ERROR
4db_to_author (test_converters.TestConverters) ... ok
5db_to_git_headers (test_converters.TestConverters) ... ok
6db_to_release (test_converters.TestConverters) ... ok
7db_to_revision (test_converters.TestConverters) ... ok
8
9======================================================================
10ERROR: Failure: ImportError (cannot import name 'get_objstorage')
11----------------------------------------------------------------------
12Traceback (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
40ImportError: cannot import name 'get_objstorage'
41
42----------------------------------------------------------------------
43Ran 5 tests in 0.780s
44
45FAILED (errors=1)
46

Update environment from working copy

When
Completed at Aug 19 2016, 5:18 PM · Built for 14 s
Status
Passed

Build Log 1950 (remote - stderr)
25 - 50 - 100 - Unlimited Lines

1mr update: command failed
2

Build Log 1949 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

130 swh/web/ui/renderers.py | 217 ++++-----
131 swh/web/ui/service.py | 30 +-
132 swh/web/ui/templates/api.html | 207 +--------
133 swh/web/ui/templates/apidoc.html | 84 ++++
134 swh/web/ui/templates/origin.html | 2 +-
135 swh/web/ui/tests/test_apidoc.py | 299 +++++++++++++
136 swh/web/ui/tests/test_app.py | 18 +-
137 swh/web/ui/tests/test_backend.py | 14 +-
138 swh/web/ui/tests/test_renderers.py | 270 ++++++------
139 swh/web/ui/tests/test_service.py | 61 +--
140 swh/web/ui/tests/views/test_api.py | 426 ++----------------
141 swh/web/ui/tests/views/test_browse.py | 20 +
142 swh/web/ui/views/api.py | 799 ++++++++++++----------------------
143 swh/web/ui/views/browse.py | 36 +-
144 swh/web/ui/views/errorhandler.py | 8 +-
145 swh/web/ui/views/main.py | 4 -
146 22 files changed, 1288 insertions(+), 1521 deletions(-)
147 create mode 100644 swh/web/ui/templates/apidoc.html
148 create mode 100644 swh/web/ui/tests/test_apidoc.py
149
150mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-storage
151mr update: /home/temp-drydock/drydock/workingcopy-160/repo/swh-environment/swh-storage
152From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage
153 65f1b4f..febdc3a master -> origin/master
154 * [new tag] v0.0.49 -> v0.0.49
155 * [new tag] v0.0.48 -> v0.0.48
156Updating 65f1b4f..febdc3a
157Fast-forward
158 debian/control | 9 ++-
159 debian/rules | 12 +++-
160 docs/vault-blueprint.md | 139 +++++++++++++++++++++++++++++++++++++++
161 requirements.txt | 2 +-
162 sql/swh-func.sql | 75 +++++++++++++++++++--
163 sql/swh-schema.sql | 127 ++++++++++++++++++++++++++++++++++-
164 sql/upgrades/072.sql | 88 +++++++++++++++++++++++++
165 sql/upgrades/073.sql | 48 ++++++++++++++
166 sql/upgrades/074.sql | 112 +++++++++++++++++++++++++++++++
167 swh/storage/archiver/director.py | 29 ++++----
168 swh/storage/archiver/storage.py | 33 ++++++++--
169 swh/storage/db.py | 79 ++++++++++++++++++++--
170 swh/storage/listener.py | 100 ++++++++++++++++++++++++++++
171 13 files changed, 809 insertions(+), 44 deletions(-)
172 create mode 100644 docs/vault-blueprint.md
173 create mode 100644 sql/upgrades/072.sql
174 create mode 100644 sql/upgrades/073.sql
175 create mode 100644 sql/upgrades/074.sql
176 create mode 100644 swh/storage/listener.py
177
178mr update: finished (19 ok; 1 failed)
179

Clone on Software Heritage Worker

When
Completed at Aug 19 2016, 5:17 PM · Built instantly
Status
Passed

Event Timeline