Properties
Properties
- Buildable
- B247: Diff 215
- Build Plan
- Plan 2 Software Heritage Python tests
- Status
Failed
Lint
Lint
- When
- Completed at Jun 23 2016, 5:02 PM · Built for 3 s
- Status
Passed
1 empty logs are hidden. Show all logs.
1 | python3 -m flake8 swh bin/swh-web-ui-dev |
---|---|
2 |
Python tests
Python tests
- When
- Completed at Jun 23 2016, 5:02 PM · Built for 3 s
- Status
Failed
1 empty logs are hidden. Show all logs.
263 | lookup_revision_with_context_ko_not_a_sha1_1 (ui.tests.test_service.ServiceTestCase) ... ok |
---|---|
264 | lookup_revision_with_context_ko_not_a_sha1_2 (ui.tests.test_service.ServiceTestCase) ... ok |
265 | lookup_revision_with_context_ko_root_sha1_git_does_not_exist (ui.tests.test_service.ServiceTestCase) ... ok |
266 | lookup_revision_with_context_ko_sha1_git_does_not_exist (ui.tests.test_service.ServiceTestCase) ... ok |
267 | lookup_revision_with_context_sha1_git_root_already_retrieved_as_dict (ui.tests.test_service.ServiceTestCase) ... ok |
268 | search_hash_does_not_exist (ui.tests.test_service.ServiceTestCase) ... ok |
269 | search_hash_exist (ui.tests.test_service.ServiceTestCase) ... ok |
270 | stat_counters (ui.tests.test_service.ServiceTestCase) ... ok |
271 | test_upload_and_search (ui.tests.test_service.ServiceTestCase) ... ok |
272 | allowed_file_denied (ui.tests.test_upload.UploadTestCase) ... ok |
273 | allowed_file_ok (ui.tests.test_upload.UploadTestCase) ... ok |
274 | cleanup_ok (ui.tests.test_upload.UploadTestCase) ... ok |
275 | cleanup_should_fail (ui.tests.test_upload.UploadTestCase) ... ok |
276 | save_in_upload_folder_file_not_allowed (ui.tests.test_upload.UploadTestCase) ... ok |
277 | save_in_upload_folder_no_file (ui.tests.test_upload.UploadTestCase) ... ok |
278 | save_in_upload_folder_ok (ui.tests.test_upload.UploadTestCase) ... ok |
279 | enrich_content_with_sha1 (ui.tests.test_utils.UtilsTestCase) ... ok |
280 | enrich_content_without_sha1 (ui.tests.test_utils.UtilsTestCase) ... ok |
281 | enrich_directory_no_type (ui.tests.test_utils.UtilsTestCase) ... ok |
282 | enrich_directory_with_context_and_type_dir (ui.tests.test_utils.UtilsTestCase) ... ok |
283 | enrich_directory_with_context_and_type_file (ui.tests.test_utils.UtilsTestCase) ... ok |
284 | enrich_entity_identity (ui.tests.test_utils.UtilsTestCase) ... ok |
285 | enrich_entity_with_sha1 (ui.tests.test_utils.UtilsTestCase) ... ok |
286 | enrich_release_0 (ui.tests.test_utils.UtilsTestCase) ... ok |
287 | enrich_release_1 (ui.tests.test_utils.UtilsTestCase) ... ok |
288 | enrich_release_2 (ui.tests.test_utils.UtilsTestCase) ... ok |
289 | enrich_release_3 (ui.tests.test_utils.UtilsTestCase) ... ok |
290 | enrich_release_4 (ui.tests.test_utils.UtilsTestCase) ... ok |
291 | enrich_revision_with_children_and_parent_no_dir (ui.tests.test_utils.UtilsTestCase) ... ok |
292 | enrich_revision_with_invalid_message (ui.tests.test_utils.UtilsTestCase) ... ok |
293 | enrich_revision_with_no_message (ui.tests.test_utils.UtilsTestCase) ... ok |
294 | enrich_revision_without_children_or_parent (ui.tests.test_utils.UtilsTestCase) ... ok |
295 | filter_endpoints_1 (ui.tests.test_utils.UtilsTestCase) ... ok |
296 | filter_endpoints_2 (ui.tests.test_utils.UtilsTestCase) ... ok |
297 | filter_field_keys_dict (ui.tests.test_utils.UtilsTestCase) ... ok |
298 | filter_field_keys_dict_unknown_keys (ui.tests.test_utils.UtilsTestCase) ... ok |
299 | filter_field_keys_list (ui.tests.test_utils.UtilsTestCase) ... ok |
300 | filter_field_keys_list_unknown_keys (ui.tests.test_utils.UtilsTestCase) ... ok |
301 | filter_field_keys_other (ui.tests.test_utils.UtilsTestCase) ... ok |
302 | fmap (ui.tests.test_utils.UtilsTestCase) ... ok |
303 | parse_timestamp (ui.tests.test_utils.UtilsTestCase) ... ok |
304 | person_to_string (ui.tests.test_utils.UtilsTestCase) ... ok |
305 | prepare_data_for_view (ui.tests.test_utils.UtilsTestCase) ... ok |
306 | prepare_data_for_view_default_encoding (ui.tests.test_utils.UtilsTestCase) ... ok |
307 | prepare_data_for_view_ko_cannot_decode (ui.tests.test_utils.UtilsTestCase) ... ok |
308 | |
309 | ====================================================================== |
310 | FAIL: api_revision_log_context (ui.tests.views.test_api.ApiTestCase) |
311 | ---------------------------------------------------------------------- |
312 | Traceback (most recent call last): |
313 | File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched |
314 | return func(*args, **keywargs) |
315 | File "/home/temp-drydock/drydock/workingcopy-164/repo/swh-web-ui/swh/web/ui/tests/views/test_api.py", line 1552, in api_revision_log_context |
316 | 'synthetic': True, |
317 | AssertionError: Lists differ: [{'type': 'tar', 'directory_url': '/api/1/directory/18d8be3[1526 chars]ge'}] != [{'type': 'tar', 'synthetic': True, 'directory_url': '/api/[1520 chars]ge'}] |
318 | |
319 | First differing element 0: |
320 | {'type': 'tar', 'directory_url': '/api/1/directory/18d8be353ed3480476f032475e7c233eff7371d5/', 'id': '7834ef7e7c357ce2af928115c6c6a42b7e2a44e6', 'author_email': 'name@surname.com', 'author_name': 'Name Surname', 'committer_date_offset': 0, 'date_offset': 0, 'committer_email': 'name@surname.com', 'committer_name': 'Name Surname', 'parents': ['adc83b19e793491b1c6ea0fd8b46cd9f32e592fc'], 'url': '/api/1/revision/7834ef7e7c357ce2af928115c6c6a42b7e2a44e6/', 'history_url': '/api/1/revision/7834ef7e7c357ce2af928115c6c6a42b7e2a44e6/log/', 'directory': '18d8be353ed3480476f032475e7c233eff7371d5', 'synthetic': True, 'parent_urls': ['/api/1/revision/7834ef7e7c357ce2af928115c6c6a42b7e2a44e6/history/adc83b19e793491b1c6ea0fd8b46cd9f32e592fc/'], 'message': 'amazing revision message'} |
321 | {'type': 'tar', 'synthetic': True, 'directory_url': '/api/1/directory/18d8be353ed3480476f032475e7c233eff7371d5/', 'committer_email': 'name@surname.com', 'parents': ['adc83b19e793491b1c6ea0fd8b46cd9f32e592fc'], 'committer_date_offset': 0, 'author_name': 'Name Surname', 'author_email': 'name@surname.com', 'committer_name': 'Name Surname', 'date_offset': 0, 'id': '7834ef7e7c357ce2af928115c6c6a42b7e2a44e6', 'history_url': '/api/1/revision/7834ef7e7c357ce2af928115c6c6a42b7e2a44e6/log/', 'directory': '18d8be353ed3480476f032475e7c233eff7371d5', 'parent_urls': ['/api/1/revision/adc83b19e793491b1c6ea0fd8b46cd9f32e592fc/prev/7834ef7e7c357ce2af928115c6c6a42b7e2a44e6/'], 'url': '/api/1/revision/7834ef7e7c357ce2af928115c6c6a42b7e2a44e6/', 'message': 'amazing revision message'} |
322 | |
323 | [{'author_email': 'name@surname.com', |
324 | 'author_name': 'Name Surname', |
325 | 'committer_date_offset': 0, |
326 | 'committer_email': 'name@surname.com', |
327 | 'committer_name': 'Name Surname', |
328 | 'date_offset': 0, |
329 | 'directory': '18d8be353ed3480476f032475e7c233eff7371d5', |
330 | 'directory_url': '/api/1/directory/18d8be353ed3480476f032475e7c233eff7371d5/', |
331 | 'history_url': '/api/1/revision/7834ef7e7c357ce2af928115c6c6a42b7e2a44e6/log/', |
332 | 'id': '7834ef7e7c357ce2af928115c6c6a42b7e2a44e6', |
333 | 'message': 'amazing revision message', |
334 | - 'parent_urls': ['/api/1/revision/7834ef7e7c357ce2af928115c6c6a42b7e2a44e6/history/adc83b19e793491b1c6ea0fd8b46cd9f32e592fc/'], |
335 | + 'parent_urls': ['/api/1/revision/adc83b19e793491b1c6ea0fd8b46cd9f32e592fc/prev/7834ef7e7c357ce2af928115c6c6a42b7e2a44e6/'], |
336 | 'parents': ['adc83b19e793491b1c6ea0fd8b46cd9f32e592fc'], |
337 | 'synthetic': True, |
338 | 'type': 'tar', |
339 | 'url': '/api/1/revision/7834ef7e7c357ce2af928115c6c6a42b7e2a44e6/'}, |
340 | {'author_email': 'robot@softwareheritage.org', |
341 | 'author_name': 'Software Heritage', |
342 | 'committer_date_offset': 0, |
343 | 'committer_email': 'robot@softwareheritage.org', |
344 | 'committer_name': 'Software Heritage', |
345 | 'date_offset': 0, |
346 | 'directory': '7834ef7e7c357ce2af928115c6c6a42b7e2a44e6', |
347 | 'directory_url': '/api/1/directory/7834ef7e7c357ce2af928115c6c6a42b7e2a44e6/', |
348 | 'history_url': '/api/1/revision/18d8be353ed3480476f032475e7c233eff7371d5/log/', |
349 | 'id': '18d8be353ed3480476f032475e7c233eff7371d5', |
350 | 'message': 'synthetic revision message', |
351 | - 'parent_urls': ['/api/1/revision/18d8be353ed3480476f032475e7c233eff7371d5/history/7834ef7e7c357ce2af928115c6c6a42b7e2a4345/'], |
352 | + 'parent_urls': ['/api/1/revision/7834ef7e7c357ce2af928115c6c6a42b7e2a4345/prev/18d8be353ed3480476f032475e7c233eff7371d5/'], |
353 | 'parents': ['7834ef7e7c357ce2af928115c6c6a42b7e2a4345'], |
354 | 'synthetic': True, |
355 | 'type': 'tar', |
356 | 'url': '/api/1/revision/18d8be353ed3480476f032475e7c233eff7371d5/'}] |
357 | |
358 | ---------------------------------------------------------------------- |
359 | Ran 307 tests in 1.009s |
360 | |
361 | FAILED (failures=1) |
362 |
Update environment from working copy
Update environment from working copy
- When
- Completed at Jun 23 2016, 5:02 PM · Built for 7 s
- Status
Passed
1 empty logs are hidden. Show all logs.
16 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-cloner-git |
---|---|
17 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-cloner-git |
18 | Already up-to-date. |
19 | |
20 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-antelink |
21 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-antelink |
22 | Already up-to-date. |
23 | |
24 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-dir |
25 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-dir |
26 | Already up-to-date. |
27 | |
28 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-debian |
29 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-debian |
30 | Already up-to-date. |
31 | |
32 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-core |
33 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-core |
34 | Already up-to-date. |
35 | |
36 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-git |
37 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-git |
38 | Already up-to-date. |
39 | |
40 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-model |
41 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-model |
42 | From ssh://forge.softwareheritage.org/diffusion/DMOD/swh-model |
43 | cec445d..2594832 master -> origin/master |
44 | Updating cec445d..2594832 |
45 | Fast-forward |
46 | bin/git-revhash | 7 +++++++ |
47 | bin/swh-revhash | 31 +++++++++++++++++++++++++++++++ |
48 | 2 files changed, 38 insertions(+) |
49 | create mode 100755 bin/git-revhash |
50 | create mode 100755 bin/swh-revhash |
51 | |
52 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-svn |
53 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-svn |
54 | From ssh://forge.softwareheritage.org/diffusion/DLDSVN/swh-loader-svn |
55 | * [new branch] draft-policy-adaptation -> origin/draft-policy-adaptation |
56 | Already up-to-date. |
57 | |
58 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-tar |
59 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-tar |
60 | Already up-to-date. |
61 | |
62 | mr checkout: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-objstorage |
63 | mr checkout: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-objstorage |
64 | Cloning into 'swh-objstorage'... |
65 | |
66 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-py-template |
67 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-py-template |
68 | Already up-to-date. |
69 | |
70 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-scheduler |
71 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-scheduler |
72 | Already up-to-date. |
73 | |
74 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-storage-testdata |
75 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-storage-testdata |
76 | Already up-to-date. |
77 | |
78 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-storage |
79 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-storage |
80 | From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage |
81 | cbaed54..a623ce8 master -> origin/master |
82 | Updating cbaed54..a623ce8 |
83 | Fast-forward |
84 | setup.py | 2 + |
85 | swh/storage/objstorage/multiplexer/__init__.py | 4 + |
86 | .../objstorage/multiplexer/filter/__init__.py | 98 ++++++ |
87 | .../objstorage/multiplexer/filter/filter.py | 48 +++ |
88 | .../objstorage/multiplexer/filter/id_filter.py | 99 ++++++ |
89 | .../multiplexer/filter/read_write_filter.py | 17 + |
90 | .../multiplexer/multiplexer_objstorage.py | 194 +++++++++++ |
91 | swh/storage/tests/test_multiplexer_filter.py | 373 +++++++++++++++++++++ |
92 | swh/storage/tests/test_objstorage_multiplexer.py | 78 +++++ |
93 | 9 files changed, 913 insertions(+) |
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-164/repo/swh-environment/swh-web-ui |
104 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-web-ui |
105 | From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui |
106 | 6003846..2b9a9c6 master -> origin/master |
107 | Updating 6003846..2b9a9c6 |
108 | Fast-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 | |
114 | mr update: finished (19 ok) |
115 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at Jun 23 2016, 5:02 PM · Built instantly
- Status
Passed