Properties
Properties
- Buildable
- B9: rDSTObfc8984cf23e: revision.metadata JSON Schema: set allowed values to: tar, zip, dsc
- Build Plan
- Plan 2 Software Heritage Python tests
- Status
Failed
Lint
Lint
- When
- Completed at Mar 8 2016, 4:22 PM · Built for 11 s
- Status
Failed
1 | python3 -m flake8 swh bin/swh-storage-add-dir bin/swh-objstorage-fsck bin/swh-objstorage-add-dir |
---|---|
2 | swh/storage/converters.py:35:80: E501 line too long (82 > 79 characters) |
3 | swh/storage/db.py:133:40: E701 multiple statements on one line (colon) |
4 | swh/storage/db.py:136:39: E701 multiple statements on one line (colon) |
5 | swh/storage/db.py:139:50: E701 multiple statements on one line (colon) |
6 | swh/storage/db.py:142:45: E701 multiple statements on one line (colon) |
7 | swh/storage/db.py:145:46: E701 multiple statements on one line (colon) |
8 | swh/storage/db.py:148:37: E701 multiple statements on one line (colon) |
9 | swh/storage/db.py:192:46: E701 multiple statements on one line (colon) |
10 | swh/storage/db.py:195:48: E701 multiple statements on one line (colon) |
11 | swh/storage/db.py:198:54: E701 multiple statements on one line (colon) |
12 | swh/storage/db.py:201:47: E701 multiple statements on one line (colon) |
13 | swh/storage/db.py:204:46: E701 multiple statements on one line (colon) |
14 | swh/storage/db.py:207:57: E701 multiple statements on one line (colon) |
15 | swh/storage/db.py:210:53: E701 multiple statements on one line (colon) |
16 | swh/storage/db.py:298:80: E501 line too long (88 > 79 characters) |
17 | swh/storage/db.py:341:80: E501 line too long (85 > 79 characters) |
18 | swh/storage/objstorage.py:50:80: E501 line too long (80 > 79 characters) |
19 | swh/storage/objstorage.py:194:80: E501 line too long (83 > 79 characters) |
20 | swh/storage/objstorage.py:356:80: E501 line too long (81 > 79 characters) |
21 | swh/storage/tests/test_db.py:47:25: E126 continuation line over-indented for hanging indent |
22 | swh/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
Python tests
- When
- Completed at Mar 8 2016, 4:22 PM · Built for 9 s
- Status
Failed
1 | bash: ./pythonpath.sh: No such file or directory |
---|---|
2 | nose.plugins.cover: ERROR: Coverage not available: unable to import coverage module |
3 | createdb: 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"? |
6 | dropdb: 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"? |
9 | ERROR |
10 | backslashescape_errors (test_converters.TestConverters) ... ok |
11 | db_to_author (test_converters.TestConverters) ... ok |
12 | db_to_git_headers (test_converters.TestConverters) ... ok |
13 | db_to_release (test_converters.TestConverters) ... ok |
14 | db_to_revision (test_converters.TestConverters) ... ok |
15 | decode_with_escape (test_converters.TestConverters) ... ok |
16 | encode_with_unescape (test_converters.TestConverters) ... ok |
17 | encode_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"? |
20 | dropdb: 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"? |
23 | ok |
24 | ERROR |
25 | add_bytes_w_id (test_objstorage.TestObjStorage) ... ok |
26 | add_bytes_wo_id (test_objstorage.TestObjStorage) ... ok |
27 | add_file_w_id (test_objstorage.TestObjStorage) ... ok |
28 | add_file_wo_id (test_objstorage.TestObjStorage) ... ok |
29 | check_file_and_dirs_mode (test_objstorage.TestObjStorage) ... ok |
30 | check_id_mismatch (test_objstorage.TestObjStorage) ... ok |
31 | check_missing (test_objstorage.TestObjStorage) ... ok |
32 | check_not_gzip (test_objstorage.TestObjStorage) ... ok |
33 | check_ok (test_objstorage.TestObjStorage) ... ok |
34 | contains (test_objstorage.TestObjStorage) ... ok |
35 | get_bytes (test_objstorage.TestObjStorage) ... ok |
36 | get_file_path (test_objstorage.TestObjStorage) ... ok |
37 | get_missing (test_objstorage.TestObjStorage) ... ok |
38 | iter (test_objstorage.TestObjStorage) ... ok |
39 | len (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"? |
42 | dropdb: 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"? |
45 | ok |
46 | ERROR |
47 | |
48 | ====================================================================== |
49 | ERROR: test suite for <class 'test_api_client.TestRemoteStorage'> |
50 | ---------------------------------------------------------------------- |
51 | Traceback (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) |
58 | subprocess.CalledProcessError: Command '['createdb', 'softwareheritage-test']' returned non-zero exit status 1 |
59 | |
60 | During handling of the above exception, another exception occurred: |
61 | |
62 | Traceback (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) |
79 | subprocess.CalledProcessError: Command '['dropdb', 'softwareheritage-test']' returned non-zero exit status 1 |
80 | |
81 | ====================================================================== |
82 | ERROR: test suite for <class 'test_db.TestDb'> |
83 | ---------------------------------------------------------------------- |
84 | Traceback (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) |
91 | subprocess.CalledProcessError: Command '['createdb', 'softwareheritage-test']' returned non-zero exit status 1 |
92 | |
93 | During handling of the above exception, another exception occurred: |
94 | |
95 | Traceback (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) |
112 | subprocess.CalledProcessError: Command '['dropdb', 'softwareheritage-test']' returned non-zero exit status 1 |
113 | |
114 | ====================================================================== |
115 | ERROR: test suite for <class 'test_storage.TestStorage'> |
116 | ---------------------------------------------------------------------- |
117 | Traceback (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) |
124 | subprocess.CalledProcessError: Command '['createdb', 'softwareheritage-test']' returned non-zero exit status 1 |
125 | |
126 | During handling of the above exception, another exception occurred: |
127 | |
128 | Traceback (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) |
145 | subprocess.CalledProcessError: Command '['dropdb', 'softwareheritage-test']' returned non-zero exit status 1 |
146 | |
147 | ---------------------------------------------------------------------- |
148 | Ran 23 tests in 6.390s |
149 | |
150 | FAILED (errors=3) |
151 | make: *** [coverage] Error 1 |
152 |
1 | nosetests3 -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
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.
1 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-core |
---|---|
2 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-core |
3 | Already up-to-date. |
4 | |
5 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-loader-debian |
6 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-loader-debian |
7 | Already up-to-date. |
8 | |
9 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-loader-dir |
10 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-loader-dir |
11 | Already up-to-date. |
12 | |
13 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-lister-github |
14 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-lister-github |
15 | Already up-to-date. |
16 | |
17 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-cloner-git |
18 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-cloner-git |
19 | Already up-to-date. |
20 | |
21 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-scheduler |
22 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-scheduler |
23 | Already up-to-date. |
24 | |
25 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-py-template |
26 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-py-template |
27 | Already up-to-date. |
28 | |
29 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-loader-tar |
30 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-loader-tar |
31 | Already up-to-date. |
32 | |
33 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-loader-git |
34 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-loader-git |
35 | Already up-to-date. |
36 | |
37 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-model |
38 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-model |
39 | Already up-to-date. |
40 | |
41 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-storage-testdata |
42 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-storage-testdata |
43 | Already up-to-date. |
44 | |
45 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-storage |
46 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-storage |
47 | Already up-to-date. |
48 | |
49 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-web-ui |
50 | mr update: /home/temp-drydock/drydock/workingcopy-153/repo/swh-environment/swh-web-ui |
51 | Already up-to-date. |
52 | |
53 | mr update: finished (13 ok) |
54 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at Mar 8 2016, 4:21 PM · Built instantly
- Status
Passed