Page MenuHomeSoftware Heritage

Build 586

Properties

Buildable
B396: Diff 351
Build Plan
Plan 2 Software Heritage Python tests
Status
Passed

Lint

When
Completed at Aug 19 2016, 4:09 PM · Built for 4 s
Status
Passed
1 empty logs are hidden. Show all logs.

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

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

Python tests

When
Completed at Aug 19 2016, 4:09 PM · Built for 3 s
Status
Passed
1 empty logs are hidden. Show all logs.

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

262lookup_revision_with_context (ui.tests.test_service.ServiceTestCase) ... ok
263lookup_revision_with_context_by (ui.tests.test_service.ServiceTestCase) ... ok
264lookup_revision_with_context_by_ko (ui.tests.test_service.ServiceTestCase) ... ok
265lookup_revision_with_context_ko_not_a_sha1_1 (ui.tests.test_service.ServiceTestCase) ... ok
266lookup_revision_with_context_ko_not_a_sha1_2 (ui.tests.test_service.ServiceTestCase) ... ok
267lookup_revision_with_context_ko_root_sha1_git_does_not_exist (ui.tests.test_service.ServiceTestCase) ... ok
268lookup_revision_with_context_ko_sha1_git_does_not_exist (ui.tests.test_service.ServiceTestCase) ... ok
269lookup_revision_with_context_sha1_git_root_already_retrieved_as_dict (ui.tests.test_service.ServiceTestCase) ... ok
270search_hash_does_not_exist (ui.tests.test_service.ServiceTestCase) ... ok
271search_hash_exist (ui.tests.test_service.ServiceTestCase) ... ok
272stat_counters (ui.tests.test_service.ServiceTestCase) ... ok
273stat_origin_visits (ui.tests.test_service.ServiceTestCase) ... ok
274enrich_content_with_sha1 (ui.tests.test_utils.UtilsTestCase) ... ok
275enrich_content_without_sha1 (ui.tests.test_utils.UtilsTestCase) ... ok
276enrich_directory_no_type (ui.tests.test_utils.UtilsTestCase) ... ok
277enrich_directory_with_context_and_type_dir (ui.tests.test_utils.UtilsTestCase) ... ok
278enrich_directory_with_context_and_type_file (ui.tests.test_utils.UtilsTestCase) ... ok
279enrich_entity_identity (ui.tests.test_utils.UtilsTestCase) ... ok
280enrich_entity_with_sha1 (ui.tests.test_utils.UtilsTestCase) ... ok
281enrich_release_0 (ui.tests.test_utils.UtilsTestCase) ... ok
282enrich_release_1 (ui.tests.test_utils.UtilsTestCase) ... ok
283enrich_release_2 (ui.tests.test_utils.UtilsTestCase) ... ok
284enrich_release_3 (ui.tests.test_utils.UtilsTestCase) ... ok
285enrich_release_4 (ui.tests.test_utils.UtilsTestCase) ... ok
286enrich_revision_context_empty_prev_list (ui.tests.test_utils.UtilsTestCase) ... ok
287enrich_revision_context_some_prev_list (ui.tests.test_utils.UtilsTestCase) ... ok
288enrich_revision_no_context (ui.tests.test_utils.UtilsTestCase) ... ok
289enrich_revision_with_children_and_parent_no_dir (ui.tests.test_utils.UtilsTestCase) ... ok
290enrich_revision_with_invalid_message (ui.tests.test_utils.UtilsTestCase) ... ok
291enrich_revision_with_no_message (ui.tests.test_utils.UtilsTestCase) ... ok
292enrich_revision_without_children_or_parent (ui.tests.test_utils.UtilsTestCase) ... ok
293filter_endpoints_1 (ui.tests.test_utils.UtilsTestCase) ... ok
294filter_endpoints_2 (ui.tests.test_utils.UtilsTestCase) ... ok
295filter_field_keys_dict (ui.tests.test_utils.UtilsTestCase) ... ok
296filter_field_keys_dict_unknown_keys (ui.tests.test_utils.UtilsTestCase) ... ok
297filter_field_keys_list (ui.tests.test_utils.UtilsTestCase) ... ok
298filter_field_keys_list_unknown_keys (ui.tests.test_utils.UtilsTestCase) ... ok
299filter_field_keys_other (ui.tests.test_utils.UtilsTestCase) ... ok
300fmap (ui.tests.test_utils.UtilsTestCase) ... ok
301parse_timestamp (ui.tests.test_utils.UtilsTestCase) ... ok
302person_to_string (ui.tests.test_utils.UtilsTestCase) ... ok
303prepare_data_for_view (ui.tests.test_utils.UtilsTestCase) ... ok
304prepare_data_for_view_default_encoding (ui.tests.test_utils.UtilsTestCase) ... ok
305prepare_data_for_view_ko_cannot_decode (ui.tests.test_utils.UtilsTestCase) ... ok
306
307----------------------------------------------------------------------
308Ran 305 tests in 1.290s
309
310OK
311

Update environment from working copy

When
Completed at Aug 19 2016, 4:09 PM · Built for 10 s
Status
Passed

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

1mr update: command failed
2

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

85mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-scheduler
86Already up-to-date.
87
88mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-storage-testdata
89mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-storage-testdata
90Already up-to-date.
91
92mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-storage
93mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-storage
94From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage
95 d74b3e5..febdc3a master -> origin/master
96 * [new tag] v0.0.49 -> v0.0.49
97 * [new tag] v0.0.48 -> v0.0.48
98Updating d74b3e5..febdc3a
99Fast-forward
100 debian/control | 9 +++++++--
101 debian/rules | 12 +++++++++---
102 requirements.txt | 2 +-
103 3 files changed, 17 insertions(+), 6 deletions(-)
104
105mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-web-ui
106mr update: /home/temp-drydock/drydock/workingcopy-164/repo/swh-environment/swh-web-ui
107From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui
108 d69319d..430575d master -> origin/master
109Updating d69319d..430575d
110Fast-forward
111 swh/web/ui/apidoc.py | 279 ++++++++++++++++---
112 swh/web/ui/backend.py | 14 +-
113 swh/web/ui/converters.py | 4 +-
114 swh/web/ui/main.py | 20 +-
115 swh/web/ui/renderers.py | 198 ++++++-------
116 swh/web/ui/service.py | 4 +-
117 swh/web/ui/templates/api.html | 207 +-------------
118 swh/web/ui/templates/apidoc.html | 84 ++++++
119 swh/web/ui/templates/origin.html | 2 +-
120 swh/web/ui/tests/test_apidoc.py | 299 ++++++++++++++++++++
121 swh/web/ui/tests/test_app.py | 13 +-
122 swh/web/ui/tests/test_backend.py | 14 +-
123 swh/web/ui/tests/test_renderers.py | 270 +++++++++---------
124 swh/web/ui/tests/test_service.py | 3 +-
125 swh/web/ui/tests/views/test_browse.py | 20 ++
126 swh/web/ui/views/api.py | 511 +++++++++++++++++-----------------
127 swh/web/ui/views/browse.py | 15 +-
128 swh/web/ui/views/errorhandler.py | 8 +-
129 18 files changed, 1206 insertions(+), 759 deletions(-)
130 create mode 100644 swh/web/ui/templates/apidoc.html
131 create mode 100644 swh/web/ui/tests/test_apidoc.py
132
133mr update: finished (19 ok; 1 failed)
134

Clone on Software Heritage Worker

When
Completed at Aug 19 2016, 4:09 PM · Built instantly
Status
Passed

Event Timeline