Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-docker-squash.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-433312-18759/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --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'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1674172800 Wrote: /builddir/build/SRPMS/python-docker-squash-1.0.9-5.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-docker-squash.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-433312-18759/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --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'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2Pt0oA + 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.4esPc1 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + 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 ' + /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/squash.py -> build/lib/docker_squash copying docker_squash/version.py -> build/lib/docker_squash copying docker_squash/errors.py -> build/lib/docker_squash copying docker_squash/image.py -> build/lib/docker_squash copying docker_squash/cli.py -> build/lib/docker_squash copying docker_squash/v1_image.py -> build/lib/docker_squash copying docker_squash/v2_image.py -> build/lib/docker_squash copying docker_squash/__init__.py -> build/lib/docker_squash creating build/lib/docker_squash/lib copying docker_squash/lib/common.py -> build/lib/docker_squash/lib copying docker_squash/lib/xtarfile.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.nIIXQy + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch ++ dirname /builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + 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 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch --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-5.fc38.noarch/usr creating /builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch/usr/lib creating /builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch/usr/lib/python3.11/site-packages/docker_squash copying build/lib/docker_squash/squash.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch/usr/lib/python3.11/site-packages/docker_squash copying build/lib/docker_squash/version.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch/usr/lib/python3.11/site-packages/docker_squash copying build/lib/docker_squash/errors.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch/usr/lib/python3.11/site-packages/docker_squash copying build/lib/docker_squash/image.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch/usr/lib/python3.11/site-packages/docker_squash copying build/lib/docker_squash/cli.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch/usr/lib/python3.11/site-packages/docker_squash creating /builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch/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-5.fc38.noarch/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-5.fc38.noarch/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-5.fc38.noarch/usr/lib/python3.11/site-packages/docker_squash/lib copying build/lib/docker_squash/v1_image.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch/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-5.fc38.noarch/usr/lib/python3.11/site-packages/docker_squash copying build/lib/docker_squash/__init__.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch/usr/lib/python3.11/site-packages/docker_squash byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch/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-5.fc38.noarch/usr/lib/python3.11/site-packages/docker_squash/version.py to version.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch/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-5.fc38.noarch/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-5.fc38.noarch/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-5.fc38.noarch/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-5.fc38.noarch/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-5.fc38.noarch/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-5.fc38.noarch/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-5.fc38.noarch/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-5.fc38.noarch/usr/lib/python3.11/site-packages/docker_squash/__init__.py to __init__.cpython-311.pyc writing byte-compilation script '/tmp/tmp0k0f207s.py' /usr/bin/python3 /tmp/tmp0k0f207s.py removing /tmp/tmp0k0f207s.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-5.fc38.noarch/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-5.fc38.noarch/usr/bin + rm -rfv /builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.0.9-5.fc38 --unique-debug-suffix -1.0.9-5.fc38.noarch --unique-debug-src-base python-docker-squash-1.0.9-5.fc38.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.fdAaIN + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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.2, pytest-7.2.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 10.36s ======================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-docker-squash-1.0.9-5.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.l0Kd3V + umask 022 + cd /builddir/build/BUILD + cd docker-squash-1.0.9 + DOCDIR=/builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch/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-5.fc38.noarch/usr/share/doc/python3-docker-squash + cp -pr README.rst /builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch/usr/share/doc/python3-docker-squash + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.diawcx + umask 022 + cd /builddir/build/BUILD + cd docker-squash-1.0.9 + LICENSEDIR=/builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch/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-5.fc38.noarch/usr/share/licenses/python3-docker-squash + cp -pr LICENSE /builddir/build/BUILDROOT/python-docker-squash-1.0.9-5.fc38.noarch/usr/share/licenses/python3-docker-squash + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-docker-squash = 1.0.9-5.fc38 python3-docker-scripts = 1.0.9-5.fc38 python3-docker-squash = 1.0.9-5.fc38 python3.11-docker-squash = 1.0.9-5.fc38 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-5.fc38 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-5.fc38.noarch Wrote: /builddir/build/RPMS/python3-docker-squash-1.0.9-5.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LQ6sEQ + 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-5.fc38.noarch + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.TeQfza + 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