Package: src:gnocchi
Version: 4.7.0-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

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

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 cannot 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 add an affects on src:gnocchi, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
make: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
dh clean --buildsystem=pybuild --with python3,sphinxdoc
   debian/rules override_dh_auto_clean
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>>'
   dh_autoreconf_clean -O--buildsystem=pybuild
   debian/rules override_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory

[... snipped ...]

byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/tests/indexer/sqlalchemy/test_migrations.py
 to test_migrations.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/tests/indexer/sqlalchemy/__init__.py
 to __init__.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/tests/indexer/__init__.py
 to __init__.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/tests/utils.py
 to utils.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/tests/test_statsd.py
 to test_statsd.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/tests/functional_live/test_gabbi_live.py
 to test_gabbi_live.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/tests/functional_live/__init__.py
 to __init__.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/tests/functional/test_gabbi.py
 to test_gabbi.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/tests/functional/fixtures.py
 to fixtures.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/tests/functional/__init__.py
 to __init__.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/tests/test_amqp1d.py
 to test_amqp1d.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/tests/__init__.py
 to __init__.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/tests/base.py 
to base.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/tests/test_measures_grouper.py
 to test_measures_grouper.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/calendar.py 
to calendar.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/service.py to 
service.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/exceptions.py 
to exceptions.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/json.py to 
json.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/common/redis.py
 to redis.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/common/ceph.py
 to ceph.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/common/swift.py
 to swift.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/common/s3.py 
to s3.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/common/__init__.py
 to __init__.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/incoming/redis.py
 to redis.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/incoming/file.py
 to file.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/incoming/ceph.py
 to ceph.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/incoming/swift.py
 to swift.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/incoming/s3.py
 to s3.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/incoming/__init__.py
 to __init__.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi/__init__.py 
to __init__.cpython-313.pyc
running install_egg_info
removing 
'/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi-4.7.0.egg-info'
 (and everything under it)
Copying gnocchi.egg-info to 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages/gnocchi-4.7.0.egg-info
Skipping SOURCES.txt
running install_scripts
copying build/scripts-3.13/gnocchi-api -> /<<PKGBUILDDIR>>/debian/tmp/usr/bin
changing mode of /<<PKGBUILDDIR>>/debian/tmp/usr/bin/gnocchi-api to 755
Installing gnocchi-amqpd script to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing gnocchi-change-sack-size script to 
/<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing gnocchi-config-generator script to 
/<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing gnocchi-injector script to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing gnocchi-metricd script to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing gnocchi-statsd script to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing gnocchi-upgrade script to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
./debian/run_tests.sh
+ mktemp -d
+ MYTEMP_DIR=/tmp/tmp.y5E9EODkJo
+ whoami
+ ME=sbuild
+ /usr/sbin/mysqld --version
+ grep Ver
+ cut -d- -f1
+ awk {print $3}
+ MYSQL_VERSION=11.8.5
+ echo 11.8.5
+ cut -d. -f1
+ MYSQL_VERSION_MAJ=11
+ echo 11.8.5
+ cut -d. -f2
+ MYSQL_VERSION_MID=8
+ echo 11.8.5
+ cut -d. -f3
+ MYSQL_VERSION_MIN=5
+ [ 11 -le 5 ]
+ MYSQL_INSTALL_DB_OPT=--basedir=/usr
+ mysql_install_db --no-defaults --datadir=/tmp/tmp.y5E9EODkJo --basedir=/usr 
--user=sbuild
/usr/bin/mysql_install_db: Deprecated program name. It will be removed in a 
future release, use 'mariadb-install-db' instead
chown: cannot access '/usr/lib/mysql/plugin/auth_pam_tool_dir/auth_pam_tool': 
Permission denied
Couldn't set an owner to 
'/usr/lib/mysql/plugin/auth_pam_tool_dir/auth_pam_tool'.
It must be root, the PAM authentication plugin doesn't work otherwise..

chown: changing ownership of '/usr/lib/mysql/plugin/auth_pam_tool_dir': 
Operation not permitted
Cannot change ownership of the '/usr/lib/mysql/plugin/auth_pam_tool_dir' 
directory
to the 'sbuild' user. Check that you have the necessary permissions and try 
again.

Installing MariaDB/MySQL system tables in '/tmp/tmp.y5E9EODkJo' ...
2025-12-16 15:15:08 0 [Warning] failed to retrieve the MAC address
2025-12-16 15:15:08 0 [Warning] WSREP: Failed to guess base node address. Set 
it explicitly via wsrep_node_address.
2025-12-16 15:15:08 0 [Warning] WSREP: Failed to guess base node address. Set 
it explicitly via wsrep_node_address.
2025-12-16 15:15:08 0 [Warning] WSREP: Guessing address for incoming client 
connections failed. Try setting wsrep_node_incoming_address explicitly.
OK

To start mariadbd at boot time you have to copy
support-files/mariadb.service to the right place for your system


Two all-privilege accounts were created.
One is root@localhost, it has no password, but you need to
be system 'root' user to connect. Use, for example, sudo mariadb
The second is sbuild@localhost, it has no password either, but
you need to be the system 'sbuild' user to connect.
After connecting you can set the password, if you would need to be
able to connect as any of these users with a password and without sudo

See the MariaDB Knowledgebase at https://mariadb.com/kb

You can start the MariaDB daemon with:
cd '/usr' ; /usr/bin/mariadbd-safe --datadir='/tmp/tmp.y5E9EODkJo'

You can test the MariaDB daemon with mariadb-test-run.pl
cd '/usr/share/mariadb/mariadb-test' ; perl mariadb-test-run.pl

Please report any problems at https://mariadb.org/jira

The latest information about MariaDB is available at https://mariadb.org/.

Consider joining MariaDB's strong and vibrant community:
https://mariadb.org/get-involved/

+ export MYSQL_UNIX_PORT=/tmp/tmp.y5E9EODkJo/mysql.sock
+ echo -n pinging mysqld.
pinging mysqld.+ attempts=0
+ /usr/bin/mysqladmin --socket=/tmp/tmp.y5E9EODkJo/mysql.sock ping
+ /usr/sbin/mysqld --no-defaults --skip-grant-tables --user=sbuild 
--socket=/tmp/tmp.y5E9EODkJo/mysql.sock --datadir=/tmp/tmp.y5E9EODkJo --port 
3309
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local server through socket 
'/tmp/tmp.y5E9EODkJo/mysql.sock' (2)'
Check that mariadbd is running and that the socket: 
'/tmp/tmp.y5E9EODkJo/mysql.sock' exists!
+ sleep 3
2025-12-16 15:15:10 0 [Warning] failed to retrieve the MAC address
2025-12-16 15:15:10 0 [Note] Starting MariaDB 11.8.5-MariaDB-2+b2 from Debian 
source revision a74edc42d080a73e20d5d94e1dd5beea400b507c server_uid unknown as 
process 479
2025-12-16 15:15:10 0 [Warning] WSREP: Failed to guess base node address. Set 
it explicitly via wsrep_node_address.
2025-12-16 15:15:10 0 [Warning] WSREP: Failed to guess base node address. Set 
it explicitly via wsrep_node_address.
2025-12-16 15:15:10 0 [Warning] WSREP: Guessing address for incoming client 
connections failed. Try setting wsrep_node_incoming_address explicitly.
2025-12-16 15:15:10 0 [Note] WSREP: Node addr: 
2025-12-16 15:15:10 0 [Note] InnoDB: Compressed tables use zlib 1.3.1
2025-12-16 15:15:10 0 [Note] InnoDB: Number of transaction pools: 1
2025-12-16 15:15:10 0 [Note] InnoDB: Using AVX512 instructions
2025-12-16 15:15:10 0 [Note] InnoDB: Using io_uring
2025-12-16 15:15:10 0 [Note] InnoDB: innodb_buffer_pool_size_max=128m, 
innodb_buffer_pool_size=128m
2025-12-16 15:15:10 0 [Note] InnoDB: Completed initialization of buffer pool
2025-12-16 15:15:10 0 [Note] InnoDB: File system buffers for log disabled 
(block size=4096 bytes)
2025-12-16 15:15:10 0 [Note] InnoDB: End of log at LSN=46234
2025-12-16 15:15:10 0 [Note] InnoDB: Opened 3 undo tablespaces
2025-12-16 15:15:10 0 [Note] InnoDB: 128 rollback segments in 3 undo 
tablespaces are active.
2025-12-16 15:15:10 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. 
Physically writing the file full; Please wait ...
2025-12-16 15:15:10 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
2025-12-16 15:15:10 0 [Note] InnoDB: log sequence number 46234; transaction id 
14
2025-12-16 15:15:10 0 [Note] InnoDB: Loading buffer pool(s) from 
/tmp/tmp.y5E9EODkJo/ib_buffer_pool
2025-12-16 15:15:10 0 [Note] Plugin 'FEEDBACK' is disabled.
2025-12-16 15:15:10 0 [Note] Plugin 'wsrep-provider' is disabled.
2025-12-16 15:15:10 0 [Note] InnoDB: Buffer pool(s) load completed at 251216 
15:15:10
2025-12-16 15:15:10 0 [Note] Server socket created on IP: '0.0.0.0', port: 
'3309'.
2025-12-16 15:15:10 0 [Note] Server socket created on IP: '::', port: '3309'.
2025-12-16 15:15:10 0 [Note] /usr/sbin/mysqld: ready for connections.
Version: '11.8.5-MariaDB-2+b2 from Debian'  socket: 
'/tmp/tmp.y5E9EODkJo/mysql.sock'  port: 3309  -- Please help get to 10k stars 
at https://github.com/MariaDB/Server
+ attempts=1
+ [ 1 -gt 10 ]
+ /usr/bin/mysqladmin --socket=/tmp/tmp.y5E9EODkJo/mysql.sock ping
mysqld is alive
+ mysql --socket=/tmp/tmp.y5E9EODkJo/mysql.sock --execute=CREATE DATABASE 
gnocchidb;
+ SUCCESS=0
+ py3versions -rv
+ PY3S=3.14 3.13
+ pwd
+ export 
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/<<PKGBUILDDIR>>/debian/bin
+ rm -rf .stestr
+ stestr init
+ pwd
+ subunit2pyunit
+ pwd
+ PYTHONPATH=/<<PKGBUILDDIR>>:/<<PKGBUILDDIR>>/debian/bin PYTHON=python3.14 
GNOCCHI_TEST_DEBUG=1 GNOCCHI_TEST_STORAGE_DRIVER=file 
GNOCCHI_TEST_INDEXER_DRIVERS=mysql 
GNOCCHI_INDEXER_URL=mysql+pymysql://root:@127.0.0.1:3309/gnocchidb python3 -m 
stestr run --subunit 
gnocchi\.tests\.(?!test_bin\.BinTestCase\.test_gnocchi_config_generator_run|test_indexer\.TestIndexerDriver\.test_str|test_indexer\.TestIndexerDriver\.test_list_ap_rules_ordered|test_amqp1d.*|test_indexer\.TestIndexerDriver\.test_resource_type_unexpected_creation_error|test_carbonara\.TestAggregatedTimeSerie\.test_aggregation_std_with_unique)
/<<PKGBUILDDIR>>/gnocchi/cli/metricd.py:220: SyntaxWarning: 'return' in a 
'finally' block
  return self._tasks or self.fallback_tasks

=========================
Failures during discovery
=========================
--- import errors ---
Failed to import test module: gnocchi.tests.test_aggregates
TypeError: Metaclasses with custom tp_new are not supported.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3.14/unittest/loader.py", line 426, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.14/unittest/loader.py", line 367, in 
_get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File "/<<PKGBUILDDIR>>/gnocchi/tests/test_aggregates.py", line 26, in <module>
    from gnocchi.rest.aggregates import api
  File "/<<PKGBUILDDIR>>/gnocchi/rest/aggregates/api.py", line 31, in <module>
    from gnocchi.rest import api
  File "/<<PKGBUILDDIR>>/gnocchi/rest/api.py", line 52, in <module>
    from gnocchi.rest.prometheus import remote_pb2
  File "/<<PKGBUILDDIR>>/gnocchi/rest/prometheus/remote_pb2.py", line 6, in 
<module>
    from google.protobuf import descriptor as _descriptor
  File "/usr/lib/python3/dist-packages/google/protobuf/descriptor.py", line 40, 
in <module>
    from google.protobuf.internal import api_implementation
  File 
"/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py",
 line 104, in <module>
    from google.protobuf.pyext import _message
SystemError: <built-in function __import__> returned a result with an exception 
set

Failed to import test module: gnocchi.tests.test_influxdb
TypeError: Metaclasses with custom tp_new are not supported.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3.14/unittest/loader.py", line 426, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.14/unittest/loader.py", line 367, in 
_get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File "/<<PKGBUILDDIR>>/gnocchi/tests/test_influxdb.py", line 19, in <module>
    from gnocchi.rest import influxdb
  File "/<<PKGBUILDDIR>>/gnocchi/rest/influxdb.py", line 22, in <module>
    from gnocchi.rest import api
  File "/<<PKGBUILDDIR>>/gnocchi/rest/api.py", line 52, in <module>
    from gnocchi.rest.prometheus import remote_pb2
  File "/<<PKGBUILDDIR>>/gnocchi/rest/prometheus/remote_pb2.py", line 6, in 
<module>
    from google.protobuf import descriptor as _descriptor
  File "/usr/lib/python3/dist-packages/google/protobuf/descriptor.py", line 40, 
in <module>
    from google.protobuf.internal import api_implementation
  File 
"/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py",
 line 104, in <module>
    from google.protobuf.pyext import _message
SystemError: <built-in function __import__> returned a result with an exception 
set

Failed to import test module: gnocchi.tests.test_measures_grouper
TypeError: Metaclasses with custom tp_new are not supported.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3.14/unittest/loader.py", line 426, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.14/unittest/loader.py", line 367, in 
_get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File "/<<PKGBUILDDIR>>/gnocchi/tests/test_measures_grouper.py", line 16, in 
<module>
    from gnocchi.rest.aggregates.api import Grouper
  File "/<<PKGBUILDDIR>>/gnocchi/rest/aggregates/api.py", line 31, in <module>
    from gnocchi.rest import api
  File "/<<PKGBUILDDIR>>/gnocchi/rest/api.py", line 52, in <module>
    from gnocchi.rest.prometheus import remote_pb2
  File "/<<PKGBUILDDIR>>/gnocchi/rest/prometheus/remote_pb2.py", line 6, in 
<module>
    from google.protobuf import descriptor as _descriptor
  File "/usr/lib/python3/dist-packages/google/protobuf/descriptor.py", line 40, 
in <module>
    from google.protobuf.internal import api_implementation
  File 
"/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py",
 line 104, in <module>
    from google.protobuf.pyext import _message
SystemError: <built-in function __import__> returned a result with an exception 
set

Failed to import test module: gnocchi.tests.test_rest
TypeError: Metaclasses with custom tp_new are not supported.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3.14/unittest/loader.py", line 426, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.14/unittest/loader.py", line 367, in 
_get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File "/<<PKGBUILDDIR>>/gnocchi/tests/test_rest.py", line 37, in <module>
    from gnocchi.rest import api
  File "/<<PKGBUILDDIR>>/gnocchi/rest/api.py", line 52, in <module>
    from gnocchi.rest.prometheus import remote_pb2
  File "/<<PKGBUILDDIR>>/gnocchi/rest/prometheus/remote_pb2.py", line 6, in 
<module>
    from google.protobuf import descriptor as _descriptor
  File "/usr/lib/python3/dist-packages/google/protobuf/descriptor.py", line 40, 
in <module>
    from google.protobuf.internal import api_implementation
  File 
"/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py",
 line 104, in <module>
    from google.protobuf.pyext import _message
SystemError: <built-in function __import__> returned a result with an exception 
set

================================================================================
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.986s

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

Reply via email to