Source: ionit
Version: 0.3.5-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200926 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build
> I: pybuild base:217: /usr/bin/python3 setup.py build 
> running build
> running build_py
> copying ionit_plugin.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build
> running build_scripts
> creating build
> creating build/scripts-3.8
> copying and adjusting ionit -> build/scripts-3.8
> changing mode of build/scripts-3.8/ionit from 644 to 755
> pandoc -s -t man ionit.1.md -o ionit.1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build; 
> python3.8 -m unittest discover -v -s /<<PKGBUILDDIR>>
> test_flake8 (tests.test_flake8.Flake8TestCase)
> Test: Run flake8 on Python source code ... Running following command:
> /usr/bin/python3.8 -m flake8 --max-line-length=99 /<<PKGBUILDDIR>>/ionit 
> tests ionit_plugin.py /<<PKGBUILDDIR>>/setup.py
> ok
> test_collect_function (tests.test_ionit.TestCollectContext)
> Test: Run collect_context(["tests/config/function"]) ... ok
> test_collect_static_context (tests.test_ionit.TestCollectContext)
> Test: Run collect_context(["tests/config/static"]) ... 
> /<<PKGBUILDDIR>>/ionit.py:128: YAMLLoadWarning: calling yaml.load() without 
> Loader=... is deprecated, as the default Loader is unsafe. Please read 
> https://msg.pyyaml.org/load for full details.
>   file_context = yaml.load(config_file)
> ok
> test_configuration_file (tests.test_ionit.TestCollectContext)
> Test: Run collect_context(["tests/config/static/second.yaml"]) ... ok
> test_context_stacking (tests.test_ionit.TestCollectContext)
> Test: Run collect_context(["tests/config/stacking"]) ... ok
> test_empty_context (tests.test_ionit.TestCollectContext)
> Test: Run collect_context(["tests/config/empty-context"]) ... ok
> test_empty_python_file (tests.test_ionit.TestCollectContext)
> Test: Run collect_context(["tests/config/empty"]) ... ok
> test_ignoring_additional_files (tests.test_ionit.TestCollectContext)
> Test: Run collect_context(["tests/config/additional-file"]) ... ok
> test_invalid_json (tests.test_ionit.TestCollectContext)
> Test: Run collect_context(["tests/config/invalid-json"]) ... ok
> test_invalid_python (tests.test_ionit.TestCollectContext)
> Test: Run collect_context(["tests/config/invalid-python"]) ... ok
> test_invalid_yaml (tests.test_ionit.TestCollectContext)
> Test: Run collect_context(["tests/config/invalid-yaml"]) ... ok
> test_missing_directory (tests.test_ionit.TestCollectContext)
> Test: Non-existing context directory ... ok
> test_non_dict_context (tests.test_ionit.TestCollectContext)
> Test failure for collect_context(["tests/config/non-dict"]) ... ok
> test_python_module (tests.test_ionit.TestCollectContext)
> Test: Run collect_context(["tests/config/python"]) ... ok
> test_raise_exception (tests.test_ionit.TestCollectContext)
> Test failure for collect_context(["tests/config/exception"]) ... ok
> test_main_default_config (tests.test_ionit.TestMain)
> Test main() with default config ... 2020-09-27 11:27:41,520 ionit INFO: 
> Loading Python module 'function' from 
> '/<<PKGBUILDDIR>>/tests/config/function/function.py'...
> 2020-09-27 11:27:41,523 ionit INFO: Rendered 
> '/<<PKGBUILDDIR>>/tests/template/function/Document.jinja' to 
> '/<<PKGBUILDDIR>>/tests/template/function/Document'.
> ok
> test_main_static (tests.test_ionit.TestMain)
> Test main() with static context ... 2020-09-27 11:27:41,524 ionit INFO: 
> Reading configuration file 
> '/<<PKGBUILDDIR>>/tests/config/static/first.json'...
> 2020-09-27 11:27:41,524 ionit INFO: Reading configuration file 
> '/<<PKGBUILDDIR>>/tests/config/static/second.yaml'...
> 2020-09-27 11:27:41,525 ionit INFO: Rendered 
> '/<<PKGBUILDDIR>>/tests/template/static/counting.jinja' to 
> '/<<PKGBUILDDIR>>/tests/template/static/counting'.
> ok
> test_attribution_error (tests.test_ionit.TestRendering)
> Test: Run render_templates("tests/template/attribution-error") ... ok
> test_missing_context (tests.test_ionit.TestRendering)
> Test: Missing context for render_templates("tests/template/static") ... ok
> test_render_function (tests.test_ionit.TestRendering)
> Test: Run render_templates("tests/template/function") ... 2020-09-27 
> 11:27:41,530 ionit INFO: Rendered 
> '/<<PKGBUILDDIR>>/tests/template/function/Document.jinja' to 
> '/<<PKGBUILDDIR>>/tests/template/function/Document'.
> ok
> test_render_invalid (tests.test_ionit.TestRendering)
> Test: Run render_templates("tests/template/invalid") ... ok
> test_render_static (tests.test_ionit.TestRendering)
> Test: Run render_templates("tests/template/static") ... 2020-09-27 
> 11:27:41,532 ionit INFO: Rendered 
> '/<<PKGBUILDDIR>>/tests/template/static/counting.jinja' to 
> '/<<PKGBUILDDIR>>/tests/template/static/counting'.
> ok
> test_render_write_protected (tests.test_ionit.TestRendering)
> Test: Run render_templates("tests/template/static"), but write protected ... 
> ok
> test_file_not_open_mocked (tests.test_mock_open.MockTest)
> Test not opening the mocked file ... ok
> test_file_open_not_mocked (tests.test_mock_open.MockTest)
> Test opening a not mocked file ... ok
> test_open_same_file_twice (tests.test_mock_open.MockTest)
> Test opening the same mocked file twice ... ok
> test_raise_exception (tests.test_mock_open.MockTest)
> Test raising an exception on mocked open() ... ok
> test_pylint (tests.test_pylint.PylintTestCase)
> Test: Run pylint on Python source code ... Running following command:
> /usr/bin/python3.8 -m pylint --rcfile=/<<PKGBUILDDIR>>/tests/pylint.conf -- 
> /<<PKGBUILDDIR>>/ionit tests ionit_plugin.py /<<PKGBUILDDIR>>/setup.py
> FAIL
> 
> ======================================================================
> FAIL: test_pylint (tests.test_pylint.PylintTestCase)
> Test: Run pylint on Python source code
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests/test_pylint.py", line 68, in test_pylint
>     self.fail("\n".join(msgs))
> AssertionError: pylint found issues:
> ************* Module ionit
> /<<PKGBUILDDIR>>/ionit.py:70:8: W0707: Consider explicitly re-raising using 
> the 'from' keyword (raise-missing-from)
> /<<PKGBUILDDIR>>/ionit.py:80:12: W0707: Consider explicitly re-raising using 
> the 'from' keyword (raise-missing-from)
> ************* Module tests.mock_open
> tests/mock_open.py:38:8: R1725: Consider using Python 3 style super() without 
> arguments (super-with-arguments)
> tests/mock_open.py:94:12: W0707: Consider explicitly re-raising using the 
> 'from' keyword (raise-missing-from)
> 
> ----------------------------------------------------------------------
> Ran 28 tests in 4.886s
> 
> FAILED (failures=1)
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build; python3.8 -m unittest discover 
> -v -s /<<PKGBUILDDIR>>
> dh_auto_test: error: pybuild --test -i python{version} -p 3.8 returned exit 
> code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/09/26/ionit_0.3.5-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to