==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_ca1b0792-2c1a-4309-a960-a808ebcf4a83]...done
==> Making package: python-mysqlclient 2.3.0-1.1 (Sat Sep 26 17:11:49 2026)
==> Retrieving sources...
  -> Downloading mysqlclient-2.3.0.tar.gz...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0  0      0   0      0   0      0      0      0                              0  0      0   0      0   0      0      0      0                              0
  0      0   0      0   0      0      0      0                              0100 99.79k 100 99.79k   0      0 215.7k      0                              0100 99.79k 100 99.79k   0      0 215.7k      0                              0100 99.79k 100 99.79k   0      0 215.6k      0                              0
==> Validating source files with sha256sums...
    mysqlclient-2.3.0.tar.gz ... Passed
Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file.
==> Making package: python-mysqlclient 2.3.0-1.1 (Sat Sep 26 15:11:56 2026)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (2)         New Version  Net Change

extra/liburing      2.15-1         0.47 MiB
extra/mariadb-libs  13.0.2-2      23.79 MiB

Total Installed Size:  24.26 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing liburing...
installing mariadb-libs...
Optional dependencies for mariadb-libs
    krb5: for gssapi authentication [installed]
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (32)                     New Version  Net Change

extra/jemalloc                   1:5.4.0-1      1.11 MiB
extra/mariadb-clients            13.0.2-2      36.08 MiB
extra/python-autocommand         2.2.2-9        0.08 MiB
extra/python-cffi                2.1.1-1        1.40 MiB
extra/python-click               8.3.3-1        1.38 MiB
extra/python-daiquiri            3.4.0-2        0.19 MiB
extra/python-fixtures            4.3.2-1        0.29 MiB
extra/python-iniconfig           2.3.0-1        0.07 MiB
extra/python-jaraco.collections  5.1.0-3        0.11 MiB
extra/python-jaraco.context      6.1.2-1        0.06 MiB
extra/python-jaraco.functools    4.1.0-3        0.07 MiB
extra/python-jaraco.text         4.0.0-4        0.08 MiB
extra/python-jinja               1:3.1.6-3      2.04 MiB
extra/python-json-logger         4.1.0-1        0.13 MiB
extra/python-markupsafe          3.0.3-1        0.09 MiB
extra/python-more-itertools      11.1.0-1       0.77 MiB
extra/python-packaging           26.3-1         1.58 MiB
extra/python-platformdirs        4.11.14-1      0.51 MiB
extra/python-pluggy              1.6.0-3        0.23 MiB
extra/python-psutil              7.2.2-1        1.14 MiB
extra/python-pycparser           3.00-1         0.71 MiB
extra/python-pygments            2.21.0-1      15.59 MiB
extra/python-pyproject-hooks     1.3.3-1        0.11 MiB
extra/python-xattr               1.3.0-1        0.13 MiB
extra/mariadb                    13.0.2-2     271.33 MiB
extra/pifpaf                     3.4.0-2        0.39 MiB
extra/python-build               1.6.0-1        0.33 MiB
extra/python-installer           1.0.1-1        0.21 MiB
extra/python-pytest              1:9.1.1-1      4.95 MiB
extra/python-setuptools          1:84.0.0-1     4.92 MiB
extra/python-tblib               3.2.2-2        0.10 MiB
extra/python-wheel               0.48.0-1       0.34 MiB

Total Installed Size:  346.52 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing mariadb-clients...
installing jemalloc...
Optional dependencies for jemalloc
    perl: for jeprof [installed]
installing mariadb...
:: You need to initialize the MariaDB data directory prior to starting
   the service. This can be done with mariadb-install-db command, e.g.:
     # mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
Optional dependencies for mariadb
    cracklib: for cracklib plugin
    curl: for ha_s3 plugin [installed]
    galera: for MariaDB cluster with Galera WSREP
    judy: for Open Query GRAPH (OQGraph) computation engine
    mariadb-pam: for PAM authentication
    perl-dbd-mariadb: for mariadb-hotcopy, mariadb-convert-table-format and mariadb-setpermission
    python-mysqlclient: for myrocks_hotbackup
    xz: lzma provider [installed]
installing python-more-itertools...
installing python-jaraco.functools...
installing python-jaraco.context...
installing python-autocommand...
installing python-jaraco.text...
Optional dependencies for python-jaraco.text
    python-inflect: for show-newlines script
installing python-jaraco.collections...
installing python-packaging...
installing python-platformdirs...
installing python-wheel...
Optional dependencies for python-wheel
    python-keyring: for wheel.signatures
    python-xdg: for wheel.signatures
    python-setuptools: for legacy bdist_wheel subcommand [pending]
installing python-setuptools...
installing python-installer...
installing python-pyproject-hooks...
installing python-build...
Optional dependencies for python-build
    python-pip: to use as the Python package installer (default)
    python-uv: to use as the Python package installer
    python-virtualenv: to use virtualenv for build isolation
installing python-click...
installing python-json-logger...
installing python-daiquiri...
installing python-fixtures...
installing python-markupsafe...
installing python-jinja...
Optional dependencies for python-jinja
    python-babel: for i18n support
installing python-psutil...
installing python-pycparser...
installing python-cffi...
Optional dependencies for python-cffi
    python-setuptools: "limited api" version checking in cffi.setuptools_ext [installed]
installing python-xattr...
installing pifpaf...
installing python-iniconfig...
installing python-pluggy...
installing python-pygments...
installing python-pytest...
installing python-tblib...
:: Running post-transaction hooks...
(1/4) Creating system user accounts...
Creating group 'mysql' with GID 969.
Creating user 'mysql' (MariaDB) with UID 969 and GID 969.
(2/4) Creating temporary files...
(3/4) Reloading system manager configuration...
  Skipped: Current root is not booted.
(4/4) Arming ConditionNeedsUpdate...
==> Retrieving sources...
  -> Found mysqlclient-2.3.0.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting mysqlclient-2.3.0.tar.gz with bsdtar
==> Starting build()...
* Getting build dependencies for wheel...
Trying pkg-config --exists mysqlclient
Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1.
Trying pkg-config --exists mariadb
# Options for building extension module:
  extra_compile_args: ['-I/usr/include/mysql', '-std=c99']
  extra_link_args: ['-lmariadb']
  define_macros: [('version_info', (2, 3, 0, 'final', 0)), ('__version__', '2.3.0')]
running egg_info
writing src/mysqlclient.egg-info/PKG-INFO
writing dependency_links to src/mysqlclient.egg-info/dependency_links.txt
writing top-level names to src/mysqlclient.egg-info/top_level.txt
reading manifest file 'src/mysqlclient.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'src/mysqlclient.egg-info/SOURCES.txt'
* Building wheel...
Trying pkg-config --exists mysqlclient
Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1.
Trying pkg-config --exists mariadb
# Options for building extension module:
  extra_compile_args: ['-I/usr/include/mysql', '-std=c99']
  extra_link_args: ['-lmariadb']
  define_macros: [('version_info', (2, 3, 0, 'final', 0)), ('__version__', '2.3.0')]
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-314/MySQLdb
copying src/MySQLdb/__init__.py -> build/lib.linux-x86_64-cpython-314/MySQLdb
copying src/MySQLdb/_exceptions.py -> build/lib.linux-x86_64-cpython-314/MySQLdb
copying src/MySQLdb/connections.py -> build/lib.linux-x86_64-cpython-314/MySQLdb
copying src/MySQLdb/converters.py -> build/lib.linux-x86_64-cpython-314/MySQLdb
copying src/MySQLdb/cursors.py -> build/lib.linux-x86_64-cpython-314/MySQLdb
copying src/MySQLdb/release.py -> build/lib.linux-x86_64-cpython-314/MySQLdb
copying src/MySQLdb/times.py -> build/lib.linux-x86_64-cpython-314/MySQLdb
creating build/lib.linux-x86_64-cpython-314/MySQLdb/constants
copying src/MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-cpython-314/MySQLdb/constants
copying src/MySQLdb/constants/CR.py -> build/lib.linux-x86_64-cpython-314/MySQLdb/constants
copying src/MySQLdb/constants/ER.py -> build/lib.linux-x86_64-cpython-314/MySQLdb/constants
copying src/MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-cpython-314/MySQLdb/constants
copying src/MySQLdb/constants/FLAG.py -> build/lib.linux-x86_64-cpython-314/MySQLdb/constants
copying src/MySQLdb/constants/__init__.py -> build/lib.linux-x86_64-cpython-314/MySQLdb/constants
running egg_info
writing src/mysqlclient.egg-info/PKG-INFO
writing dependency_links to src/mysqlclient.egg-info/dependency_links.txt
writing top-level names to src/mysqlclient.egg-info/top_level.txt
reading manifest file 'src/mysqlclient.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'src/mysqlclient.egg-info/SOURCES.txt'
copying src/MySQLdb/_mysql.c -> build/lib.linux-x86_64-cpython-314/MySQLdb
running build_ext
building 'MySQLdb._mysql' extension
gcc -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/python-mysqlclient -flto=auto -falign-functions=32 -fPIC "-Dversion_info=(2, 3, 0, 'final', 0)" -D__version__=2.3.0 -I/usr/include/python3.14 -c src/MySQLdb/_mysql.c -o build/temp.linux-x86_64-cpython-314/src/MySQLdb/_mysql.o -I/usr/include/mysql -std=c99
gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/python-mysqlclient -flto=auto -falign-functions=32 build/temp.linux-x86_64-cpython-314/src/MySQLdb/_mysql.o -L/usr/lib -o build/lib.linux-x86_64-cpython-314/MySQLdb/_mysql.cpython-314-x86_64-linux-gnu.so -lmariadb
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/MySQLdb
copying build/lib.linux-x86_64-cpython-314/MySQLdb/__init__.py -> build/bdist.linux-x86_64/wheel/./MySQLdb
copying build/lib.linux-x86_64-cpython-314/MySQLdb/_exceptions.py -> build/bdist.linux-x86_64/wheel/./MySQLdb
copying build/lib.linux-x86_64-cpython-314/MySQLdb/connections.py -> build/bdist.linux-x86_64/wheel/./MySQLdb
copying build/lib.linux-x86_64-cpython-314/MySQLdb/converters.py -> build/bdist.linux-x86_64/wheel/./MySQLdb
copying build/lib.linux-x86_64-cpython-314/MySQLdb/cursors.py -> build/bdist.linux-x86_64/wheel/./MySQLdb
copying build/lib.linux-x86_64-cpython-314/MySQLdb/release.py -> build/bdist.linux-x86_64/wheel/./MySQLdb
copying build/lib.linux-x86_64-cpython-314/MySQLdb/times.py -> build/bdist.linux-x86_64/wheel/./MySQLdb
creating build/bdist.linux-x86_64/wheel/MySQLdb/constants
copying build/lib.linux-x86_64-cpython-314/MySQLdb/constants/CLIENT.py -> build/bdist.linux-x86_64/wheel/./MySQLdb/constants
copying build/lib.linux-x86_64-cpython-314/MySQLdb/constants/CR.py -> build/bdist.linux-x86_64/wheel/./MySQLdb/constants
copying build/lib.linux-x86_64-cpython-314/MySQLdb/constants/ER.py -> build/bdist.linux-x86_64/wheel/./MySQLdb/constants
copying build/lib.linux-x86_64-cpython-314/MySQLdb/constants/FIELD_TYPE.py -> build/bdist.linux-x86_64/wheel/./MySQLdb/constants
copying build/lib.linux-x86_64-cpython-314/MySQLdb/constants/FLAG.py -> build/bdist.linux-x86_64/wheel/./MySQLdb/constants
copying build/lib.linux-x86_64-cpython-314/MySQLdb/constants/__init__.py -> build/bdist.linux-x86_64/wheel/./MySQLdb/constants
copying build/lib.linux-x86_64-cpython-314/MySQLdb/_mysql.c -> build/bdist.linux-x86_64/wheel/./MySQLdb
copying build/lib.linux-x86_64-cpython-314/MySQLdb/_mysql.cpython-314-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/./MySQLdb
running install_egg_info
Copying src/mysqlclient.egg-info to build/bdist.linux-x86_64/wheel/./mysqlclient-2.3.0-py3.14.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/mysqlclient-2.3.0.dist-info/WHEEL
creating '/startdir/src/mysqlclient-2.3.0/dist/.tmp-mmc9movp/mysqlclient-2.3.0-cp314-cp314-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'MySQLdb/__init__.py'
adding 'MySQLdb/_exceptions.py'
adding 'MySQLdb/_mysql.c'
adding 'MySQLdb/_mysql.cpython-314-x86_64-linux-gnu.so'
adding 'MySQLdb/connections.py'
adding 'MySQLdb/converters.py'
adding 'MySQLdb/cursors.py'
adding 'MySQLdb/release.py'
adding 'MySQLdb/times.py'
adding 'MySQLdb/constants/CLIENT.py'
adding 'MySQLdb/constants/CR.py'
adding 'MySQLdb/constants/ER.py'
adding 'MySQLdb/constants/FIELD_TYPE.py'
adding 'MySQLdb/constants/FLAG.py'
adding 'MySQLdb/constants/__init__.py'
adding 'mysqlclient-2.3.0.dist-info/licenses/LICENSE'
adding 'mysqlclient-2.3.0.dist-info/METADATA'
adding 'mysqlclient-2.3.0.dist-info/WHEEL'
adding 'mysqlclient-2.3.0.dist-info/top_level.txt'
adding 'mysqlclient-2.3.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built mysqlclient-2.3.0-cp314-cp314-linux_x86_64.whl
==> Starting check()...
============================= test session starts ==============================
platform linux -- Python 3.14.7, pytest-9.1.1, pluggy-1.6.0
rootdir: /startdir/src/mysqlclient-2.3.0
configfile: pyproject.toml
collected 139 items / 1 skipped

tests/test_MySQLdb_capabilities.py .........................             [ 17%]
tests/test_MySQLdb_dbapi20.py ...................................        [ 43%]
tests/test_MySQLdb_nonstandard.py .................                      [ 55%]
tests/test_MySQLdb_times.py ...........                                  [ 63%]
tests/test__mysql.py .                                                   [ 64%]
tests/test_connection.py ......F                                         [ 69%]
tests/test_cursor.py .........................................           [ 98%]
tests/test_errors.py ..                                                  [100%]

=================================== FAILURES ===================================
______________________ test_result_concurrent_use_raises _______________________

conn = <_mysql.connection open to 'localhost' at 0x558923c62b80>

    def test_result_concurrent_use_raises(conn):
        """While fetch_row holds the connection lock streaming a slow result,
        any other access from a second thread must raise ProgrammingError immediately."""
        conn.query(
            "SELECT 1 FROM information_schema.tables a "
            "CROSS JOIN information_schema.tables b LIMIT 20000"
        )
        result = conn.use_result()
    
        thread_error = None
        done = threading.Event()
        started = threading.Event()
    
        def fetch_all_rows():
            nonlocal thread_error
            try:
                started.set()
                rows = result.fetch_row(maxrows=0)
                assert rows
            except Exception as exc:  # pragma: no cover
                thread_error = exc
            finally:
                done.set()
    
        thread = threading.Thread(target=fetch_all_rows)
        thread.start()
    
        assert started.wait(timeout=1.0)
    
        deadline = time.monotonic() + 1.0
        while time.monotonic() < deadline:
            try:
                conn.thread_id()
            except ProgrammingError as exc:
                assert "already in use" in str(exc)
                break
            time.sleep(0.01)
        else:  # pragma: no cover
>           pytest.fail("expected ProgrammingError while result.fetch_row() is running")
E           Failed: expected ProgrammingError while result.fetch_row() is running

tests/test_connection.py:149: Failed
=========================== short test summary info ============================
FAILED tests/test_connection.py::test_result_concurrent_use_raises - Failed: ...
=================== 1 failed, 138 passed, 1 skipped in 3.16s ===================
==> ERROR: A failure occurred in check().
    Aborting...
==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_ca1b0792-2c1a-4309-a960-a808ebcf4a83/build
