Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-docker-squash.spec'], printOutput=Falsetimeout=172800uid=1000gid=425logger=shell=FalsechrootPath='/var/lib/mock/f26-build-9657121-779122/root'user='mockbuild'env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8'}nspawn_args=[]) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-docker-squash.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-docker-squash-1.0.5-7.fc26.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-docker-squash.spec'], printOutput=Falsetimeout=172800uid=1000gid=425logger=shell=FalsechrootPath='/var/lib/mock/f26-build-9657121-779122/root'user='mockbuild'env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8'}nspawn_args=[]) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-docker-squash.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8imumQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf docker-squash-1.0.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-docker-squash-1.0.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd docker-squash-1.0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (python-docker-squash-1.0.5-docker-py2.patch): + echo 'Patch #0 (python-docker-squash-1.0.5-docker-py2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file .gitignore patching file docker_squash/lib/common.py patching file requirements.txt patching file tests/test_integ_squash.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.noeBA5 + umask 022 + cd /builddir/build/BUILD + cd docker-squash-1.0.5 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' 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/v2_image.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/v1_image.py -> build/lib/docker_squash copying docker_squash/cli.py -> build/lib/docker_squash copying docker_squash/__init__.py -> build/lib/docker_squash copying docker_squash/image.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 + sleep 1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.refndr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch ++ dirname /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch + cd docker-squash-1.0.5 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr creating /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib creating /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash copying build/lib/docker_squash/squash.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash copying build/lib/docker_squash/v2_image.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash copying build/lib/docker_squash/version.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash copying build/lib/docker_squash/errors.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash copying build/lib/docker_squash/v1_image.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash copying build/lib/docker_squash/cli.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash creating /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash/lib copying build/lib/docker_squash/lib/common.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash/lib copying build/lib/docker_squash/lib/xtarfile.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash/lib copying build/lib/docker_squash/lib/__init__.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash/lib copying build/lib/docker_squash/__init__.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash copying build/lib/docker_squash/image.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash/squash.py to squash.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash/v2_image.py to v2_image.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash/version.py to version.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash/errors.py to errors.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash/v1_image.py to v1_image.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash/cli.py to cli.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash/lib/common.py to common.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash/lib/xtarfile.py to xtarfile.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash/lib/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash/image.py to image.pyc writing byte-compilation script '/tmp/tmpHqohl2.py' /usr/bin/python2 -O /tmp/tmpHqohl2.py removing /tmp/tmpHqohl2.py running install_egg_info running egg_info creating docker_squash.egg-info writing requirements to docker_squash.egg-info/requires.txt writing docker_squash.egg-info/PKG-INFO writing top-level names to docker_squash.egg-info/top_level.txt writing dependency_links to docker_squash.egg-info/dependency_links.txt writing entry points to docker_squash.egg-info/entry_points.txt writing manifest file 'docker_squash.egg-info/SOURCES.txt' reading manifest file 'docker_squash.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'docker_squash.egg-info/SOURCES.txt' Copying docker_squash.egg-info to /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7/site-packages/docker_squash-1.0.5-py2.7.egg-info running install_scripts Installing docker-squash script to /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/bin + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash copying build/lib/docker_squash/squash.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash copying build/lib/docker_squash/v2_image.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash copying build/lib/docker_squash/version.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash copying build/lib/docker_squash/errors.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash copying build/lib/docker_squash/v1_image.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash copying build/lib/docker_squash/cli.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash creating /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash/lib copying build/lib/docker_squash/lib/common.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash/lib copying build/lib/docker_squash/lib/xtarfile.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash/lib copying build/lib/docker_squash/lib/__init__.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash/lib copying build/lib/docker_squash/__init__.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash copying build/lib/docker_squash/image.py -> /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash/squash.py to squash.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash/v2_image.py to v2_image.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash/version.py to version.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash/errors.py to errors.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash/v1_image.py to v1_image.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash/cli.py to cli.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash/lib/common.py to common.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash/lib/xtarfile.py to xtarfile.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash/lib/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash/image.py to image.cpython-36.pyc writing byte-compilation script '/tmp/tmpwym181yq.py' /usr/bin/python3 /tmp/tmpwym181yq.py removing /tmp/tmpwym181yq.py running install_egg_info running 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 reading manifest file 'docker_squash.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'docker_squash.egg-info/SOURCES.txt' Copying docker_squash.egg-info to /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6/site-packages/docker_squash-1.0.5-py3.6.egg-info running install_scripts Installing docker-squash script to /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/bin + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/docker-squash-1.0.5 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python3.6 using /usr/bin/python3.6 Bytecompiling .py files below /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.5RRIZP + umask 022 + cd /builddir/build/BUILD + cd docker-squash-1.0.5 + py.test-2.7 -v tests/test_unit_squash.py tests/test_unit_v1_image.py tests/test_unit_v2_image.py ============================= test session starts ============================== platform linux2 -- Python 2.7.13, pytest-3.1.1, py-1.4.34, pluggy-0.4.0 -- /usr/bin/python2 cachedir: .cache rootdir: /builddir/build/BUILD/docker-squash-1.0.5, inifile: collecting ... collected 40 items tests/test_unit_squash.py::TestSquash::test_exit_if_no_output_path_provided_and_loading_is_disabled_too PASSED tests/test_unit_squash.py::TestSquash::test_handle_case_when_no_image_is_provided PASSED tests/test_unit_squash.py::TestSquash::test_should_cleanup_after_squashing PASSED tests/test_unit_squash.py::TestSquash::test_should_not_cleanup_after_squashing PASSED tests/test_unit_v1_image.py::TestSkippingFiles::test_should_not_skip_file_not_in_path_to_skip PASSED tests/test_unit_v1_image.py::TestSkippingFiles::test_should_not_skip_the_file_that_name_is_similar_to_skipped_path PASSED tests/test_unit_v1_image.py::TestSkippingFiles::test_should_skip_exact_files PASSED tests/test_unit_v1_image.py::TestSkippingFiles::test_should_skip_files_in_other_layer PASSED tests/test_unit_v1_image.py::TestSkippingFiles::test_should_skip_files_in_subdirectory PASSED tests/test_unit_v1_image.py::TestParseImageName::test_should_parse_name_name_with_proper_tag PASSED tests/test_unit_v1_image.py::TestParseImageName::test_should_parse_name_name_without_tag PASSED tests/test_unit_v1_image.py::TestPrepareTemporaryDirectory::test_create_tmp_directory_if_not_provided PASSED tests/test_unit_v1_image.py::TestPrepareTemporaryDirectory::test_should_raise_if_directory_already_exists PASSED tests/test_unit_v1_image.py::TestPrepareTemporaryDirectory::test_should_use_provided_tmp_dir PASSED tests/test_unit_v1_image.py::TestPrepareLayersToSquash::test_should_generate_list_of_layers PASSED tests/test_unit_v1_image.py::TestPrepareLayersToSquash::test_should_not_fail_with_empty_list_of_layers PASSED tests/test_unit_v1_image.py::TestPrepareLayersToSquash::test_should_return_all_layers_if_from_layer_is_not_found PASSED tests/test_unit_v1_image.py::TestGenerateV1ImageId::test_should_generate_id PASSED tests/test_unit_v1_image.py::TestGenerateV1ImageId::test_should_generate_id_that_is_not_integer_shen_shortened PASSED tests/test_unit_v1_image.py::TestGenerateRepositoriesJSON::test_generate_json PASSED tests/test_unit_v1_image.py::TestGenerateRepositoriesJSON::test_handle_empty_image_id PASSED tests/test_unit_v1_image.py::TestGenerateRepositoriesJSON::test_should_not_generate_repositories_if_name_and_tag_is_missing PASSED tests/test_unit_v1_image.py::TestMarkerFiles::test_should_find_all_marker_files PASSED tests/test_unit_v1_image.py::TestMarkerFiles::test_should_return_empty_dict_when_no_files_are_in_the_tar PASSED tests/test_unit_v1_image.py::TestMarkerFiles::test_should_return_empty_dict_when_no_marker_files_are_found PASSED tests/test_unit_v1_image.py::TestAddMarkers::test_should_add_all_marker_files_to_empty_tar PASSED tests/test_unit_v1_image.py::TestAddMarkers::test_should_add_all_marker_files_to_empty_tar_besides_what_should_be_skipped PASSED tests/test_unit_v1_image.py::TestAddMarkers::test_should_add_marker_file_when_tar_has_prefixed_entries PASSED tests/test_unit_v1_image.py::TestAddMarkers::test_should_not_add_any_marker_files PASSED tests/test_unit_v1_image.py::TestAddMarkers::test_should_not_fail_with_empty_list_of_markers_to_add PASSED tests/test_unit_v1_image.py::TestAddMarkers::test_should_skip_a_marker_file_if_file_is_in_unsquashed_layers PASSED tests/test_unit_v2_image.py::TestReadingConfigFiles::test_should_read_json_file PASSED tests/test_unit_v2_image.py::TestGeneratingMetadata::test_generate_image_metadata PASSED tests/test_unit_v2_image.py::TestGeneratingMetadata::test_generate_image_metadata_without_any_layers_to_squash PASSED tests/test_unit_v2_image.py::TestGeneratingMetadata::test_generate_manifest PASSED tests/test_unit_v2_image.py::TestGeneratingMetadata::test_generate_squashed_layer_metadata PASSED tests/test_unit_v2_image.py::TestGeneratingMetadata::test_generate_squashed_layer_path_id PASSED tests/test_unit_v2_image.py::TestWritingMetadata::test_write_image_metadata PASSED tests/test_unit_v2_image.py::TestWritingMetadata::test_write_manifest_metadata PASSED tests/test_unit_v2_image.py::TestWritingMetadata::test_write_squashed_layer_metadata PASSED ========================== 40 passed in 0.28 seconds =========================== + py.test-3.6 -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.6.2, pytest-3.1.1, py-1.4.34, pluggy-0.4.0 -- /usr/bin/python3 cachedir: .cache rootdir: /builddir/build/BUILD/docker-squash-1.0.5, inifile: collecting ... collected 40 items tests/test_unit_squash.py::TestSquash::test_exit_if_no_output_path_provided_and_loading_is_disabled_too PASSED tests/test_unit_squash.py::TestSquash::test_handle_case_when_no_image_is_provided PASSED tests/test_unit_squash.py::TestSquash::test_should_cleanup_after_squashing PASSED tests/test_unit_squash.py::TestSquash::test_should_not_cleanup_after_squashing PASSED tests/test_unit_v1_image.py::TestSkippingFiles::test_should_not_skip_file_not_in_path_to_skip PASSED tests/test_unit_v1_image.py::TestSkippingFiles::test_should_not_skip_the_file_that_name_is_similar_to_skipped_path PASSED tests/test_unit_v1_image.py::TestSkippingFiles::test_should_skip_exact_files PASSED tests/test_unit_v1_image.py::TestSkippingFiles::test_should_skip_files_in_other_layer PASSED tests/test_unit_v1_image.py::TestSkippingFiles::test_should_skip_files_in_subdirectory PASSED tests/test_unit_v1_image.py::TestParseImageName::test_should_parse_name_name_with_proper_tag PASSED tests/test_unit_v1_image.py::TestParseImageName::test_should_parse_name_name_without_tag PASSED tests/test_unit_v1_image.py::TestPrepareTemporaryDirectory::test_create_tmp_directory_if_not_provided PASSED tests/test_unit_v1_image.py::TestPrepareTemporaryDirectory::test_should_raise_if_directory_already_exists PASSED tests/test_unit_v1_image.py::TestPrepareTemporaryDirectory::test_should_use_provided_tmp_dir PASSED tests/test_unit_v1_image.py::TestPrepareLayersToSquash::test_should_generate_list_of_layers PASSED tests/test_unit_v1_image.py::TestPrepareLayersToSquash::test_should_not_fail_with_empty_list_of_layers PASSED tests/test_unit_v1_image.py::TestPrepareLayersToSquash::test_should_return_all_layers_if_from_layer_is_not_found PASSED tests/test_unit_v1_image.py::TestGenerateV1ImageId::test_should_generate_id PASSED tests/test_unit_v1_image.py::TestGenerateV1ImageId::test_should_generate_id_that_is_not_integer_shen_shortened PASSED tests/test_unit_v1_image.py::TestGenerateRepositoriesJSON::test_generate_json PASSED tests/test_unit_v1_image.py::TestGenerateRepositoriesJSON::test_handle_empty_image_id PASSED tests/test_unit_v1_image.py::TestGenerateRepositoriesJSON::test_should_not_generate_repositories_if_name_and_tag_is_missing PASSED tests/test_unit_v1_image.py::TestMarkerFiles::test_should_find_all_marker_files PASSED tests/test_unit_v1_image.py::TestMarkerFiles::test_should_return_empty_dict_when_no_files_are_in_the_tar PASSED tests/test_unit_v1_image.py::TestMarkerFiles::test_should_return_empty_dict_when_no_marker_files_are_found PASSED tests/test_unit_v1_image.py::TestAddMarkers::test_should_add_all_marker_files_to_empty_tar PASSED tests/test_unit_v1_image.py::TestAddMarkers::test_should_add_all_marker_files_to_empty_tar_besides_what_should_be_skipped PASSED tests/test_unit_v1_image.py::TestAddMarkers::test_should_add_marker_file_when_tar_has_prefixed_entries PASSED tests/test_unit_v1_image.py::TestAddMarkers::test_should_not_add_any_marker_files PASSED tests/test_unit_v1_image.py::TestAddMarkers::test_should_not_fail_with_empty_list_of_markers_to_add PASSED tests/test_unit_v1_image.py::TestAddMarkers::test_should_skip_a_marker_file_if_file_is_in_unsquashed_layers PASSED tests/test_unit_v2_image.py::TestReadingConfigFiles::test_should_read_json_file PASSED tests/test_unit_v2_image.py::TestGeneratingMetadata::test_generate_image_metadata PASSED tests/test_unit_v2_image.py::TestGeneratingMetadata::test_generate_image_metadata_without_any_layers_to_squash PASSED tests/test_unit_v2_image.py::TestGeneratingMetadata::test_generate_manifest PASSED tests/test_unit_v2_image.py::TestGeneratingMetadata::test_generate_squashed_layer_metadata PASSED tests/test_unit_v2_image.py::TestGeneratingMetadata::test_generate_squashed_layer_path_id PASSED tests/test_unit_v2_image.py::TestWritingMetadata::test_write_image_metadata PASSED tests/test_unit_v2_image.py::TestWritingMetadata::test_write_manifest_metadata PASSED tests/test_unit_v2_image.py::TestWritingMetadata::test_write_squashed_layer_metadata PASSED ========================== 40 passed in 0.33 seconds =========================== + exit 0 Processing files: python2-docker-squash-1.0.5-7.fc26.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5uPmhi + umask 022 + cd /builddir/build/BUILD + cd docker-squash-1.0.5 + DOCDIR=/builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/share/doc/python2-docker-squash + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/share/doc/python2-docker-squash + cp -pr README.rst /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/share/doc/python2-docker-squash + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.cCKKzK + umask 022 + cd /builddir/build/BUILD + cd docker-squash-1.0.5 + LICENSEDIR=/builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/share/licenses/python2-docker-squash + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/share/licenses/python2-docker-squash + cp -pr LICENSE /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/share/licenses/python2-docker-squash + exit 0 Provides: python-docker-scripts = 1.0.5-7.fc26 python-docker-squash = 1.0.5-7.fc26 python2-docker-squash = 1.0.5-7.fc26 python2.7dist(docker-squash) = 1.0.5 python2dist(docker-squash) = 1.0.5 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: python(abi) = 2.7 Obsoletes: python-docker-scripts <= 1.0.0-0.2.rc2 python-docker-squash < 1.0.5-7.fc26 Processing files: python3-docker-squash-1.0.5-7.fc26.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7o30kk + umask 022 + cd /builddir/build/BUILD + cd docker-squash-1.0.5 + DOCDIR=/builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/share/doc/python3-docker-squash + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/share/doc/python3-docker-squash + cp -pr README.rst /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/share/doc/python3-docker-squash + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.GSG66T + umask 022 + cd /builddir/build/BUILD + cd docker-squash-1.0.5 + LICENSEDIR=/builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/share/licenses/python3-docker-squash + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/share/licenses/python3-docker-squash + cp -pr LICENSE /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch/usr/share/licenses/python3-docker-squash + exit 0 Provides: python3-docker-scripts = 1.0.5-7.fc26 python3-docker-squash = 1.0.5-7.fc26 python3.6dist(docker-squash) = 1.0.5 python3dist(docker-squash) = 1.0.5 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 python(abi) = 3.6 Obsoletes: 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.5-7.fc26.noarch Wrote: /builddir/build/RPMS/python2-docker-squash-1.0.5-7.fc26.noarch.rpm Wrote: /builddir/build/RPMS/python3-docker-squash-1.0.5-7.fc26.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GK2HgC + umask 022 + cd /builddir/build/BUILD + cd docker-squash-1.0.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-docker-squash-1.0.5-7.fc26.noarch + exit 0 Child return code was: 0