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'], uid=1001gid=135printOutput=Falseenv={'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'HOME': '/builddir'}logger=chrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-4276/root'shell=Falsetimeout=0user='mockbuild') 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', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'HOME': '/builddir'} and shell False warning: Could not canonicalize hostname: copr-builder-258361667.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/gluster-nagios-common-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/gluster-nagios-common.spec'], uid=1001printOutput=Falseenv={'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'HOME': '/builddir'}logger=private_network=TruechrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-4276/root'shell=Falsetimeout=0gid=135user='mockbuild') 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', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'HOME': '/builddir'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fHY4ex + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf gluster-nagios-common-1.1.0 + /bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/gluster-nagios-common-1.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gluster-nagios-common-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.GDOfpp + umask 022 + cd /builddir/build/BUILD + cd gluster-nagios-common-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: 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.1LJmgm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el6.x86_64 ++ dirname /builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el6.x86_64 + cd gluster-nagios-common-1.1.0 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el6.x86_64 + make install DESTDIR=/builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el6.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'. /bin/mkdir -p '/builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el6.x86_64/usr/lib64/python2.6/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.el6.x86_64/usr/lib64/python2.6/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'. /bin/mkdir -p '/builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el6.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.el6.x86_64/usr/share/gluster-nagios-common/tests' /bin/mkdir -p '/builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el6.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.el6.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 /bin/mkdir -p '/builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el6.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.el6.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 /builddir/build/BUILD/gluster-nagios-common-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 Bytecompiling .py files below /builddir/build/BUILDROOT/gluster-nagios-common-1.1.0-0.el6.x86_64/usr/lib64/python2.6 using /usr/bin/python2.6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.kRcA7j + umask 022 + cd /builddir/build/BUILD + cd gluster-nagios-common-1.1.0 + unset DISPLAY + 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 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.019s 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.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: python(abi) = 2.6 Processing files: gluster-nagios-common-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/gluster-nagios-common-1.1.0-0.el6.x86_64 warning: Could not canonicalize hostname: copr-builder-258361667.novalocal Wrote: /builddir/build/RPMS/gluster-nagios-common-1.1.0-0.el6.noarch.rpm Wrote: /builddir/build/RPMS/gluster-nagios-common-tests-1.1.0-0.el6.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tr9tCu + 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.el6.x86_64 + exit 0 Child return code was: 0