Properties
Properties
- Buildable
- B484: rDSTOee4ecd7af9a5: archiver: Unify configuration file between director/worker
- Build Plan
- Plan 2 Software Heritage Python tests
- Status
Failed
Lint
Lint
- When
- Completed at Sep 20 2016, 5:08 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 20 2016, 5:08 PM · Built for 3 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 (cannot import name 'register_objstorages') ... 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 (cannot import name 'register_objstorages') |
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-173/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-173/repo/swh-storage/swh/storage/archiver/__init__.py", line 6, in <module> |
32 | from swh.objstorage import register_objstorages |
33 | ImportError: cannot import name 'register_objstorages' |
34 | |
35 | ---------------------------------------------------------------------- |
36 | Ran 5 tests in 1.007s |
37 | |
38 | FAILED (errors=1) |
39 |
Update environment from working copy
Update environment from working copy
- When
- Completed at Sep 20 2016, 5:08 PM · Built for 26 s
- Status
Passed
87 | |
---|---|
88 | mr update: /home/temp-drydock/drydock/workingcopy-173/repo/swh-environment/swh-storage |
89 | mr update: /home/temp-drydock/drydock/workingcopy-173/repo/swh-environment/swh-storage |
90 | From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage |
91 | 791444a..189e9c1 master -> origin/master |
92 | * [new tag] v0.0.60 -> v0.0.60 |
93 | * [new tag] v0.0.56 -> v0.0.56 |
94 | * [new tag] v0.0.57 -> v0.0.57 |
95 | * [new tag] v0.0.58 -> v0.0.58 |
96 | * [new tag] v0.0.59 -> v0.0.59 |
97 | Updating 791444a..189e9c1 |
98 | Fast-forward |
99 | debian/control | 7 +- |
100 | requirements.txt | 3 +- |
101 | sql/archiver/Makefile | 3 +- |
102 | sql/archiver/swh-archiver-func.sql | 31 +++++ |
103 | sql/archiver/upgrades/003.sql | 3 +- |
104 | sql/archiver/upgrades/004.sql | 32 +++++ |
105 | sql/swh-func.sql | 41 +++--- |
106 | sql/swh-schema.sql | 14 +- |
107 | sql/upgrades/080.sql | 6 +- |
108 | sql/upgrades/081.sql | 22 +++ |
109 | sql/upgrades/082.sql | 86 ++++++++++++ |
110 | swh/storage/api/client.py | 5 +- |
111 | swh/storage/api/server.py | 5 +- |
112 | swh/storage/archiver/__init__.py | 9 +- |
113 | swh/storage/archiver/copier.py | 9 +- |
114 | swh/storage/archiver/db.py | 31 ++++- |
115 | swh/storage/archiver/director.py | 75 ++++++---- |
116 | swh/storage/archiver/storage.py | 23 +++- |
117 | swh/storage/archiver/worker.py | 109 ++++++--------- |
118 | swh/storage/db.py | 274 ++++++------------------------------- |
119 | swh/storage/storage.py | 4 +- |
120 | swh/storage/tests/test_archiver.py | 31 +++-- |
121 | swh/storage/tests/test_storage.py | 93 ++++--------- |
122 | 23 files changed, 464 insertions(+), 452 deletions(-) |
123 | create mode 100644 sql/archiver/swh-archiver-func.sql |
124 | create mode 100644 sql/upgrades/081.sql |
125 | create mode 100644 sql/upgrades/082.sql |
126 | |
127 | mr update: /home/temp-drydock/drydock/workingcopy-173/repo/swh-environment/swh-web-ui |
128 | mr update: /home/temp-drydock/drydock/workingcopy-173/repo/swh-environment/swh-web-ui |
129 | Already up-to-date. |
130 | |
131 | mr update: /home/temp-drydock/drydock/workingcopy-173/repo/swh-environment/swh-storage-testdata |
132 | mr update: /home/temp-drydock/drydock/workingcopy-173/repo/swh-environment/swh-storage-testdata |
133 | Already up-to-date. |
134 | |
135 | mr update: finished (19 ok; 1 failed) |
136 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at Sep 20 2016, 5:07 PM · Built instantly
- Status
Passed