Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/pass-otp.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-83774-57235/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/pass-otp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/pass-otp-1.2.0-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/pass-otp.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-83774-57235/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/pass-otp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CL4cUG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pass-otp-1.2.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pass-otp-1.2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pass-otp-1.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/pass-otp-1.2.0-fix_hotp_counter.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.B2wDQZ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pass-otp-1.2.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WuhnvO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch ++ dirname /builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch + cd pass-otp-1.2.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch 'INSTALL=/usr/bin/install -p' install: creating directory '/builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch/usr' install: creating directory '/builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch/usr/share' install: creating directory '/builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch/usr/share/man' install: creating directory '/builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch/usr/share/man/man1' 'pass-otp.1' -> '/builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch/usr/share/man/man1/pass-otp.1' install: creating directory '/builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch/usr/lib' install: creating directory '/builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch/usr/lib/password-store' install: creating directory '/builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch/usr/lib/password-store/extensions/' 'otp.bash' -> '/builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch/usr/lib/password-store/extensions/otp.bash' install: creating directory '/builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch/etc' install: creating directory '/builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch/etc/bash_completion.d/' 'pass-otp.bash.completion' -> '/builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch/etc/bash_completion.d/pass-otp' pass-otp is installed succesfully + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.2.0-1.oc9 --unique-debug-suffix -1.2.0-1.oc9.noarch --unique-debug-src-base pass-otp-1.2.0-1.oc9.noarch -S debugsourcefiles.list /builddir/build/BUILD/pass-otp-1.2.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/lib/password-store/extensions/otp.bash from /usr/bin/env bash to #!/usr/bin/bash + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.pUPITP + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pass-otp-1.2.0 + /usr/bin/make -O -j8 V=1 VERBOSE=1 test /usr/bin/make -C test make[1]: Entering directory '/builddir/build/BUILD/pass-otp-1.2.0/test' rm -f -r test-results make[1]: Leaving directory '/builddir/build/BUILD/pass-otp-1.2.0/test' /usr/bin/make aggregate-results-and-cleanup /usr/bin/make aggregate-results make[3]: Entering directory '/builddir/build/BUILD/pass-otp-1.2.0/test' *** validate.t *** ok 1 - Parses a basic TOTP URI ok 2 - Parses a complex TOTP URI ok 3 - Parses a basic HOTP URI ok 4 - Fails for bogus URL ok 5 - Fails for missing secret ok 6 - Fails for missing counter # passed all 6 test(s) 1..6 make[3]: Leaving directory '/builddir/build/BUILD/pass-otp-1.2.0/test' make[3]: Entering directory '/builddir/build/BUILD/pass-otp-1.2.0/test' *** uri.t *** ok 1 - Shows key URI in single-line passfile ok 2 - Shows key URI in multi-line passfile # passed all 2 test(s) 1..2 make[3]: Leaving directory '/builddir/build/BUILD/pass-otp-1.2.0/test' make[3]: Entering directory '/builddir/build/BUILD/pass-otp-1.2.0/test' *** code.t *** ok 1 - Fails for missing secret ok 2 - Generates TOTP code ok 3 - Generates HOTP code and increments counter ok 4 - HOTP counter increments and preserves multiline contents # passed all 4 test(s) 1..4 make[3]: Leaving directory '/builddir/build/BUILD/pass-otp-1.2.0/test' make[3]: Entering directory '/builddir/build/BUILD/pass-otp-1.2.0/test' *** insert.t *** ok 1 - Reads non-terminal input ok 2 - Reads terminal input in noecho mode ok 3 - Reads terminal input in echo mode ok 4 - Prompts before overwriting key URI ok 5 - Generates default pass-name from label ok 6 - Prompts when inserting default pass-name from terminal ok 7 - Force overwrites key URI ok 8 - Insert passfile from secret with options(issuer, accountname) ok 9 - Insert from secret without passfile ok 10 - Tolerates padding in secret # passed all 10 test(s) 1..10 make[3]: Leaving directory '/builddir/build/BUILD/pass-otp-1.2.0/test' make[3]: Entering directory '/builddir/build/BUILD/pass-otp-1.2.0/test' *** append.t *** ok 1 - Reads non-terminal input ok 2 - Read secret non-terminal input ok 3 - Reads terminal input in noecho mode ok 4 - Reads terminal input in echo mode ok 5 - Prompts before overwriting key URI ok 6 - Force overwrites key URI ok 7 - Preserves multiline contents # passed all 7 test(s) 1..7 make[3]: Leaving directory '/builddir/build/BUILD/pass-otp-1.2.0/test' make[3]: Entering directory '/builddir/build/BUILD/pass-otp-1.2.0/test' for f in test-results/*.counts; do \ echo "$f"; \ done | '/bin/bash' 'aggregate-results.sh' fixed 0 success 29 failed 0 broken 0 total 29 make[3]: Leaving directory '/builddir/build/BUILD/pass-otp-1.2.0/test' /usr/bin/make clean make[3]: Entering directory '/builddir/build/BUILD/pass-otp-1.2.0/test' rm -f -r 'trash directory'.* test-results make[3]: Leaving directory '/builddir/build/BUILD/pass-otp-1.2.0/test' make[3]: Entering directory '/builddir/build/BUILD/pass-otp-1.2.0/test' rm -f .prove rm -f gnupg/random_seed make[3]: Leaving directory '/builddir/build/BUILD/pass-otp-1.2.0/test' + RPM_EC=0 ++ jobs -p Processing files: pass-otp-1.2.0-1.oc9.noarch + exit 0 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6E2TY8 + umask 022 + cd /builddir/build/BUILD + cd pass-otp-1.2.0 + DOCDIR=/builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch/usr/share/doc/pass-otp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch/usr/share/doc/pass-otp + cp -pr README.md /builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch/usr/share/doc/pass-otp + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch/usr/share/doc/pass-otp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.0SWPTK + umask 022 + cd /builddir/build/BUILD + cd pass-otp-1.2.0 + LICENSEDIR=/builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch/usr/share/licenses/pass-otp + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch/usr/share/licenses/pass-otp + cp -pr LICENSE /builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch/usr/share/licenses/pass-otp + RPM_EC=0 ++ jobs -p + exit 0 Provides: pass-otp = 1.2.0-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash Suggests: zbar Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pass-otp-1.2.0-1.oc9.noarch Wrote: /builddir/build/RPMS/pass-otp-1.2.0-1.oc9.noarch.rpm Child return code was: 0