Mock Version: 1.3.3 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gluster-nagios-common.spec'], gid=135user='mockbuild'uid=1001timeout=0printOutput=Falseenv={'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'}chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-4349/root'shell=Falselogger=) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gluster-nagios-common.spec'] with env {'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'} and shell False sh: /usr/bin/python: No such file or directory warning: Could not canonicalize hostname: copr-builder-920842901.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/gluster-nagios-common-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-common.spec'], gid=135user='mockbuild'uid=1001private_network=Truetimeout=0printOutput=Falseenv={'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'}chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-4349/root'shell=Falselogger=) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/gluster-nagios-common.spec'] with env {'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1TFzT2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gluster-nagios-common-1.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/gluster-nagios-common-1.1.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd gluster-nagios-common-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.ctO5vS + umask 022 + cd /builddir/build/BUILD + cd gluster-nagios-common-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: cpopen... yes checking python module: pthreading... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating gluster-nagios-common.spec config.status: creating glusternagios/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 glusternagios make[1]: Entering directory `/builddir/build/BUILD/gluster-nagios-common-1.1.0/glusternagios' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/gluster-nagios-common-1.1.0/glusternagios' Making all in tests make[1]: Entering directory `/builddir/build/BUILD/gluster-nagios-common-1.1.0/tests' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/gluster-nagios-common-1.1.0/tests' make[1]: Entering directory `/builddir/build/BUILD/gluster-nagios-common-1.1.0' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/builddir/build/BUILD/gluster-nagios-common-1.1.0' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ftctKM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el7.centos.x86_64 + cd gluster-nagios-common-1.1.0 + rm -rf /builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el7.centos.x86_64 + make install DESTDIR=/builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el7.centos.x86_64 Making install in glusternagios make[1]: Entering directory `/builddir/build/BUILD/gluster-nagios-common-1.1.0/glusternagios' make[2]: Entering directory `/builddir/build/BUILD/gluster-nagios-common-1.1.0/glusternagios' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el7.centos.x86_64/usr/lib64/python2.7/site-packages/glusternagios' /usr/bin/install -c -m 644 __init__.py glustercli.py hostname.py storage.py utils.py '/builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el7.centos.x86_64/usr/lib64/python2.7/site-packages/glusternagios' Byte-compiling python modules... __init__.pyglustercli.pyhostname.pystorage.pyutils.py Byte-compiling python modules (optimized versions) ... __init__.pyglustercli.pyhostname.pystorage.pyutils.py make[2]: Leaving directory `/builddir/build/BUILD/gluster-nagios-common-1.1.0/glusternagios' make[1]: Leaving directory `/builddir/build/BUILD/gluster-nagios-common-1.1.0/glusternagios' Making install in tests make[1]: Entering directory `/builddir/build/BUILD/gluster-nagios-common-1.1.0/tests' make[2]: Entering directory `/builddir/build/BUILD/gluster-nagios-common-1.1.0/tests' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el7.centos.x86_64/usr/share/gluster-nagios-common/tests' /usr/bin/install -c -m 644 xml2dictSuccess.xml '/builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el7.centos.x86_64/usr/share/gluster-nagios-common/tests' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el7.centos.x86_64/usr/share/gluster-nagios-common/tests' /usr/bin/install -c -m 644 test_glustercli.py test_storage.py utilsTests.py testrunner.py testValidation.py '/builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el7.centos.x86_64/usr/share/gluster-nagios-common/tests' Byte-compiling python modules... test_glustercli.pytest_storage.pyutilsTests.pytestrunner.pytestValidation.py Byte-compiling python modules (optimized versions) ... test_glustercli.pytest_storage.pyutilsTests.pytestrunner.pytestValidation.py /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el7.centos.x86_64/usr/share/gluster-nagios-common/tests' /usr/bin/install -c run_tests.sh '/builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el7.centos.x86_64/usr/share/gluster-nagios-common/tests' make[2]: Leaving directory `/builddir/build/BUILD/gluster-nagios-common-1.1.0/tests' make[1]: Leaving directory `/builddir/build/BUILD/gluster-nagios-common-1.1.0/tests' make[1]: Entering directory `/builddir/build/BUILD/gluster-nagios-common-1.1.0' make[2]: Entering directory `/builddir/build/BUILD/gluster-nagios-common-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-common-1.1.0' make[1]: Leaving directory `/builddir/build/BUILD/gluster-nagios-common-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-common-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 Bytecompiling .py files below /builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el7.centos.x86_64/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.CBbD4H + umask 022 + cd /builddir/build/BUILD + cd gluster-nagios-common-1.1.0 + make check Making check in glusternagios make[1]: Entering directory `/builddir/build/BUILD/gluster-nagios-common-1.1.0/glusternagios' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/builddir/build/BUILD/gluster-nagios-common-1.1.0/glusternagios' Making check in tests make[1]: Entering directory `/builddir/build/BUILD/gluster-nagios-common-1.1.0/tests' make check-local make[2]: Entering directory `/builddir/build/BUILD/gluster-nagios-common-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_glustercli.py test_storage.py utilsTests.py nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$'] GlusterCliTests test_getVolumeGeoRepStatus OK test_getVolumeGeoRepStatusMultiSlave OK test_getVolumeHealSplitBrainStatus OK test_getVolumeHealSplitBrainStatusNonRepl OK test_parsePeerStatus OK test_parseVolumeInfo OK test_parseVolumeQuotaStatus OK test_parseVolumeQuotaStatusWhenException OK test_parseVolumeStatus OK TestStorageUtils testGetBricksForDisk OK testGetDisksForBrick OK testGetLvs OK testGetPvs OK testGetVgs OK CommandPathTests testExisting OK testMissing OK ExecCmdTests testFailure OK testOSError OK testSuccess OK RetryTests testStopCallback OK convertsizeTests testBytesToMB OK testInvalidInput OK testMBToMB OK testPBtoMB OK xml2dictTests testAttributeError OK testSuccess OK ---------------------------------------------------------------------- Ran 26 tests in 0.020s OK make[2]: Leaving directory `/builddir/build/BUILD/gluster-nagios-common-1.1.0/tests' make[1]: Leaving directory `/builddir/build/BUILD/gluster-nagios-common-1.1.0/tests' make[1]: Entering directory `/builddir/build/BUILD/gluster-nagios-common-1.1.0' make check-local make[2]: Entering directory `/builddir/build/BUILD/gluster-nagios-common-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-common-1.1.0' make[1]: Leaving directory `/builddir/build/BUILD/gluster-nagios-common-1.1.0' + exit 0 Processing files: gluster-nagios-common-1.1.0-0.el7.centos.noarch Provides: gluster-nagios-common = 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: python(abi) = 2.7 Processing files: gluster-nagios-common-tests-1.1.0-0.el7.centos.noarch Provides: gluster-nagios-common-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/gluster-nagios-common-1.1.0-0.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-920842901.novalocal Wrote: /builddir/build/RPMS/gluster-nagios-common-1.1.0-0.el7.centos.noarch.rpm Wrote: /builddir/build/RPMS/gluster-nagios-common-tests-1.1.0-0.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zmqJ4G + umask 022 + cd /builddir/build/BUILD + cd gluster-nagios-common-1.1.0 + rm -rf /builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el7.centos.x86_64 + exit 0 Child return code was: 0