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.
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.
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