Mock Version: 1.3.3 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nagios-server-addons.spec'], env={'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}printOutput=Falseuser='mockbuild'gid=135timeout=0uid=1001logger=chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-5530/root'shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nagios-server-addons.spec'] with env {'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False warning: Could not canonicalize hostname: copr-builder-760952932.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/nagios-server-addons-1.1.0-0.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nagios-server-addons.spec'], env={'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}printOutput=Falseuser='mockbuild'gid=135timeout=0uid=1001logger=chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-5530/root'shell=Falseprivate_network=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nagios-server-addons.spec'] with env {'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'TERM': 'vt100', '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.qUbNPy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nagios-server-addons-1.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/nagios-server-addons-1.1.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd nagios-server-addons-1.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.d4l9IN + umask 022 + cd /builddir/build/BUILD + cd nagios-server-addons-1.1.0 + CFLAGS='-O2 -g -pipe -Wall -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' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -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' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking whether ln -s works... yes checking for a Python interpreter with version >= 2.6... python checking for python... /usr/bin/python checking for python version... 2.7 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.7/site-packages checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages checking for pyflakes... /usr/bin/pyflakes checking for pep8... /usr/bin/pep8 checking for python-config... /usr/bin/python-config checking for nosetests... /usr/bin/nosetests checking python module: argparse... yes checking python module: ethtool... yes checking python module: glusternagios... yes checking python module: mock... yes checking python module: netaddr... yes checking python module: pthreading... yes checking python module: pyinotify... yes checking python module: selinux... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating nagios-server-addons.spec config.status: creating config/Makefile config.status: creating config/nagios config.status: creating plugins/check_remote_host.py config.status: creating plugins/constants.py config.status: creating plugins/gluster_host_service_handler.py config.status: creating plugins/Makefile config.status: creating plugins/hostsnmptrapgenerator.py config.status: creating plugins/servicesnmptrapgenerator.py config.status: creating templates/Makefile config.status: creating tests/Makefile config.status: creating tests/run_tests_local.sh config.status: creating tests/run_tests.sh config.status: executing depfiles commands config.status: executing default commands + make Making all in config make[1]: Entering directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/config' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/config' Making all in plugins make[1]: Entering directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/plugins' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/plugins' Making all in templates make[1]: Entering directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/templates' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/templates' Making all in tests make[1]: Entering directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/tests' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/tests' make[1]: Entering directory `/builddir/build/BUILD/nagios-server-addons-1.1.0' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/builddir/build/BUILD/nagios-server-addons-1.1.0' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Ywk0v7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64 + cd nagios-server-addons-1.1.0 + rm -rf /builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64 + make install DESTDIR=/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64 Making install in config make[1]: Entering directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/config' make[2]: Entering directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/config' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64/etc/nagios/gluster' /usr/bin/install -c -m 644 gluster-commands.cfg gluster-host-groups.cfg gluster-host-services.cfg gluster-templates.cfg gluster-contacts.cfg host-monitoring-services.in snmpmanagers.conf '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64/etc/nagios/gluster' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64/etc/nagios/gluster/default' /usr/bin/install -c -m 644 glustercluster.cfg.sample temp_node1.cfg '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64/etc/nagios/gluster/default' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64/usr/share/snmp/mibs' /usr/bin/install -c -m 644 NAGIOS-NOTIFY-MIB NAGIOS-ROOT-MIB '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64/usr/share/snmp/mibs' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64/etc/sudoers.d/' /usr/bin/install -c -m 644 nagios '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64/etc/sudoers.d/' make[2]: Leaving directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/config' make[1]: Leaving directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/config' Making install in plugins make[1]: Entering directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/plugins' make[2]: Entering directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/plugins' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64/usr/lib64/nagios/plugins/gluster' /usr/bin/install -c -m 644 constants.py check_cluster_status.py check_cluster_vol_usage.py check_remote_host.py check_vol_server.py gluster_host_service_handler.py hostsnmptrapgenerator.py livestatus.py notify_ovirt_engine_handler.py discovery.py config_generator.py servicesnmptrapgenerator.py submit_external_command.py brick_status_event_handler.py server_utils.py network_utils.py '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64/usr/lib64/nagios/plugins/gluster' Byte-compiling python modules... constants.pycheck_cluster_status.pycheck_cluster_vol_usage.pycheck_remote_host.pycheck_vol_server.pygluster_host_service_handler.pyhostsnmptrapgenerator.pylivestatus.pynotify_ovirt_engine_handler.pydiscovery.pyconfig_generator.pyservicesnmptrapgenerator.pysubmit_external_command.pybrick_status_event_handler.pyserver_utils.pynetwork_utils.py Byte-compiling python modules (optimized versions) ... constants.pycheck_cluster_status.pycheck_cluster_vol_usage.pycheck_remote_host.pycheck_vol_server.pygluster_host_service_handler.pyhostsnmptrapgenerator.pylivestatus.pynotify_ovirt_engine_handler.pydiscovery.pyconfig_generator.pyservicesnmptrapgenerator.pysubmit_external_command.pybrick_status_event_handler.pyserver_utils.pynetwork_utils.py make[2]: Leaving directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/plugins' make[1]: Leaving directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/plugins' Making install in templates make[1]: Entering directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/templates' make[2]: Entering directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/templates' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64/etc/pnp4nagios/check_commands' /usr/bin/install -c -m 644 check_brick_usage.cfg check_disk_and_inode.cfg check_interfaces.cfg '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64/etc/pnp4nagios/check_commands' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64/usr/share/nagios/html/pnp4nagios/templates.dist' /usr/bin/install -c -m 644 check_cluster_vol_usage.php check_cpu_multicore.php check_disk_and_inode.php check_interfaces.php check_memory.php check_swap_usage.php check_vol_utilization.php check_brick_usage.php '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64/usr/share/nagios/html/pnp4nagios/templates.dist' make[2]: Leaving directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/templates' make[1]: Leaving directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/templates' Making install in tests make[1]: Entering directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/tests' make[2]: Entering directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/tests' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64/usr/share/nagios-server-addons/tests' /usr/bin/install -c -m 644 test_check_cluster_volusage.py test_notify_ovirt_engine_handler.py test_config_generator.py test_discovery.py test_network_utils.py testrunner.py testValidation.py '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64/usr/share/nagios-server-addons/tests' Byte-compiling python modules... test_check_cluster_volusage.pytest_notify_ovirt_engine_handler.pytest_config_generator.pytest_discovery.pytest_network_utils.pytestrunner.pytestValidation.py Byte-compiling python modules (optimized versions) ... test_check_cluster_volusage.pytest_notify_ovirt_engine_handler.pytest_config_generator.pytest_discovery.pytest_network_utils.pytestrunner.pytestValidation.py /usr/bin/mkdir -p '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64/usr/share/nagios-server-addons/tests' /usr/bin/install -c run_tests.sh '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64/usr/share/nagios-server-addons/tests' make[2]: Leaving directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/tests' make[1]: Leaving directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/tests' make[1]: Entering directory `/builddir/build/BUILD/nagios-server-addons-1.1.0' make[2]: Entering directory `/builddir/build/BUILD/nagios-server-addons-1.1.0' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/nagios-server-addons-1.1.0' make[1]: Leaving directory `/builddir/build/BUILD/nagios-server-addons-1.1.0' + install -d /builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64/usr/bin + ln -sf /usr/lib64/nagios/plugins/gluster/discovery.py /builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64/usr/bin/configure-gluster-nagios + /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/nagios-server-addons-1.1.0 /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.ntEhKs + umask 022 + cd /builddir/build/BUILD + cd nagios-server-addons-1.1.0 + make check Making check in config make[1]: Entering directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/config' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/config' Making check in plugins make[1]: Entering directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/plugins' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/plugins' Making check in templates make[1]: Entering directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/templates' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/templates' Making check in tests make[1]: Entering directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/tests' make check-local make[2]: Entering directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/tests' *** Running tests. To skip this step place NOSE_EXCLUDE=.* *** *** into your environment. Do not submit untested code! *** ../tests/run_tests_local.sh test_check_cluster_volusage.py test_notify_ovirt_engine_handler.py test_config_generator.py test_discovery.py test_network_utils.py nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$'] TestClusterVolUsage test_checkVolumePerfDataMatch OK test_checkVolumePerfDataNoMatch OK test_checkVolumePerfNoData OK TestOvirtNotificationHandler testArgumentParser OK testPostOvirtExternalEvent OK testProcessNagiosEvent OK TestGlusterNagiosConfManager testGenerateNagiosConfig OK TestDiscovery testDiscoverCluster OK testFindServiceDelta OK testReplaceHostNamesWithCurrentName OK TestNetworkUtils testValidateHostAddressWithEmptyAddress OK testValidateHostAddressWithInvalidFQDN OK testValidateHostAddressWithLoopBackAddress OK testValidateHostAddressWithValidAddress OK testValidateHostAddressWithValidFQDN OK ---------------------------------------------------------------------- Ran 15 tests in 0.006s OK make[2]: Leaving directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/tests' make[1]: Leaving directory `/builddir/build/BUILD/nagios-server-addons-1.1.0/tests' make[1]: Entering directory `/builddir/build/BUILD/nagios-server-addons-1.1.0' make check-local make[2]: Entering directory `/builddir/build/BUILD/nagios-server-addons-1.1.0' find . -path './.git' -prune -type f -o \ -name '*.py' -o -name '*.py.in' | xargs /usr/bin/pyflakes | \ while read LINE; do echo "$LINE"; false; done /usr/bin/pep8 --version 1.4.6 /usr/bin/pep8 --filename '*.py,*.py.in' . make[2]: Leaving directory `/builddir/build/BUILD/nagios-server-addons-1.1.0' make[1]: Leaving directory `/builddir/build/BUILD/nagios-server-addons-1.1.0' + exit 0 Processing files: nagios-server-addons-1.1.0-0.el7.centos.noarch warning: File listed twice: /etc/nagios/gluster/snmpmanagers.conf Provides: config(nagios-server-addons) = 1.1.0-0.el7.centos nagios-server-addons = 1.1.0-0.el7.centos Requires(interp): /bin/sh /bin/sh 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(pre): /bin/sh Requires(post): /bin/sh firewalld systemd-units Processing files: nagios-server-addons-tests-1.1.0-0.el7.centos.noarch Provides: nagios-server-addons-tests = 1.1.0-0.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 Requires: /bin/sh Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64 Wrote: /builddir/build/RPMS/nagios-server-addons-1.1.0-0.el7.centos.noarch.rpm Wrote: /builddir/build/RPMS/nagios-server-addons-tests-1.1.0-0.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Gm5wcM + umask 022 + cd /builddir/build/BUILD + cd nagios-server-addons-1.1.0 + rm -rf /builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el7.centos.x86_64 + exit 0 Child return code was: 0