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
1 | Traceback (most recent call last): |
---|---|
2 | File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main |
3 | "__main__", mod_spec) |
4 | File "/usr/lib/python3.4/runpy.py", line 85, in _run_code |
5 | exec(code, run_globals) |
6 | File "/usr/lib/python3/dist-packages/flake8/__main__.py", line 4, in <module> |
7 | cli.main() |
8 | File "/usr/lib/python3/dist-packages/flake8/main/cli.py", line 16, in main |
9 | app.run(argv) |
10 | File "/usr/lib/python3/dist-packages/flake8/main/application.py", line 322, in run |
11 | self._run(argv) |
12 | File "/usr/lib/python3/dist-packages/flake8/main/application.py", line 305, in _run |
13 | self.initialize(argv) |
14 | File "/usr/lib/python3/dist-packages/flake8/main/application.py", line 296, in initialize |
15 | self.register_plugin_options() |
16 | File "/usr/lib/python3/dist-packages/flake8/main/application.py", line 154, in register_plugin_options |
17 | self.check_plugins.register_options(self.option_manager) |
18 | File "/usr/lib/python3/dist-packages/flake8/plugins/manager.py", line 488, in register_options |
19 | list(self.manager.map(register_and_enable)) |
20 | File "/usr/lib/python3/dist-packages/flake8/plugins/manager.py", line 284, in map |
21 | yield func(self.plugins[name], *args, **kwargs) |
22 | File "/usr/lib/python3/dist-packages/flake8/plugins/manager.py", line 484, in register_and_enable |
23 | call_register_options(plugin) |
24 | File "/usr/lib/python3/dist-packages/flake8/plugins/manager.py", line 380, in generated_function |
25 | return method(optmanager, *args, **kwargs) |
26 | File "/usr/lib/python3/dist-packages/flake8/plugins/manager.py", line 230, in register_options |
27 | add_options(optmanager) |
28 | File "/usr/lib/python3/dist-packages/mccabe.py", line 240, in add_options |
29 | parser.config_options.append('max-complexity') |
30 | AttributeError: 'OptionManager' object has no attribute 'config_options' |
31 | make: *** [check] Error 1 |
32 |
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.
41 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-lister |
---|---|
42 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-lister |
43 | Already up-to-date. |
44 | |
45 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-loader-antelink |
46 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-loader-antelink |
47 | Already up-to-date. |
48 | |
49 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-loader-core |
50 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-loader-core |
51 | Already up-to-date. |
52 | |
53 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-loader-debian |
54 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-loader-debian |
55 | Already up-to-date. |
56 | |
57 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-loader-mercurial |
58 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-loader-mercurial |
59 | Already up-to-date. |
60 | |
61 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-loader-dir |
62 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-loader-dir |
63 | Already up-to-date. |
64 | |
65 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-loader-git |
66 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-loader-git |
67 | Already up-to-date. |
68 | |
69 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-loader-tar |
70 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-loader-tar |
71 | Already up-to-date. |
72 | |
73 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-loader-svn |
74 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-loader-svn |
75 | Already up-to-date. |
76 | |
77 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-mirror-forge |
78 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-mirror-forge |
79 | Already up-to-date. |
80 | |
81 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-model |
82 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-model |
83 | Already up-to-date. |
84 | |
85 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-py-template |
86 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-py-template |
87 | Already up-to-date. |
88 | |
89 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-objstorage |
90 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-objstorage |
91 | Already up-to-date. |
92 | |
93 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-scheduler |
94 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-scheduler |
95 | Already up-to-date. |
96 | |
97 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-storage-testdata |
98 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-storage-testdata |
99 | From ssh://forge.softwareheritage.org/diffusion/DSTOT/swh-storage-testdata |
100 | 10e1a68..95c77fc master -> origin/master |
101 | Updating 10e1a68..95c77fc |
102 | Fast-forward |
103 | dumps/swh.dump | Bin 186026 -> 182476 bytes |
104 | dumps/swh.sql | 270 +++++++++++++++++---------------------------------------- |
105 | 2 files changed, 80 insertions(+), 190 deletions(-) |
106 | |
107 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-web-ui |
108 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-web-ui |
109 | Already up-to-date. |
110 | |
111 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-storage |
112 | mr update: /home/temp-drydock/drydock/workingcopy-175/repo/swh-environment/swh-storage |
113 | From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage |
114 | 5ff3979..cbbce73 master -> origin/master |
115 | * [new tag] v0.0.84 -> v0.0.84 |
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