Properties
Properties
- Buildable
- B525: rDSTOa77c187ff4a3: Open content_mimetype_missing endpoint to list missing mimetypes
- Build Plan
- Plan 2 Software Heritage Python tests
- Status
Failed
Lint
Lint
- When
- Completed at Oct 7 2016, 5:10 PM · Built for 10 s
- Status
Failed
1 | python3 -m flake8 swh bin/swh-storage-add-dir |
---|---|
2 | swh/storage/db.py:813:1: W391 blank line at end of file |
3 | swh/storage/storage.py:1245:21: E901 SyntaxError: unexpected EOF while parsing |
4 | swh/storage/api/server.py:281:1: E303 too many blank lines (3) |
5 | ../Makefile.python:25: recipe for target 'check' failed |
6 |
Python tests
Python tests
- When
- Completed at Oct 7 2016, 5:10 PM · Built for 9 s
- Status
Failed
1 empty logs are hidden. Show all logs.
1 | W: unknown repository 'swh-environment', you might want to remove it |
---|---|
2 | Failure: SyntaxError (unexpected EOF while parsing (storage.py, line 1245)) ... ERROR |
3 | Failure: SyntaxError (unexpected EOF while parsing (storage.py, line 1245)) ... ERROR |
4 | Failure: SyntaxError (unexpected EOF while parsing (storage.py, line 1245)) ... ERROR |
5 | Failure: SyntaxError (unexpected EOF while parsing (storage.py, line 1245)) ... ERROR |
6 | Failure: SyntaxError (unexpected EOF while parsing (storage.py, line 1245)) ... ERROR |
7 | |
8 | ====================================================================== |
9 | ERROR: Failure: SyntaxError (unexpected EOF while parsing (storage.py, line 1245)) |
10 | ---------------------------------------------------------------------- |
11 | Traceback (most recent call last): |
12 | File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest |
13 | raise self.exc_val.with_traceback(self.tb) |
14 | File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName |
15 | addr.filename, addr.module) |
16 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath |
17 | return self.importFromDir(dir_path, fqname) |
18 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir |
19 | mod = load_module(part_fqname, fh, filename, desc) |
20 | File "/usr/lib/python3.4/imp.py", line 235, in load_module |
21 | return load_source(name, filename, file) |
22 | File "/usr/lib/python3.4/imp.py", line 171, in load_source |
23 | module = methods.load() |
24 | File "<frozen importlib._bootstrap>", line 1220, in load |
25 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked |
26 | File "<frozen importlib._bootstrap>", line 1129, in _exec |
27 | File "<frozen importlib._bootstrap>", line 1471, in exec_module |
28 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed |
29 | File "/home/temp-drydock/drydock/workingcopy-169/repo/swh-storage/swh/storage/tests/test_api_client.py", line 9, in <module> |
30 | from swh.storage.tests.test_storage import AbstractTestStorage |
31 | File "/home/temp-drydock/drydock/workingcopy-169/repo/swh-storage/swh/storage/__init__.py", line 1, in <module> |
32 | from . import storage |
33 | File "/home/temp-drydock/drydock/workingcopy-169/repo/swh-storage/swh/storage/storage.py", line 1245 |
34 | @db_transaction |
35 | ^ |
36 | SyntaxError: unexpected EOF while parsing |
37 | |
38 | ====================================================================== |
39 | ERROR: Failure: SyntaxError (unexpected EOF while parsing (storage.py, line 1245)) |
40 | ---------------------------------------------------------------------- |
41 | Traceback (most recent call last): |
42 | File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest |
43 | raise self.exc_val.with_traceback(self.tb) |
44 | File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName |
45 | addr.filename, addr.module) |
46 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath |
47 | return self.importFromDir(dir_path, fqname) |
48 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir |
49 | mod = load_module(part_fqname, fh, filename, desc) |
50 | File "/usr/lib/python3.4/imp.py", line 235, in load_module |
51 | return load_source(name, filename, file) |
52 | File "/usr/lib/python3.4/imp.py", line 171, in load_source |
53 | module = methods.load() |
54 | File "<frozen importlib._bootstrap>", line 1220, in load |
55 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked |
56 | File "<frozen importlib._bootstrap>", line 1129, in _exec |
57 | File "<frozen importlib._bootstrap>", line 1471, in exec_module |
58 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed |
59 | File "/home/temp-drydock/drydock/workingcopy-169/repo/swh-storage/swh/storage/tests/test_archiver.py", line 19, in <module> |
60 | from swh.storage.archiver import ArchiverWithRetentionPolicyDirector |
61 | File "/home/temp-drydock/drydock/workingcopy-169/repo/swh-storage/swh/storage/__init__.py", line 1, in <module> |
62 | from . import storage |
63 | File "/home/temp-drydock/drydock/workingcopy-169/repo/swh-storage/swh/storage/storage.py", line 1245 |
64 | @db_transaction |
65 | ^ |
66 | SyntaxError: unexpected EOF while parsing |
67 | |
68 | ====================================================================== |
69 | ERROR: Failure: SyntaxError (unexpected EOF while parsing (storage.py, line 1245)) |
70 | ---------------------------------------------------------------------- |
71 | Traceback (most recent call last): |
72 | File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest |
73 | raise self.exc_val.with_traceback(self.tb) |
74 | File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName |
75 | addr.filename, addr.module) |
76 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath |
77 | return self.importFromDir(dir_path, fqname) |
78 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir |
79 | mod = load_module(part_fqname, fh, filename, desc) |
80 | File "/usr/lib/python3.4/imp.py", line 235, in load_module |
81 | return load_source(name, filename, file) |
82 | File "/usr/lib/python3.4/imp.py", line 171, in load_source |
83 | module = methods.load() |
84 | File "<frozen importlib._bootstrap>", line 1220, in load |
85 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked |
86 | File "<frozen importlib._bootstrap>", line 1129, in _exec |
87 | File "<frozen importlib._bootstrap>", line 1471, in exec_module |
88 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed |
89 | File "/home/temp-drydock/drydock/workingcopy-169/repo/swh-storage/swh/storage/tests/test_converters.py", line 11, in <module> |
90 | from swh.storage import converters |
91 | File "/home/temp-drydock/drydock/workingcopy-169/repo/swh-storage/swh/storage/__init__.py", line 1, in <module> |
92 | from . import storage |
93 | File "/home/temp-drydock/drydock/workingcopy-169/repo/swh-storage/swh/storage/storage.py", line 1245 |
94 | @db_transaction |
95 | ^ |
96 | SyntaxError: unexpected EOF while parsing |
97 | |
98 | ====================================================================== |
99 | ERROR: Failure: SyntaxError (unexpected EOF while parsing (storage.py, line 1245)) |
100 | ---------------------------------------------------------------------- |
101 | Traceback (most recent call last): |
102 | File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest |
103 | raise self.exc_val.with_traceback(self.tb) |
104 | File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName |
105 | addr.filename, addr.module) |
106 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath |
107 | return self.importFromDir(dir_path, fqname) |
108 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir |
109 | mod = load_module(part_fqname, fh, filename, desc) |
110 | File "/usr/lib/python3.4/imp.py", line 235, in load_module |
111 | return load_source(name, filename, file) |
112 | File "/usr/lib/python3.4/imp.py", line 171, in load_source |
113 | module = methods.load() |
114 | File "<frozen importlib._bootstrap>", line 1220, in load |
115 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked |
116 | File "<frozen importlib._bootstrap>", line 1129, in _exec |
117 | File "<frozen importlib._bootstrap>", line 1471, in exec_module |
118 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed |
119 | File "/home/temp-drydock/drydock/workingcopy-169/repo/swh-storage/swh/storage/tests/test_db.py", line 14, in <module> |
120 | from swh.storage.db import Db |
121 | File "/home/temp-drydock/drydock/workingcopy-169/repo/swh-storage/swh/storage/__init__.py", line 1, in <module> |
122 | from . import storage |
123 | File "/home/temp-drydock/drydock/workingcopy-169/repo/swh-storage/swh/storage/storage.py", line 1245 |
124 | @db_transaction |
125 | ^ |
126 | SyntaxError: unexpected EOF while parsing |
127 | |
128 | ====================================================================== |
129 | ERROR: Failure: SyntaxError (unexpected EOF while parsing (storage.py, line 1245)) |
130 | ---------------------------------------------------------------------- |
131 | Traceback (most recent call last): |
132 | File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest |
133 | raise self.exc_val.with_traceback(self.tb) |
134 | File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName |
135 | addr.filename, addr.module) |
136 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath |
137 | return self.importFromDir(dir_path, fqname) |
138 | File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir |
139 | mod = load_module(part_fqname, fh, filename, desc) |
140 | File "/usr/lib/python3.4/imp.py", line 235, in load_module |
141 | return load_source(name, filename, file) |
142 | File "/usr/lib/python3.4/imp.py", line 171, in load_source |
143 | module = methods.load() |
144 | File "<frozen importlib._bootstrap>", line 1220, in load |
145 | File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked |
146 | File "<frozen importlib._bootstrap>", line 1129, in _exec |
147 | File "<frozen importlib._bootstrap>", line 1471, in exec_module |
148 | File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed |
149 | File "/home/temp-drydock/drydock/workingcopy-169/repo/swh-storage/swh/storage/tests/test_storage.py", line 22, in <module> |
150 | from swh.storage import Storage |
151 | File "/home/temp-drydock/drydock/workingcopy-169/repo/swh-storage/swh/storage/__init__.py", line 1, in <module> |
152 | from . import storage |
153 | File "/home/temp-drydock/drydock/workingcopy-169/repo/swh-storage/swh/storage/storage.py", line 1245 |
154 | @db_transaction |
155 | ^ |
156 | SyntaxError: unexpected EOF while parsing |
157 | |
158 | ---------------------------------------------------------------------- |
159 | Ran 5 tests in 1.714s |
160 | |
161 | FAILED (errors=5) |
162 |
Update environment from working copy
Update environment from working copy
- When
- Completed at Oct 7 2016, 5:10 PM · Built for 23 s
- Status
Passed
1 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/snippets |
---|---|
2 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/snippets |
3 | Already up-to-date. |
4 | |
5 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-cloner-git |
6 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-cloner-git |
7 | Already up-to-date. |
8 | |
9 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-fetcher-googlecode |
10 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-fetcher-googlecode |
11 | Already up-to-date. |
12 | |
13 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-core |
14 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-core |
15 | Already up-to-date. |
16 | |
17 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-indexer |
18 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-indexer |
19 | Already up-to-date. |
20 | |
21 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-debian |
22 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-debian |
23 | Already up-to-date. |
24 | |
25 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-dir |
26 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-dir |
27 | phabricator-ssh-exec: Attempt to connect to phabricator@localhost failed with error #1040: Too many connections. |
28 | fatal: Could not read from remote repository. |
29 | |
30 | Please make sure you have the correct access rights |
31 | and the repository exists. |
32 | |
33 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-core |
34 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-core |
35 | Already up-to-date. |
36 | |
37 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-antelink |
38 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-antelink |
39 | Already up-to-date. |
40 | |
41 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-journal |
42 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-journal |
43 | Already up-to-date. |
44 | |
45 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-lister-github |
46 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-lister-github |
47 | Already up-to-date. |
48 | |
49 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-git |
50 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-git |
51 | Already up-to-date. |
52 | |
53 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-svn |
54 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-svn |
55 | Already up-to-date. |
56 | |
57 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-model |
58 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-model |
59 | Already up-to-date. |
60 | |
61 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-tar |
62 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-tar |
63 | Already up-to-date. |
64 | |
65 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-objstorage |
66 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-objstorage |
67 | Already up-to-date. |
68 | |
69 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-scheduler |
70 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-scheduler |
71 | Already up-to-date. |
72 | |
73 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-py-template |
74 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-py-template |
75 | Already up-to-date. |
76 | |
77 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-web-ui |
78 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-web-ui |
79 | Already up-to-date. |
80 | |
81 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-storage-testdata |
82 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-storage-testdata |
83 | From ssh://forge.softwareheritage.org/diffusion/DSTOT/swh-storage-testdata |
84 | 66aa8e8..7678e03 master -> origin/master |
85 | Updating 66aa8e8..7678e03 |
86 | Fast-forward |
87 | dumps/swh-archiver.dump | Bin 10774 -> 10675 bytes |
88 | dumps/swh-archiver.sql | 2 +- |
89 | dumps/swh.dump | Bin 124342 -> 129429 bytes |
90 | dumps/swh.sql | 274 ++++++++++++++++++++++++++++++++++++++++-------- |
91 | 4 files changed, 231 insertions(+), 45 deletions(-) |
92 | |
93 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-storage |
94 | mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-storage |
95 | From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage |
96 | 7add2cd..fd717f3 master -> origin/master |
97 | Updating 7add2cd..fd717f3 |
98 | Fast-forward |
99 | sql/swh-func.sql | 37 ++++++++++++++++++++++++++ |
100 | sql/swh-schema.sql | 15 ++++++++++- |
101 | sql/upgrades/087.sql | 56 +++++++++++++++++++++++++++++++++++++++ |
102 | swh/storage/api/client.py | 6 +++++ |
103 | swh/storage/api/server.py | 12 +++++++++ |
104 | swh/storage/db.py | 11 ++++++++ |
105 | swh/storage/storage.py | 33 +++++++++++++++++++++++ |
106 | swh/storage/tests/test_storage.py | 30 +++++++++++++++++++++ |
107 | 8 files changed, 199 insertions(+), 1 deletion(-) |
108 | create mode 100644 sql/upgrades/087.sql |
109 | |
110 | mr update: finished (20 ok; 1 failed) |
111 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at Oct 7 2016, 5:09 PM · Built instantly
- Status
Passed