Page MenuHomeSoftware Heritage

Build 1239

Properties

Buildable
B933: Diff 732
Build Plan
Plan 2 Software Heritage Python tests
Status
Failed

Lint

When
Completed at Jul 11 2017, 6:02 PM · Built for 4 s
Status
Passed
1 empty logs are hidden. Show all logs.

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

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

Python tests

When
Completed at Jul 11 2017, 6:02 PM · Built for 3 s
Status
Failed
1 empty logs are hidden. Show all logs.

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

1./pythonpath.sh: line 7: local: can only be used in a function
2./pythonpath.sh: line 11: local: can only be used in a function
3W: unknown repository 'swh-loader-antelink', you might want to remove it
4W: unknown repository 'swh-cloner-git', you might want to remove it
5W: unknown repository 'swh-environment', you might want to remove it
6W: unknown repository 'swh-lister-github', you might want to remove it
7W: unknown repository 'swh-lister-bitbucket', you might want to remove it
8W: unknown repository 'swh-fetcher-googlecode', you might want to remove it
9Failure: ImportError (No module named 'swh.core.tests.storage_testing') ... ERROR
10archive_ls (test_archiver.TestArchiverStorageStub) ... ok
11content_archive_get (test_archiver.TestArchiverStorageStub) ... ok
12content_archive_get_copies (test_archiver.TestArchiverStorageStub) ... ok
13content_archive_get_missing (test_archiver.TestArchiverStorageStub) ... ok
14content_archive_get_unarchived_copies (test_archiver.TestArchiverStorageStub) ... ok
15content_archive_get_unknown (test_archiver.TestArchiverStorageStub) ... ok
16content_archive_update (test_archiver.TestArchiverStorageStub) ... ok
17ctags_to_db (test_converters.TestConverters) ... ok
18db_to_author (test_converters.TestConverters) ... ok
19db_to_ctags (test_converters.TestConverters) ... ok
20db_to_fossology_license (test_converters.TestConverters) ... ok
21db_to_git_headers (test_converters.TestConverters) ... ok
22db_to_language (test_converters.TestConverters) ... ok
23db_to_mimetype (test_converters.TestConverters) ... ok
24db_to_release (test_converters.TestConverters) ... ok
25db_to_revision (test_converters.TestConverters) ... ok
26Failure: ImportError (No module named 'swh.core.tests.storage_testing') ... ERROR
27
28======================================================================
29ERROR: Failure: ImportError (No module named 'swh.core.tests.storage_testing')
30----------------------------------------------------------------------
31Traceback (most recent call last):
32 File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
33 raise self.exc_val.with_traceback(self.tb)
34 File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName
35 addr.filename, addr.module)
36 File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
37 return self.importFromDir(dir_path, fqname)
38 File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
39 mod = load_module(part_fqname, fh, filename, desc)
40 File "/usr/lib/python3.4/imp.py", line 235, in load_module
41 return load_source(name, filename, file)
42 File "/usr/lib/python3.4/imp.py", line 171, in load_source
43 module = methods.load()
44 File "<frozen importlib._bootstrap>", line 1220, in load
45 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
46 File "<frozen importlib._bootstrap>", line 1129, in _exec
47 File "<frozen importlib._bootstrap>", line 1471, in exec_module
48 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
49 File "/home/temp-drydock/drydock/workingcopy-169/repo/swh-storage/swh/storage/tests/test_api_client.py", line 9, in <module>
50 from swh.storage.tests.test_storage import CommonTestStorage
51 File "/home/temp-drydock/drydock/workingcopy-169/repo/swh-storage/swh/storage/tests/test_storage.py", line 22, in <module>
52 from swh.core.tests.storage_testing import StorageTestFixture
53ImportError: No module named 'swh.core.tests.storage_testing'
54
55======================================================================
56ERROR: Failure: ImportError (No module named 'swh.core.tests.storage_testing')
57----------------------------------------------------------------------
58Traceback (most recent call last):
59 File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
60 raise self.exc_val.with_traceback(self.tb)
61 File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName
62 addr.filename, addr.module)
63 File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
64 return self.importFromDir(dir_path, fqname)
65 File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
66 mod = load_module(part_fqname, fh, filename, desc)
67 File "/usr/lib/python3.4/imp.py", line 235, in load_module
68 return load_source(name, filename, file)
69 File "/usr/lib/python3.4/imp.py", line 171, in load_source
70 module = methods.load()
71 File "<frozen importlib._bootstrap>", line 1220, in load
72 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
73 File "<frozen importlib._bootstrap>", line 1129, in _exec
74 File "<frozen importlib._bootstrap>", line 1471, in exec_module
75 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
76 File "/home/temp-drydock/drydock/workingcopy-169/repo/swh-storage/swh/storage/tests/test_storage.py", line 22, in <module>
77 from swh.core.tests.storage_testing import StorageTestFixture
78ImportError: No module named 'swh.core.tests.storage_testing'
79
80----------------------------------------------------------------------
81Ran 18 tests in 0.973s
82
83FAILED (errors=2)
84

Update environment from working copy

When
Completed at Jul 11 2017, 6:02 PM · Built for 25 s
Status
Passed
1 empty logs are hidden. Show all logs.

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

1mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/snippets
2mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/snippets
3Already up-to-date.
4
5mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-archiver
6mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-archiver
7From ssh://forge.softwareheritage.org/source/swh-archiver
8 07d464e..b2bc403 master -> origin/master
9 * [new tag] v0.0.1 -> v0.0.1
10Updating 07d464e..b2bc403
11Fast-forward
12 MANIFEST.in | 8 ++
13 debian/changelog | 5 +
14 debian/compat | 1 +
15 debian/control | 25 ++++
16 debian/copyright | 22 +++
17 debian/rules | 12 ++
18 debian/source/format | 1 +
19 requirements-swh.txt | 3 +-
20 requirements.txt | 4 -
21 sql/.gitignore | 3 +
22 sql/Makefile | 2 +-
23 sql/swh-init.sql | 1 +
24 swh/archiver/checker.py | 271 +++++++++++++++++++++++++++++++++++++
25 swh/archiver/tests/test_checker.py | 155 +++++++++++++++++++++
26 14 files changed, 507 insertions(+), 6 deletions(-)
27 create mode 100644 MANIFEST.in
28 create mode 100644 debian/changelog
29 create mode 100644 debian/compat
30 create mode 100644 debian/control
31 create mode 100644 debian/copyright
32 create mode 100755 debian/rules
33 create mode 100644 debian/source/format
34 create mode 100644 sql/.gitignore
35 create mode 100644 sql/swh-init.sql
36 create mode 100644 swh/archiver/checker.py
37 create mode 100644 swh/archiver/tests/test_checker.py
38
39mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-journal
40mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-journal
41From ssh://forge.softwareheritage.org/diffusion/DJNL/swh-journal
42 1312c34..1358fa4 master -> origin/master
43 * [new tag] v0.0.3 -> v0.0.3
44Updating 1312c34..1358fa4
45Fast-forward
46 debian/control | 1 +
47 requirements-swh.txt | 2 ++
48 requirements.txt | 3 ++-
49 3 files changed, 5 insertions(+), 1 deletion(-)
50
51mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-core
52mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-core
53Already up-to-date.
54
55mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-debian
56mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-debian
57Already up-to-date.
58
59mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-core
60mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-core
61Already up-to-date.
62
63mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-lister
64mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-lister
65From ssh://forge.softwareheritage.org/source/swh-lister
66 75ba12e..b6bdab7 master -> origin/master
67Updating 75ba12e..b6bdab7
68Fast-forward
69 swh/lister/core/indexing_lister.py | 2 +-
70 swh/lister/core/lister_base.py | 2 +-
71 2 files changed, 2 insertions(+), 2 deletions(-)
72
73mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-dir
74mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-dir
75Already up-to-date.
76
77mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-indexer
78mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-indexer
79From ssh://forge.softwareheritage.org/diffusion/78/swh-indexer
80 d7d5735..53eccf5 master -> origin/master
81Updating d7d5735..53eccf5
82Fast-forward
83 swh/indexer/indexer.py | 94 ++++++++---------
84 swh/indexer/metadata.py | 84 +++++++++++++++
85 swh/indexer/metadata_dictionary.py | 204 +++++++++++++++++++++++++++++++++++++
86 swh/indexer/tests/test_language.py | 2 +-
87 swh/indexer/tests/test_metadata.py | 195 +++++++++++++++++++++++++++++++++++
88 swh/indexer/tests/test_utils.py | 50 +++++++++
89 6 files changed, 581 insertions(+), 48 deletions(-)
90 create mode 100644 swh/indexer/metadata.py
91 create mode 100644 swh/indexer/metadata_dictionary.py
92 create mode 100644 swh/indexer/tests/test_metadata.py
93
94mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-mercurial
95mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-mercurial
96Already up-to-date.
97
98mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-svn
99mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-svn
100Already up-to-date.
101
102mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-tar
103mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-tar
104Already up-to-date.
105
106mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-git
107mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-loader-git
108Already up-to-date.
109
110mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-mirror-forge
111mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-mirror-forge
112Already up-to-date.
113
114mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-model
115mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-model
116From ssh://forge.softwareheritage.org/diffusion/DMOD/swh-model
117 6f89adf..11de644 master -> origin/master
118 * [new tag] v0.0.17 -> v0.0.17
119Updating 6f89adf..11de644
120Fast-forward
121 debian/control | 2 +-
122 requirements-swh.txt | 1 -
123 setup.py | 8 +++++++-
124 3 files changed, 8 insertions(+), 3 deletions(-)
125
126mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-py-template
127mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-py-template
128Already up-to-date.
129
130mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-scheduler
131mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-scheduler
132Already up-to-date.
133
134mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-objstorage
135mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-objstorage
136From ssh://forge.softwareheritage.org/diffusion/DOBJS/swh-objstorage
137 e70f532..4412792 master -> origin/master
138 * [new tag] v0.0.21 -> v0.0.21
139 * [new tag] v0.0.22 -> v0.0.22
140Updating e70f532..4412792
141Fast-forward
142 debian/control | 10 +-
143 debian/rules | 4 +-
144 requirements-swh.txt | 1 -
145 requirements.txt | 2 +-
146 swh/objstorage/checker.py | 270 ------------------------
147 swh/objstorage/tests/test_checker.py | 155 --------------
148 swh/objstorage/tests/test_multiplexer_filter.py | 4 -
149 swh/objstorage/tests/test_objstorage_api.py | 3 -
150 8 files changed, 4 insertions(+), 445 deletions(-)
151 delete mode 100644 swh/objstorage/checker.py
152 delete mode 100644 swh/objstorage/tests/test_checker.py
153
154mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-vault
155mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-vault
156From ssh://forge.softwareheritage.org/diffusion/DVAU/swh-vault
157 98dc109..6f4441b master -> origin/master
158Updating 98dc109..6f4441b
159Fast-forward
160 swh/vault/api/client.py | 2 +-
161 swh/vault/backend.py | 13 +++++++------
162 swh/vault/cookers/__init__.py | 2 ++
163 swh/vault/cookers/base.py | 8 ++++++++
164 swh/vault/cookers/directory.py | 15 ++++++---------
165 swh/vault/cookers/revision_flat.py | 5 +++++
166 swh/vault/cookers/revision_gitfast.py | 6 ++++++
167 swh/vault/cooking_tasks.py | 7 +++----
168 8 files changed, 38 insertions(+), 20 deletions(-)
169
170mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-storage-testdata
171mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-storage-testdata
172From ssh://forge.softwareheritage.org/diffusion/DSTOT/swh-storage-testdata
173 14bf868..66bab35 master -> origin/master
174Updating 14bf868..66bab35
175Fast-forward
176 Makefile | 4 ++--
177 1 file changed, 2 insertions(+), 2 deletions(-)
178
179mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-storage
180mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-storage
181From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage
182 fb39e1c..b8c480f master -> origin/master
183 * [new tag] v0.0.88 -> v0.0.88
184Updating fb39e1c..b8c480f
185Fast-forward
186 setup.py | 1 -
187 swh/storage/db.py | 2 +-
188 2 files changed, 1 insertion(+), 2 deletions(-)
189
190mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-web-ui
191mr update: /home/temp-drydock/drydock/workingcopy-169/repo/swh-environment/swh-web-ui
192From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui
193 * [new tag] v0.0.83 -> v0.0.83
194 * [new tag] v0.0.84 -> v0.0.84
195Already up-to-date.
196
197mr update: finished (22 ok)
198

Clone on Software Heritage Worker

When
Completed at Jul 11 2017, 6:01 PM · Built instantly
Status
Passed

Event Timeline