Properties
Properties
- Buildable
- B884: rDSTOcbbce73bbc3d: archiver: minimal update for new schema
- Build Plan
- Plan 2 Software Heritage Python tests
- Status
Passed
Lint
Lint
- When
- Completed at Jun 6 2017, 6:27 PM · Built for 2 s
- Status
Failed
7 | File "/usr/lib/python3/dist-packages/flake8/main/cli.py", line 16, in main |
---|---|
8 | app.run(argv) |
9 | File "/usr/lib/python3/dist-packages/flake8/main/application.py", line 322, in run |
10 | self._run(argv) |
11 | File "/usr/lib/python3/dist-packages/flake8/main/application.py", line 305, in _run |
12 | self.initialize(argv) |
13 | File "/usr/lib/python3/dist-packages/flake8/main/application.py", line 296, in initialize |
14 | self.register_plugin_options() |
15 | File "/usr/lib/python3/dist-packages/flake8/main/application.py", line 154, in register_plugin_options |
16 | self.check_plugins.register_options(self.option_manager) |
17 | File "/usr/lib/python3/dist-packages/flake8/plugins/manager.py", line 488, in register_options |
18 | list(self.manager.map(register_and_enable)) |
19 | File "/usr/lib/python3/dist-packages/flake8/plugins/manager.py", line 284, in map |
20 | yield func(self.plugins[name], *args, **kwargs) |
21 | File "/usr/lib/python3/dist-packages/flake8/plugins/manager.py", line 484, in register_and_enable |
22 | call_register_options(plugin) |
23 | File "/usr/lib/python3/dist-packages/flake8/plugins/manager.py", line 380, in generated_function |
24 | return method(optmanager, *args, **kwargs) |
25 | File "/usr/lib/python3/dist-packages/flake8/plugins/manager.py", line 230, in register_options |
26 | add_options(optmanager) |
27 | File "/usr/lib/python3/dist-packages/mccabe.py", line 240, in add_options |
28 | parser.config_options.append('max-complexity') |
29 | AttributeError: 'OptionManager' object has no attribute 'config_options' |
30 | make: *** [check] Error 1 |
31 |
1 | python3 -m flake8 swh bin/swh-storage-add-dir |
---|---|
2 | ../Makefile.python:25: recipe for target 'check' failed |
3 |
Python tests
Python tests
- When
- Completed at Jun 6 2017, 6:27 PM · Built for 4 s
- Status
Passed
1 empty logs are hidden. Show all logs.
1 | W: unknown repository 'swh-environment', you might want to remove it |
---|---|
2 | W: unknown repository 'swh-lister-github', you might want to remove it |
3 | W: unknown repository 'swh-lister-bitbucket', you might want to remove it |
4 | archive_ls (test_archiver.TestArchiverStorageStub) ... ok |
5 | content_archive_get (test_archiver.TestArchiverStorageStub) ... ok |
6 | content_archive_get_copies (test_archiver.TestArchiverStorageStub) ... ok |
7 | content_archive_get_missing (test_archiver.TestArchiverStorageStub) ... ok |
8 | content_archive_get_unarchived_copies (test_archiver.TestArchiverStorageStub) ... ok |
9 | content_archive_get_unknown (test_archiver.TestArchiverStorageStub) ... ok |
10 | content_archive_update (test_archiver.TestArchiverStorageStub) ... ok |
11 | ctags_to_db (test_converters.TestConverters) ... ok |
12 | db_to_author (test_converters.TestConverters) ... ok |
13 | db_to_ctags (test_converters.TestConverters) ... ok |
14 | db_to_fossology_license (test_converters.TestConverters) ... ok |
15 | db_to_git_headers (test_converters.TestConverters) ... ok |
16 | db_to_language (test_converters.TestConverters) ... ok |
17 | db_to_mimetype (test_converters.TestConverters) ... ok |
18 | db_to_release (test_converters.TestConverters) ... ok |
19 | db_to_revision (test_converters.TestConverters) ... ok |
20 | |
21 | ---------------------------------------------------------------------- |
22 | Ran 16 tests in 1.473s |
23 | |
24 | OK |
25 |
Update environment from working copy
Update environment from working copy
- When
- Completed at Jun 6 2017, 6:27 PM · Built for 20 s
- Status
Passed
1 empty logs are hidden. Show all logs.
116 | Updating 5ff3979..cbbce73 |
---|---|
117 | Fast-forward |
118 | debian/control | 1 + |
119 | requirements.txt | 1 + |
120 | sql/archiver/swh-archiver-data.sql | 6 +- |
121 | sql/archiver/swh-archiver-func.sql | 147 +++---------- |
122 | sql/archiver/swh-archiver-schema.sql | 108 +++------- |
123 | sql/swh-func.sql | 32 +-- |
124 | sql/swh-schema.sql | 2 +- |
125 | sql/upgrades/106.sql | 392 +++++++++++++++++++++++++++++++++++ |
126 | sql/upgrades/107.sql | 44 ++++ |
127 | swh/storage/api/client.py | 4 - |
128 | swh/storage/api/server.py | 6 - |
129 | swh/storage/archiver/db.py | 181 +++++++--------- |
130 | swh/storage/archiver/director.py | 3 +- |
131 | swh/storage/db.py | 12 -- |
132 | swh/storage/storage.py | 81 ++------ |
133 | swh/storage/tests/test_archiver.py | 63 +++--- |
134 | swh/storage/tests/test_storage.py | 80 +------ |
135 | 17 files changed, 635 insertions(+), 528 deletions(-) |
136 | create mode 100644 sql/upgrades/106.sql |
137 | create mode 100644 sql/upgrades/107.sql |
138 | |
139 | mr update: finished (23 ok) |
140 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at Jun 6 2017, 6:26 PM · Built instantly
- Status
Passed