Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/libscrypt.spec'], chrootPath='/srv/build/7/A/mock-root/c7-epel-i686/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=21600logger=uid=501) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/libscrypt.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: worker1.bsys.centos.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/libscrypt-1.21-1.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/libscrypt.spec '], chrootPath='/srv/build/7/A/mock-root/c7-epel-i686/root'shell=Falseuid=501env={'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=21600private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/libscrypt.spec '] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.x50wnk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libscrypt-1.21 + /usr/bin/gzip -dc /builddir/build/SOURCES/v1.21.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd libscrypt-1.21 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nV4XND + umask 022 + cd /builddir/build/BUILD + cd libscrypt-1.21 + export '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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + 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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + make -j16 cc -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o crypto_scrypt-nosse.o crypto_scrypt-nosse.c cc -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o sha256.o sha256.c cc -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o crypto-mcf.o crypto-mcf.c cc -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o b64.o b64.c cc -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o crypto-scrypt-saltgen.o crypto-scrypt-saltgen.c cc -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o crypto_scrypt-check.o crypto_scrypt-check.c cc -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o crypto_scrypt-hash.o crypto_scrypt-hash.c cc -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o slowequals.o slowequals.c cc -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o main.o main.c cc -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o crypto_scrypt-hexconvert.o crypto_scrypt-hexconvert.c cc -Wl,-z,now -Wl,-z,relro -Wl,-soname,libscrypt.so.0 -Wl,--version-script=libscrypt.version -shared -o libscrypt.so.0 crypto_scrypt-nosse.o sha256.o crypto-mcf.o b64.o crypto-scrypt-saltgen.o crypto_scrypt-check.o crypto_scrypt-hash.o slowequals.o -lm -lc ar rcs libscrypt.a crypto_scrypt-nosse.o sha256.o crypto-mcf.o b64.o crypto-scrypt-saltgen.o crypto_scrypt-check.o crypto_scrypt-hash.o slowequals.o ln -s -f libscrypt.so.0 libscrypt.so cc -Wall -o reference main.o b64.o crypto_scrypt-hexconvert.o -Wl,-rpath=. -L. -lscrypt + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.y10joY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libscrypt-1.21-1.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libscrypt-1.21-1.el7.i386 ++ dirname /builddir/build/BUILDROOT/libscrypt-1.21-1.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libscrypt-1.21-1.el7.i386 + cd libscrypt-1.21 + make install DESTDIR=/builddir/build/BUILDROOT/libscrypt-1.21-1.el7.i386 PREFIX=/usr LIBDIR=/usr/lib install -d /builddir/build/BUILDROOT/libscrypt-1.21-1.el7.i386 /builddir/build/BUILDROOT/libscrypt-1.21-1.el7.i386/usr /builddir/build/BUILDROOT/libscrypt-1.21-1.el7.i386/usr/lib /builddir/build/BUILDROOT/libscrypt-1.21-1.el7.i386/usr/include install -pm 0755 libscrypt.so.0 /builddir/build/BUILDROOT/libscrypt-1.21-1.el7.i386/usr/lib cd /builddir/build/BUILDROOT/libscrypt-1.21-1.el7.i386/usr/lib && ln -s -f libscrypt.so.0 /builddir/build/BUILDROOT/libscrypt-1.21-1.el7.i386/usr/lib/libscrypt.so install -pm 0644 libscrypt.h /builddir/build/BUILDROOT/libscrypt-1.21-1.el7.i386/usr/include + find /builddir/build/BUILDROOT/libscrypt-1.21-1.el7.i386 -name '*.*a' -exec rm -f '{}' ';' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/libscrypt-1.21 extracting debug info from /builddir/build/BUILDROOT/libscrypt-1.21-1.el7.i386/usr/lib/libscrypt.so.0 dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib/libscrypt.so.0.debug to /usr/lib/debug/usr/lib/libscrypt.so.debug 91 blocks + /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.Qc9fwj + umask 022 + cd /builddir/build/BUILD + cd libscrypt-1.21 + make check ./reference TEST ONE: Direct call to reference function with password 'password' and salt 'NaCL' TEST ONE: SUCCESSFUL TEST ONE and a half: Review errno on invalid input TEST ONE and a half: Successfully failed on error: Invalid argument TEST TWO: Convert binary output to hex TEST TWO: SUCCESSFUL, Hex output is: fdbabe1c9d3472007856e7190d01e9fe7c6ad7cbc8237830e77376634b3731622eaf30d92e22a3886ff109279d9830dac727afb94a83ee6d8360cbdfa2cc0640 TEST THREE: Compare hex output to reference hash output TEST THREE: SUCCESSUL, Test vector matched! TEST FOUR: Direct call to reference function with pleaseletmein password and SodiumChloride as salt TEST FOUR: SUCCESSFUL TEST FIVE: Convert binary output to hex TEST FIVE: SUCCESSFUL, Hex output is: 7023bdcb3afd7348461c06cd81fd38ebfda8fbba904f8e3ea9b543f6545da1f2d5432955613f0fcf62d49705242a9af9e61e85dc0d651e40dfcf017b45575887 TEST SIX: Compare hex output to reference hash output TEST SIX: SUCCESSUL, Test vector matched! TEST SEVEN: BASE64 encoding the salt and hash output TEST SEVEN: SUCCESSFUL TEST EIGHT: Create an MCF format output TEST EIGHT: SUCCESSFUL, calculated mcf $s1$0e0801$U29kaXVtQ2hsb3JpZGU=$cCO9yzr9c0hGHAbNgf046/2o+7qQT44+qbVD9lRdofLVQylVYT8Pz2LUlwUkKpr55h6F3A1lHkDfzwF7RVdYhw== TEST NINE: Password verify on given MCF TEST NINE: SUCCESSFUL, tested pleaseletmein password TEST TEN: Password verify on same MCF, incorrect password TEST TEN: SUCCESSFUL, refused incorrect password TEST ELEVEN: Testing salt generator TEST ELEVEN: SUCCESSFUL, Generated Fi6b3AHdYTQueVvfvzhl1w== TEST TWELVE: Simple hash creation TEST TWELVE: SUCCESSFUL. Received the following from simple hash: $s1$0e0810$IRJybTtwiolMhpIjTTIaWQ==$HaT3ZhM1VkxX83N3hkaec7vm6gLaDSLZSbTgsv0Y4PXAeZBfNoBWbyVkxzpA7rFI0FgqsTm959ki2oQ353pzrw== TEST THIRTEEN: Verify test twelve's hash TEST THIRTEEN: SUCCESSFUL Processing files: libscrypt-1.21-1.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UXSIDV + exit 0 + umask 022 + cd /builddir/build/BUILD + cd libscrypt-1.21 + DOCDIR=/builddir/build/BUILDROOT/libscrypt-1.21-1.el7.i386/usr/share/doc/libscrypt-1.21 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libscrypt-1.21-1.el7.i386/usr/share/doc/libscrypt-1.21 + cp -pr README.md /builddir/build/BUILDROOT/libscrypt-1.21-1.el7.i386/usr/share/doc/libscrypt-1.21 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Avb0Lx + umask 022 + cd /builddir/build/BUILD + cd libscrypt-1.21 + LICENSEDIR=/builddir/build/BUILDROOT/libscrypt-1.21-1.el7.i386/usr/share/licenses/libscrypt-1.21 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libscrypt-1.21-1.el7.i386/usr/share/licenses/libscrypt-1.21 + cp -pr LICENSE /builddir/build/BUILDROOT/libscrypt-1.21-1.el7.i386/usr/share/licenses/libscrypt-1.21 + exit 0 Provides: libscrypt = 1.21-1.el7 libscrypt(x86-32) = 1.21-1.el7 libscrypt.so.0 libscrypt.so.0(libscrypt) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libm.so.6 rtld(GNU_HASH) Processing files: libscrypt-devel-1.21-1.el7.i686 Provides: libscrypt-devel = 1.21-1.el7 libscrypt-devel(x86-32) = 1.21-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libscrypt.so.0 Processing files: libscrypt-debuginfo-1.21-1.el7.i686 Provides: libscrypt-debuginfo = 1.21-1.el7 libscrypt-debuginfo(x86-32) = 1.21-1.el7 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/libscrypt-1.21-1.el7.i386 warning: Could not canonicalize hostname: worker1.bsys.centos.org Wrote: /builddir/build/RPMS/libscrypt-1.21-1.el7.i686.rpm Wrote: /builddir/build/RPMS/libscrypt-devel-1.21-1.el7.i686.rpm Wrote: /builddir/build/RPMS/libscrypt-debuginfo-1.21-1.el7.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LqfG40 + umask 022 + cd /builddir/build/BUILD + cd libscrypt-1.21 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libscrypt-1.21-1.el7.i386 + exit 0 Child return code was: 0 LEAVE do -->