Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libfaketime.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1689858197.217263/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j7fcs6az:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.j7fcs6az:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '17dd995980364d3eb6ad4b2a904c07ff', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1689858197.217263/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j7fcs6az:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1642636800 Wrote: /builddir/build/SRPMS/libfaketime-0.9.8-13.el9.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/rhel+epel-9-x86_64-1689858197.217263/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j7fcs6az:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.j7fcs6az:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'b424a7bc2bdd418ab2aa3e6c9c0659d6', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1689858197.217263/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j7fcs6az:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1642636800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YWSLm6 + 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 . Patch #0 (libfaketime-0.9.8-FORCE_PTHREAD_NONVER.patch): + echo '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 #1 (libfaketime-symver.patch): + echo 'Patch #1 (libfaketime-symver.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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.f1Qcz8 + umask 022 + cd /builddir/build/BUILD + cd libfaketime-0.9.8 + cd src + FAKETIME_COMPILE_CFLAGS=BOGUS + echo force_monotonic force_monotonic + export FAKETIME_COMPILE_CFLAGS=-DFORCE_MONOTONIC_FIX + FAKETIME_COMPILE_CFLAGS=-DFORCE_MONOTONIC_FIX + '[' -DFORCE_MONOTONIC_FIX == BOGUS ']' + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -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 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -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'"' -DFORCE_MONOTONIC_FIX libfaketime.c cc -o libfaketimeMT.o -c -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -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'"' -DFORCE_MONOTONIC_FIX -DPTHREAD_SINGLETHREADED_TIME libfaketime.c cc -o faketime -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -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'"' -DFORCE_MONOTONIC_FIX 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cQPeMo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.x86_64 + cd libfaketime-0.9.8 + make PREFIX=/usr DESTDIR=/builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.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-13.el9.x86_64/usr/lib64/faketime and the faketime wrapper script to /builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.x86_64/usr/bin ... install -dm0755 "/builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.x86_64/usr/lib64/faketime/" install -m0644 libfaketime.so.1 libfaketimeMT.so.1 "/builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.x86_64/usr/lib64/faketime/" install -Dm0755 faketime "/builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.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-13.el9.x86_64/usr/share/man/man1/faketime.1" gzip -f "/builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.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-13.el9.x86_64/usr/share/doc/faketime/" install -m0644 README "/builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.x86_64/usr/share/doc/faketime/README" install -m0644 NEWS "/builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.x86_64/usr/share/doc/faketime/NEWS" + rm -r /builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.x86_64//usr/share/doc/faketime + chmod a+rx /builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.x86_64//usr/lib64/faketime/libfaketime.so.1 /builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.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-13.el9 --unique-debug-suffix -0.9.8-13.el9.x86_64 --unique-debug-src-base libfaketime-0.9.8-13.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/libfaketime-0.9.8 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.x86_64/usr/bin/faketime explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.x86_64/usr/lib64/faketime/libfaketime.so.1 extracting debug info from /builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.x86_64/usr/bin/faketime extracting debug info from /builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.x86_64/usr/lib64/faketime/libfaketime.so.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.x86_64/usr/lib64/faketime/libfaketimeMT.so.1 extracting debug info from /builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.x86_64/usr/lib64/faketime/libfaketimeMT.so.1 original debug info size: 712kB, size after compression: 676kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 345 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.VVNjby + 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=233.704848744 When not faking monotonic time, timestamps should be different ref=234.71354929 - 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=1689858313 - 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 Jul 20 13:05:15 2023 time(NULL) : Seconds since Epoch : 1689858315 ftime() : Current date and time: Thu Jul 20 13:05:15 2023 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Thu Jul 20 13:05:17 2023 Caught signal 10 clock_gettime(): Current date and time: Thu Jul 20 13:05:17 2023 stat(): mod. time of file './timetest': Thu Jul 20 13:05:11 2023 ============================================================================= 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': Thu Jul 20 13:05:11 2023 ============================================================================= 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 Caught signal 10 clock_gettime(): Current date and time: Tue Mar 29 14:14:18 2005 stat(): mod. time of file './timetest': Thu Jul 20 13:05:11 2023 ============================================================================= 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 Jul 10 13:05:27 2023 time(NULL) : Seconds since Epoch : 1688994327 ftime() : Current date and time: Mon Jul 10 13:05:27 2023 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Mon Jul 10 13:05:29 2023 Caught signal 10 Caught signal 10 clock_gettime(): Current date and time: Mon Jul 10 13:05:29 2023 stat(): mod. time of file './timetest': Thu Jul 20 13:05:11 2023 ============================================================================= 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 Jul 10 13:05:31 2023 time(NULL) : Seconds since Epoch : 1688994331 ftime() : Current date and time: Mon Jul 10 13:05:31 2023 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Mon Jul 10 13:05:33 2023 Caught signal 10 Caught signal 10 clock_gettime(): Current date and time: Mon Jul 10 13:05:33 2023 stat(): mod. time of file './timetest': Thu Jul 20 13:05:11 2023 ============================================================================= 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 Jul 30 13:05:35 2023 time(NULL) : Seconds since Epoch : 1690722335 ftime() : Current date and time: Sun Jul 30 13:05:35 2023 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Sun Jul 30 13:05:37 2023 Caught signal 10 clock_gettime(): Current date and time: Sun Jul 30 13:05:37 2023 stat(): mod. time of file './timetest': Thu Jul 20 13:05:11 2023 ============================================================================= Running the 'date' command with 15 days negative offset specified $ LD_PRELOAD=../src/libfaketime.so.1 FAKETIME="-15d" date Wed Jul 5 13:05:37 UTC 2023 ============================================================================= Testing finished. make: Leaving directory '/builddir/build/BUILD/libfaketime-0.9.8/test' + RPM_EC=0 ++ jobs -p Processing files: libfaketime-0.9.8-13.el9.x86_64 + exit 0 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9vRW87 + umask 022 + cd /builddir/build/BUILD + cd libfaketime-0.9.8 + DOCDIR=/builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.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-13.el9.x86_64/usr/share/doc/libfaketime + cp -pr README /builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.x86_64/usr/share/doc/libfaketime + cp -pr NEWS /builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.x86_64/usr/share/doc/libfaketime + cp -pr README.developers /builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.x86_64/usr/share/doc/libfaketime + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.XetdvE + umask 022 + cd /builddir/build/BUILD + cd libfaketime-0.9.8 + LICENSEDIR=/builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.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-13.el9.x86_64/usr/share/licenses/libfaketime + cp -pr COPYING /builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.x86_64/usr/share/licenses/libfaketime + RPM_EC=0 ++ jobs -p + exit 0 Provides: faketime libfaketime = 0.9.8-13.el9 libfaketime(x86-64) = 0.9.8-13.el9 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.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(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) rtld(GNU_HASH) Processing files: libfaketime-debugsource-0.9.8-13.el9.x86_64 Provides: libfaketime-debugsource = 0.9.8-13.el9 libfaketime-debugsource(x86-64) = 0.9.8-13.el9 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-13.el9.x86_64 Provides: debuginfo(build-id) = 0bc4a27775699296b03255086d0ec72d46a7395c debuginfo(build-id) = 36a9d696e686d27d3f8bf07e86c38f6e79195317 debuginfo(build-id) = f6c3785ca76de09a63bbdd471136ce4bf98c55fd libfaketime-debuginfo = 0.9.8-13.el9 libfaketime-debuginfo(x86-64) = 0.9.8-13.el9 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-13.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.x86_64 Wrote: /builddir/build/RPMS/libfaketime-0.9.8-13.el9.x86_64.rpm Wrote: /builddir/build/RPMS/libfaketime-debuginfo-0.9.8-13.el9.x86_64.rpm Wrote: /builddir/build/RPMS/libfaketime-debugsource-0.9.8-13.el9.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qmpVJk + umask 022 + cd /builddir/build/BUILD + cd libfaketime-0.9.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libfaketime-0.9.8-13.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0