Page MenuHomeSoftware Heritage

Build 196

Properties

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

History

Lint

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

Build Log 668 (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:33 PM · Built for 1 s
Status
Failed
1 empty logs are hidden. Show all logs.

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

1mr: illegal setting "fixups=../bin/git-add-pre-commit-hook ." in untrusted /home/temp-drydock/drydock/workingcopy-157/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-157/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.549s
48
49FAILED (errors=1)
50

Update environment from working copy

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

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

1mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-fetcher-googlecode
2Already up-to-date.
3
4mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-core
5mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-core
6Already up-to-date.
7
8mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/snippets
9mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/snippets
10Already up-to-date.
11
12mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-lister-github
13mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-lister-github
14Already up-to-date.
15
16mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-cloner-git
17mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-cloner-git
18Already up-to-date.
19
20mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-core
21mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-core
22Already up-to-date.
23
24mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-antelink
25mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-antelink
26Already up-to-date.
27
28mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-debian
29mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-debian
30Already up-to-date.
31
32mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-git
33mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-git
34Already up-to-date.
35
36mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-dir
37mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-dir
38Already up-to-date.
39
40mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-svn
41mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-svn
42From ssh://forge.softwareheritage.org/diffusion/DLDSVN/swh-loader-svn
43 e3b76a4..1f70eab master -> origin/master
44 * [new branch] avoid-keyword-expansion -> origin/avoid-keyword-expansion
45 * [new tag] v0.0.7 -> v0.0.7
46Updating e3b76a4..1f70eab
47Fast-forward
48 bin/hashtree.py | 12 +++--
49 debian/control | 2 +-
50 docs/comparison-git-svn-swh-svn.org | 104 +++++++++++++++---------------------
51 requirements.txt | 2 +-
52 swh/loader/svn/svn.py | 16 +++++-
53 swh/loader/svn/tests/test_svn.py | 2 +
54 6 files changed, 71 insertions(+), 67 deletions(-)
55
56mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-tar
57mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-loader-tar
58Already up-to-date.
59
60mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-model
61mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-model
62Already up-to-date.
63
64mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-py-template
65mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-py-template
66Already up-to-date.
67
68mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-scheduler
69mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-scheduler
70Already up-to-date.
71
72mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-storage
73mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-storage
74From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage
75 60a0be9..eb8ada4 master -> origin/master
76Updating 60a0be9..eb8ada4
77Fast-forward
78 swh/storage/checker/__init__.py | 0
79 swh/storage/checker/checker.py | 134 +++++++++++++++++++++++++++++++
80 swh/storage/objstorage/api/client.py | 11 +++
81 swh/storage/objstorage/api/server.py | 7 ++
82 swh/storage/objstorage/objstorage.py | 61 +++++++++++++-
83 swh/storage/tests/test_checker.py | 96 ++++++++++++++++++++++
84 swh/storage/tests/test_objstorage.py | 6 ++
85 swh/storage/tests/test_objstorage_api.py | 11 +++
86 8 files changed, 322 insertions(+), 4 deletions(-)
87 create mode 100644 swh/storage/checker/__init__.py
88 create mode 100644 swh/storage/checker/checker.py
89 create mode 100644 swh/storage/tests/test_checker.py
90
91mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-storage-testdata
92mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-storage-testdata
93Already up-to-date.
94
95mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-web-ui
96mr update: /home/temp-drydock/drydock/workingcopy-157/repo/swh-environment/swh-web-ui
97Already up-to-date.
98
99mr update: finished (18 ok)
100

Clone on Software Heritage Worker

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

Event Timeline