Mock Version: 1.3.3 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gluster-nagios-addons.spec'], gid=135user='mockbuild'logger=env={'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir'}timeout=0uid=1001shell=FalseprintOutput=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-5766/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gluster-nagios-addons.spec'] with env {'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir'} and shell False warning: Could not canonicalize hostname: copr-builder-343093361.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/gluster-nagios-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/gluster-nagios-addons.spec'], gid=135user='mockbuild'logger=env={'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir'}timeout=0uid=1001shell=FalseprintOutput=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-5766/root'private_network=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/gluster-nagios-addons.spec'] with env {'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Y8QElP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gluster-nagios-addons-1.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/gluster-nagios-addons-1.1.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd gluster-nagios-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.hmBF9I + umask 022 + cd /builddir/build/BUILD + cd gluster-nagios-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 gluster-nagios-addons.spec config.status: creating config/Makefile config.status: creating config/glusternagios.conf config.status: creating config/nrpe config.status: creating plugins/Makefile config.status: creating plugins/nscautils.py 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/gluster-nagios-addons-1.1.0/config' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/config' Making all in plugins make[1]: Entering directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/plugins' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/plugins' Making all in tests make[1]: Entering directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/tests' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/tests' make[1]: Entering directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LNSZnG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64 + cd gluster-nagios-addons-1.1.0 + rm -rf /builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64 + make install DESTDIR=/builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64 Making install in config make[1]: Entering directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/config' make[2]: Entering directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/config' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64/etc/nagios' /usr/bin/install -c -m 644 nagios_server.conf '/builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64/etc/nagios' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64/etc/rsyslog.d' /usr/bin/install -c -m 644 glusternagios.conf '/builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64/etc/rsyslog.d' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64/etc/sudoers.d/' /usr/bin/install -c -m 644 nrpe '/builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64/etc/sudoers.d/' make[2]: Leaving directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/config' make[1]: Leaving directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/config' Making install in plugins make[1]: Entering directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/plugins' make[2]: Entering directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/plugins' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64/etc/cron.d' /usr/bin/install -c -m 644 gluster-sysstat.crontab '/builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64/etc/cron.d' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64/usr/lib64/nagios/plugins/gluster' /usr/bin/install -c -m 644 check_gluster_syslog.py check_mounts.py check_quorum_status.py check_vol_utilization.py check_volume_status.py check_proc_status.py cpu.py discoverpeers.py discover_volumes.py discoverhostparams.py configure_gluster_node.py check_gluster_proc_status.py check_proc_util.py __init__.py gfapi.py memory.py network.py nscautils.py sadf.py swap.py '/builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64/usr/lib64/nagios/plugins/gluster' Byte-compiling python modules... check_gluster_syslog.pycheck_mounts.pycheck_quorum_status.pycheck_vol_utilization.pycheck_volume_status.pycheck_proc_status.pycpu.pydiscoverpeers.pydiscover_volumes.pydiscoverhostparams.pyconfigure_gluster_node.pycheck_gluster_proc_status.pycheck_proc_util.py__init__.pygfapi.pymemory.pynetwork.pynscautils.pysadf.pyswap.py Byte-compiling python modules (optimized versions) ... check_gluster_syslog.pycheck_mounts.pycheck_quorum_status.pycheck_vol_utilization.pycheck_volume_status.pycheck_proc_status.pycpu.pydiscoverpeers.pydiscover_volumes.pydiscoverhostparams.pyconfigure_gluster_node.pycheck_gluster_proc_status.pycheck_proc_util.py__init__.pygfapi.pymemory.pynetwork.pynscautils.pysadf.pyswap.py /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64/etc/init.d' /usr/bin/install -c -m 644 glusterpmd '/builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64/etc/init.d' make[2]: Leaving directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/plugins' make[1]: Leaving directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/plugins' Making install in tests make[1]: Entering directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/tests' make[2]: Entering directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/tests' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64/usr/share/gluster-nagios-addons/tests' /usr/bin/install -c -m 644 getLatestStat_exception.xml getLatestStat_success.xml mounts.txt '/builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64/usr/share/gluster-nagios-addons/tests' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64/usr/share/gluster-nagios-addons/tests' /usr/bin/install -c -m 644 test_check_gluster_syslog.py test_check_volume_status.py test_check_quorum_status.py check_proc_test_data.py test_cpu.py test_cpu_dataFile.py test_mounts.py test_gluster_proc.py test_memory.py test_memory_dataFile.py test_network.py test_sadf.py test_swap.py test_swap_dataFile.py test_discover_volumes.py testrunner.py testValidation.py '/builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64/usr/share/gluster-nagios-addons/tests' Byte-compiling python modules... test_check_gluster_syslog.pytest_check_volume_status.pytest_check_quorum_status.pycheck_proc_test_data.pytest_cpu.pytest_cpu_dataFile.pytest_mounts.pytest_gluster_proc.pytest_memory.pytest_memory_dataFile.pytest_network.pytest_sadf.pytest_swap.pytest_swap_dataFile.pytest_discover_volumes.pytestrunner.pytestValidation.py Byte-compiling python modules (optimized versions) ... test_check_gluster_syslog.pytest_check_volume_status.pytest_check_quorum_status.pycheck_proc_test_data.pytest_cpu.pytest_cpu_dataFile.pytest_mounts.pytest_gluster_proc.pytest_memory.pytest_memory_dataFile.pytest_network.pytest_sadf.pytest_swap.pytest_swap_dataFile.pytest_discover_volumes.pytestrunner.pytestValidation.py /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64/usr/share/gluster-nagios-addons/tests' /usr/bin/install -c run_tests.sh '/builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64/usr/share/gluster-nagios-addons/tests' make[2]: Leaving directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/tests' make[1]: Leaving directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/tests' make[1]: Entering directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0' make[2]: Entering directory `/builddir/build/BUILD/gluster-nagios-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/gluster-nagios-addons-1.1.0' make[1]: Leaving directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0' + /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/gluster-nagios-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.WPYBRE + umask 022 + cd /builddir/build/BUILD + cd gluster-nagios-addons-1.1.0 + make check Making check in config make[1]: Entering directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/config' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/config' Making check in plugins make[1]: Entering directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/plugins' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/plugins' Making check in tests make[1]: Entering directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/tests' make check-local make[2]: Entering directory `/builddir/build/BUILD/gluster-nagios-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_gluster_syslog.py test_check_volume_status.py test_check_quorum_status.py check_proc_test_data.py test_cpu.py test_cpu_dataFile.py test_mounts.py test_gluster_proc.py test_memory.py test_memory_dataFile.py test_network.py test_sadf.py test_swap.py test_swap_dataFile.py test_discover_volumes.py nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$'] TestGlusterSyslog test_checkProcessInvalidMsgForQuorum OK test_checkProcessMsg OK test_checkProcessMsgForQuorum OK TestCheckVolumeStatus test_checkVolumeGeoRepStatus OK test_checkVolumeQuotaStatus OK test_checkVolumeStatus OK test_checkVolumeStatusNoVol OK TestCheckQuorumStatus test_checkStatusNoQuorum OK test_checkStatusWithQuorum OK cpuTests test_showCpuStatus OK diskTests test_getLvs OK test_getMountStats OK test_getOutputTest OK test_getPerfdata OK test_getPrintableStatus OK test_getStats OK test_getStatusInfo OK test_parseProcMounts OK TestProc test_Nfs OK memoryTests test_showMemStatus OK networkTests test_network_all OK test_network_default OK test_network_excludes OK test_network_includes OK sadfTests test_getLatestStat_exception OK test_getLatestStat_failure OK test_getLatestStat_success OK swapTests test_showSwapStatus OK TestDiscoverVolumes testAruguments OK testDiscoverVolumesInfo OK testDiscoverVolumesList OK ---------------------------------------------------------------------- Ran 31 tests in 0.021s OK make[2]: Leaving directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/tests' make[1]: Leaving directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0/tests' make[1]: Entering directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0' make check-local make[2]: Entering directory `/builddir/build/BUILD/gluster-nagios-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/gluster-nagios-addons-1.1.0' make[1]: Leaving directory `/builddir/build/BUILD/gluster-nagios-addons-1.1.0' + exit 0 Processing files: gluster-nagios-addons-1.1.0-0.el7.centos.x86_64 warning: File listed twice: /etc/init.d/glusterpmd Provides: config(gluster-nagios-addons) = 1.1.0-0.el7.centos gluster-nagios-addons = 1.1.0-0.el7.centos gluster-nagios-addons(x86-64) = 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(post): /bin/sh firewalld systemd-units Requires(preun): /bin/sh systemd-units Processing files: gluster-nagios-addons-tests-1.1.0-0.el7.centos.x86_64 Provides: gluster-nagios-addons-tests = 1.1.0-0.el7.centos gluster-nagios-addons-tests(x86-64) = 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 Processing files: gluster-nagios-addons-debuginfo-1.1.0-0.el7.centos.x86_64 Provides: gluster-nagios-addons-debuginfo = 1.1.0-0.el7.centos gluster-nagios-addons-debuginfo(x86-64) = 1.1.0-0.el7.centos Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64 Wrote: /builddir/build/RPMS/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/gluster-nagios-addons-tests-1.1.0-0.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/gluster-nagios-addons-debuginfo-1.1.0-0.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.XrJgNQ + umask 022 + cd /builddir/build/BUILD + cd gluster-nagios-addons-1.1.0 + rm -rf /builddir/build/BUILDROOT/gluster-nagios-addons-1.1.0-0.el7.centos.x86_64 + exit 0 Child return code was: 0