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.
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 | check_invalid_content (test_checker.TestChecker) ... ok |
4 | check_valid_content (test_checker.TestChecker) ... ok |
5 | repair_content_missing (test_checker.TestChecker) ... ok |
6 | repair_content_present_distributed (test_checker.TestChecker) ... ok |
7 | repair_content_present_first (test_checker.TestChecker) ... ok |
8 | repair_content_present_second (test_checker.TestChecker) ... ok |
9 | db_to_author (test_converters.TestConverters) ... ok |
10 | db_to_git_headers (test_converters.TestConverters) ... ok |
11 | db_to_release (test_converters.TestConverters) ... ok |
12 | db_to_revision (test_converters.TestConverters) ... ok |
13 | Failure: ImportError (cannot import name 'add_filter') ... ERROR |
14 | add_get_w_id (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
15 | add_get_wo_id (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
16 | check_id_mismatch (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
17 | check_missing (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
18 | check_not_gzip (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
19 | check_present (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
20 | contains (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
21 | get_missing (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
22 | get_random_contents (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
23 | iter (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
24 | len (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
25 | restore_content (test_objstorage_pathslicing.TestpathSlicingObjStorage) ... ok |
26 | |
27 | ====================================================================== |
28 | ERROR: Failure: ImportError (cannot import name 'add_filter') |
29 | ---------------------------------------------------------------------- |
30 | Traceback (most recent call last): |
31 | File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest |
32 | raise self.exc_val.with_traceback(self.tb) |
33 | File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName |
34 | addr.filename, addr.module) |
35 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath |
36 | return self.importFromDir(dir_path, fqname) |
37 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir |
38 | mod = load_module(part_fqname, fh, filename, desc) |
39 | File "/usr/lib/python3.4/imp.py", line 235, in load_module |
40 | return load_source(name, filename, file) |
41 | File "/usr/lib/python3.4/imp.py", line 171, in load_source |
42 | module = methods.load() |
43 | File "<frozen importlib._bootstrap>", line 1220, in load |
44 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked |
45 | File "<frozen importlib._bootstrap>", line 1129, in _exec |
46 | File "<frozen importlib._bootstrap>", line 1471, in exec_module |
47 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed |
48 | File "/home/temp-drydock/drydock/workingcopy-154/repo/swh-storage/swh/storage/tests/test_objstorage_multiplexer.py", line 13, in <module> |
49 | from swh.storage.objstorage.multiplexer.filter import add_filter, read_only |
50 | ImportError: cannot import name 'add_filter' |
51 | |
52 | ---------------------------------------------------------------------- |
53 | Ran 23 tests in 0.541s |
54 | |
55 | FAILED (errors=1) |
56 |
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
19 | 1 file changed, 16 insertions(+), 14 deletions(-) |
---|---|
20 | |
21 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-core |
22 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-core |
23 | Already up-to-date. |
24 | |
25 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-git |
26 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-git |
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-154/repo/swh-environment/swh-loader-antelink |
34 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-antelink |
35 | Already up-to-date. |
36 | |
37 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-core |
38 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-core |
39 | Already up-to-date. |
40 | |
41 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-debian |
42 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-debian |
43 | Already up-to-date. |
44 | |
45 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-dir |
46 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-dir |
47 | Already up-to-date. |
48 | |
49 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-svn |
50 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-svn |
51 | From ssh://forge.softwareheritage.org/diffusion/DLDSVN/swh-loader-svn |
52 | f253bda..061e9f6 master -> origin/master |
53 | Updating f253bda..061e9f6 |
54 | Fast-forward |
55 | swh/loader/svn/loader.py | 4 ++-- |
56 | 1 file changed, 2 insertions(+), 2 deletions(-) |
57 | |
58 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-model |
59 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-model |
60 | Already up-to-date. |
61 | |
62 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-tar |
63 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-tar |
64 | Already up-to-date. |
65 | |
66 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-scheduler |
67 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-scheduler |
68 | Already up-to-date. |
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