Mock Version: 1.2.7 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/oscap-anaconda-addon.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-1869/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}gid=135user='mockbuild'timeout=0logger=<mockbuild.trace_decorator.getLog object at 0x22d8f50>uid=500) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/oscap-anaconda-addon.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False warning: Could not canonicalize hostname: i-0003681a Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/oscap-anaconda-addon-0.6-2.el7.centos.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/oscap-anaconda-addon.spec '], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-1869/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}gid=135user='mockbuild'timeout=0logger=<mockbuild.trace_decorator.getLog object at 0x22d8f50>uid=500) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/oscap-anaconda-addon.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cO5H5b + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf oscap-anaconda-addon-0.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/oscap-anaconda-addon-0.6.tar.gz + /usr/bin/tar -xf - + STATUS=0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6XcsB8 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sX1G74 mkdir -p /builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/anaconda/addons/ cp -rv org_fedora_oscap /builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/anaconda/addons/ 'org_fedora_oscap' -> '/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/anaconda/addons/org_fedora_oscap' 'org_fedora_oscap/data_fetch.py' -> '/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/anaconda/addons/org_fedora_oscap/data_fetch.py' 'org_fedora_oscap/ks' -> '/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/anaconda/addons/org_fedora_oscap/ks' 'org_fedora_oscap/ks/oscap.py' -> '/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/anaconda/addons/org_fedora_oscap/ks/oscap.py' 'org_fedora_oscap/ks/__init__.py' -> '/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/anaconda/addons/org_fedora_oscap/ks/__init__.py' 'org_fedora_oscap/rule_handling.py' -> '/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/anaconda/addons/org_fedora_oscap/rule_handling.py' 'org_fedora_oscap/gui' -> '/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/anaconda/addons/org_fedora_oscap/gui' 'org_fedora_oscap/gui/categories' -> '/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/anaconda/addons/org_fedora_oscap/gui/categories' 'org_fedora_oscap/gui/categories/security.py' -> '/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/anaconda/addons/org_fedora_oscap/gui/categories/security.py' 'org_fedora_oscap/gui/categories/__init__.py' -> '/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/anaconda/addons/org_fedora_oscap/gui/categories/__init__.py' 'org_fedora_oscap/gui/spokes' -> '/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/anaconda/addons/org_fedora_oscap/gui/spokes' 'org_fedora_oscap/gui/spokes/oscap.glade~' -> '/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/anaconda/addons/org_fedora_oscap/gui/spokes/oscap.glade~' 'org_fedora_oscap/gui/spokes/oscap.py.orig' -> '/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/anaconda/addons/org_fedora_oscap/gui/spokes/oscap.py.orig' 'org_fedora_oscap/gui/spokes/oscap.glade' -> '/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/anaconda/addons/org_fedora_oscap/gui/spokes/oscap.glade' 'org_fedora_oscap/gui/spokes/oscap.py' -> '/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/anaconda/addons/org_fedora_oscap/gui/spokes/oscap.py' 'org_fedora_oscap/gui/spokes/__init__.py' -> '/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/anaconda/addons/org_fedora_oscap/gui/spokes/__init__.py' 'org_fedora_oscap/gui/__init__.py' -> '/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/anaconda/addons/org_fedora_oscap/gui/__init__.py' 'org_fedora_oscap/content_handling.py' -> '/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/anaconda/addons/org_fedora_oscap/content_handling.py' 'org_fedora_oscap/utils.py' -> '/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/anaconda/addons/org_fedora_oscap/utils.py' 'org_fedora_oscap/common.py' -> '/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/anaconda/addons/org_fedora_oscap/common.py' 'org_fedora_oscap/__init__.py' -> '/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/anaconda/addons/org_fedora_oscap/__init__.py' make install-po-files make[1]: Entering directory `/builddir/build/BUILD/oscap-anaconda-addon-0.6' make -C po install make[2]: Entering directory `/builddir/build/BUILD/oscap-anaconda-addon-0.6/po' msgfmt --statistics --verbose -o cs.mo cs.po msgfmt --statistics --verbose -o pl.mo pl.po + '[' 0 -ne 0 ']' + cd oscap-anaconda-addon-0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 + umask 022 + cd /builddir/build/BUILD + cd oscap-anaconda-addon-0.6 + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64 + cd oscap-anaconda-addon-0.6 + make install DESTDIR=/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64 cs.po: 17 translated messages. pl.po: 17 translated messages. 'cs.mo' -> '/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/locale/cs/LC_MESSAGES/oscap-anaconda-addon.mo' 'pl.mo' -> '/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/locale/pl/LC_MESSAGES/oscap-anaconda-addon.mo' make[2]: Leaving directory `/builddir/build/BUILD/oscap-anaconda-addon-0.6/po' make[1]: Leaving directory `/builddir/build/BUILD/oscap-anaconda-addon-0.6' + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64 oscap-anaconda-addon + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/oscap-anaconda-addon-0.6 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.86hyp2 + umask 022 + cd /builddir/build/BUILD + cd oscap-anaconda-addon-0.6 + make unittest PYTHONPATH=. nosetests --processes=-1 -vw tests/ run_oscap_remediate_create_chroot_dir_test (common_test.OSCAPtoolRunningTest) ... ok run_oscap_remediate_create_dir_test (common_test.OSCAPtoolRunningTest) ... ok run_oscap_remediate_profile_only_test (common_test.OSCAPtoolRunningTest) ... ok run_oscap_remediate_with_ds_test (common_test.OSCAPtoolRunningTest) ... ok run_oscap_remediate_with_ds_xccdf_test (common_test.OSCAPtoolRunningTest) ... ok supported_url_test (data_fetch_test.CanFetchFromTest) ... ok unsupported_url_test (data_fetch_test.CanFetchFromTest) ... ok archive_preinst_content_path_test (ks_oscap_test.ArchiveHandlingTest) ... ok archive_raw_content_paths_test (ks_oscap_test.ArchiveHandlingTest) ... ok ds_preinst_content_path_test (ks_oscap_test.ArchiveHandlingTest) ... ok ds_raw_content_paths_test (ks_oscap_test.ArchiveHandlingTest) ... ok rpm_raw_content_paths_test (ks_oscap_test.ArchiveHandlingTest) ... ok enough_for_archive_test (ks_oscap_test.EverythingOKtest) ... ok enough_for_ds_test (ks_oscap_test.EverythingOKtest) ... ok enough_for_rpm_test (ks_oscap_test.EverythingOKtest) ... ok invalid_fingerprints_test (ks_oscap_test.FingerprintTests) ... ok valid_fingerprints_test (ks_oscap_test.FingerprintTests) ... ok no_content_type_test (ks_oscap_test.IncompleteDataTest) ... ok no_content_url_test (ks_oscap_test.IncompleteDataTest) ... ok no_profile_test (ks_oscap_test.IncompleteDataTest) ... ok nothing_given_test (ks_oscap_test.IncompleteDataTest) ... ok archive_without_path_test (ks_oscap_test.InvalidDataTest) ... ok rpm_with_wrong_suffix_test (ks_oscap_test.InvalidDataTest) ... ok rpm_without_path_test (ks_oscap_test.InvalidDataTest) ... ok unsupported_archive_type_test (ks_oscap_test.InvalidDataTest) ... ok parsing_test (ks_oscap_test.ParsingTest) ... ok properties_test (ks_oscap_test.ParsingTest) ... ok str_parse_test (ks_oscap_test.ParsingTest) ... ok str_test (ks_oscap_test.ParsingTest) ... ok contains_test (rule_handling_test.PartRulesSyntaxSupportTest) ... ok delitem_test (rule_handling_test.PartRulesSyntaxSupportTest) ... ok getitem_test (rule_handling_test.PartRulesSyntaxSupportTest) ... ok len_test (rule_handling_test.PartRulesSyntaxSupportTest) ... ok setitem_test (rule_handling_test.PartRulesSyntaxSupportTest) ... ok revert_mount_options_nonexistent_test (rule_handling_test.RevertingTest) ... ok revert_mount_options_test (rule_handling_test.RevertingTest) ... ok revert_package_rules_test (rule_handling_test.RevertingTest) ... ok revert_password_changes_test (rule_handling_test.RevertingTest) ... ok artificial_test (rule_handling_test.RuleDataParsingTest) ... ok quoted_opt_values_test (rule_handling_test.RuleDataParsingTest) ... ok real_output_test (rule_handling_test.RuleDataParsingTest) ... ok existing_dir_test (utils_test.EnsureDirExistTest) ... ok no_dir_test (utils_test.EnsureDirExistTest) ... ok nonexisting_dir_test (utils_test.EnsureDirExistTest) ... ok absolute_absolute_test (utils_test.JoinPathsTest) ... ok absolute_relative_test (utils_test.JoinPathsTest) ... ok relative_absolute_test (utils_test.JoinPathsTest) ... ok relative_relative_test (utils_test.JoinPathsTest) ... ok add_mount_option_prefix_test (rule_handling_test.RuleEvaluationTest) ... ok add_mount_options_no_duplicates_test (rule_handling_test.RuleEvaluationTest) ... ok add_mount_options_nonexisting_part_test (rule_handling_test.RuleEvaluationTest) ... ok add_mount_options_report_only_test (rule_handling_test.RuleEvaluationTest) ... ok add_mount_options_test (rule_handling_test.RuleEvaluationTest) ... ok bootloader_passwd_not_set_test (rule_handling_test.RuleEvaluationTest) ... ok bootloader_passwd_set_test (rule_handling_test.RuleEvaluationTest) ... ok existing_part_must_exist_rules_test (rule_handling_test.RuleEvaluationTest) ... ok nonexisting_part_must_exist_test (rule_handling_test.RuleEvaluationTest) ... ok package_rules_report_only_test (rule_handling_test.RuleEvaluationTest) ... ok package_rules_test (rule_handling_test.RuleEvaluationTest) ... ok passwd_minlen_crypted_passwd_test (rule_handling_test.RuleEvaluationTest) ... ok passwd_minlen_good_passwd_test (rule_handling_test.RuleEvaluationTest) ... ok passwd_minlen_no_passwd_test (rule_handling_test.RuleEvaluationTest) ... ok passwd_minlen_short_passwd_report_only_test (rule_handling_test.RuleEvaluationTest) ... ok passwd_minlen_short_passwd_test (rule_handling_test.RuleEvaluationTest) ... ok various_rules_test (rule_handling_test.RuleEvaluationTest) ... ok dict_test (utils_test.KeepTypeMapTest) ... ok gen_test (utils_test.KeepTypeMapTest) ... ok list_test (utils_test.KeepTypeMapTest) ... ok namedtuple_test (utils_test.KeepTypeMapTest) ... ok set_test (utils_test.KeepTypeMapTest) ... ok str_test (utils_test.KeepTypeMapTest) ... ok tuple_test (utils_test.KeepTypeMapTest) ... ok ---------------------------------------------------------------------- Ran 72 tests in 0.249s OK dm.c: 1693: not running as root returning empty list + exit 0 Processing files: oscap-anaconda-addon-0.6-2.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4fcBh1 + umask 022 + cd /builddir/build/BUILD + cd oscap-anaconda-addon-0.6 + DOCDIR=/builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/doc/oscap-anaconda-addon-0.6 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/doc/oscap-anaconda-addon-0.6 + cp -pr COPYING /builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/doc/oscap-anaconda-addon-0.6 + cp -pr ChangeLog /builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/doc/oscap-anaconda-addon-0.6 + cp -pr README /builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64/usr/share/doc/oscap-anaconda-addon-0.6 + exit 0 Provides: oscap-anaconda-addon = 0.6-2.el7.centos 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 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64 Wrote: /builddir/build/RPMS/oscap-anaconda-addon-0.6-2.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2Omrt1 + umask 022 + cd /builddir/build/BUILD + cd oscap-anaconda-addon-0.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/oscap-anaconda-addon-0.6-2.el7.centos.x86_64 + exit 0 Child return code was: 0 LEAVE do -->