Page MenuHomeSoftware Heritage

Build 367

Properties

Buildable
B248: Diff 216
Build Plan
Plan 2 Software Heritage Python tests
Status
Passed

Lint

When
Completed at Jun 23 2016, 5:21 PM · Built for 3 s
Status
Passed
1 empty logs are hidden. Show all logs.

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

1python3 -m flake8 swh bin/swh-web-ui-dev
2

Python tests

When
Completed at Jun 23 2016, 5:21 PM · Built for 3 s
Status
Passed
1 empty logs are hidden. Show all logs.

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

214lookup_content_raw_not_found (ui.tests.test_service.ServiceTestCase) ... ok
215lookup_content_with_sha1 (ui.tests.test_service.ServiceTestCase) ... ok
216lookup_content_with_sha256 (ui.tests.test_service.ServiceTestCase) ... ok
217lookup_directory (ui.tests.test_service.ServiceTestCase) ... ok
218lookup_directory_bad_checksum (ui.tests.test_service.ServiceTestCase) ... ok
219lookup_directory_not_found (ui.tests.test_service.ServiceTestCase) ... ok
220lookup_directory_through_revision_ko_not_found (ui.tests.test_service.ServiceTestCase) ... ok
221lookup_directory_through_revision_ok_with_content (ui.tests.test_service.ServiceTestCase) ... ok
222lookup_directory_through_revision_ok_with_data (ui.tests.test_service.ServiceTestCase) ... ok
223lookup_directory_with_path_found (ui.tests.test_service.ServiceTestCase) ... ok
224lookup_directory_with_path_not_found (ui.tests.test_service.ServiceTestCase) ... ok
225lookup_directory_with_revision_ko_revision_not_found (ui.tests.test_service.ServiceTestCase) ... ok
226lookup_directory_with_revision_ko_revision_with_path_to_nowhere (ui.tests.test_service.ServiceTestCase) ... ok
227lookup_directory_with_revision_ko_type_not_implemented (ui.tests.test_service.ServiceTestCase) ... ok
228lookup_directory_with_revision_revision_with_path_to_dir (ui.tests.test_service.ServiceTestCase) ... ok
229lookup_directory_with_revision_revision_with_path_to_file_with_data (ui.tests.test_service.ServiceTestCase) ... ok
230lookup_directory_with_revision_revision_with_path_to_file_without_data (ui.tests.test_service.ServiceTestCase) ... ok
231lookup_directory_with_revision_revision_without_path (ui.tests.test_service.ServiceTestCase) ... ok
232lookup_entity_by_uuid (ui.tests.test_service.ServiceTestCase) ... ok
233lookup_hash_does_not_exist (ui.tests.test_service.ServiceTestCase) ... ok
234lookup_hash_exist (ui.tests.test_service.ServiceTestCase) ... ok
235lookup_hash_origin (ui.tests.test_service.ServiceTestCase) ... ok
236lookup_multiple_hashes_ball_missing (ui.tests.test_service.ServiceTestCase) ... ok
237lookup_multiple_hashes_some_missing (ui.tests.test_service.ServiceTestCase) ... ok
238lookup_origin (ui.tests.test_service.ServiceTestCase) ... ok
239lookup_person (ui.tests.test_service.ServiceTestCase) ... ok
240lookup_release (ui.tests.test_service.ServiceTestCase) ... ok
241lookup_release_ko_id_checksum_not_ok_because_not_a_sha1 (ui.tests.test_service.ServiceTestCase) ... ok
242lookup_release_ko_id_checksum_ok_but_not_a_sha1 (ui.tests.test_service.ServiceTestCase) ... ok
243lookup_revision (ui.tests.test_service.ServiceTestCase) ... ok
244lookup_revision_by (ui.tests.test_service.ServiceTestCase) ... ok
245lookup_revision_by_nothing_found (ui.tests.test_service.ServiceTestCase) ... ok
246lookup_revision_invalid_msg (ui.tests.test_service.ServiceTestCase) ... ok
247lookup_revision_log (ui.tests.test_service.ServiceTestCase) ... ok
248lookup_revision_log_by (ui.tests.test_service.ServiceTestCase) ... ok
249lookup_revision_log_by_nolog (ui.tests.test_service.ServiceTestCase) ... ok
250lookup_revision_msg_absent (ui.tests.test_service.ServiceTestCase) ... ok
251lookup_revision_msg_norev (ui.tests.test_service.ServiceTestCase) ... ok
252lookup_revision_msg_ok (ui.tests.test_service.ServiceTestCase) ... ok
253lookup_revision_multiple (ui.tests.test_service.ServiceTestCase) ... ok
254lookup_revision_multiple_none_found (ui.tests.test_service.ServiceTestCase) ... ok
255lookup_revision_through_ko_not_implemented (ui.tests.test_service.ServiceTestCase) ... ok
256lookup_revision_through_with_context (ui.tests.test_service.ServiceTestCase) ... ok
257lookup_revision_through_with_context_by (ui.tests.test_service.ServiceTestCase) ... ok
258lookup_revision_through_with_revision (ui.tests.test_service.ServiceTestCase) ... ok
259lookup_revision_through_with_revision_by (ui.tests.test_service.ServiceTestCase) ... ok
260lookup_revision_with_context (ui.tests.test_service.ServiceTestCase) ... ok
261lookup_revision_with_context_by (ui.tests.test_service.ServiceTestCase) ... ok
262lookup_revision_with_context_by_ko (ui.tests.test_service.ServiceTestCase) ... ok
263lookup_revision_with_context_ko_not_a_sha1_1 (ui.tests.test_service.ServiceTestCase) ... ok
264lookup_revision_with_context_ko_not_a_sha1_2 (ui.tests.test_service.ServiceTestCase) ... ok
265lookup_revision_with_context_ko_root_sha1_git_does_not_exist (ui.tests.test_service.ServiceTestCase) ... ok
266lookup_revision_with_context_ko_sha1_git_does_not_exist (ui.tests.test_service.ServiceTestCase) ... ok
267lookup_revision_with_context_sha1_git_root_already_retrieved_as_dict (ui.tests.test_service.ServiceTestCase) ... ok
268search_hash_does_not_exist (ui.tests.test_service.ServiceTestCase) ... ok
269search_hash_exist (ui.tests.test_service.ServiceTestCase) ... ok
270stat_counters (ui.tests.test_service.ServiceTestCase) ... ok
271test_upload_and_search (ui.tests.test_service.ServiceTestCase) ... ok
272allowed_file_denied (ui.tests.test_upload.UploadTestCase) ... ok
273allowed_file_ok (ui.tests.test_upload.UploadTestCase) ... ok
274cleanup_ok (ui.tests.test_upload.UploadTestCase) ... ok
275cleanup_should_fail (ui.tests.test_upload.UploadTestCase) ... ok
276save_in_upload_folder_file_not_allowed (ui.tests.test_upload.UploadTestCase) ... ok
277save_in_upload_folder_no_file (ui.tests.test_upload.UploadTestCase) ... ok
278save_in_upload_folder_ok (ui.tests.test_upload.UploadTestCase) ... ok
279enrich_content_with_sha1 (ui.tests.test_utils.UtilsTestCase) ... ok
280enrich_content_without_sha1 (ui.tests.test_utils.UtilsTestCase) ... ok
281enrich_directory_no_type (ui.tests.test_utils.UtilsTestCase) ... ok
282enrich_directory_with_context_and_type_dir (ui.tests.test_utils.UtilsTestCase) ... ok
283enrich_directory_with_context_and_type_file (ui.tests.test_utils.UtilsTestCase) ... ok
284enrich_entity_identity (ui.tests.test_utils.UtilsTestCase) ... ok
285enrich_entity_with_sha1 (ui.tests.test_utils.UtilsTestCase) ... ok
286enrich_release_0 (ui.tests.test_utils.UtilsTestCase) ... ok
287enrich_release_1 (ui.tests.test_utils.UtilsTestCase) ... ok
288enrich_release_2 (ui.tests.test_utils.UtilsTestCase) ... ok
289enrich_release_3 (ui.tests.test_utils.UtilsTestCase) ... ok
290enrich_release_4 (ui.tests.test_utils.UtilsTestCase) ... ok
291enrich_revision_with_children_and_parent_no_dir (ui.tests.test_utils.UtilsTestCase) ... ok
292enrich_revision_with_invalid_message (ui.tests.test_utils.UtilsTestCase) ... ok
293enrich_revision_with_no_message (ui.tests.test_utils.UtilsTestCase) ... ok
294enrich_revision_without_children_or_parent (ui.tests.test_utils.UtilsTestCase) ... ok
295filter_endpoints_1 (ui.tests.test_utils.UtilsTestCase) ... ok
296filter_endpoints_2 (ui.tests.test_utils.UtilsTestCase) ... ok
297filter_field_keys_dict (ui.tests.test_utils.UtilsTestCase) ... ok
298filter_field_keys_dict_unknown_keys (ui.tests.test_utils.UtilsTestCase) ... ok
299filter_field_keys_list (ui.tests.test_utils.UtilsTestCase) ... ok
300filter_field_keys_list_unknown_keys (ui.tests.test_utils.UtilsTestCase) ... ok
301filter_field_keys_other (ui.tests.test_utils.UtilsTestCase) ... ok
302fmap (ui.tests.test_utils.UtilsTestCase) ... ok
303parse_timestamp (ui.tests.test_utils.UtilsTestCase) ... ok
304person_to_string (ui.tests.test_utils.UtilsTestCase) ... ok
305prepare_data_for_view (ui.tests.test_utils.UtilsTestCase) ... ok
306prepare_data_for_view_default_encoding (ui.tests.test_utils.UtilsTestCase) ... ok
307prepare_data_for_view_ko_cannot_decode (ui.tests.test_utils.UtilsTestCase) ... ok
308
309----------------------------------------------------------------------
310Ran 307 tests in 1.509s
311
312OK
313

Update environment from working copy

When
Completed at Jun 23 2016, 5:21 PM · Built for 7 s
Status
Passed
1 empty logs are hidden. Show all logs.

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

16mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-core
17mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-core
18Already up-to-date.
19
20mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-debian
21mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-debian
22Already up-to-date.
23
24mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-core
25mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-core
26Already up-to-date.
27
28mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-antelink
29mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-antelink
30Already up-to-date.
31
32mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-dir
33mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-dir
34Already up-to-date.
35
36mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-git
37mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-git
38Already up-to-date.
39
40mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-svn
41mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-svn
42From ssh://forge.softwareheritage.org/diffusion/DLDSVN/swh-loader-svn
43 * [new branch] draft-policy-adaptation -> origin/draft-policy-adaptation
44Already up-to-date.
45
46mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-tar
47mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-tar
48Already up-to-date.
49
50mr checkout: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-objstorage
51mr checkout: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-objstorage
52Cloning into 'swh-objstorage'...
53
54mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-model
55mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-model
56From ssh://forge.softwareheritage.org/diffusion/DMOD/swh-model
57 cec445d..2594832 master -> origin/master
58Updating cec445d..2594832
59Fast-forward
60 bin/git-revhash | 7 +++++++
61 bin/swh-revhash | 31 +++++++++++++++++++++++++++++++
62 2 files changed, 38 insertions(+)
63 create mode 100755 bin/git-revhash
64 create mode 100755 bin/swh-revhash
65
66mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-py-template
67mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-py-template
68Already up-to-date.
69
70mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-scheduler
71mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-scheduler
72Already up-to-date.
73
74mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-storage
75mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-storage
76From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage
77 cbaed54..a623ce8 master -> origin/master
78Updating cbaed54..a623ce8
79Fast-forward
80 setup.py | 2 +
81 swh/storage/objstorage/multiplexer/__init__.py | 4 +
82 .../objstorage/multiplexer/filter/__init__.py | 98 ++++++
83 .../objstorage/multiplexer/filter/filter.py | 48 +++
84 .../objstorage/multiplexer/filter/id_filter.py | 99 ++++++
85 .../multiplexer/filter/read_write_filter.py | 17 +
86 .../multiplexer/multiplexer_objstorage.py | 194 +++++++++++
87 swh/storage/tests/test_multiplexer_filter.py | 373 +++++++++++++++++++++
88 swh/storage/tests/test_objstorage_multiplexer.py | 78 +++++
89 9 files changed, 913 insertions(+)
90 create mode 100644 swh/storage/objstorage/multiplexer/__init__.py
91 create mode 100644 swh/storage/objstorage/multiplexer/filter/__init__.py
92 create mode 100644 swh/storage/objstorage/multiplexer/filter/filter.py
93 create mode 100644 swh/storage/objstorage/multiplexer/filter/id_filter.py
94 create mode 100644 swh/storage/objstorage/multiplexer/filter/read_write_filter.py
95 create mode 100644 swh/storage/objstorage/multiplexer/multiplexer_objstorage.py
96 create mode 100644 swh/storage/tests/test_multiplexer_filter.py
97 create mode 100644 swh/storage/tests/test_objstorage_multiplexer.py
98
99mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-storage-testdata
100mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-storage-testdata
101Already up-to-date.
102
103mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-web-ui
104mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-web-ui
105From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui
106 6003846..2b9a9c6 master -> origin/master
107Updating 6003846..2b9a9c6
108Fast-forward
109 swh/web/ui/backend.py | 17 +++--------------
110 swh/web/ui/templates/upload_and_search.html | 18 +++++++-----------
111 swh/web/ui/tests/test_backend.py | 9 +++------
112 3 files changed, 13 insertions(+), 31 deletions(-)
113
114mr update: finished (19 ok)
115

Clone on Software Heritage Worker

When
Completed at Jun 23 2016, 5:21 PM · Built instantly
Status
Passed

Event Timeline