Properties
Properties
- Buildable
- B268: Diff 236
- Build Plan
- Plan 2 Software Heritage Python tests
- Status
Passed
Lint
Lint
- When
- Completed at Jun 28 2016, 4:41 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 28 2016, 4:41 PM · Built for 3 s
- Status
Passed
1 empty logs are hidden. Show all logs.
217 | lookup_directory (ui.tests.test_service.ServiceTestCase) ... ok |
---|---|
218 | lookup_directory_bad_checksum (ui.tests.test_service.ServiceTestCase) ... ok |
219 | lookup_directory_not_found (ui.tests.test_service.ServiceTestCase) ... ok |
220 | lookup_directory_through_revision_ko_not_found (ui.tests.test_service.ServiceTestCase) ... ok |
221 | lookup_directory_through_revision_ok_with_content (ui.tests.test_service.ServiceTestCase) ... ok |
222 | lookup_directory_through_revision_ok_with_data (ui.tests.test_service.ServiceTestCase) ... ok |
223 | lookup_directory_with_path_found (ui.tests.test_service.ServiceTestCase) ... ok |
224 | lookup_directory_with_path_not_found (ui.tests.test_service.ServiceTestCase) ... ok |
225 | lookup_directory_with_revision_ko_revision_not_found (ui.tests.test_service.ServiceTestCase) ... ok |
226 | lookup_directory_with_revision_ko_revision_with_path_to_nowhere (ui.tests.test_service.ServiceTestCase) ... ok |
227 | lookup_directory_with_revision_ko_type_not_implemented (ui.tests.test_service.ServiceTestCase) ... ok |
228 | lookup_directory_with_revision_revision_with_path_to_dir (ui.tests.test_service.ServiceTestCase) ... ok |
229 | lookup_directory_with_revision_revision_with_path_to_file_with_data (ui.tests.test_service.ServiceTestCase) ... ok |
230 | lookup_directory_with_revision_revision_with_path_to_file_without_data (ui.tests.test_service.ServiceTestCase) ... ok |
231 | lookup_directory_with_revision_revision_without_path (ui.tests.test_service.ServiceTestCase) ... ok |
232 | lookup_entity_by_uuid (ui.tests.test_service.ServiceTestCase) ... ok |
233 | lookup_hash_does_not_exist (ui.tests.test_service.ServiceTestCase) ... ok |
234 | lookup_hash_exist (ui.tests.test_service.ServiceTestCase) ... ok |
235 | lookup_hash_origin (ui.tests.test_service.ServiceTestCase) ... ok |
236 | lookup_multiple_hashes_ball_missing (ui.tests.test_service.ServiceTestCase) ... ok |
237 | lookup_multiple_hashes_some_missing (ui.tests.test_service.ServiceTestCase) ... ok |
238 | lookup_origin (ui.tests.test_service.ServiceTestCase) ... ok |
239 | lookup_person (ui.tests.test_service.ServiceTestCase) ... ok |
240 | lookup_release (ui.tests.test_service.ServiceTestCase) ... ok |
241 | lookup_release_ko_id_checksum_not_ok_because_not_a_sha1 (ui.tests.test_service.ServiceTestCase) ... ok |
242 | lookup_release_ko_id_checksum_ok_but_not_a_sha1 (ui.tests.test_service.ServiceTestCase) ... ok |
243 | lookup_revision (ui.tests.test_service.ServiceTestCase) ... ok |
244 | lookup_revision_by (ui.tests.test_service.ServiceTestCase) ... ok |
245 | lookup_revision_by_nothing_found (ui.tests.test_service.ServiceTestCase) ... ok |
246 | lookup_revision_invalid_msg (ui.tests.test_service.ServiceTestCase) ... ok |
247 | lookup_revision_log (ui.tests.test_service.ServiceTestCase) ... ok |
248 | lookup_revision_log_by (ui.tests.test_service.ServiceTestCase) ... ok |
249 | lookup_revision_log_by_nolog (ui.tests.test_service.ServiceTestCase) ... ok |
250 | lookup_revision_msg_absent (ui.tests.test_service.ServiceTestCase) ... ok |
251 | lookup_revision_msg_norev (ui.tests.test_service.ServiceTestCase) ... ok |
252 | lookup_revision_msg_ok (ui.tests.test_service.ServiceTestCase) ... ok |
253 | lookup_revision_multiple (ui.tests.test_service.ServiceTestCase) ... ok |
254 | lookup_revision_multiple_none_found (ui.tests.test_service.ServiceTestCase) ... ok |
255 | lookup_revision_through_ko_not_implemented (ui.tests.test_service.ServiceTestCase) ... ok |
256 | lookup_revision_through_with_context (ui.tests.test_service.ServiceTestCase) ... ok |
257 | lookup_revision_through_with_context_by (ui.tests.test_service.ServiceTestCase) ... ok |
258 | lookup_revision_through_with_revision (ui.tests.test_service.ServiceTestCase) ... ok |
259 | lookup_revision_through_with_revision_by (ui.tests.test_service.ServiceTestCase) ... ok |
260 | lookup_revision_with_context (ui.tests.test_service.ServiceTestCase) ... ok |
261 | lookup_revision_with_context_by (ui.tests.test_service.ServiceTestCase) ... ok |
262 | lookup_revision_with_context_by_ko (ui.tests.test_service.ServiceTestCase) ... ok |
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_context_empty_prev_list (ui.tests.test_utils.UtilsTestCase) ... ok |
292 | enrich_revision_context_some_prev_list (ui.tests.test_utils.UtilsTestCase) ... ok |
293 | enrich_revision_no_context (ui.tests.test_utils.UtilsTestCase) ... ok |
294 | enrich_revision_with_children_and_parent_no_dir (ui.tests.test_utils.UtilsTestCase) ... ok |
295 | enrich_revision_with_invalid_message (ui.tests.test_utils.UtilsTestCase) ... ok |
296 | enrich_revision_with_no_message (ui.tests.test_utils.UtilsTestCase) ... ok |
297 | enrich_revision_without_children_or_parent (ui.tests.test_utils.UtilsTestCase) ... ok |
298 | filter_endpoints_1 (ui.tests.test_utils.UtilsTestCase) ... ok |
299 | filter_endpoints_2 (ui.tests.test_utils.UtilsTestCase) ... ok |
300 | filter_field_keys_dict (ui.tests.test_utils.UtilsTestCase) ... ok |
301 | filter_field_keys_dict_unknown_keys (ui.tests.test_utils.UtilsTestCase) ... ok |
302 | filter_field_keys_list (ui.tests.test_utils.UtilsTestCase) ... ok |
303 | filter_field_keys_list_unknown_keys (ui.tests.test_utils.UtilsTestCase) ... ok |
304 | filter_field_keys_other (ui.tests.test_utils.UtilsTestCase) ... ok |
305 | fmap (ui.tests.test_utils.UtilsTestCase) ... ok |
306 | parse_timestamp (ui.tests.test_utils.UtilsTestCase) ... ok |
307 | person_to_string (ui.tests.test_utils.UtilsTestCase) ... ok |
308 | prepare_data_for_view (ui.tests.test_utils.UtilsTestCase) ... ok |
309 | prepare_data_for_view_default_encoding (ui.tests.test_utils.UtilsTestCase) ... ok |
310 | prepare_data_for_view_ko_cannot_decode (ui.tests.test_utils.UtilsTestCase) ... ok |
311 | |
312 | ---------------------------------------------------------------------- |
313 | Ran 310 tests in 0.941s |
314 | |
315 | OK |
316 |
Update environment from working copy
Update environment from working copy
- When
- Completed at Jun 28 2016, 4:41 PM · Built for 7 s
- Status
Passed
4 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/snippets |
---|---|
5 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/snippets |
6 | Already up-to-date. |
7 | |
8 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-core |
9 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-core |
10 | Already up-to-date. |
11 | |
12 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-fetcher-googlecode |
13 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-fetcher-googlecode |
14 | Already up-to-date. |
15 | |
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-git |
21 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-git |
22 | Already up-to-date. |
23 | |
24 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-core |
25 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-core |
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-antelink |
33 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-antelink |
34 | Already up-to-date. |
35 | |
36 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-dir |
37 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-dir |
38 | Already up-to-date. |
39 | |
40 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-svn |
41 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-svn |
42 | Already up-to-date. |
43 | |
44 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-tar |
45 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-loader-tar |
46 | Already up-to-date. |
47 | |
48 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-model |
49 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-model |
50 | Already up-to-date. |
51 | |
52 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-objstorage |
53 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-objstorage |
54 | |
55 | *** Please tell me who you are. |
56 | |
57 | Run |
58 | |
59 | git config --global user.email "you@example.com" |
60 | git config --global user.name "Your Name" |
61 | |
62 | to set your account's default identity. |
63 | Omit --global to set the identity only in this repository. |
64 | |
65 | fatal: empty ident name (for <temp-drydock@worker01.softwareheritage.org>) not allowed |
66 | |
67 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-py-template |
68 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-py-template |
69 | Already up-to-date. |
70 | |
71 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-storage |
72 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-storage |
73 | From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage |
74 | * [new branch] add-revision-origin-cache -> origin/add-revision-origin-cache |
75 | Already up-to-date. |
76 | |
77 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-scheduler |
78 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-scheduler |
79 | Already up-to-date. |
80 | |
81 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-storage-testdata |
82 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-storage-testdata |
83 | Already up-to-date. |
84 | |
85 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-web-ui |
86 | mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-web-ui |
87 | From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui |
88 | f3cf763..6290dd6 master -> origin/master |
89 | Updating f3cf763..6290dd6 |
90 | Fast-forward |
91 | swh/web/ui/service.py | 4 +- |
92 | swh/web/ui/templates/revision-log.html | 7 + |
93 | swh/web/ui/templates/revision.html | 7 + |
94 | swh/web/ui/tests/test_utils.py | 281 ++++++++++++++++++++++++++------- |
95 | swh/web/ui/tests/views/test_api.py | 32 ++-- |
96 | swh/web/ui/tests/views/test_browse.py | 14 +- |
97 | swh/web/ui/utils.py | 109 +++++++++++-- |
98 | swh/web/ui/views/api.py | 14 +- |
99 | swh/web/ui/views/browse.py | 66 +++++++- |
100 | 9 files changed, 426 insertions(+), 108 deletions(-) |
101 | |
102 | mr update: finished (18 ok; 1 failed) |
103 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at Jun 28 2016, 4:41 PM · Built instantly
- Status
Passed