Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/libfaketime.spec'], nspawn_args=[]shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/epel-1-armhfp-68cceed8b3cf3a319a84b74f4e5d42c22c6b05bc/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/libfaketime.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/libfaketime-0.9.8-4.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/libfaketime.spec'], nspawn_args=[]shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/epel-1-armhfp-68cceed8b3cf3a319a84b74f4e5d42c22c6b05bc/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/libfaketime.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.drHS2d + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libfaketime-0.9.8 + /usr/bin/xz -dc /builddir/build/SOURCES/libfaketime-0.9.8.tar.xz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd libfaketime-0.9.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libfaketime-0.9.8-FORCE_PTHREAD_NONVER.patch):' Patch #0 (libfaketime-0.9.8-FORCE_PTHREAD_NONVER.patch): + /usr/bin/cat /builddir/build/SOURCES/libfaketime-0.9.8-FORCE_PTHREAD_NONVER.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/libfaketime.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zDuaIw + umask 022 + cd /builddir/build/BUILD + cd libfaketime-0.9.8 + cd src + FAKETIME_COMPILE_CFLAGS=BOGUS + unset FAKETIME_COMPILE_CFLAGS + '[' '' == BOGUS ']' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wno-nonnull-compare -Wno-strict-aliasing' + make -j4 PREFIX=/usr LIBDIRNAME=/lib/faketime all cc -o libfaketime.o -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wno-nonnull-compare -Wno-strict-aliasing -std=gnu99 -Wall -Wextra -Werror -Wno-nonnull-compare -DFAKE_PTHREAD -DFAKE_STAT -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/usr'"' -DLIBDIRNAME='"'/lib/faketime'"' libfaketime.c cc -o libfaketimeMT.o -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wno-nonnull-compare -Wno-strict-aliasing -std=gnu99 -Wall -Wextra -Werror -Wno-nonnull-compare -DFAKE_PTHREAD -DFAKE_STAT -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/usr'"' -DLIBDIRNAME='"'/lib/faketime'"' -DPTHREAD_SINGLETHREADED_TIME libfaketime.c cc -o faketime -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wno-nonnull-compare -Wno-strict-aliasing -std=gnu99 -Wall -Wextra -Werror -Wno-nonnull-compare -DFAKE_PTHREAD -DFAKE_STAT -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/usr'"' -DLIBDIRNAME='"'/lib/faketime'"' faketime.c -lpthread -Wl,--version-script=libfaketime.map -lrt cc -o libfaketime.so.1 -Wl,-soname,libfaketime.so.1 -lpthread -Wl,--version-script=libfaketime.map -shared libfaketime.o -ldl -lm -lrt cc -o libfaketimeMT.so.1 -Wl,-soname,libfaketimeMT.so.1 -lpthread -Wl,--version-script=libfaketime.map -shared libfaketimeMT.o -ldl -lm -lrt + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qpUpg1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm ++ dirname /builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm + cd libfaketime-0.9.8 + make PREFIX=/usr DESTDIR=/builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm LIBDIRNAME=/lib/faketime install make -C src install make[1]: Entering directory `/builddir/build/BUILD/libfaketime-0.9.8/src' Copying the faketime libraries to /builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm/usr/lib/faketime and the faketime wrapper script to /builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm/usr/bin ... install -dm0755 "/builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm/usr/lib/faketime/" install -m0644 libfaketime.so.1 libfaketimeMT.so.1 "/builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm/usr/lib/faketime/" install -Dm0755 faketime "/builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm/usr/bin/faketime" make[1]: Leaving directory `/builddir/build/BUILD/libfaketime-0.9.8/src' make -C man install make[1]: Entering directory `/builddir/build/BUILD/libfaketime-0.9.8/man' install -Dm0644 faketime.1 "/builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm/usr/share/man/man1/faketime.1" gzip -f "/builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm/usr/share/man/man1/faketime.1" make[1]: Leaving directory `/builddir/build/BUILD/libfaketime-0.9.8/man' install -dm0755 "/builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm/usr/share/doc/faketime/" install -m0644 README "/builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm/usr/share/doc/faketime/README" install -m0644 NEWS "/builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm/usr/share/doc/faketime/NEWS" + rm -r /builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm//usr/share/doc/faketime + chmod a+rx /builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm//usr/lib/faketime/libfaketime.so.1 /builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm//usr/lib/faketime/libfaketimeMT.so.1 + /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/libfaketime-0.9.8 extracting debug info from /builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm/usr/bin/faketime extracting debug info from /builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm/usr/lib/faketime/libfaketime.so.1 extracting debug info from /builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm/usr/lib/faketime/libfaketimeMT.so.1 /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 345 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.TyBroJ + umask 022 + cd /builddir/build/BUILD + cd libfaketime-0.9.8 + make -j4 -C test all make: Entering directory `/builddir/build/BUILD/libfaketime-0.9.8/test' gcc -c -std=gnu99 -Wall -DFAKE_STAT -Werror -Wextra timetest.c ./testframe.sh functests # Begin Test Suites in functests # Begin functests/test_exclude_mono.sh # PLATFORM=linuxlike gcc -o timetest timetest.o -lrt -lpthread out=1487989.87722757 When not faking monotonic time, timestamps should be different ref=1487991.25261761 - ok # functests/test_exclude_mono.sh summary: 1 succeeded, 0 failed # End functests/test_exclude_mono.sh - OK # Begin functests/test_null.sh out=0 () ref=1568896097 - ok # functests/test_null.sh summary: 1 succeeded, 0 failed # End functests/test_null.sh - OK # Begin functests/test_true.sh # functests/test_true.sh summary: 1 succeeded, 0 failed # End functests/test_true.sh - OK # Begin functests/test_walkone.sh # PLATFORM=linuxlike out=1 (secs since Epoch) - ok out=2 (secs since Epoch) - ok out=4 (secs since Epoch) - ok out=8 (secs since Epoch) - ok out=16 (secs since Epoch) - ok out=32 (secs since Epoch) - ok out=64 (secs since Epoch) - ok out=128 (secs since Epoch) - ok out=256 (secs since Epoch) - ok out=512 (secs since Epoch) - ok out=1024 (secs since Epoch) - ok out=2048 (secs since Epoch) - ok out=4096 (secs since Epoch) - ok out=8192 (secs since Epoch) - ok out=16384 (secs since Epoch) - ok out=32768 (secs since Epoch) - ok out=65536 (secs since Epoch) - ok out=131072 (secs since Epoch) - ok out=262144 (secs since Epoch) - ok out=524288 (secs since Epoch) - ok out=1048576 (secs since Epoch) - ok out=2097152 (secs since Epoch) - ok out=4194304 (secs since Epoch) - ok out=8388608 (secs since Epoch) - ok out=16777216 (secs since Epoch) - ok out=33554432 (secs since Epoch) - ok out=67108864 (secs since Epoch) - ok out=134217728 (secs since Epoch) - ok out=268435456 (secs since Epoch) - ok out=536870912 (secs since Epoch) - ok out=1073741824 (secs since Epoch) - ok # functests/test_walkone.sh summary: 31 succeeded, 0 failed # End functests/test_walkone.sh - OK # Test Suites summary: 4 succeeded, 0 failed # End Test Suites - OK Running the test program with no faked time specified $ LD_PRELOAD=../src/libfaketime.so.1 ./timetest pthread_cond_timedwait: CLOCK_REALTIME test (Intentionally sleeping 1 second...) pthread_cond_timedwait: CLOCK_MONOTONIC test (Intentionally sleeping 1 second..., see docs about CLOCK_MONOTONIC test) Blocking signal 10 time() : Current date and time: Thu Sep 19 12:28:21 2019 time(NULL) : Seconds since Epoch : 1568896101 ftime() : Current date and time: Thu Sep 19 12:28:21 2019 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Thu Sep 19 12:28:23 2019 Caught signal 10 clock_gettime(): Current date and time: Thu Sep 19 12:28:23 2019 stat(): mod. time of file './timetest': Thu Sep 19 12:28:15 2019 ============================================================================= Running the test program with absolute date 2003-01-01 10:00:05 specified $ LD_PRELOAD=../src/libfaketime.so.1 FAKETIME="2003-01-01 10:00:05" ./timetest pthread_cond_timedwait: CLOCK_REALTIME test (Intentionally sleeping 1 second...) pthread_cond_timedwait: CLOCK_MONOTONIC test (Intentionally sleeping 1 second..., see docs about CLOCK_MONOTONIC test) Blocking signal 10 time() : Current date and time: Wed Jan 1 10:00:05 2003 time(NULL) : Seconds since Epoch : 1041415205 ftime() : Current date and time: Wed Jan 1 10:00:05 2003 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Wed Jan 1 10:00:05 2003 Caught signal 10 Caught signal 10 clock_gettime(): Current date and time: Wed Jan 1 10:00:05 2003 stat(): mod. time of file './timetest': Wed Jan 1 10:00:05 2003 ============================================================================= Running the test program with START date @2005-03-29 14:14:14 specified $ LD_PRELOAD=../src/libfaketime.so.1 FAKETIME="@2005-03-29 14:14:14" ./timetest pthread_cond_timedwait: CLOCK_REALTIME test (Intentionally sleeping 1 second...) pthread_cond_timedwait: CLOCK_MONOTONIC test (Intentionally sleeping 1 second..., see docs about CLOCK_MONOTONIC test) Blocking signal 10 time() : Current date and time: Tue Mar 29 14:14:15 2005 time(NULL) : Seconds since Epoch : 1112105655 ftime() : Current date and time: Tue Mar 29 14:14:15 2005 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Tue Mar 29 14:14:17 2005 Caught signal 10 Caught signal 10 clock_gettime(): Current date and time: Tue Mar 29 14:14:17 2005 stat(): mod. time of file './timetest': Tue Mar 29 14:14:03 2005 ============================================================================= Running the test program with 10 days negative offset specified LD_PRELOAD=../src/libfaketime.so.1 FAKETIME="-10d" ./timetest pthread_cond_timedwait: CLOCK_REALTIME test (Intentionally sleeping 1 second...) pthread_cond_timedwait: CLOCK_MONOTONIC test (Intentionally sleeping 1 second..., see docs about CLOCK_MONOTONIC test) Blocking signal 10 time() : Current date and time: Mon Sep 9 12:28:30 2019 time(NULL) : Seconds since Epoch : 1568032110 ftime() : Current date and time: Mon Sep 9 12:28:30 2019 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Mon Sep 9 12:28:32 2019 Caught signal 10 Caught signal 10 clock_gettime(): Current date and time: Mon Sep 9 12:28:32 2019 stat(): mod. time of file './timetest': Mon Sep 9 12:28:15 2019 ============================================================================= Running the test program with 10 days negative offset specified, and FAKE_STAT disabled $ LD_PRELOAD=../src/libfaketime.so.1 FAKETIME="-10d" NO_FAKE_STAT=1 ./timetest pthread_cond_timedwait: CLOCK_REALTIME test (Intentionally sleeping 1 second...) pthread_cond_timedwait: CLOCK_MONOTONIC test (Intentionally sleeping 1 second..., see docs about CLOCK_MONOTONIC test) Blocking signal 10 time() : Current date and time: Mon Sep 9 12:28:33 2019 time(NULL) : Seconds since Epoch : 1568032113 ftime() : Current date and time: Mon Sep 9 12:28:33 2019 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Mon Sep 9 12:28:35 2019 Caught signal 10 Caught signal 10 clock_gettime(): Current date and time: Mon Sep 9 12:28:35 2019 stat(): mod. time of file './timetest': Thu Sep 19 12:28:15 2019 ============================================================================= Running the test program with 10 days positive offset specified, and speed-up factor $ LD_PRELOAD=../src/libfaketime.so.1 FAKETIME="+10d x1" ./timetest pthread_cond_timedwait: CLOCK_REALTIME test (Intentionally sleeping 1 second...) pthread_cond_timedwait: CLOCK_MONOTONIC test (Intentionally sleeping 1 second..., see docs about CLOCK_MONOTONIC test) Blocking signal 10 time() : Current date and time: Sun Sep 29 12:28:36 2019 time(NULL) : Seconds since Epoch : 1569760116 ftime() : Current date and time: Sun Sep 29 12:28:36 2019 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Sun Sep 29 12:28:34 2019 Caught signal 10 clock_gettime(): Current date and time: Sun Sep 29 12:28:34 2019 stat(): mod. time of file './timetest': Thu Sep 19 12:28:15 2019 ============================================================================= Running the 'date' command with 15 days negative offset specified $ LD_PRELOAD=../src/libfaketime.so.1 FAKETIME="-15d" date Wed Sep 4 12:28:38 UTC 2019 ============================================================================= Testing finished. make: Leaving directory `/builddir/build/BUILD/libfaketime-0.9.8/test' Processing files: libfaketime-0.9.8-4.el7.armv7hl + exit 0 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZpgR3j + umask 022 + cd /builddir/build/BUILD + cd libfaketime-0.9.8 + DOCDIR=/builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm/usr/share/doc/libfaketime-0.9.8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm/usr/share/doc/libfaketime-0.9.8 + cp -pr README /builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm/usr/share/doc/libfaketime-0.9.8 + cp -pr COPYING /builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm/usr/share/doc/libfaketime-0.9.8 + cp -pr NEWS /builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm/usr/share/doc/libfaketime-0.9.8 + cp -pr README /builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm/usr/share/doc/libfaketime-0.9.8 + cp -pr README.developers /builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm/usr/share/doc/libfaketime-0.9.8 + exit 0 Provides: libfaketime = 0.9.8-4.el7 libfaketime(armv7hl-32) = 0.9.8-4.el7 libfaketime.so.1 libfaketime.so.1(GLIBC_2.2) libfaketime.so.1(GLIBC_2.2.5) libfaketime.so.1(GLIBC_2.3.2) libfaketime.so.1(GLIBC_2.3.3) libfaketimeMT.so.1 libfaketimeMT.so.1(GLIBC_2.2) libfaketimeMT.so.1(GLIBC_2.2.5) libfaketimeMT.so.1(GLIBC_2.3.2) libfaketimeMT.so.1(GLIBC_2.3.3) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.4) libdl.so.2 libdl.so.2(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3.1) libgcc_s.so.1(GCC_3.5) libm.so.6 libm.so.6(GLIBC_2.4) libpthread.so.0 libpthread.so.0(GLIBC_2.4) librt.so.1 librt.so.1(GLIBC_2.4) rtld(GNU_HASH) Processing files: libfaketime-debuginfo-0.9.8-4.el7.armv7hl Provides: libfaketime-debuginfo = 0.9.8-4.el7 libfaketime-debuginfo(armv7hl-32) = 0.9.8-4.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/libfaketime-0.9.8-4.el7.arm Wrote: /builddir/build/RPMS/libfaketime-0.9.8-4.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/libfaketime-debuginfo-0.9.8-4.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.U3l7vr + umask 022 + cd /builddir/build/BUILD + cd libfaketime-0.9.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libfaketime-0.9.8-4.el7.arm + exit 0 Child return code was: 0