Page MenuHomeSoftware Heritage

Lint

When
Completed at Mar 8 2016, 4:22 PM · Built for 11 s
Status
Failed

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

1make: *** [check] Error 1
2

Build Log 17 (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
2swh/storage/converters.py:35:80: E501 line too long (82 > 79 characters)
3swh/storage/db.py:133:40: E701 multiple statements on one line (colon)
4swh/storage/db.py:136:39: E701 multiple statements on one line (colon)
5swh/storage/db.py:139:50: E701 multiple statements on one line (colon)
6swh/storage/db.py:142:45: E701 multiple statements on one line (colon)
7swh/storage/db.py:145:46: E701 multiple statements on one line (colon)
8swh/storage/db.py:148:37: E701 multiple statements on one line (colon)
9swh/storage/db.py:192:46: E701 multiple statements on one line (colon)
10swh/storage/db.py:195:48: E701 multiple statements on one line (colon)
11swh/storage/db.py:198:54: E701 multiple statements on one line (colon)
12swh/storage/db.py:201:47: E701 multiple statements on one line (colon)
13swh/storage/db.py:204:46: E701 multiple statements on one line (colon)
14swh/storage/db.py:207:57: E701 multiple statements on one line (colon)
15swh/storage/db.py:210:53: E701 multiple statements on one line (colon)
16swh/storage/db.py:298:80: E501 line too long (88 > 79 characters)
17swh/storage/db.py:341:80: E501 line too long (85 > 79 characters)
18swh/storage/objstorage.py:50:80: E501 line too long (80 > 79 characters)
19swh/storage/objstorage.py:194:80: E501 line too long (83 > 79 characters)
20swh/storage/objstorage.py:356:80: E501 line too long (81 > 79 characters)
21swh/storage/tests/test_db.py:47:25: E126 continuation line over-indented for hanging indent
22swh/storage/tests/test_storage.py:616:18: E121 continuation line indentation is not a multiple of four
23../Makefile.python:25: recipe for target 'check' failed
24

Python tests

When
Completed at Mar 8 2016, 4:22 PM · Built for 9 s
Status
Failed

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

1bash: ./pythonpath.sh: No such file or directory
2nose.plugins.cover: ERROR: Coverage not available: unable to import coverage module
3createdb: could not connect to database template1: could not connect to server: No such file or directory
4 Is the server running locally and accepting
5 connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
6dropdb: could not connect to database template1: could not connect to server: No such file or directory
7 Is the server running locally and accepting
8 connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
9ERROR
10backslashescape_errors (test_converters.TestConverters) ... ok
11db_to_author (test_converters.TestConverters) ... ok
12db_to_git_headers (test_converters.TestConverters) ... ok
13db_to_release (test_converters.TestConverters) ... ok
14db_to_revision (test_converters.TestConverters) ... ok
15decode_with_escape (test_converters.TestConverters) ... ok
16encode_with_unescape (test_converters.TestConverters) ... ok
17encode_with_unescape_invalid_escape (test_converters.TestConverters) ... createdb: could not connect to database template1: could not connect to server: No such file or directory
18 Is the server running locally and accepting
19 connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
20dropdb: could not connect to database template1: could not connect to server: No such file or directory
21 Is the server running locally and accepting
22 connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
23ok
24ERROR
25add_bytes_w_id (test_objstorage.TestObjStorage) ... ok
26add_bytes_wo_id (test_objstorage.TestObjStorage) ... ok
27add_file_w_id (test_objstorage.TestObjStorage) ... ok
28add_file_wo_id (test_objstorage.TestObjStorage) ... ok
29check_file_and_dirs_mode (test_objstorage.TestObjStorage) ... ok
30check_id_mismatch (test_objstorage.TestObjStorage) ... ok
31check_missing (test_objstorage.TestObjStorage) ... ok
32check_not_gzip (test_objstorage.TestObjStorage) ... ok
33check_ok (test_objstorage.TestObjStorage) ... ok
34contains (test_objstorage.TestObjStorage) ... ok
35get_bytes (test_objstorage.TestObjStorage) ... ok
36get_file_path (test_objstorage.TestObjStorage) ... ok
37get_missing (test_objstorage.TestObjStorage) ... ok
38iter (test_objstorage.TestObjStorage) ... ok
39len (test_objstorage.TestObjStorage) ... createdb: could not connect to database template1: could not connect to server: No such file or directory
40 Is the server running locally and accepting
41 connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
42dropdb: could not connect to database template1: could not connect to server: No such file or directory
43 Is the server running locally and accepting
44 connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
45ok
46ERROR
47
48======================================================================
49ERROR: test suite for <class 'test_api_client.TestRemoteStorage'>
50----------------------------------------------------------------------
51Traceback (most recent call last):
52 File "/usr/lib/python3/dist-packages/swh/core/tests/db_testing.py", line 45, in db_create
53 pg_createdb(dbname)
54 File "/usr/lib/python3/dist-packages/swh/core/tests/db_testing.py", line 35, in pg_createdb
55 subprocess.check_call(['createdb', dbname])
56 File "/usr/lib/python3.4/subprocess.py", line 561, in check_call
57 raise CalledProcessError(retcode, cmd)
58subprocess.CalledProcessError: Command '['createdb', 'softwareheritage-test']' returned non-zero exit status 1
59
60During handling of the above exception, another exception occurred:
61
62Traceback (most recent call last):
63 File "/usr/lib/python3/dist-packages/nose/suite.py", line 210, in run
64 self.setUp()
65 File "/usr/lib/python3/dist-packages/nose/suite.py", line 293, in setUp
66 self.setupContext(ancestor)
67 File "/usr/lib/python3/dist-packages/nose/suite.py", line 316, in setupContext
68 try_run(context, names)
69 File "/usr/lib/python3/dist-packages/nose/util.py", line 470, in try_run
70 return func()
71 File "/usr/lib/python3/dist-packages/swh/core/tests/db_testing.py", line 141, in setUpClass
72 dump=cls.TEST_DB_DUMP, dumptype=cls.TEST_DB_DUMP_TYPE)
73 File "/usr/lib/python3/dist-packages/swh/core/tests/db_testing.py", line 47, in db_create
74 pg_dropdb(dbname) # the db already existed
75 File "/usr/lib/python3/dist-packages/swh/core/tests/db_testing.py", line 31, in pg_dropdb
76 subprocess.check_call(['dropdb', dbname])
77 File "/usr/lib/python3.4/subprocess.py", line 561, in check_call
78 raise CalledProcessError(retcode, cmd)
79subprocess.CalledProcessError: Command '['dropdb', 'softwareheritage-test']' returned non-zero exit status 1
80
81======================================================================
82ERROR: test suite for <class 'test_db.TestDb'>
83----------------------------------------------------------------------
84Traceback (most recent call last):
85 File "/usr/lib/python3/dist-packages/swh/core/tests/db_testing.py", line 45, in db_create
86 pg_createdb(dbname)
87 File "/usr/lib/python3/dist-packages/swh/core/tests/db_testing.py", line 35, in pg_createdb
88 subprocess.check_call(['createdb', dbname])
89 File "/usr/lib/python3.4/subprocess.py", line 561, in check_call
90 raise CalledProcessError(retcode, cmd)
91subprocess.CalledProcessError: Command '['createdb', 'softwareheritage-test']' returned non-zero exit status 1
92
93During handling of the above exception, another exception occurred:
94
95Traceback (most recent call last):
96 File "/usr/lib/python3/dist-packages/nose/suite.py", line 210, in run
97 self.setUp()
98 File "/usr/lib/python3/dist-packages/nose/suite.py", line 293, in setUp
99 self.setupContext(ancestor)
100 File "/usr/lib/python3/dist-packages/nose/suite.py", line 316, in setupContext
101 try_run(context, names)
102 File "/usr/lib/python3/dist-packages/nose/util.py", line 470, in try_run
103 return func()
104 File "/usr/lib/python3/dist-packages/swh/core/tests/db_testing.py", line 141, in setUpClass
105 dump=cls.TEST_DB_DUMP, dumptype=cls.TEST_DB_DUMP_TYPE)
106 File "/usr/lib/python3/dist-packages/swh/core/tests/db_testing.py", line 47, in db_create
107 pg_dropdb(dbname) # the db already existed
108 File "/usr/lib/python3/dist-packages/swh/core/tests/db_testing.py", line 31, in pg_dropdb
109 subprocess.check_call(['dropdb', dbname])
110 File "/usr/lib/python3.4/subprocess.py", line 561, in check_call
111 raise CalledProcessError(retcode, cmd)
112subprocess.CalledProcessError: Command '['dropdb', 'softwareheritage-test']' returned non-zero exit status 1
113
114======================================================================
115ERROR: test suite for <class 'test_storage.TestStorage'>
116----------------------------------------------------------------------
117Traceback (most recent call last):
118 File "/usr/lib/python3/dist-packages/swh/core/tests/db_testing.py", line 45, in db_create
119 pg_createdb(dbname)
120 File "/usr/lib/python3/dist-packages/swh/core/tests/db_testing.py", line 35, in pg_createdb
121 subprocess.check_call(['createdb', dbname])
122 File "/usr/lib/python3.4/subprocess.py", line 561, in check_call
123 raise CalledProcessError(retcode, cmd)
124subprocess.CalledProcessError: Command '['createdb', 'softwareheritage-test']' returned non-zero exit status 1
125
126During handling of the above exception, another exception occurred:
127
128Traceback (most recent call last):
129 File "/usr/lib/python3/dist-packages/nose/suite.py", line 210, in run
130 self.setUp()
131 File "/usr/lib/python3/dist-packages/nose/suite.py", line 293, in setUp
132 self.setupContext(ancestor)
133 File "/usr/lib/python3/dist-packages/nose/suite.py", line 316, in setupContext
134 try_run(context, names)
135 File "/usr/lib/python3/dist-packages/nose/util.py", line 470, in try_run
136 return func()
137 File "/usr/lib/python3/dist-packages/swh/core/tests/db_testing.py", line 141, in setUpClass
138 dump=cls.TEST_DB_DUMP, dumptype=cls.TEST_DB_DUMP_TYPE)
139 File "/usr/lib/python3/dist-packages/swh/core/tests/db_testing.py", line 47, in db_create
140 pg_dropdb(dbname) # the db already existed
141 File "/usr/lib/python3/dist-packages/swh/core/tests/db_testing.py", line 31, in pg_dropdb
142 subprocess.check_call(['dropdb', dbname])
143 File "/usr/lib/python3.4/subprocess.py", line 561, in check_call
144 raise CalledProcessError(retcode, cmd)
145subprocess.CalledProcessError: Command '['dropdb', 'softwareheritage-test']' returned non-zero exit status 1
146
147----------------------------------------------------------------------
148Ran 23 tests in 6.390s
149
150FAILED (errors=3)
151make: *** [coverage] Error 1
152

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

1nosetests3 -v --with-coverage --cover-package swh.storage --cover-inclusive --cover-branches ./swh/storage/tests
2../Makefile.python:21: recipe for target 'coverage' failed
3

Pull environment

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

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

1mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-core
2mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-core
3Already up-to-date.
4
5mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-loader-debian
6mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-loader-debian
7Already up-to-date.
8
9mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-loader-dir
10mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-loader-dir
11Already up-to-date.
12
13mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-lister-github
14mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-lister-github
15Already up-to-date.
16
17mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-cloner-git
18mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-cloner-git
19Already up-to-date.
20
21mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-scheduler
22mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-scheduler
23Already up-to-date.
24
25mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-py-template
26mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-py-template
27Already up-to-date.
28
29mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-loader-tar
30mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-loader-tar
31Already up-to-date.
32
33mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-loader-git
34mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-loader-git
35Already up-to-date.
36
37mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-model
38mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-model
39Already up-to-date.
40
41mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-storage-testdata
42mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-storage-testdata
43Already up-to-date.
44
45mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-storage
46mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-storage
47Already up-to-date.
48
49mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-web-ui
50mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-web-ui
51Already up-to-date.
52
53mr update: finished (13 ok)
54

Clone on Software Heritage Worker

When
Completed at Mar 8 2016, 4:21 PM · Built instantly
Status
Passed

Event Timeline