Source: ofxstatement-plugins
Version: 20191114
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200402 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>>'
> cd ofxstatement-otp && python3 setup.py test
> running test
> WARNING: Testing via this command is deprecated and will be removed in a
> future version. Users looking for a generic test entry point independent of
> test runner are encouraged to use tox.
> running egg_info
> writing src/ofxstatement_otp.egg-info/PKG-INFO
> writing dependency_links to src/ofxstatement_otp.egg-info/dependency_links.txt
> writing entry points to src/ofxstatement_otp.egg-info/entry_points.txt
> writing namespace_packages to
> src/ofxstatement_otp.egg-info/namespace_packages.txt
> writing requirements to src/ofxstatement_otp.egg-info/requires.txt
> writing top-level names to src/ofxstatement_otp.egg-info/top_level.txt
> reading manifest file 'src/ofxstatement_otp.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'src/ofxstatement_otp.egg-info/SOURCES.txt'
> running build_ext
>
> ----------------------------------------------------------------------
> Ran 0 tests in 0.000s
>
> OK
> # run pytest with doctest and ignore exit code 5 (no tests found)
> cd ofxstatement-otp && PYTEST_ADDOPTS=--doctest-modules python3 setup.py
> pytest; \
> PYTEST_RESULT=$?; \
> test $PYTEST_RESULT -eq 5 && exit 0; \
> exit $PYTEST_RESULT
> running pytest
> WARNING: Testing via this command is deprecated and will be removed in a
> future version. Users looking for a generic test entry point independent of
> test runner are encouraged to use tox.
> running egg_info
> writing src/ofxstatement_otp.egg-info/PKG-INFO
> writing dependency_links to src/ofxstatement_otp.egg-info/dependency_links.txt
> writing entry points to src/ofxstatement_otp.egg-info/entry_points.txt
> writing namespace_packages to
> src/ofxstatement_otp.egg-info/namespace_packages.txt
> writing requirements to src/ofxstatement_otp.egg-info/requires.txt
> writing top-level names to src/ofxstatement_otp.egg-info/top_level.txt
> reading manifest file 'src/ofxstatement_otp.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'src/ofxstatement_otp.egg-info/SOURCES.txt'
> running build_ext
> ============================= test session starts
> ==============================
> platform linux -- Python 3.8.2, pytest-4.6.9, py-1.8.1, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>/ofxstatement-otp
> collected 0 items
>
> =============================== warnings summary
> ===============================
> src/ofxstatement/plugins/otp.py:143
> /<<PKGBUILDDIR>>/ofxstatement-otp/src/ofxstatement/plugins/otp.py:143:
> DeprecationWarning: invalid escape sequence \d
> re.compile('\d+\.\d+\.\d+ \d+'),
>
> src/ofxstatement/plugins/otp.py:144
> /<<PKGBUILDDIR>>/ofxstatement-otp/src/ofxstatement/plugins/otp.py:144:
> DeprecationWarning: invalid escape sequence \d
> re.compile('[\d,]+EUR.*')
>
> -- Docs: https://docs.pytest.org/en/latest/warnings.html
> ========================== 2 warnings in 0.02 seconds
> ==========================
> cd ofxstatement-mbank-sk && python3 setup.py test
> running test
> WARNING: Testing via this command is deprecated and will be removed in a
> future version. Users looking for a generic test entry point independent of
> test runner are encouraged to use tox.
> running egg_info
> writing src/ofxstatement_mbank.sk.egg-info/PKG-INFO
> writing dependency_links to
> src/ofxstatement_mbank.sk.egg-info/dependency_links.txt
> writing entry points to src/ofxstatement_mbank.sk.egg-info/entry_points.txt
> writing namespace_packages to
> src/ofxstatement_mbank.sk.egg-info/namespace_packages.txt
> writing requirements to src/ofxstatement_mbank.sk.egg-info/requires.txt
> writing top-level names to src/ofxstatement_mbank.sk.egg-info/top_level.txt
> reading manifest file 'src/ofxstatement_mbank.sk.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'src/ofxstatement_mbank.sk.egg-info/SOURCES.txt'
> running build_ext
>
> ----------------------------------------------------------------------
> Ran 0 tests in 0.000s
>
> OK
> # run pytest with doctest and ignore exit code 5 (no tests found)
> cd ofxstatement-mbank-sk && PYTEST_ADDOPTS=--doctest-modules python3 setup.py
> pytest; \
> PYTEST_RESULT=$?; \
> test $PYTEST_RESULT -eq 5 && exit 0; \
> exit $PYTEST_RESULT
> running pytest
> WARNING: Testing via this command is deprecated and will be removed in a
> future version. Users looking for a generic test entry point independent of
> test runner are encouraged to use tox.
> running egg_info
> writing src/ofxstatement_mbank.sk.egg-info/PKG-INFO
> writing dependency_links to
> src/ofxstatement_mbank.sk.egg-info/dependency_links.txt
> writing entry points to src/ofxstatement_mbank.sk.egg-info/entry_points.txt
> writing namespace_packages to
> src/ofxstatement_mbank.sk.egg-info/namespace_packages.txt
> writing requirements to src/ofxstatement_mbank.sk.egg-info/requires.txt
> writing top-level names to src/ofxstatement_mbank.sk.egg-info/top_level.txt
> reading manifest file 'src/ofxstatement_mbank.sk.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'src/ofxstatement_mbank.sk.egg-info/SOURCES.txt'
> running build_ext
> ============================= test session starts
> ==============================
> platform linux -- Python 3.8.2, pytest-4.6.9, py-1.8.1, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>/ofxstatement-mbank-sk
> collected 0 items
>
> ========================= no tests ran in 0.01 seconds
> =========================
> cd ofxstatement-de-triodos && python3 setup.py test
> running test
> WARNING: Testing via this command is deprecated and will be removed in a
> future version. Users looking for a generic test entry point independent of
> test runner are encouraged to use tox.
> running egg_info
> writing src/ofxstatement_de_triodos.egg-info/PKG-INFO
> writing dependency_links to
> src/ofxstatement_de_triodos.egg-info/dependency_links.txt
> writing entry points to src/ofxstatement_de_triodos.egg-info/entry_points.txt
> writing namespace_packages to
> src/ofxstatement_de_triodos.egg-info/namespace_packages.txt
> writing requirements to src/ofxstatement_de_triodos.egg-info/requires.txt
> writing top-level names to src/ofxstatement_de_triodos.egg-info/top_level.txt
> reading manifest file 'src/ofxstatement_de_triodos.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'src/ofxstatement_de_triodos.egg-info/SOURCES.txt'
> running build_ext
>
> ----------------------------------------------------------------------
> Ran 0 tests in 0.000s
>
> OK
> # run pytest with doctest and ignore exit code 5 (no tests found)
> cd ofxstatement-de-triodos && PYTEST_ADDOPTS=--doctest-modules python3
> setup.py pytest; \
> PYTEST_RESULT=$?; \
> test $PYTEST_RESULT -eq 5 && exit 0; \
> exit $PYTEST_RESULT
> running pytest
> WARNING: Testing via this command is deprecated and will be removed in a
> future version. Users looking for a generic test entry point independent of
> test runner are encouraged to use tox.
> running egg_info
> writing src/ofxstatement_de_triodos.egg-info/PKG-INFO
> writing dependency_links to
> src/ofxstatement_de_triodos.egg-info/dependency_links.txt
> writing entry points to src/ofxstatement_de_triodos.egg-info/entry_points.txt
> writing namespace_packages to
> src/ofxstatement_de_triodos.egg-info/namespace_packages.txt
> writing requirements to src/ofxstatement_de_triodos.egg-info/requires.txt
> writing top-level names to src/ofxstatement_de_triodos.egg-info/top_level.txt
> reading manifest file 'src/ofxstatement_de_triodos.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'src/ofxstatement_de_triodos.egg-info/SOURCES.txt'
> running build_ext
> ============================= test session starts
> ==============================
> platform linux -- Python 3.8.2, pytest-4.6.9, py-1.8.1, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>/ofxstatement-de-triodos
> collected 0 items
>
> ========================= no tests ran in 0.01 seconds
> =========================
> cd ofxstatement-postbank && python3 setup.py test
> running test
> WARNING: Testing via this command is deprecated and will be removed in a
> future version. Users looking for a generic test entry point independent of
> test runner are encouraged to use tox.
> running egg_info
> writing src/ofxstatement_germany_postbank.egg-info/PKG-INFO
> writing dependency_links to
> src/ofxstatement_germany_postbank.egg-info/dependency_links.txt
> writing entry points to
> src/ofxstatement_germany_postbank.egg-info/entry_points.txt
> writing namespace_packages to
> src/ofxstatement_germany_postbank.egg-info/namespace_packages.txt
> writing requirements to
> src/ofxstatement_germany_postbank.egg-info/requires.txt
> writing top-level names to
> src/ofxstatement_germany_postbank.egg-info/top_level.txt
> reading manifest file 'src/ofxstatement_germany_postbank.egg-info/SOURCES.txt'
> writing manifest file 'src/ofxstatement_germany_postbank.egg-info/SOURCES.txt'
> running build_ext
>
> ----------------------------------------------------------------------
> Ran 0 tests in 0.000s
>
> OK
> # run pytest with doctest and ignore exit code 5 (no tests found)
> cd ofxstatement-postbank && PYTEST_ADDOPTS=--doctest-modules python3 setup.py
> pytest; \
> PYTEST_RESULT=$?; \
> test $PYTEST_RESULT -eq 5 && exit 0; \
> exit $PYTEST_RESULT
> running pytest
> WARNING: Testing via this command is deprecated and will be removed in a
> future version. Users looking for a generic test entry point independent of
> test runner are encouraged to use tox.
> running egg_info
> writing src/ofxstatement_germany_postbank.egg-info/PKG-INFO
> writing dependency_links to
> src/ofxstatement_germany_postbank.egg-info/dependency_links.txt
> writing entry points to
> src/ofxstatement_germany_postbank.egg-info/entry_points.txt
> writing namespace_packages to
> src/ofxstatement_germany_postbank.egg-info/namespace_packages.txt
> writing requirements to
> src/ofxstatement_germany_postbank.egg-info/requires.txt
> writing top-level names to
> src/ofxstatement_germany_postbank.egg-info/top_level.txt
> reading manifest file 'src/ofxstatement_germany_postbank.egg-info/SOURCES.txt'
> writing manifest file 'src/ofxstatement_germany_postbank.egg-info/SOURCES.txt'
> running build_ext
> ============================= test session starts
> ==============================
> platform linux -- Python 3.8.2, pytest-4.6.9, py-1.8.1, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>/_ofxstatement-germany/germany_postbank
> collected 0 items
>
> ========================= no tests ran in 0.01 seconds
> =========================
> cd ofxstatement-seb && python3 setup.py test
> running test
> WARNING: Testing via this command is deprecated and will be removed in a
> future version. Users looking for a generic test entry point independent of
> test runner are encouraged to use tox.
> running egg_info
> writing ofxstatement_seb.egg-info/PKG-INFO
> writing dependency_links to ofxstatement_seb.egg-info/dependency_links.txt
> writing entry points to ofxstatement_seb.egg-info/entry_points.txt
> writing namespace_packages to ofxstatement_seb.egg-info/namespace_packages.txt
> writing requirements to ofxstatement_seb.egg-info/requires.txt
> writing top-level names to ofxstatement_seb.egg-info/top_level.txt
> reading manifest file 'ofxstatement_seb.egg-info/SOURCES.txt'
> writing manifest file 'ofxstatement_seb.egg-info/SOURCES.txt'
> running build_ext
>
> ----------------------------------------------------------------------
> Ran 0 tests in 0.000s
>
> OK
> # run pytest with doctest and ignore exit code 5 (no tests found)
> cd ofxstatement-seb && PYTEST_ADDOPTS=--doctest-modules python3 setup.py
> pytest; \
> PYTEST_RESULT=$?; \
> test $PYTEST_RESULT -eq 5 && exit 0; \
> exit $PYTEST_RESULT
> running pytest
> WARNING: Testing via this command is deprecated and will be removed in a
> future version. Users looking for a generic test entry point independent of
> test runner are encouraged to use tox.
> running egg_info
> writing ofxstatement_seb.egg-info/PKG-INFO
> writing dependency_links to ofxstatement_seb.egg-info/dependency_links.txt
> writing entry points to ofxstatement_seb.egg-info/entry_points.txt
> writing namespace_packages to ofxstatement_seb.egg-info/namespace_packages.txt
> writing requirements to ofxstatement_seb.egg-info/requires.txt
> writing top-level names to ofxstatement_seb.egg-info/top_level.txt
> reading manifest file 'ofxstatement_seb.egg-info/SOURCES.txt'
> writing manifest file 'ofxstatement_seb.egg-info/SOURCES.txt'
> running build_ext
> ============================= test session starts
> ==============================
> platform linux -- Python 3.8.2, pytest-4.6.9, py-1.8.1, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>/ofxstatement-seb
> collected 0 items
>
> ========================= no tests ran in 0.13 seconds
> =========================
> cd ofxstatement-lithuanian && python3 setup.py test
> running test
> WARNING: Testing via this command is deprecated and will be removed in a
> future version. Users looking for a generic test entry point independent of
> test runner are encouraged to use tox.
> running egg_info
> writing src/ofxstatement_lithuanian.egg-info/PKG-INFO
> writing dependency_links to
> src/ofxstatement_lithuanian.egg-info/dependency_links.txt
> writing entry points to src/ofxstatement_lithuanian.egg-info/entry_points.txt
> writing namespace_packages to
> src/ofxstatement_lithuanian.egg-info/namespace_packages.txt
> writing requirements to src/ofxstatement_lithuanian.egg-info/requires.txt
> writing top-level names to src/ofxstatement_lithuanian.egg-info/top_level.txt
> reading manifest file 'src/ofxstatement_lithuanian.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'src/ofxstatement_lithuanian.egg-info/SOURCES.txt'
> running build_ext
> doctest_SwedbankCsvStatementParser (ofxstatement.plugins.tests.test_swedbank)
> Doctest:
> ofxstatement.plugins.tests.test_swedbank.doctest_SwedbankCsvStatementParser
> ... /usr/lib/python3.8/doctest.py:2173: ResourceWarning: unclosed file
> <_io.TextIOWrapper
> name='/<<PKGBUILDDIR>>/ofxstatement-lithuanian/src/ofxstatement/plugins/tests/samples/swedbank.csv'
> mode='r' encoding='utf-8'>
> test.globs.clear()
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> FAIL
> doctest_DanskeCsvStatementParser (ofxstatement.plugins.tests.test_danske)
> Doctest:
> ofxstatement.plugins.tests.test_danske.doctest_DanskeCsvStatementParser ...
> /usr/lib/python3.8/doctest.py:2173: ResourceWarning: unclosed file
> <_io.TextIOWrapper
> name='/<<PKGBUILDDIR>>/ofxstatement-lithuanian/src/ofxstatement/plugins/tests/samples/danske.csv'
> mode='r' encoding='cp1257'>
> test.globs.clear()
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> FAIL
> doctest_LitasEsisCsvStatementParser
> (ofxstatement.plugins.tests.test_litas_esis)
> Doctest:
> ofxstatement.plugins.tests.test_litas_esis.doctest_LitasEsisCsvStatementParser
> ... /usr/lib/python3.8/doctest.py:2173: ResourceWarning: unclosed file
> <_io.TextIOWrapper
> name='/<<PKGBUILDDIR>>/ofxstatement-lithuanian/src/ofxstatement/plugins/tests/samples/litas_esis.acc'
> mode='r' encoding='cp1257'>
> test.globs.clear()
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> FAIL
> doctest_LitasEsisCsvStatementParser_swap_payee_memo
> (ofxstatement.plugins.tests.test_litas_esis)
> Doctest:
> ofxstatement.plugins.tests.test_litas_esis.doctest_LitasEsisCsvStatementParser_swap_payee_memo
> ... ok
>
> ======================================================================
> FAIL: doctest_SwedbankCsvStatementParser
> (ofxstatement.plugins.tests.test_swedbank)
> Doctest:
> ofxstatement.plugins.tests.test_swedbank.doctest_SwedbankCsvStatementParser
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python3.8/doctest.py", line 2197, in runTest
> raise self.failureException(self.format_failure(new.getvalue()))
> AssertionError: Failed doctest test for
> ofxstatement.plugins.tests.test_swedbank.doctest_SwedbankCsvStatementParser
> File
> "/<<PKGBUILDDIR>>/ofxstatement-lithuanian/src/ofxstatement/plugins/tests/test_swedbank.py",
> line 5, in doctest_SwedbankCsvStatementParser
>
> ----------------------------------------------------------------------
> File
> "/<<PKGBUILDDIR>>/ofxstatement-lithuanian/src/ofxstatement/plugins/tests/test_swedbank.py",
> line 24, in
> ofxstatement.plugins.tests.test_swedbank.doctest_SwedbankCsvStatementParser
> Failed example:
> statement.start_balance
> Differences (ndiff with -expected +actual):
> - 2123.82
> + Decimal('2123.82')
>
>
> ======================================================================
> FAIL: doctest_DanskeCsvStatementParser
> (ofxstatement.plugins.tests.test_danske)
> Doctest:
> ofxstatement.plugins.tests.test_danske.doctest_DanskeCsvStatementParser
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python3.8/doctest.py", line 2197, in runTest
> raise self.failureException(self.format_failure(new.getvalue()))
> AssertionError: Failed doctest test for
> ofxstatement.plugins.tests.test_danske.doctest_DanskeCsvStatementParser
> File
> "/<<PKGBUILDDIR>>/ofxstatement-lithuanian/src/ofxstatement/plugins/tests/test_danske.py",
> line 5, in doctest_DanskeCsvStatementParser
>
> ----------------------------------------------------------------------
> File
> "/<<PKGBUILDDIR>>/ofxstatement-lithuanian/src/ofxstatement/plugins/tests/test_danske.py",
> line 22, in
> ofxstatement.plugins.tests.test_danske.doctest_DanskeCsvStatementParser
> Failed example:
> statement.start_balance
> Differences (ndiff with -expected +actual):
> - 0.0
> + Decimal('0')
>
>
> ======================================================================
> FAIL: doctest_LitasEsisCsvStatementParser
> (ofxstatement.plugins.tests.test_litas_esis)
> Doctest:
> ofxstatement.plugins.tests.test_litas_esis.doctest_LitasEsisCsvStatementParser
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python3.8/doctest.py", line 2197, in runTest
> raise self.failureException(self.format_failure(new.getvalue()))
> AssertionError: Failed doctest test for
> ofxstatement.plugins.tests.test_litas_esis.doctest_LitasEsisCsvStatementParser
> File
> "/<<PKGBUILDDIR>>/ofxstatement-lithuanian/src/ofxstatement/plugins/tests/test_litas_esis.py",
> line 6, in doctest_LitasEsisCsvStatementParser
>
> ----------------------------------------------------------------------
> File
> "/<<PKGBUILDDIR>>/ofxstatement-lithuanian/src/ofxstatement/plugins/tests/test_litas_esis.py",
> line 37, in
> ofxstatement.plugins.tests.test_litas_esis.doctest_LitasEsisCsvStatementParser
> Failed example:
> l.amount
> Differences (ndiff with -expected +actual):
> - -1.0
> + Decimal('-100')
>
>
> ----------------------------------------------------------------------
> Ran 4 tests in 0.008s
>
> FAILED (failures=3)
> Test failed: <unittest.runner.TextTestResult run=4 errors=0 failures=3>
> error: Test failed: <unittest.runner.TextTestResult run=4 errors=0 failures=3>
> make[1]: *** [debian/rules:32: plugin_test_ofxstatement-lithuanian] Error 1
The full build log is available from:
http://qa-logs.debian.net/2020/04/02/ofxstatement-plugins_20191114_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.