Page MenuHomeSoftware Heritage

Build 196

You are viewing an older run of this build. View Current Build

Properties

Buildable
B136: Diff 106
Build Plan
Plan 2 Software Heritage Python tests
Status
Failed

History

Lint

When
Completed at May 27 2016, 4:32 PM · Built for 3 s
Status
Passed
1 empty logs are hidden. Show all logs.

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

1python3 -m flake8 swh bin/swh-storage-add-dir bin/swh-objstorage-fsck bin/swh-objstorage-add-dir
2

Python tests

When
Completed at May 27 2016, 4:32 PM · Built for 1 s
Status
Failed
1 empty logs are hidden. Show all logs.

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

1mr: illegal setting "fixups=../bin/git-add-pre-commit-hook ." in untrusted /home/temp-drydock/drydock/workingcopy-154/repo/.mrconfig line 8
2(To trust this file, list it in ~/.mrtrust.)
3W: unknown repository 'swh-environment', you might want to remove it
4W: unknown repository 'swh-loader-vcs', you might want to remove it
5check_invalid_content (test_checker.TestChecker) ... ok
6check_valid_content (test_checker.TestChecker) ... ok
7repair_content_missing (test_checker.TestChecker) ... ok
8repair_content_present (test_checker.TestChecker) ... ok
9backslashescape_errors (test_converters.TestConverters) ... ok
10db_to_author (test_converters.TestConverters) ... ok
11db_to_git_headers (test_converters.TestConverters) ... ok
12db_to_release (test_converters.TestConverters) ... ok
13db_to_revision (test_converters.TestConverters) ... ok
14decode_with_escape (test_converters.TestConverters) ... ok
15encode_with_unescape (test_converters.TestConverters) ... ok
16encode_with_unescape_invalid_escape (test_converters.TestConverters) ... ok
17add_bytes_w_id (test_objstorage.TestObjStorage) ... ok
18add_bytes_wo_id (test_objstorage.TestObjStorage) ... ok
19add_file_w_id (test_objstorage.TestObjStorage) ... ok
20add_file_wo_id (test_objstorage.TestObjStorage) ... ok
21check_file_and_dirs_mode (test_objstorage.TestObjStorage) ... ok
22check_id_mismatch (test_objstorage.TestObjStorage) ... ok
23check_missing (test_objstorage.TestObjStorage) ... ok
24check_not_gzip (test_objstorage.TestObjStorage) ... ok
25check_ok (test_objstorage.TestObjStorage) ... ok
26contains (test_objstorage.TestObjStorage) ... ok
27get_bytes (test_objstorage.TestObjStorage) ... ok
28get_file_path (test_objstorage.TestObjStorage) ... ok
29get_missing (test_objstorage.TestObjStorage) ... ok
30get_random_contents (test_objstorage.TestObjStorage) ... ERROR
31iter (test_objstorage.TestObjStorage) ... ok
32len (test_objstorage.TestObjStorage) ... ok
33
34======================================================================
35ERROR: get_random_contents (test_objstorage.TestObjStorage)
36----------------------------------------------------------------------
37Traceback (most recent call last):
38 File "/home/temp-drydock/drydock/workingcopy-154/repo/swh-storage/swh/storage/tests/test_objstorage.py", line 138, in get_random_contents
39 self.assertIn(hashutil.hex_to_hash(id), [self.obj_id])
40 File "/usr/lib/python3.4/functools.py", line 458, in wrapper
41 result = user_function(*args, **kwds)
42 File "/usr/lib/python3/dist-packages/swh/core/hashutil.py", line 164, in hex_to_hash
43 return bytes.fromhex(hex)
44TypeError: must be str, not bytes
45
46----------------------------------------------------------------------
47Ran 28 tests in 0.581s
48
49FAILED (errors=1)
50

Update environment from working copy

When
Completed at May 27 2016, 4:32 PM · Built for 8 s
Status
Passed
1 empty logs are hidden. Show all logs.

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

41mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-svn
42From ssh://forge.softwareheritage.org/diffusion/DLDSVN/swh-loader-svn
43 * [new branch] avoid-keyword-expansion -> origin/avoid-keyword-expansion
44Already up-to-date.
45
46mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-tar
47mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-loader-tar
48Already up-to-date.
49
50mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-py-template
51mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-py-template
52Already up-to-date.
53
54mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-model
55mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-model
56Already up-to-date.
57
58mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-scheduler
59mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-scheduler
60Already up-to-date.
61
62mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-storage-testdata
63mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-storage-testdata
64Already up-to-date.
65
66mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-storage
67mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-storage
68From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage
69 60a0be9..eb8ada4 master -> origin/master
70Updating 60a0be9..eb8ada4
71Fast-forward
72 swh/storage/checker/__init__.py | 0
73 swh/storage/checker/checker.py | 134 +++++++++++++++++++++++++++++++
74 swh/storage/objstorage/api/client.py | 11 +++
75 swh/storage/objstorage/api/server.py | 7 ++
76 swh/storage/objstorage/objstorage.py | 61 +++++++++++++-
77 swh/storage/tests/test_checker.py | 96 ++++++++++++++++++++++
78 swh/storage/tests/test_objstorage.py | 6 ++
79 swh/storage/tests/test_objstorage_api.py | 11 +++
80 8 files changed, 322 insertions(+), 4 deletions(-)
81 create mode 100644 swh/storage/checker/__init__.py
82 create mode 100644 swh/storage/checker/checker.py
83 create mode 100644 swh/storage/tests/test_checker.py
84
85mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-web-ui
86mr update: /home/temp-drydock/drydock/workingcopy-154/repo/swh-environment/swh-web-ui
87Already up-to-date.
88
89mr update: finished (18 ok)
90

Clone on Software Heritage Worker

When
Completed at May 27 2016, 4:32 PM · Built instantly
Status
Passed

Event Timeline