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
1 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-cloner-git |
---|---|
2 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-cloner-git |
3 | Already up-to-date. |
4 | |
5 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-lister-github |
6 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-lister-github |
7 | Already up-to-date. |
8 | |
9 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-fetcher-googlecode |
10 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-fetcher-googlecode |
11 | Already up-to-date. |
12 | |
13 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/snippets |
14 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/snippets |
15 | From ssh://forge.softwareheritage.org/diffusion/59/code-snippets |
16 | e0cd1e7..38937c9 master -> origin/master |
17 | Updating e0cd1e7..38937c9 |
18 | Fast-forward |
19 | rrd/export-rrd.py | 30 ++++++++++++++++-------------- |
20 | 1 file changed, 16 insertions(+), 14 deletions(-) |
21 | |
22 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-core |
23 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-core |
24 | Already up-to-date. |
25 | |
26 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-git |
27 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-git |
28 | ssh_exchange_identification: Connection closed by remote host |
29 | fatal: Could not read from remote repository. |
30 | |
31 | Please make sure you have the correct access rights |
32 | and the repository exists. |
33 | |
34 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-antelink |
35 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-antelink |
36 | Already up-to-date. |
37 | |
38 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-core |
39 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-core |
40 | Already up-to-date. |
41 | |
42 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-debian |
43 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-debian |
44 | Already up-to-date. |
45 | |
46 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-dir |
47 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-dir |
48 | Already up-to-date. |
49 | |
50 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-svn |
51 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-svn |
52 | From ssh://forge.softwareheritage.org/diffusion/DLDSVN/swh-loader-svn |
53 | f253bda..061e9f6 master -> origin/master |
54 | Updating f253bda..061e9f6 |
55 | Fast-forward |
56 | swh/loader/svn/loader.py | 4 ++-- |
57 | 1 file changed, 2 insertions(+), 2 deletions(-) |
58 | |
59 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-model |
60 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-model |
61 | Already up-to-date. |
62 | |
63 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-tar |
64 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-tar |
65 | Already up-to-date. |
66 | |
67 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-scheduler |
68 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-scheduler |
69 | Already up-to-date. |
70 | |
71 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-py-template |
72 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-py-template |
73 | Already up-to-date. |
74 | |
75 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-storage |
76 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-storage |
77 | From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage |
78 | 68abde3..bed4d47 master -> origin/master |
79 | Updating 68abde3..bed4d47 |
80 | Fast-forward |
81 | swh/storage/api/client.py | 6 + |
82 | swh/storage/api/server.py | 5 + |
83 | swh/storage/objstorage/multiplexer/__init__.py | 4 + |
84 | .../objstorage/multiplexer/filter/__init__.py | 98 ++++++ |
85 | .../objstorage/multiplexer/filter/filter.py | 48 +++ |
86 | .../objstorage/multiplexer/filter/id_filter.py | 99 ++++++ |
87 | .../multiplexer/filter/read_write_filter.py | 17 + |
88 | .../multiplexer/multiplexer_objstorage.py | 166 +++++++++ |
89 | swh/storage/storage.py | 40 ++- |
90 | swh/storage/tests/test_multiplexer_filter.py | 373 +++++++++++++++++++++ |
91 | swh/storage/tests/test_objstorage_multiplexer.py | 78 +++++ |
92 | swh/storage/tests/test_storage.py | 65 ++++ |
93 | 12 files changed, 987 insertions(+), 12 deletions(-) |
94 | create mode 100644 swh/storage/objstorage/multiplexer/__init__.py |
95 | create mode 100644 swh/storage/objstorage/multiplexer/filter/__init__.py |
96 | create mode 100644 swh/storage/objstorage/multiplexer/filter/filter.py |
97 | create mode 100644 swh/storage/objstorage/multiplexer/filter/id_filter.py |
98 | create mode 100644 swh/storage/objstorage/multiplexer/filter/read_write_filter.py |
99 | create mode 100644 swh/storage/objstorage/multiplexer/multiplexer_objstorage.py |
100 | create mode 100644 swh/storage/tests/test_multiplexer_filter.py |
101 | create mode 100644 swh/storage/tests/test_objstorage_multiplexer.py |
102 | |
103 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-storage-testdata |
104 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-storage-testdata |
105 | Already up-to-date. |
106 | |
107 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-web-ui |
108 | mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-web-ui |
109 | From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui |
110 | 6003846..2b9a9c6 master -> origin/master |
111 | Updating 6003846..2b9a9c6 |
112 | Fast-forward |
113 | swh/web/ui/backend.py | 17 +++-------------- |
114 | swh/web/ui/templates/upload_and_search.html | 18 +++++++----------- |
115 | swh/web/ui/tests/test_backend.py | 9 +++------ |
116 | 3 files changed, 13 insertions(+), 31 deletions(-) |
117 | |
118 | mr update: finished (17 ok; 1 failed) |
119 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at Jun 21 2016, 2:38 PM · Built instantly
- Status
Passed