Your message dated Wed, 13 Dec 2023 09:16:23 +0100
with message-id <[email protected]>
and subject line Issue was in python3-tempestconf
has caused the Debian Bug report #1058141,
regarding refstack-client: FTBFS: AttributeError: module 'configparser' has no
attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1058141: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058141
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: refstack-client
Version: 0.0.0~2021.08.18.fa73ef2524-6
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20231212 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make[1]: pyversions: No such file or directory
> py3versions: no X-Python3-Version in control file, using supported versions
> # The no-venv patch is breaking, so we blacklist it:
> test_get_tempest_test_ids()
> pkgos-dh_auto_test --no-py2
> 'refstack_client\.tests\.(?!.*unit\.test_list_parser\.TestTestListParser\.test_get_tempest_test_ids.*)'
> + PKGOS_TEST_PARALLEL=yes
> + PKGOS_TEST_SERIAL=no
> + PYTHONS=disabled
> + PYTHON3S=disabled
> + TEST_PARALLEL_OPT=--parallel
> + TEST_SERIAL_OPT=
> + echo WARNING: --no-py2 is deprecated, and always on.
> WARNING: --no-py2 is deprecated, and always on.
> + shift
> + py3versions -vr
> + PYTHON3S=3.12 3.11
> + [ yes = no ]
> + [ no = yes ]
> + [ 3.12 = disabled ]
> + echo 3.12
> + cut -d. -f1
> + PYMAJOR=3
> + echo ===> Testing with python (python3)
> ===> Testing with python (python3)
> + pwd
> + [ -d /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages ]
> + [ -e .stestr.conf ]
> + [ -x /usr/bin/python3-stestr ]
> + STESTR=stestr
> + rm -rf .stestr
> + PYTHON=python3.12 stestr run --parallel --subunit
> refstack_client\.tests\.(?!.*unit\.test_list_parser\.TestTestListParser\.test_get_tempest_test_ids.*)
> + subunit2pyunit
> /<<PKGBUILDDIR>>/refstack_client/tests/unit/test_list_parser.py:181:
> SyntaxWarning: invalid escape sequence '\['
> expected_list = "tempest.test.one\[\n"\
> /<<PKGBUILDDIR>>/refstack_client/tests/unit/test_list_parser.py:182:
> SyntaxWarning: invalid escape sequence '\['
> "tempest.test.two\[\n"\
> /<<PKGBUILDDIR>>/refstack_client/tests/unit/test_list_parser.py:183:
> SyntaxWarning: invalid escape sequence '\['
> "tempest.test.three\[\n" # noqa W605
> /<<PKGBUILDDIR>>/refstack_client/list_parser.py:192: SyntaxWarning: invalid
> escape sequence '\['
> """This takes in a test list file, get normalized, and get list of
>
> =========================
> Failures during discovery
> =========================
> --- import errors ---
> Failed to import test module: refstack_client.tests.unit.test_client
> Traceback (most recent call last):
> File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
> module = self._get_module_from_name(name)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/unittest/loader.py", line 337, in
> _get_module_from_name
> __import__(name)
> File "/<<PKGBUILDDIR>>/refstack_client/tests/unit/test_client.py", line 28,
> in <module>
> from refstack_client import refstack_client as rc
> File "/<<PKGBUILDDIR>>/refstack_client/refstack_client.py", line 45, in
> <module>
> from config_tempest import main
> File "/usr/lib/python3/dist-packages/config_tempest/main.py", line 55, in
> <module>
> from config_tempest.tempest_conf import TempestConf
> File "/usr/lib/python3/dist-packages/config_tempest/tempest_conf.py", line
> 26, in <module>
> class TempestConf(configparser.SafeConfigParser):
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: module 'configparser' has no attribute 'SafeConfigParser'.
> Did you mean: 'RawConfigParser'?
>
> ================================================================================
> The above traceback was encountered during test discovery which imports all
> the found test modules in the specified test_path.
>
> ----------------------------------------------------------------------
> Ran 0 tests in 1.522s
>
> OK
> + stestr slowest
> make[1]: *** [debian/rules:24: override_dh_auto_test] Error 3
The full build log is available from:
http://qa-logs.debian.net/2023/12/12/refstack-client_0.0.0~2021.08.18.fa73ef2524-6_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---
--- Begin Message ---
Hi,
This bug was fixed in 2.5.0-6.
Cheers,
Thomas Goirand (zigo)
--- End Message ---