bitcoin/ci/test
fanquake 2de0559f2c
Merge bitcoin/bitcoin#27189: util: Use steady clock in SeedStrengthen, FindBestImplementation, FlushStateToDisk
fa1b4e5c32 Use steady clock in FlushStateToDisk (MarcoFalke)
1111e2f8b4 Use steady clock in SeedStrengthen and FindBestImplementation (MarcoFalke)

Pull request description:

  There may be a theoretical deadlock for the duration of the offset when the system clock is adjusted into a past time while executing `SeedStrengthen`.

  Fix this by using steady clock.

  Do the same in `FindBestImplementation`, which shouldn't be affected, because it discards outlier measurements. However, doing the same there for consistency seems fine.

  Do the same in `FlushStateToDisk`, which should make the flushes more steady, if the system clock is adjusted by a large offset.

ACKs for top commit:
  john-moffett:
    ACK fa1b4e5c32
  willcl-ark:
    ACK fa1b4e5c3

Tree-SHA512: cc625e796b186accd53222bd64eb57d0512bc7e588312d254349b542bbc5e5daac348ff2b3b3f7dc5ae0bbbae2ec11fdbf3022cf2164211633765a4b0108e83e
2023-03-08 08:48:41 +01:00
..
00_setup_env.sh Merge bitcoin/bitcoin#27209: ci: Remove unused EXPECTED_TESTS_DURATION_IN_SECONDS env var 2023-03-06 14:00:36 +00:00
00_setup_env_android.sh ci: Use the latest Ubuntu LTS for "ARM64 Android APK" task 2023-02-08 14:15:13 +00:00
00_setup_env_arm.sh scripted-diff: ci: Rework docker naming 2023-01-11 10:49:18 +01:00
00_setup_env_i686_centos.sh ci: avoid using -Werror for older compilers 2023-02-01 15:22:24 +00:00
00_setup_env_i686_multiprocess.sh scripted-diff: ci: Rework docker naming 2023-01-11 10:49:18 +01:00
00_setup_env_mac.sh scripted-diff: ci: Rework docker naming 2023-01-11 10:49:18 +01:00
00_setup_env_mac_native_arm64.sh scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
00_setup_env_native_asan.sh scripted-diff: ci: Rework docker naming 2023-01-11 10:49:18 +01:00
00_setup_env_native_fuzz.sh scripted-diff: ci: Rework docker naming 2023-01-11 10:49:18 +01:00
00_setup_env_native_fuzz_with_msan.sh Merge bitcoin/bitcoin#23619: build: Propagate user-defined flags to host packages 2023-01-30 14:32:32 +00:00
00_setup_env_native_fuzz_with_valgrind.sh scripted-diff: ci: Rework docker naming 2023-01-11 10:49:18 +01:00
00_setup_env_native_msan.sh Merge bitcoin/bitcoin#23619: build: Propagate user-defined flags to host packages 2023-01-30 14:32:32 +00:00
00_setup_env_native_nowallet_libbitcoinkernel.sh ci: avoid using -Werror for older compilers 2023-02-01 15:22:24 +00:00
00_setup_env_native_qt5.sh ci: avoid using -Werror for older compilers 2023-02-01 15:22:24 +00:00
00_setup_env_native_tidy.sh scripted-diff: ci: Rework docker naming 2023-01-11 10:49:18 +01:00
00_setup_env_native_tsan.sh scripted-diff: ci: Rework docker naming 2023-01-11 10:49:18 +01:00
00_setup_env_native_valgrind.sh scripted-diff: ci: Rework docker naming 2023-01-11 10:49:18 +01:00
00_setup_env_s390x.sh scripted-diff: ci: Rework docker naming 2023-01-11 10:49:18 +01:00
00_setup_env_win64.sh scripted-diff: ci: Rework docker naming 2023-01-11 10:49:18 +01:00
01_base_install.sh ci: Cache package manager install step 2023-01-28 17:59:07 +01:00
04_install.sh ci: Cache stuff in volumes, not host folders 2023-02-08 11:21:23 +01:00
05_before_script.sh scripted-diff: ci: Rework docker naming 2023-01-11 10:49:18 +01:00
06_script_a.sh scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
06_script_b.sh Merge bitcoin/bitcoin#27189: util: Use steady clock in SeedStrengthen, FindBestImplementation, FlushStateToDisk 2023-03-08 08:48:41 +01:00
wrap-qemu.sh scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
wrap-valgrind.sh scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
wrap-wine.sh scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00
wrapped-cl.bat ci: Integrate ccache into MSVC build 2022-03-12 03:20:33 +01:00