Package: src:python-openstackclient
Version: 6.6.0-4
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build
make: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
dh build --with python3,sphinxdoc
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
dh_auto_configure: warning: Please use the third-party "pybuild" build system 
instead of python-distutils
dh_auto_configure: warning: This feature will be removed in compat 12.
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
echo "Do nothing..."
Do nothing...
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
# See https://bugs.debian.org/1058097
pkgos-dh_auto_test --no-py2 
'openstackclient\.tests\.unit\.(?!.*common\.test_module\.TestModuleList*)'
+ 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
+ [ 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 
openstackclient\.tests\.unit\.(?!.*common\.test_module\.TestModuleList*)
+ subunit2pyunit

=========================
Failures during discovery
=========================
--- import errors ---
Failed to import test module: openstackclient.tests.unit.api.test_api
Traceback (most recent call last):
  File "/usr/lib/python3.12/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/unittest/loader.py", line 339, in 
_get_module_from_name
    __import__(name)
  File "/<<PKGBUILDDIR>>/openstackclient/tests/unit/api/test_api.py", line 18, in 
<module>
    from openstackclient.api import api
  File "/<<PKGBUILDDIR>>/openstackclient/api/api.py", line 19, in <module>
    import simplejson as json
ModuleNotFoundError: No module named 'simplejson'

Failed to import test module: openstackclient.tests.unit.api.test_image_v1
Traceback (most recent call last):
  File "/usr/lib/python3.12/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/unittest/loader.py", line 339, in 
_get_module_from_name
    __import__(name)
  File "/<<PKGBUILDDIR>>/openstackclient/tests/unit/api/test_image_v1.py", line 19, 
in <module>
    from openstackclient.api import image_v1
  File "/<<PKGBUILDDIR>>/openstackclient/api/image_v1.py", line 16, in <module>
    from openstackclient.api import api
  File "/<<PKGBUILDDIR>>/openstackclient/api/api.py", line 19, in <module>
    import simplejson as json
ModuleNotFoundError: No module named 'simplejson'

Failed to import test module: openstackclient.tests.unit.api.test_image_v2
Traceback (most recent call last):
  File "/usr/lib/python3.12/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/unittest/loader.py", line 339, in 
_get_module_from_name
    __import__(name)
  File "/<<PKGBUILDDIR>>/openstackclient/tests/unit/api/test_image_v2.py", line 19, 
in <module>
    from openstackclient.api import image_v2
  File "/<<PKGBUILDDIR>>/openstackclient/api/image_v2.py", line 16, in <module>
    from openstackclient.api import image_v1
  File "/<<PKGBUILDDIR>>/openstackclient/api/image_v1.py", line 16, in <module>
    from openstackclient.api import api
  File "/<<PKGBUILDDIR>>/openstackclient/api/api.py", line 19, in <module>
    import simplejson as json
ModuleNotFoundError: No module named 'simplejson'

Failed to import test module: 
openstackclient.tests.unit.api.test_object_store_v1
Traceback (most recent call last):
  File "/usr/lib/python3.12/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/unittest/loader.py", line 339, in 
_get_module_from_name
    __import__(name)
  File "/<<PKGBUILDDIR>>/openstackclient/tests/unit/api/test_object_store_v1.py", 
line 21, in <module>
    from openstackclient.api import object_store_v1 as object_store
  File "/<<PKGBUILDDIR>>/openstackclient/api/object_store_v1.py", line 24, in 
<module>
    from openstackclient.api import api
  File "/<<PKGBUILDDIR>>/openstackclient/api/api.py", line 19, in <module>
    import simplejson as json
ModuleNotFoundError: No module named 'simplejson'

Failed to import test module: 
openstackclient.tests.unit.object.v1.test_container
Traceback (most recent call last):
  File "/usr/lib/python3.12/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/unittest/loader.py", line 339, in 
_get_module_from_name
    __import__(name)
  File "/<<PKGBUILDDIR>>/openstackclient/tests/unit/object/v1/test_container.py", 
line 19, in <module>
    from openstackclient.api import object_store_v1 as object_store
  File "/<<PKGBUILDDIR>>/openstackclient/api/object_store_v1.py", line 24, in 
<module>
    from openstackclient.api import api
  File "/<<PKGBUILDDIR>>/openstackclient/api/api.py", line 19, in <module>
    import simplejson as json
ModuleNotFoundError: No module named 'simplejson'

Failed to import test module: 
openstackclient.tests.unit.object.v1.test_container_all
Traceback (most recent call last):
  File "/usr/lib/python3.12/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/unittest/loader.py", line 339, in 
_get_module_from_name
    __import__(name)
  File "/<<PKGBUILDDIR>>/openstackclient/tests/unit/object/v1/test_container_all.py", 
line 19, in <module>
    from openstackclient.tests.unit.object.v1 import fakes as object_fakes
  File "/<<PKGBUILDDIR>>/openstackclient/tests/unit/object/v1/fakes.py", line 18, in 
<module>
    from openstackclient.api import object_store_v1 as object_store
  File "/<<PKGBUILDDIR>>/openstackclient/api/object_store_v1.py", line 24, in 
<module>
    from openstackclient.api import api
  File "/<<PKGBUILDDIR>>/openstackclient/api/api.py", line 19, in <module>
    import simplejson as json
ModuleNotFoundError: No module named 'simplejson'

Failed to import test module: openstackclient.tests.unit.object.v1.test_object
Traceback (most recent call last):
  File "/usr/lib/python3.12/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/unittest/loader.py", line 339, in 
_get_module_from_name
    __import__(name)
  File "/<<PKGBUILDDIR>>/openstackclient/tests/unit/object/v1/test_object.py", line 
19, in <module>
    from openstackclient.api import object_store_v1 as object_store
  File "/<<PKGBUILDDIR>>/openstackclient/api/object_store_v1.py", line 24, in 
<module>
    from openstackclient.api import api
  File "/<<PKGBUILDDIR>>/openstackclient/api/api.py", line 19, in <module>
    import simplejson as json
ModuleNotFoundError: No module named 'simplejson'

Failed to import test module: 
openstackclient.tests.unit.object.v1.test_object_all
Traceback (most recent call last):
  File "/usr/lib/python3.12/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/unittest/loader.py", line 339, in 
_get_module_from_name
    __import__(name)
  File "/<<PKGBUILDDIR>>/openstackclient/tests/unit/object/v1/test_object_all.py", 
line 22, in <module>
    from openstackclient.tests.unit.object.v1 import fakes as object_fakes
  File "/<<PKGBUILDDIR>>/openstackclient/tests/unit/object/v1/fakes.py", line 18, in 
<module>
    from openstackclient.api import object_store_v1 as object_store
  File "/<<PKGBUILDDIR>>/openstackclient/api/object_store_v1.py", line 24, in 
<module>
    from openstackclient.api import api
  File "/<<PKGBUILDDIR>>/openstackclient/api/api.py", line 19, in <module>
    import simplejson as json
ModuleNotFoundError: No module named 'simplejson'

================================================================================
The above traceback was encountered during test discovery which imports all the 
found test modules in the specified test_path.

----------------------------------------------------------------------
Ran 0 tests in 2.158s

NO TESTS RAN
+ stestr slowest
make[1]: *** [debian/rules:25: override_dh_auto_test] Error 3
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202409/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to