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 aarch64 --nodeps /builddir/build/SPECS/libfaketime.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-76251-52455/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 aarch64 --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'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/libfaketime-0.9.10-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/libfaketime.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-76251-52455/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 aarch64 --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'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vK7Qg0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libfaketime-0.9.10 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libfaketime-0.9.10.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libfaketime-0.9.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libfaketime-backports.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libfaketime-symver.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Disable-unused-result-warning-in-tests.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.16wZ8u + 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/lib64/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/lib64/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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libfaketime-0.9.10 + cd src + FAKETIME_COMPILE_CFLAGS=BOGUS + unset FAKETIME_COMPILE_CFLAGS + '[' '' == 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-nonnull-compare -Wno-strict-aliasing' + make -j8 PREFIX=/usr LIBDIRNAME=/lib64/faketime all gcc -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-nonnull-compare -Wno-strict-aliasing -std=gnu99 -Wall -Wextra -Werror -Wno-nonnull-compare -DFAKE_PTHREAD -DFAKE_STAT -DFAKE_UTIME -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/usr'"' -DLIBDIRNAME='"'/lib64/faketime'"' libfaketime.c gcc -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-nonnull-compare -Wno-strict-aliasing -std=gnu99 -Wall -Wextra -Werror -Wno-nonnull-compare -DFAKE_PTHREAD -DFAKE_STAT -DFAKE_UTIME -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/usr'"' -DLIBDIRNAME='"'/lib64/faketime'"' -DPTHREAD_SINGLETHREADED_TIME libfaketime.c gcc -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-nonnull-compare -Wno-strict-aliasing -std=gnu99 -Wall -Wextra -Werror -Wno-nonnull-compare -DFAKE_PTHREAD -DFAKE_STAT -DFAKE_UTIME -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/usr'"' -DLIBDIRNAME='"'/lib64/faketime'"' faketime.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -lpthread -Wl,--version-script=libfaketime.map -lrt gcc -o libfaketime.so.1 -Wl,-soname,libfaketime.so.1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -lpthread -Wl,--version-script=libfaketime.map -shared libfaketime.o -ldl -lm -lrt gcc -o libfaketimeMT.so.1 -Wl,-soname,libfaketimeMT.so.1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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.1sgSQ9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64 + cd libfaketime-0.9.10 + make PREFIX=/usr DESTDIR=/builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64 LIBDIRNAME=/lib64/faketime install make -C src install make[1]: Entering directory '/builddir/build/BUILD/libfaketime-0.9.10/src' Copying the faketime libraries to /builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64/usr/lib64/faketime and the faketime wrapper script to /builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64/usr/bin ... install -dm0755 "/builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64/usr/lib64/faketime/" install -m0644 libfaketime.so.1 libfaketimeMT.so.1 "/builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64/usr/lib64/faketime/" install -Dm0755 faketime "/builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64/usr/bin/faketime" make[1]: Leaving directory '/builddir/build/BUILD/libfaketime-0.9.10/src' make -C man install make[1]: Entering directory '/builddir/build/BUILD/libfaketime-0.9.10/man' install -Dm0644 faketime.1 "/builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64/usr/share/man/man1/faketime.1" gzip -nf "/builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64/usr/share/man/man1/faketime.1" make[1]: Leaving directory '/builddir/build/BUILD/libfaketime-0.9.10/man' install -dm0755 "/builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64/usr/share/doc/faketime/" install -m0644 README "/builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64/usr/share/doc/faketime/README" install -m0644 NEWS "/builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64/usr/share/doc/faketime/NEWS" + rm -r /builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64//usr/share/doc/faketime + chmod a+rx /builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64//usr/lib64/faketime/libfaketime.so.1 /builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64//usr/lib64/faketime/libfaketimeMT.so.1 + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.9.10-2.oc9 --unique-debug-suffix -0.9.10-2.oc9.aarch64 --unique-debug-src-base libfaketime-0.9.10-2.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/libfaketime-0.9.10 extracting debug info from /builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64/usr/bin/faketime extracting debug info from /builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64/usr/lib64/faketime/libfaketime.so.1 extracting debug info from /builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64/usr/lib64/faketime/libfaketimeMT.so.1 403 blocks + /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 + /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.er7XM4 + 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/lib64/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/lib64/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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libfaketime-0.9.10 + make -j8 -C test make: Entering directory '/builddir/build/BUILD/libfaketime-0.9.10/test' gcc -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -Wall -DFAKE_STAT -Werror -Wextra timetest.c ./testframe.sh functests gcc -shared -o libmallocintercept.so -fpic -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 -std=gnu99 -Wall -DFAKE_STAT -Werror -Wextra libmallocintercept.c # Begin Test Suites in functests # Begin functests/test_exclude_mono.sh # PLATFORM=linuxlike gcc -o timetest timetest.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -lrt -lpthread out=20653738.7820572 When not faking monotonic time, timestamps should be different ref=20653739.7896541 - 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=1717407394 - 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...) (If this test hangs for more than a few seconds, please report your glibc version and system details as FORCE_MONOTONIC_FIX issue at https://github.com/wolfcw/libfaketime) Blocking signal 10 time() : Current date and time: Mon Jun 3 17:36:35 2024 time(NULL) : Seconds since Epoch : 1717407395 ftime() : Current date and time: Mon Jun 3 17:36:35 2024 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Mon Jun 3 17:36:37 2024 Caught signal 10 clock_gettime(): Current date and time: Mon Jun 3 17:36:37 2024 stat(): mod. time of file './timetest': Mon Jun 3 17:36:32 2024 ============================================================================= 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...) (If this test hangs for more than a few seconds, please report your glibc version and system details as FORCE_MONOTONIC_FIX issue at https://github.com/wolfcw/libfaketime) Blocking signal 10 time() : Current date and time: Wed Jan 1 10:00:05 2003 time(NULL) : Seconds since Epoch : 1041386405 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...) (If this test hangs for more than a few seconds, please report your glibc version and system details as FORCE_MONOTONIC_FIX issue at https://github.com/wolfcw/libfaketime) Blocking signal 10 time() : Current date and time: Tue Mar 29 14:14:15 2005 time(NULL) : Seconds since Epoch : 1112076855 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:06 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...) (If this test hangs for more than a few seconds, please report your glibc version and system details as FORCE_MONOTONIC_FIX issue at https://github.com/wolfcw/libfaketime) Blocking signal 10 time() : Current date and time: Fri May 24 17:36:44 2024 time(NULL) : Seconds since Epoch : 1716543404 ftime() : Current date and time: Fri May 24 17:36:44 2024 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Fri May 24 17:36:46 2024 Caught signal 10 Caught signal 10 clock_gettime(): Current date and time: Fri May 24 17:36:46 2024 stat(): mod. time of file './timetest': Fri May 24 17:36:32 2024 ============================================================================= 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...) (If this test hangs for more than a few seconds, please report your glibc version and system details as FORCE_MONOTONIC_FIX issue at https://github.com/wolfcw/libfaketime) Blocking signal 10 time() : Current date and time: Fri May 24 17:36:47 2024 time(NULL) : Seconds since Epoch : 1716543407 ftime() : Current date and time: Fri May 24 17:36:47 2024 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Fri May 24 17:36:49 2024 Caught signal 10 Caught signal 10 clock_gettime(): Current date and time: Fri May 24 17:36:49 2024 stat(): mod. time of file './timetest': Mon Jun 3 17:36:32 2024 ============================================================================= 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...) (If this test hangs for more than a few seconds, please report your glibc version and system details as FORCE_MONOTONIC_FIX issue at https://github.com/wolfcw/libfaketime) Blocking signal 10 time() : Current date and time: Thu Jun 13 17:36:50 2024 time(NULL) : Seconds since Epoch : 1718271410 ftime() : Current date and time: Thu Jun 13 17:36:50 2024 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Thu Jun 13 17:36:52 2024 Caught signal 10 clock_gettime(): Current date and time: Thu Jun 13 17:36:52 2024 stat(): mod. time of file './timetest': Mon Jun 3 17:36:32 2024 ============================================================================= Running the 'date' command with 15 days negative offset specified $ LD_PRELOAD=../src/libfaketime.so.1 FAKETIME="-15d" date Sun May 19 17:36:52 CST 2024 ============================================================================= Running the test program with malloc interception $ LD_PRELOAD=./libmallocintercept.so:../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...) (If this test hangs for more than a few seconds, please report your glibc version and system details as FORCE_MONOTONIC_FIX issue at https://github.com/wolfcw/libfaketime) Blocking signal 10 time() : Current date and time: Mon Jun 3 17:36:53 2024 time(NULL) : Seconds since Epoch : 1717407413 ftime() : Current date and time: Mon Jun 3 17:36:53 2024 (Intentionally sleeping 2 seconds...) gettimeofday() : Current date and time: Mon Jun 3 17:36:55 2024 Caught signal 10 clock_gettime(): Current date and time: Mon Jun 3 17:36:55 2024 stat(): mod. time of file './timetest': Mon Jun 3 17:36:32 2024 ============================================================================= Running the test program with malloc interception and file faketimerc $ FAKETIME_NO_CACHE=1 FAKETIME_TIMESTAMP_FILE=.faketimerc-for-test LD_PRELOAD=./libmallocintercept.so:../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...) (If this test hangs for more than a few seconds, please report your glibc version and system details as FORCE_MONOTONIC_FIX issue at https://github.com/wolfcw/libfaketime) Blocking signal 10 time() : Current date and time: Tue Mar 29 14:14:15 2005 time(NULL) : Seconds since Epoch : 1112076855 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:13:51 2005 ============================================================================= Testing finished. make: Leaving directory '/builddir/build/BUILD/libfaketime-0.9.10/test' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: libfaketime-0.9.10-2.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.sNl4gy + umask 022 + cd /builddir/build/BUILD + cd libfaketime-0.9.10 + DOCDIR=/builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64/usr/share/doc/libfaketime + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64/usr/share/doc/libfaketime + cp -pr README /builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64/usr/share/doc/libfaketime + cp -pr NEWS /builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64/usr/share/doc/libfaketime + cp -pr README.developers /builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64/usr/share/doc/libfaketime + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.C7m2K0 + umask 022 + cd /builddir/build/BUILD + cd libfaketime-0.9.10 + LICENSEDIR=/builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64/usr/share/licenses/libfaketime + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64/usr/share/licenses/libfaketime + cp -pr COPYING /builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64/usr/share/licenses/libfaketime + RPM_EC=0 ++ jobs -p + exit 0 Provides: faketime = 0.9.10 libfaketime = 0.9.10-2.oc9 libfaketime(aarch-64) = 0.9.10-2.oc9 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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) rtld(GNU_HASH) Processing files: libfaketime-debugsource-0.9.10-2.oc9.aarch64 Provides: libfaketime-debugsource = 0.9.10-2.oc9 libfaketime-debugsource(aarch-64) = 0.9.10-2.oc9 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.10-2.oc9.aarch64 Provides: debuginfo(build-id) = 060873ab95954c6eec0fd0e273654d332d908ccf debuginfo(build-id) = 47ec9bf6020d91f7053a7bba489bb81d30475fdc debuginfo(build-id) = db8104db9ad617e9756a6c99e555d731c7169643 libfaketime-debuginfo = 0.9.10-2.oc9 libfaketime-debuginfo(aarch-64) = 0.9.10-2.oc9 libfaketime.so.1-0.9.10-2.oc9.aarch64.debug()(64bit) libfaketimeMT.so.1-0.9.10-2.oc9.aarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libfaketime-debugsource(aarch-64) = 0.9.10-2.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libfaketime-0.9.10-2.oc9.aarch64 Wrote: /builddir/build/RPMS/libfaketime-debugsource-0.9.10-2.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/libfaketime-0.9.10-2.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/libfaketime-debuginfo-0.9.10-2.oc9.aarch64.rpm Child return code was: 0