Your message dated Thu, 14 Dec 2023 14:49:39 +0000
with message-id <e1rdn1v-0016af...@fasolo.debian.org>
and subject line Bug#1058439: fixed in python-os-api-ref 2.3.0+ds1-3
has caused the Debian Bug report #1058439,
regarding python-os-api-ref: FTBFS: AttributeError: 'TestMicroversions' object
has no attribute 'assertRegexpMatches'
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 ow...@bugs.debian.org
immediately.)
--
1058439: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058439
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-os-api-ref
Version: 2.3.0+ds1-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
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
> pkgos-dh_auto_test --no-py2
> 'os_api_ref.tests.(?!.*test_basic_example\.TestBasicExample\.test_parameters|.*test_basic_example\.TestBasicExample\.test_rest_response.*)'
> + 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
> os_api_ref.tests.(?!.*test_basic_example\.TestBasicExample\.test_parameters|.*test_basic_example\.TestBasicExample\.test_rest_response.*)
> + subunit2pyunit
> os_api_ref.tests.test_os_api_ref.TestOs_api_ref.test_something
> os_api_ref.tests.test_os_api_ref.TestOs_api_ref.test_something ... ok
> os_api_ref.tests.test_warnings.TestWarnings.test_empty_parameter_file
> os_api_ref.tests.test_warnings.TestWarnings.test_empty_parameter_file ... ok
> os_api_ref.tests.test_basic_example.TestBasicExample.test_expand_all
> os_api_ref.tests.test_basic_example.TestBasicExample.test_expand_all ... ok
> os_api_ref.tests.test_microversions.TestMicroversions.test_js_declares
> os_api_ref.tests.test_microversions.TestMicroversions.test_js_declares ... ok
> os_api_ref.tests.test_basic_example.TestBasicExample.test_rest_method
> os_api_ref.tests.test_basic_example.TestBasicExample.test_rest_method ... ok
> os_api_ref.tests.test_warnings.TestWarnings.test_invalid_parameter_definition
> os_api_ref.tests.test_warnings.TestWarnings.test_invalid_parameter_definition
> ... ok
> os_api_ref.tests.test_microversions.TestMicroversions.test_mv_selector
> os_api_ref.tests.test_microversions.TestMicroversions.test_mv_selector ... ok
> os_api_ref.tests.test_warnings.TestWarnings.test_missing_field
> os_api_ref.tests.test_warnings.TestWarnings.test_missing_field ... FAIL
> os_api_ref.tests.test_microversions.TestMicroversions.test_rest_method
> os_api_ref.tests.test_microversions.TestMicroversions.test_rest_method ...
> FAIL
> os_api_ref.tests.test_warnings.TestWarnings.test_missing_lookup_name
> os_api_ref.tests.test_warnings.TestWarnings.test_missing_lookup_name ... ok
> os_api_ref.tests.test_warnings.TestWarnings.test_missing_path_parameter_in_stanza
> os_api_ref.tests.test_warnings.TestWarnings.test_missing_path_parameter_in_stanza
> ... ok
> os_api_ref.tests.test_warnings.TestWarnings.test_no_parameters_set
> os_api_ref.tests.test_warnings.TestWarnings.test_no_parameters_set ... ok
> os_api_ref.tests.test_warnings.TestWarnings.test_out_of_order
> os_api_ref.tests.test_warnings.TestWarnings.test_out_of_order ... ok
> os_api_ref.tests.test_warnings.TestWarnings.test_parameter_file_not_exist
> os_api_ref.tests.test_warnings.TestWarnings.test_parameter_file_not_exist ...
> ok
>
> ======================================================================
> FAIL: os_api_ref.tests.test_warnings.TestWarnings.test_missing_field
> os_api_ref.tests.test_warnings.TestWarnings.test_missing_field
> ----------------------------------------------------------------------
> testtools.testresult.real._StringException: Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/os_api_ref/tests/test_warnings.py", line 60, in
> test_missing_field
> self.assertIn(
> File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 400, in
> assertIn
> self.assertThat(haystack, Contains(needle), message)
> File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 481, in
> assertThat
> raise mismatch_error
> testtools.matchers._impl.MismatchError: "WARNING: Failure on key: name,
> values: OrderedDict([('description', 'name_1 is missing type field.\\n'),
> ('in', 'body'), ('required', True)]). 'NoneType' object has no attribute
> 'split'" not in "\x1b[91mWARNING: Parameters out of order ``name2`` should be
> after ``name``\x1b[39;49;00m\n\x1b[91mWARNING: No field definition for
> ``lookup_key_name`` found in ``/tmp/tmp867nzemh/warnings/parameters.yaml``.
> Skipping.\x1b[39;49;00m\n\x1b[91m/tmp/tmp867nzemh/warnings/index.rst.rst:7:
> WARNING: Invalid parameter definition ``invalid_name``. Expected format:
> ``name: reference``. Skipping.\x1b[39;49;00m\n\x1b[91mWARNING: Failure on
> key: name, values: OrderedDict({'description': 'name_1 is missing type
> field.\\n', 'in': 'body', 'required': True}). 'NoneType' object has no
> attribute
> 'split'\x1b[39;49;00m\n\x1b[31m/tmp/tmp867nzemh/warnings/index.rst:22: ERROR:
> No parameters defined\n\n.. rest_parameters::
> parameters.yaml\x1b[39;49;00m\n\x1b[91m/tmp/tmp867nzemh/warnings/index.rst:
> WARNING: Parameters file is empty,
> /tmp/tmp867nzemh/warnings/empty_parameters_file.yaml\x1b[39;49;00m\n\x1b[31m/tmp/tmp867nzemh/warnings/index.rst:36:
> ERROR: No parameters defined\n\n.. rest_parameters::
> no_parameters.yaml\x1b[39;49;00m\n\x1b[91mWARNING: No path parameter
> ``new_id`` found in rest_parameter stanza.\n\x1b[39;49;00m\n\x1b[91mWARNING:
> No path parameter ``new_id2`` found in rest_parameter
> stanza.\n\x1b[39;49;00m\n\x1b[91mWARNING: No path parameter ``b_id`` found in
> rest_parameter stanza.\n\x1b[39;49;00m\n\x1b[91mWARNING: No path parameter
> ``c_id2`` found in rest_parameter stanza.\n\x1b[39;49;00m\n"
>
>
> ======================================================================
> FAIL: os_api_ref.tests.test_microversions.TestMicroversions.test_rest_method
> os_api_ref.tests.test_microversions.TestMicroversions.test_rest_method
> ----------------------------------------------------------------------
> testtools.testresult.real._StringException: Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/os_api_ref/tests/test_microversions.py", line 48, in
> test_rest_method
> self.assertRegexpMatches(
> ^^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'TestMicroversions' object has no attribute
> 'assertRegexpMatches'
>
>
> ----------------------------------------------------------------------
> Ran 14 tests in 3.857s
>
> FAILED (failures=2)
> + echo ======> STESTR TEST SUITE FAILED FOR python3.12: displaying pip3
> freeze output...
> ======> STESTR TEST SUITE FAILED FOR python3.12: displaying pip3 freeze
> output...
> + [ -x /usr/bin/pip3 ]
> + pip3 freeze
> WARNING: The directory '/sbuild-nonexistent/.cache/pip' or its parent
> directory is not owned or is not writable by the current user. The cache has
> been disabled. Check the permissions and owner of that directory. If
> executing pip with sudo, you should use sudo's -H flag.
> alabaster==0.7.12
> attrs==23.1.0
> autopage==0.4.0
> Babel==2.10.3
> beautifulsoup4==4.12.2
> certifi==2023.7.22
> chardet==5.2.0
> charset-normalizer==3.3.2
> cliff==4.3.0
> cmd2==2.4.3+ds
> docutils==0.20.1
> dulwich==0.21.6
> extras==1.0.0
> fixtures==4.0.1
> future==0.18.2
> idna==3.3
> imagesize==1.4.1
> importlib-metadata==4.12.0
> Jinja2==3.1.2
> MarkupSafe==2.1.3
> more-itertools==10.1.0
> openstackdocstheme==3.2.0
> oslosphinx==4.18.0
> packaging==23.2
> pbr==5.11.1
> prettytable==3.6.0
> Pygments==2.15.1
> pyperclip==1.8.2
> python-subunit==1.4.2
> pytz==2023.3.post1
> PyYAML==6.0.1
> requests==2.31.0
> roman==3.3
> six==1.16.0
> snowballstemmer==2.2.0
> soupsieve==2.5
> Sphinx==7.2.6
> sphinx-testing==1.0.1
> stestr==4.0.1
> stevedore==5.1.0
> testrepository==0.0.20
> testtools==2.6.0
> urllib3==1.26.18
> voluptuous==0.12.2
> wcwidth==0.2.5
> zipp==1.0.0
> + exit 1
> make[1]: *** [debian/rules:21: override_dh_auto_test] Error 1
The full build log is available from:
http://qa-logs.debian.net/2023/12/12/python-os-api-ref_2.3.0+ds1-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&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 ---
Source: python-os-api-ref
Source-Version: 2.3.0+ds1-3
Done: Thomas Goirand <z...@debian.org>
We believe that the bug you reported is fixed in the latest version of
python-os-api-ref, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1058...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Goirand <z...@debian.org> (supplier of updated python-os-api-ref package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 14 Dec 2023 15:21:10 +0100
Source: python-os-api-ref
Architecture: source
Version: 2.3.0+ds1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <team+openst...@tracker.debian.org>
Changed-By: Thomas Goirand <z...@debian.org>
Closes: 1058439
Changes:
python-os-api-ref (2.3.0+ds1-3) unstable; urgency=medium
.
* Add python 3.12 patches (Closes: #1058439):
- py3.12-use-assertRegex-not-assertRegexpMatches.patch
* Blacklist broken test in py 3.12: TestWarnings.test_missing_field.
Checksums-Sha1:
e1e8f5823c77b5ed9c7e21e9cdff54b7968de2dc 2648 python-os-api-ref_2.3.0+ds1-3.dsc
3648905929d61f62822a949b94c04078520978b5 5496
python-os-api-ref_2.3.0+ds1-3.debian.tar.xz
67afec699d759f20119cb6b587b0f294405348b2 9944
python-os-api-ref_2.3.0+ds1-3_amd64.buildinfo
Checksums-Sha256:
01677b4522f898c6690b5cde323c20cc19315d0fd48b3049b66b926594eb5ec4 2648
python-os-api-ref_2.3.0+ds1-3.dsc
cd2aabb95bbbd43dbc8ed76b501f89f67e873883437e79b38e60da12bd86fb09 5496
python-os-api-ref_2.3.0+ds1-3.debian.tar.xz
122f1a89a28c1a792d7cf5f7697d649d77c316c45af4a3ebdbe93c325d391a9d 9944
python-os-api-ref_2.3.0+ds1-3_amd64.buildinfo
Files:
32675fe0015653396b330a46c461a477 2648 python optional
python-os-api-ref_2.3.0+ds1-3.dsc
25b75057eb6f5cbaa374a20ed0f8cbd6 5496 python optional
python-os-api-ref_2.3.0+ds1-3.debian.tar.xz
31511ccce7b5c48f4bc3d2b3b976db8c 9944 python optional
python-os-api-ref_2.3.0+ds1-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmV7EQoACgkQ1BatFaxr
Q/7i3Q/+Iybt42qE8Z54JBHnjZGDJL0NgAq1LM01IM0/sEUV2VW88g1J/hrzLQF3
wanyFOCrY5sO3dE21oqmx6l5GWAWp4gPpqr81JjUfuuHLa6Tu7f5MVrnNwUTURo9
Sr+EXhycloJcaAASkx7Rtt23TbQe5QJQAYE98U8qzLbO/D2BxsgYLIG+rhad67cW
dsr3hpC7Gq//1LIlTVtEgzgYK0P2ISKIBW2GvGBa0h/UAcDt83YKo4uaSS2rr+Hg
eRvX7wvHDsLmnU1tOwuVnl2GCOvbcMSJef+cu25O2XhcOXL9M7AW9GncOXxdPtpt
Vp3czbjmdgLcTspTWR3kMy0G4iMQ7Xe/f3GrP48LqE689abxOsbu9sx6gDjQUDK8
vFQcqAgQjQSgcnupl3hTEhPUo50T42e5EA3tMjOo0aiqA1DbzQBc7bmLrjzhu3f1
a0bVg2/ZGLFHuPQoo1KcnGupXriYvthSSwe6hzRocvZDengodaTg1KzATJRlXwiG
DI4qrwjYWynQVZtfbMNUtlbhiborvDrMNZ6KNLXcFj0GilORGks3be4MehwuIW1N
vsDTeLRB1vnKhKgZhABKDrUG8/K0bwmE6RlJPcmCrcK6mfmRi2pFNIhJj4RCZ5dG
Jl6MxN6kUSTbuDaC4fImOKVvafEsKIefvavQmvroFP23SmkHDzM=
=w1Kk
-----END PGP SIGNATURE-----
--- End Message ---