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'], shell=FalseprintOutput=Falsetimeout=0uid=1001gid=135logger=user='mockbuild'env={'HOME': '/builddir', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}chrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-13494/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nagios-server-addons.spec'] with env {'HOME': '/builddir', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'} and shell False warning: Could not canonicalize hostname: copr-builder-535060618.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/nagios-server-addons-1.1.0-0.el6.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'], private_network=TrueprintOutput=Falsetimeout=0uid=1001gid=135logger=user='mockbuild'shell=Falseenv={'HOME': '/builddir', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}chrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-13494/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nagios-server-addons.spec'] with env {'HOME': '/builddir', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.k8rVLs + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + 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 + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd nagios-server-addons-1.1.0 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FRqVtM + umask 022 + cd /builddir/build/BUILD + cd nagios-server-addons-1.1.0 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --target=noarch-redhat-linux-gnu --program-prefix= --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... /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.6 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.6/site-packages checking for python extension module directory... ${exec_prefix}/lib64/python2.6/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.i4edN9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el6.x86_64 ++ dirname /builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el6.x86_64 + cd nagios-server-addons-1.1.0 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el6.x86_64 + make install DESTDIR=/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el6.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'. /bin/mkdir -p '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el6.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.el6.x86_64/etc/nagios/gluster' /bin/mkdir -p '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el6.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.el6.x86_64/etc/nagios/gluster/default' /bin/mkdir -p '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el6.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.el6.x86_64/usr/share/snmp/mibs' /bin/mkdir -p '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el6.x86_64/etc/sudoers.d/' /usr/bin/install -c -m 644 nagios '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el6.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'. /bin/mkdir -p '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el6.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.el6.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'. /bin/mkdir -p '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el6.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.el6.x86_64/etc/pnp4nagios/check_commands' /bin/mkdir -p '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el6.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.el6.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'. /bin/mkdir -p '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el6.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.el6.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 /bin/mkdir -p '/builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el6.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.el6.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.el6.x86_64/usr/bin + ln -sf /usr/lib64/nagios/plugins/gluster/discovery.py /builddir/build/BUILDROOT/nagios-server-addons-1.1.0-0.el6.x86_64/usr/bin/configure-gluster-nagios + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/nagios-server-addons-1.1.0 + /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/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.oEzo5x + umask 022 + cd /builddir/build/BUILD + cd nagios-server-addons-1.1.0 + unset DISPLAY + 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 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.005s 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.el6.noarch warning: File listed twice: /etc/nagios/gluster/snmpmanagers.conf Provides: config(nagios-server-addons) = 1.1.0-0.el6 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 /sbin/chkconfig /sbin/service iptables Processing files: nagios-server-addons-tests-1.1.0-0.el6.noarch 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.el6.x86_64 warning: Could not canonicalize hostname: copr-builder-535060618.novalocal Wrote: /builddir/build/RPMS/nagios-server-addons-1.1.0-0.el6.noarch.rpm Wrote: /builddir/build/RPMS/nagios-server-addons-tests-1.1.0-0.el6.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.o23i00 + 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.el6.x86_64 + exit 0 Child return code was: 0