Properties
Properties
- Buildable
- B225: rDSTO17bd1a38d419: objstorage.multiplexer.filter: Implement the multiplexer filter mecanism
- Build Plan
- Plan 2 Software Heritage Python tests
- Status
Failed
Lint
Lint
- When
- Completed at Jun 21 2016, 2:38 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 bin/swh-objstorage-fsck bin/swh-objstorage-add-dir |
---|---|
2 |
Python tests
Python tests
- When
- Completed at Jun 21 2016, 2:38 PM · Built for 1 s
- Status
Failed
1 empty logs are hidden. Show all logs.
6 | repair_content_present_first (test_checker.TestChecker) ... ok |
---|---|
7 | repair_content_present_second (test_checker.TestChecker) ... ok |
8 | db_to_author (test_converters.TestConverters) ... ok |
9 | db_to_git_headers (test_converters.TestConverters) ... ok |
10 | db_to_release (test_converters.TestConverters) ... ok |
11 | db_to_revision (test_converters.TestConverters) ... ok |
12 | Failure: ImportError (cannot import name 'add_filter') ... ERROR |
13 | add_get_w_id (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
14 | add_get_wo_id (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
15 | check_id_mismatch (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
16 | check_missing (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
17 | check_not_gzip (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
18 | check_present (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
19 | contains (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
20 | get_missing (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
21 | get_random_contents (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
22 | iter (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
23 | len (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
24 | restore_content (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
25 | |
26 | ====================================================================== |
27 | ERROR: Failure: ImportError (cannot import name 'add_filter') |
28 | ---------------------------------------------------------------------- |
29 | Traceback (most recent call last): |
30 | File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest |
31 | raise self.exc_val.with_traceback(self.tb) |
32 | File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName |
33 | addr.filename, addr.module) |
34 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath |
35 | return self.importFromDir(dir_path, fqname) |
36 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir |
37 | mod = load_module(part_fqname, fh, filename, desc) |
38 | File "/usr/lib/python3.4/imp.py", line 235, in load_module |
39 | return load_source(name, filename, file) |
40 | File "/usr/lib/python3.4/imp.py", line 171, in load_source |
41 | module = methods.load() |
42 | File "<frozen importlib._bootstrap>", line 1220, in load |
43 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked |
44 | File "<frozen importlib._bootstrap>", line 1129, in _exec |
45 | File "<frozen importlib._bootstrap>", line 1471, in exec_module |
46 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed |
47 | File "/home/temp-drydock/drydock/workingcopy-154/repo/swh-storage/swh/storage/tests/test_objstorage_multiplexer.py", line 13, in <module> |
48 | from swh.storage.objstorage.multiplexer.filter import add_filter, read_only |
49 | ImportError: cannot import name 'add_filter' |
50 | |
51 | ---------------------------------------------------------------------- |
52 | Ran 23 tests in 0.541s |
53 | |
54 | FAILED (errors=1) |
55 |
Update environment from working copy
Update environment from working copy
- When
- Completed at Jun 21 2016, 2:38 PM · Built for 24 s
- Status
Passed
69 | |
---|---|
70 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-py-template |
71 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-py-template |
72 | Already up-to-date. |
73 | |
74 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-storage |
75 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-storage |
76 | From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage |
77 | 68abde3..bed4d47 master -> origin/master |
78 | Updating 68abde3..bed4d47 |
79 | Fast-forward |
80 | swh/storage/api/client.py | 6 + |
81 | swh/storage/api/server.py | 5 + |
82 | swh/storage/objstorage/multiplexer/__init__.py | 4 + |
83 | .../objstorage/multiplexer/filter/__init__.py | 98 ++++++ |
84 | .../objstorage/multiplexer/filter/filter.py | 48 +++ |
85 | .../objstorage/multiplexer/filter/id_filter.py | 99 ++++++ |
86 | .../multiplexer/filter/read_write_filter.py | 17 + |
87 | .../multiplexer/multiplexer_objstorage.py | 166 +++++++++ |
88 | swh/storage/storage.py | 40 ++- |
89 | swh/storage/tests/test_multiplexer_filter.py | 373 +++++++++++++++++++++ |
90 | swh/storage/tests/test_objstorage_multiplexer.py | 78 +++++ |
91 | swh/storage/tests/test_storage.py | 65 ++++ |
92 | 12 files changed, 987 insertions(+), 12 deletions(-) |
93 | create mode 100644 swh/storage/objstorage/multiplexer/__init__.py |
94 | create mode 100644 swh/storage/objstorage/multiplexer/filter/__init__.py |
95 | create mode 100644 swh/storage/objstorage/multiplexer/filter/filter.py |
96 | create mode 100644 swh/storage/objstorage/multiplexer/filter/id_filter.py |
97 | create mode 100644 swh/storage/objstorage/multiplexer/filter/read_write_filter.py |
98 | create mode 100644 swh/storage/objstorage/multiplexer/multiplexer_objstorage.py |
99 | create mode 100644 swh/storage/tests/test_multiplexer_filter.py |
100 | create mode 100644 swh/storage/tests/test_objstorage_multiplexer.py |
101 | |
102 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-storage-testdata |
103 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-storage-testdata |
104 | Already up-to-date. |
105 | |
106 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-web-ui |
107 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-web-ui |
108 | From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui |
109 | 6003846..2b9a9c6 master -> origin/master |
110 | Updating 6003846..2b9a9c6 |
111 | Fast-forward |
112 | swh/web/ui/backend.py | 17 +++-------------- |
113 | swh/web/ui/templates/upload_and_search.html | 18 +++++++----------- |
114 | swh/web/ui/tests/test_backend.py | 9 +++------ |
115 | 3 files changed, 13 insertions(+), 31 deletions(-) |
116 | |
117 | mr update: finished (17 ok; 1 failed) |
118 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at Jun 21 2016, 2:38 PM · Built instantly
- Status
Passed