Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libfaketime.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1620306186.365016/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.utxvn2fy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.utxvn2fy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '66b5a0f7f8154a0eadf998e72eedcae7', '-D', '/var/lib/mock/epel-8-x86_64-1620306186.365016/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.utxvn2fy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libfaketime.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libfaketime-0.9.8-10.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libfaketime.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1620306186.365016/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.utxvn2fy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.utxvn2fy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c07dd52874f744b3a658334a56f39e02', '-D', '/var/lib/mock/epel-8-x86_64-1620306186.365016/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.utxvn2fy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libfaketime.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZhNH5R + 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 -xof - + 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/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/libfaketime.c Patch #2 (libfaketime-fixgcc10.patch): + echo 'Patch #2 (libfaketime-fixgcc10.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file test/timetest.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nxiwSz + 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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-nonnull-compare -Wno-strict-aliasing' + make -j2 PREFIX=/usr LIBDIRNAME=/lib64/faketime all cc -o libfaketime.o -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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='"'/lib64/faketime'"' libfaketime.c cc -o libfaketimeMT.o -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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='"'/lib64/faketime'"' -DPTHREAD_SINGLETHREADED_TIME libfaketime.c cc -o faketime -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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='"'/lib64/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.xj69nl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64 + cd libfaketime-0.9.8 + make PREFIX=/usr DESTDIR=/builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64 LIBDIRNAME=/lib64/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-10.el8.x86_64/usr/lib64/faketime and the faketime wrapper script to /builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64/usr/bin ... install -dm0755 "/builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64/usr/lib64/faketime/" install -m0644 libfaketime.so.1 libfaketimeMT.so.1 "/builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64/usr/lib64/faketime/" install -Dm0755 faketime "/builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64/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-10.el8.x86_64/usr/share/man/man1/faketime.1" gzip -f "/builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64/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-10.el8.x86_64/usr/share/doc/faketime/" install -m0644 README "/builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64/usr/share/doc/faketime/README" install -m0644 NEWS "/builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64/usr/share/doc/faketime/NEWS" + rm -r /builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64//usr/share/doc/faketime + chmod a+rx /builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64//usr/lib64/faketime/libfaketime.so.1 /builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64//usr/lib64/faketime/libfaketimeMT.so.1 + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.9.8-10.el8 --unique-debug-suffix -0.9.8-10.el8.x86_64 --unique-debug-src-base libfaketime-0.9.8-10.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/libfaketime-0.9.8 extracting debug info from /builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64/usr/bin/faketime extracting debug info from /builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64/usr/lib64/faketime/libfaketime.so.1 extracting debug info from /builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64/usr/lib64/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-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.vqZ3r8 + umask 022 + cd /builddir/build/BUILD + cd libfaketime-0.9.8 + make -j2 -C test 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=2204.787325269 When not faking monotonic time, timestamps should be different ref=2205.798051488 - 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=1620306351 - 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 May 6 13:05:53 2021 time(NULL) : Seconds since Epoch : 1620306353 ftime() : Current date and time: Thu May 6 13:05:53 2021 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Thu May 6 13:05:55 2021 Caught signal 10 clock_gettime(): Current date and time: Thu May 6 13:05:55 2021 stat(): mod. time of file './timetest': Thu May 6 13:05:49 2021 ============================================================================= 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:16 2005 time(NULL) : Seconds since Epoch : 1112105656 ftime() : Current date and time: Tue Mar 29 14:14:16 2005 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Tue Mar 29 14:14:18 2005 Caught signal 10 clock_gettime(): Current date and time: Tue Mar 29 14:14:18 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 Apr 26 13:06:05 2021 time(NULL) : Seconds since Epoch : 1619442365 ftime() : Current date and time: Mon Apr 26 13:06:05 2021 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Mon Apr 26 13:06:07 2021 Caught signal 10 clock_gettime(): Current date and time: Mon Apr 26 13:06:07 2021 stat(): mod. time of file './timetest': Mon Apr 26 13:05:49 2021 ============================================================================= 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 Apr 26 13:06:09 2021 time(NULL) : Seconds since Epoch : 1619442369 ftime() : Current date and time: Mon Apr 26 13:06:09 2021 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Mon Apr 26 13:06:11 2021 Caught signal 10 clock_gettime(): Current date and time: Mon Apr 26 13:06:11 2021 stat(): mod. time of file './timetest': Thu May 6 13:05:49 2021 ============================================================================= 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 May 16 13:06:13 2021 time(NULL) : Seconds since Epoch : 1621170373 ftime() : Current date and time: Sun May 16 13:06:13 2021 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Sun May 16 13:06:15 2021 Caught signal 10 clock_gettime(): Current date and time: Sun May 16 13:06:15 2021 stat(): mod. time of file './timetest': Thu May 6 13:05:49 2021 ============================================================================= Running the 'date' command with 15 days negative offset specified $ LD_PRELOAD=../src/libfaketime.so.1 FAKETIME="-15d" date Wed Apr 21 13:06:15 UTC 2021 ============================================================================= Testing finished. make: Leaving directory '/builddir/build/BUILD/libfaketime-0.9.8/test' + exit 0 Processing files: libfaketime-0.9.8-10.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.b9cvfZ + umask 022 + cd /builddir/build/BUILD + cd libfaketime-0.9.8 + DOCDIR=/builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64/usr/share/doc/libfaketime + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64/usr/share/doc/libfaketime + cp -pr README /builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64/usr/share/doc/libfaketime + cp -pr NEWS /builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64/usr/share/doc/libfaketime + cp -pr README.developers /builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64/usr/share/doc/libfaketime + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.KQ2L4P + umask 022 + cd /builddir/build/BUILD + cd libfaketime-0.9.8 + LICENSEDIR=/builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64/usr/share/licenses/libfaketime + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64/usr/share/licenses/libfaketime + cp -pr COPYING /builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64/usr/share/licenses/libfaketime + exit 0 Provides: faketime libfaketime = 0.9.8-10.el8 libfaketime(x86-64) = 0.9.8-10.el8 libfaketime.so.1()(64bit) libfaketime.so.1(GLIBC_2.2)(64bit) libfaketime.so.1(GLIBC_2.2.5)(64bit) libfaketime.so.1(GLIBC_2.3.2)(64bit) libfaketime.so.1(GLIBC_2.3.3)(64bit) libfaketimeMT.so.1()(64bit) libfaketimeMT.so.1(GLIBC_2.2)(64bit) libfaketimeMT.so.1(GLIBC_2.2.5)(64bit) libfaketimeMT.so.1(GLIBC_2.3.2)(64bit) libfaketimeMT.so.1(GLIBC_2.3.3)(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.3)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.2.5)(64bit) rtld(GNU_HASH) Processing files: libfaketime-debugsource-0.9.8-10.el8.x86_64 Provides: libfaketime-debugsource = 0.9.8-10.el8 libfaketime-debugsource(x86-64) = 0.9.8-10.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libfaketime-debuginfo-0.9.8-10.el8.x86_64 Provides: debuginfo(build-id) = 4235fa52cbca35c87a9ea6a1943fb3986fb652be debuginfo(build-id) = 446c12155f6d713054b1e80aa1fe4bd7518258ea debuginfo(build-id) = 8a0b974e70aaaa2f311d60f826647adf2a29d3e9 libfaketime-debuginfo = 0.9.8-10.el8 libfaketime-debuginfo(x86-64) = 0.9.8-10.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libfaketime-debugsource(x86-64) = 0.9.8-10.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64 Wrote: /builddir/build/RPMS/libfaketime-0.9.8-10.el8.x86_64.rpm Wrote: /builddir/build/RPMS/libfaketime-debugsource-0.9.8-10.el8.x86_64.rpm Wrote: /builddir/build/RPMS/libfaketime-debuginfo-0.9.8-10.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ojqzqH + umask 022 + cd /builddir/build/BUILD + cd libfaketime-0.9.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libfaketime-0.9.8-10.el8.x86_64 + exit 0 Child return code was: 0