Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-docker-squash.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1660230725.312565/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dn5m90to:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dn5m90to:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9342af8729ee4f7d8ed4f0cb7ecd509e', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1660230725.312565/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dn5m90to:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-docker-squash.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/python-docker-squash-1.0.9-4.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-docker-squash.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1660230725.312565/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dn5m90to:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dn5m90to:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8a62bf07e62c47acabf495ba66f574b3', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1660230725.312565/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dn5m90to:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-docker-squash.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nJ8MA6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf docker-squash-1.0.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/1.0.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd docker-squash-1.0.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.imjVCA + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/docker-squash-1.0.9/.package_note-python-docker-squash-1.0.9-4.fc37.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh python-docker-squash 1.0.9-4.fc37 x86_64 + cd docker-squash-1.0.9 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/docker-squash-1.0.9/.package_note-python-docker-squash-1.0.9-4.fc37.x86_64.ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib creating build/lib/docker_squash copying docker_squash/version.py -> build/lib/docker_squash copying docker_squash/v2_image.py -> build/lib/docker_squash copying docker_squash/v1_image.py -> build/lib/docker_squash copying docker_squash/squash.py -> build/lib/docker_squash copying docker_squash/image.py -> build/lib/docker_squash copying docker_squash/errors.py -> build/lib/docker_squash copying docker_squash/cli.py -> build/lib/docker_squash copying docker_squash/__init__.py -> build/lib/docker_squash creating build/lib/docker_squash/lib copying docker_squash/lib/xtarfile.py -> build/lib/docker_squash/lib copying docker_squash/lib/common.py -> build/lib/docker_squash/lib copying docker_squash/lib/__init__.py -> build/lib/docker_squash/lib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aRnK9N + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64 ++ dirname /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/docker-squash-1.0.9/.package_note-python-docker-squash-1.0.9-4.fc37.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd docker-squash-1.0.9 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/docker-squash-1.0.9/.package_note-python-docker-squash-1.0.9-4.fc37.x86_64.ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64 --prefix /usr running install /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr creating /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash creating /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash/lib copying build/lib/docker_squash/lib/__init__.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash/lib copying build/lib/docker_squash/lib/common.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash/lib copying build/lib/docker_squash/lib/xtarfile.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash/lib copying build/lib/docker_squash/__init__.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash copying build/lib/docker_squash/cli.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash copying build/lib/docker_squash/errors.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash copying build/lib/docker_squash/image.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash copying build/lib/docker_squash/squash.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash copying build/lib/docker_squash/v1_image.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash copying build/lib/docker_squash/v2_image.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash copying build/lib/docker_squash/version.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash/lib/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash/lib/common.py to common.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash/lib/xtarfile.py to xtarfile.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash/cli.py to cli.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash/errors.py to errors.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash/image.py to image.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash/squash.py to squash.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash/v1_image.py to v1_image.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash/v2_image.py to v2_image.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash/version.py to version.cpython-311.pyc writing byte-compilation script '/tmp/tmp47twdo06.py' /usr/bin/python3 /tmp/tmp47twdo06.py removing /tmp/tmp47twdo06.py running install_egg_info running egg_info creating docker_squash.egg-info writing docker_squash.egg-info/PKG-INFO writing dependency_links to docker_squash.egg-info/dependency_links.txt writing entry points to docker_squash.egg-info/entry_points.txt writing requirements to docker_squash.egg-info/requires.txt writing top-level names to docker_squash.egg-info/top_level.txt writing manifest file 'docker_squash.egg-info/SOURCES.txt' reading manifest file 'docker_squash.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'docker_squash.egg-info/SOURCES.txt' Copying docker_squash.egg-info to /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11/site-packages/docker_squash-1.0.9-py3.11.egg-info running install_scripts Installing docker-squash script to /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/bin + rm -rfv /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.0.9-4.fc37 --unique-debug-suffix -1.0.9-4.fc37.x86_64 --unique-debug-src-base python-docker-squash-1.0.9-4.fc37.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/docker-squash-1.0.9 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.sM6UDW + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/docker-squash-1.0.9/.package_note-python-docker-squash-1.0.9-4.fc37.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh python-docker-squash 1.0.9-4.fc37 x86_64 + cd docker-squash-1.0.9 + py.test-3.11 -v tests/test_unit_squash.py tests/test_unit_v1_image.py tests/test_unit_v2_image.py ============================= test session starts ============================== platform linux -- Python 3.11.0b5, pytest-7.1.2, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/docker-squash-1.0.9 collecting ... collected 47 items tests/test_unit_squash.py::TestSquash::test_exit_if_no_output_path_provided_and_loading_is_disabled_too PASSED [ 2%] tests/test_unit_squash.py::TestSquash::test_handle_case_when_no_image_is_provided PASSED [ 4%] tests/test_unit_squash.py::TestSquash::test_should_cleanup_after_squashing PASSED [ 6%] tests/test_unit_squash.py::TestSquash::test_should_handle_cleanup_error_when_removing_image PASSED [ 8%] tests/test_unit_squash.py::TestSquash::test_should_handle_cleanup_error_while_getting_image_id PASSED [ 10%] tests/test_unit_squash.py::TestSquash::test_should_not_cleanup_after_squashing PASSED [ 12%] tests/test_unit_v1_image.py::TestSkippingFiles::test_should_not_skip_file_not_in_path_to_skip PASSED [ 14%] tests/test_unit_v1_image.py::TestSkippingFiles::test_should_not_skip_the_file_that_name_is_similar_to_skipped_path PASSED [ 17%] tests/test_unit_v1_image.py::TestSkippingFiles::test_should_skip_exact_files PASSED [ 19%] tests/test_unit_v1_image.py::TestSkippingFiles::test_should_skip_files_in_other_layer PASSED [ 21%] tests/test_unit_v1_image.py::TestSkippingFiles::test_should_skip_files_in_subdirectory PASSED [ 23%] tests/test_unit_v1_image.py::TestParseImageName::test_should_parse_name_name_with_proper_tag PASSED [ 25%] tests/test_unit_v1_image.py::TestParseImageName::test_should_parse_name_name_without_tag PASSED [ 27%] tests/test_unit_v1_image.py::TestPrepareTemporaryDirectory::test_create_tmp_directory_if_not_provided PASSED [ 29%] tests/test_unit_v1_image.py::TestPrepareTemporaryDirectory::test_should_raise_if_directory_already_exists PASSED [ 31%] tests/test_unit_v1_image.py::TestPrepareTemporaryDirectory::test_should_use_provided_tmp_dir PASSED [ 34%] tests/test_unit_v1_image.py::TestPrepareLayersToSquash::test_should_generate_list_of_layers PASSED [ 36%] tests/test_unit_v1_image.py::TestPrepareLayersToSquash::test_should_not_fail_with_empty_list_of_layers PASSED [ 38%] tests/test_unit_v1_image.py::TestPrepareLayersToSquash::test_should_return_all_layers_if_from_layer_is_not_found PASSED [ 40%] tests/test_unit_v1_image.py::TestGenerateV1ImageId::test_should_generate_id PASSED [ 42%] tests/test_unit_v1_image.py::TestGenerateV1ImageId::test_should_generate_id_that_is_not_integer_shen_shortened PASSED [ 44%] tests/test_unit_v1_image.py::TestGenerateRepositoriesJSON::test_generate_json PASSED [ 46%] tests/test_unit_v1_image.py::TestGenerateRepositoriesJSON::test_handle_empty_image_id PASSED [ 48%] tests/test_unit_v1_image.py::TestGenerateRepositoriesJSON::test_should_not_generate_repositories_if_name_and_tag_is_missing PASSED [ 51%] tests/test_unit_v1_image.py::TestMarkerFiles::test_should_find_all_marker_files PASSED [ 53%] tests/test_unit_v1_image.py::TestMarkerFiles::test_should_return_empty_dict_when_no_files_are_in_the_tar PASSED [ 55%] tests/test_unit_v1_image.py::TestMarkerFiles::test_should_return_empty_dict_when_no_marker_files_are_found PASSED [ 57%] tests/test_unit_v1_image.py::TestAddMarkers::test_should_add_all_marker_files_to_empty_tar PASSED [ 59%] tests/test_unit_v1_image.py::TestAddMarkers::test_should_add_all_marker_files_to_empty_tar_besides_what_should_be_skipped PASSED [ 61%] tests/test_unit_v1_image.py::TestAddMarkers::test_should_add_marker_file_when_tar_has_prefixed_entries PASSED [ 63%] tests/test_unit_v1_image.py::TestAddMarkers::test_should_not_add_any_marker_files PASSED [ 65%] tests/test_unit_v1_image.py::TestAddMarkers::test_should_not_fail_with_empty_list_of_markers_to_add PASSED [ 68%] tests/test_unit_v1_image.py::TestAddMarkers::test_should_skip_a_marker_file_if_file_is_in_unsquashed_layers PASSED [ 70%] tests/test_unit_v1_image.py::TestReduceMarkers::test_should_not_reduce_any_marker_files PASSED [ 72%] tests/test_unit_v1_image.py::TestReduceMarkers::test_should_reduce_marker_files PASSED [ 74%] tests/test_unit_v1_image.py::TestPathHierarchy::test_should_handle_empty PASSED [ 76%] tests/test_unit_v1_image.py::TestPathHierarchy::test_should_handle_root PASSED [ 78%] tests/test_unit_v1_image.py::TestPathHierarchy::test_should_prepare_path_hierarchy PASSED [ 80%] tests/test_unit_v2_image.py::TestReadingConfigFiles::test_should_read_json_file PASSED [ 82%] tests/test_unit_v2_image.py::TestGeneratingMetadata::test_generate_image_metadata PASSED [ 85%] tests/test_unit_v2_image.py::TestGeneratingMetadata::test_generate_image_metadata_without_any_layers_to_squash PASSED [ 87%] tests/test_unit_v2_image.py::TestGeneratingMetadata::test_generate_manifest PASSED [ 89%] tests/test_unit_v2_image.py::TestGeneratingMetadata::test_generate_squashed_layer_metadata PASSED [ 91%] tests/test_unit_v2_image.py::TestGeneratingMetadata::test_generate_squashed_layer_path_id PASSED [ 93%] tests/test_unit_v2_image.py::TestWritingMetadata::test_write_image_metadata PASSED [ 95%] tests/test_unit_v2_image.py::TestWritingMetadata::test_write_manifest_metadata PASSED [ 97%] tests/test_unit_v2_image.py::TestWritingMetadata::test_write_squashed_layer_metadata PASSED [100%] =============================== warnings summary =============================== tests/test_unit_squash.py::TestSquash::test_should_cleanup_after_squashing tests/test_unit_squash.py::TestSquash::test_should_cleanup_after_squashing tests/test_unit_squash.py::TestSquash::test_should_handle_cleanup_error_when_removing_image tests/test_unit_squash.py::TestSquash::test_should_handle_cleanup_error_when_removing_image tests/test_unit_squash.py::TestSquash::test_should_handle_cleanup_error_while_getting_image_id tests/test_unit_squash.py::TestSquash::test_should_handle_cleanup_error_while_getting_image_id tests/test_unit_squash.py::TestSquash::test_should_not_cleanup_after_squashing tests/test_unit_squash.py::TestSquash::test_should_not_cleanup_after_squashing /builddir/build/BUILD/docker-squash-1.0.9/docker_squash/squash.py:52: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if StrictVersion(docker_version['ApiVersion']) >= StrictVersion("1.22"): -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ======================== 47 passed, 8 warnings in 0.33s ======================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-docker-squash-1.0.9-4.fc37.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DZL6bY + umask 022 + cd /builddir/build/BUILD + cd docker-squash-1.0.9 + DOCDIR=/builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/share/doc/python3-docker-squash + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/share/doc/python3-docker-squash + cp -pr README.rst /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/share/doc/python3-docker-squash + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.SNP1OH + umask 022 + cd /builddir/build/BUILD + cd docker-squash-1.0.9 + LICENSEDIR=/builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/share/licenses/python3-docker-squash + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/share/licenses/python3-docker-squash + cp -pr LICENSE /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64/usr/share/licenses/python3-docker-squash + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-docker-squash = 1.0.9-4.fc37 python3-docker-scripts = 1.0.9-4.fc37 python3-docker-squash = 1.0.9-4.fc37 python3.11-docker-squash = 1.0.9-4.fc37 python3.11dist(docker-squash) = 1.0.9 python3dist(docker-squash) = 1.0.9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 python(abi) = 3.11 python3.11dist(docker) python3.11dist(six) Obsoletes: python-docker-squash < 1.0.9-4.fc37 python3-docker-scripts <= 1.0.0-0.2.rc2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64 Wrote: /builddir/build/RPMS/python3-docker-squash-1.0.9-4.fc37.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CmvAin + umask 022 + cd /builddir/build/BUILD + cd docker-squash-1.0.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-docker-squash-1.0.9-4.fc37.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.60XKJ4 + umask 022 + cd /builddir/build/BUILD + rm -rf docker-squash-1.0.9 docker-squash-1.0.9.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0