Task 62024739895

kernel: use structured logging and simplify logging interface

2026-01-30 17:25:51 completed 2026-01/kernel-logging-layering-predicate ebe4409b722facd7d019aa800e226e26db404f81


Commands that took longer than 1 second (total 22m46s)
linedurationpercentagecommand
5300s0%dirname ./ci/test/00_setup_env.sh
5310s0%cd ./ci/test/../../
5330s0%pwd
5350s0%BASE_READ_ONLY_DIR=/Users/runner/work/bitcoin/bitcoin/repo_archive
5360s0%export BASE_READ_ONLY_DIR
5370s0%export BASE_ROOT_DIR=/Users/runner/work/bitcoin/bitcoin/repo_archive
5380s0%BASE_ROOT_DIR=/Users/runner/work/bitcoin/bitcoin/repo_archive
5390s0%export DEPENDS_DIR=/Users/runner/work/bitcoin/bitcoin/repo_archive/depends
5400s0%DEPENDS_DIR=/Users/runner/work/bitcoin/bitcoin/repo_archive/depends
5410s0%export BASE_SCRATCH_DIR=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch
5420s0%BASE_SCRATCH_DIR=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch
5430s0%echo 'Setting specific values in env'
5440s0%'[' -n ./ci/test/00_setup_env_mac_native_fuzz.sh ']'
5450s0%set -o errexit
5460s0%source ./ci/test/00_setup_env_mac_native_fuzz.sh
5470s0%export LC_ALL=C.UTF-8
5480s0%LC_ALL=C.UTF-8
5490s0%export CONTAINER_NAME=ci_mac_native_fuzz
5500s0%CONTAINER_NAME=ci_mac_native_fuzz
5510s0%export CMAKE_GENERATOR=Ninja
5520s0%CMAKE_GENERATOR=Ninja
5530s0%export 'BITCOIN_CONFIG=-DBUILD_FOR_FUZZING=ON -DCMAKE_EXE_LINKER_FLAGS='\''-Wl,-stack_size -Wl,0x80000'\'' -DAPPEND_CPPFLAGS='\''-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG'\'''
5540s0%BITCOIN_CONFIG='-DBUILD_FOR_FUZZING=ON -DCMAKE_EXE_LINKER_FLAGS='\''-Wl,-stack_size -Wl,0x80000'\'' -DAPPEND_CPPFLAGS='\''-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG'\'''
5550s0%export CI_OS_NAME=macos
5560s0%CI_OS_NAME=macos
5570s0%export NO_DEPENDS=1
5580s0%NO_DEPENDS=1
5590s0%export OSX_SDK=
5600s0%OSX_SDK=
5610s0%export RUN_UNIT_TESTS=false
5630s0%RUN_UNIT_TESTS=false
5640s0%bash -c 'grep export ./ci/test/00_setup_env*.sh'
5650s0%export RUN_FUNCTIONAL_TESTS=false
5660s0%RUN_FUNCTIONAL_TESTS=false
5670s0%cat /tmp/env-runner-ci_mac_native_fuzz
5680s0%export RUN_FUZZ_TESTS=true
5690s0%RUN_FUZZ_TESTS=true
5700s0%export GOAL=all
5720s0%GOAL=all
5740s0%echo 'Fallback to default values in env (if not yet set)'
5760s0%command -v nproc
5780s0%nproc
5800s0%export MAKEJOBS=-j3
5820s0%MAKEJOBS=-j3
5840s0%export RUN_UNIT_TESTS=false
5860s0%RUN_UNIT_TESTS=false
5880s0%export RUN_FUNCTIONAL_TESTS=false
5900s0%RUN_FUNCTIONAL_TESTS=false
5920s0%export RUN_TIDY=false
5940s0%RUN_TIDY=false
5960s0%export TEST_RUNNER_TIMEOUT_FACTOR=40
5980s0%TEST_RUNNER_TIMEOUT_FACTOR=40
6000s0%export RUN_FUZZ_TESTS=true
6020s0%RUN_FUZZ_TESTS=true
6050s0%export BOOST_TEST_RANDOM=1
6070s0%BOOST_TEST_RANDOM=1
6090s0%export DEBIAN_FRONTEND=noninteractive
6110s0%DEBIAN_FRONTEND=noninteractive
6130s0%export CCACHE_MAXSIZE=500M
6150s0%CCACHE_MAXSIZE=500M
6170s0%export CCACHE_TEMPDIR=/tmp/.ccache-temp
6190s0%CCACHE_TEMPDIR=/tmp/.ccache-temp
6210s0%export CCACHE_COMPRESS=1
6230s0%CCACHE_COMPRESS=1
6250s0%export CCACHE_DIR=/Users/runner/work/_temp/ccache_dir
6270s0%CCACHE_DIR=/Users/runner/work/_temp/ccache_dir
6300s0%export BASE_OUTDIR=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/out
6320s0%BASE_OUTDIR=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/out
6340s0%export PREVIOUS_RELEASES_DIR=/Users/runner/work/bitcoin/bitcoin/repo_archive/prev_releases
6350s0%rsync --recursive --perms --stats --human-readable /Users/runner/work/bitcoin/bitcoin/repo_archive/ /Users/runner/work/bitcoin/bitcoin/repo_archive
6360s0%PREVIOUS_RELEASES_DIR=/Users/runner/work/bitcoin/bitcoin/repo_archive/prev_releases
6380s0%export 'CI_BASE_PACKAGES=build-essential pkgconf curl ca-certificates ccache python3-dev rsync git procps bison e2fsprogs cmake ninja-build'
6400s0%CI_BASE_PACKAGES='build-essential pkgconf curl ca-certificates ccache python3-dev rsync git procps bison e2fsprogs cmake ninja-build'
6420s0%export GOAL=all
6440s0%GOAL=all
6460s0%export DIR_QA_ASSETS=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/qa-assets
6480s0%DIR_QA_ASSETS=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/qa-assets
6500s0%export CI_RETRY_EXE=retry
6520s0%CI_RETRY_EXE=retry
6540s0%export CI_IMAGE_PLATFORM=linux
6560s0%CI_IMAGE_PLATFORM=linux
6570s0%set -o errexit
6580s0%./ci/test/02_run_container.py
6600s0%CFG_DONE=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci.base-install-done
6610s0%cat /Users/runner/work/bitcoin/bitcoin/repo_archive/ci.base-install-done
6650s0%true
6670s0%'[' '' == done ']'
6680s0%/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/test/01_base_install.sh
6690s0%nproc
6700s0%/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/test/03_test_script.sh
6710s0%MAKEJOBS=-j3
6730s0%'[' -n '' ']'
6740s0%'[' -n '' ']'
6750s0%[[ '' == *alpine* ]]
6760s0%'[' macos '!=' macos ']'
6780s0%'[' -n '' ']'
6800s0%'[' -n '' ']'
6820s0%[[ -n '' ]]
6840s0%[[ '' == true ]]
6860s0%mkdir -p /Users/runner/work/bitcoin/bitcoin/repo_archive/depends/SDKs /Users/runner/work/bitcoin/bitcoin/repo_archive/depends/sdk-sources
6880s0%OSX_SDK_BASENAME=Xcode---extracted-SDK-with-libcxx-headers
6900s0%'[' -n '' ']'
6920s0%echo -n done
6940s0%cd /Users/runner/work/bitcoin/bitcoin/repo_archive
6960s0%export 'PATH=/path_with space:/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/retry:/opt/homebrew/lib/ruby/gems/3.3.0/bin:/opt/homebrew/opt/ruby@3.3/bin:/Users/runner/.local/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/runner/.cargo/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/runner/bin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Library/Frameworks/Python.framework/Versions/Current/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/Users/runner/.dotnet/tools'
6990s0%PATH='/path_with space:/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/retry:/opt/homebrew/lib/ruby/gems/3.3.0/bin:/opt/homebrew/opt/ruby@3.3/bin:/Users/runner/.local/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/runner/.cargo/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/runner/bin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Library/Frameworks/Python.framework/Versions/Current/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/Users/runner/.dotnet/tools'
7010s0%export ASAN_OPTIONS=detect_leaks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1
7030s0%ASAN_OPTIONS=detect_leaks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1
7050s0%export LSAN_OPTIONS=suppressions=/Users/runner/work/bitcoin/bitcoin/repo_archive/test/sanitizer_suppressions/lsan
7070s0%LSAN_OPTIONS=suppressions=/Users/runner/work/bitcoin/bitcoin/repo_archive/test/sanitizer_suppressions/lsan
7090s0%export TSAN_OPTIONS=suppressions=/Users/runner/work/bitcoin/bitcoin/repo_archive/test/sanitizer_suppressions/tsan:halt_on_error=1:second_deadlock_stack=1
7110s0%TSAN_OPTIONS=suppressions=/Users/runner/work/bitcoin/bitcoin/repo_archive/test/sanitizer_suppressions/tsan:halt_on_error=1:second_deadlock_stack=1
7130s0%export UBSAN_OPTIONS=suppressions=/Users/runner/work/bitcoin/bitcoin/repo_archive/test/sanitizer_suppressions/ubsan:print_stacktrace=1:halt_on_error=1:report_error_type=1
7150s0%UBSAN_OPTIONS=suppressions=/Users/runner/work/bitcoin/bitcoin/repo_archive/test/sanitizer_suppressions/ubsan:print_stacktrace=1:halt_on_error=1:report_error_type=1
7170s0%nproc
7190s0%echo 'Number of available processing units: 3'
7210s0%'[' macos == macos ']'
7230s0%top -l 1 -s 0
7250s0%awk ' /PhysMem/ {print}'
7270s0%echo 'Free disk space:'
7290s0%df -h
7310s0%[[ ci_mac_native_fuzz == \c\i\_\n\a\t\i\v\e\_\a\s\a\n ]]
7330s0%/Users/runner/work/bitcoin/bitcoin/repo_archive/depends/config.guess
7350s0%export HOST=aarch64-apple-darwin24.6.0
7370s0%HOST=aarch64-apple-darwin24.6.0
7390s0%echo '=== BEGIN env ==='
7410s0%env
7430s0%echo '=== END env ==='
7450s0%[[ '' != true ]]
7470s0%tee /dev/fd/63
7490s0%patch -p1
7510s0%'[' true = true ']'
7530s0%export DIR_FUZZ_IN=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/qa-assets/fuzz_corpora/
7550s0%DIR_FUZZ_IN=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/qa-assets/fuzz_corpora/
7570s0%'[' '!' -d /Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/qa-assets/fuzz_corpora/ ']'
7591s0%retry git clone --depth=1 https://github.com/bitcoin-core/qa-assets /Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/qa-assets
8830s0%b/src/leveldb/db/db_impl.cc
8931m30s6%1].Add(stats);
10480s0%cd /Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/qa-assets
10500s0%echo 'Using qa-assets repo from commit ...'
10510s0%git log -1
10530s0%'[' macos == macos ']'
10550s0%echo
10610s0%'[' -z 1 ']'
10620s0%'[' '' = true ']'
10630s0%BITCOIN_CONFIG_ALL='-DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON'
10640s0%'[' -z 1 ']'
10650s0%'[' -z '' ']'
10660s0%BITCOIN_CONFIG_ALL='-DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DWERROR=ON'
10670s0%ccache --zero-stats
10690s0%PRINT_CCACHE_STATISTICS='ccache --version | head -n 1 && ccache --show-stats'
10700s0%BASE_BUILD_DIR=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/build-aarch64-apple-darwin24.6.0
10710s0%BITCOIN_CONFIG_ALL='-DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DWERROR=ON -DCMAKE_INSTALL_PREFIX=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/out -Werror=dev'
10720s0%[[ '' == true ]]
10730s0%[[ false == true ]]
10740s0%eval 'CMAKE_ARGS=(-DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DWERROR=ON -DCMAKE_INSTALL_PREFIX=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/out -Werror=dev -DBUILD_FOR_FUZZING=ON -DCMAKE_EXE_LINKER_FLAGS='\''-Wl,-stack_size -Wl,0x80000'\'' -DAPPEND_CPPFLAGS='\''-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG'\'')'
10750s0%CMAKE_ARGS=(-DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DWERROR=ON -DCMAKE_INSTALL_PREFIX=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/out -Werror=dev -DBUILD_FOR_FUZZING=ON -DCMAKE_EXE_LINKER_FLAGS='-Wl,-stack_size -Wl,0x80000' -DAPPEND_CPPFLAGS='-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG')
10766s0%cmake -S /Users/runner/work/bitcoin/bitcoin/repo_archive -B /Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/build-aarch64-apple-darwin24.6.0 -DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DWERROR=ON -DCMAKE_INSTALL_PREFIX=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/out -Werror=dev -DBUILD_FOR_FUZZING=ON '-DCMAKE_EXE_LINKER_FLAGS=-Wl,-stack_size -Wl,0x80000' -DAPPEND_CPPFLAGS=-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG
108027s1%- skipped
13830s0%compiler .......................... AppleClang 16.0.0.16000026, /usr/bin/c++
13860s0%compiler flags .................... -O2 -g -std=c++20 -fPIC -fmacro-prefix-map=/Users/runner/work/bitcoin/bitcoin/repo_archive/src=. -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -Wstack-protector -fstack-protector-all -mbranch-protection=bti -Werror -Wall -Wextra -Wgnu -Wformat -Wformat-security -Wvla -Wshadow-field -Wthread-safety -Wloop-analysis -Wredundant-decls -Wunused-member-function -Wdate-time -Wconditional-uninitialized -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wdocumentation -Wself-assign -Wundef -Wno-unused-parameter -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG
14000s0%[[ all != all ]]
14018m3s35%cmake --build /Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/build-aarch64-apple-darwin24.6.0 -j3 --target all
18760s0%bash -c 'ccache --version | head -n 1 && ccache --show-stats'
18780s0%ccache --show-stats
18800s0%grep Hits:
18820s0%head -1
18840s0%sed 's/.*(\(.*\)%).*/\1/'
18860s0%hit_rate=30.70
18880s0%'[' 30 -lt 75 ']'
18900s0%echo '::notice title=low ccache hitrate::Ccache hit-rate in ci_mac_native_fuzz was 30.70%'
18920s0%du -sh /Users/runner/work/bitcoin/bitcoin/repo_archive/depends/SDKs/ /Users/runner/work/bitcoin/bitcoin/repo_archive/depends/builders/ /Users/runner/work/bitcoin/bitcoin/repo_archive/depends/hosts/ /Users/runner/work/bitcoin/bitcoin/repo_archive/depends/packages/ /Users/runner/work/bitcoin/bitcoin/repo_archive/depends/patches/ /Users/runner/work/bitcoin/bitcoin/repo_archive/depends/sdk-sources/
18940s0%du -sh /Users/runner/work/bitcoin/bitcoin/repo_archive/prev_releases
18960s0%'[' -n '' ']'
18980s0%'[' -n '' ']'
19000s0%'[' '' = true ']'
19020s0%'[' false = true ']'
19040s0%'[' false = true ']'
19060s0%'[' false = true ']'
19080s0%[[ '' == true ]]
19100s0%'[' true = true ']'
19120s0%LD_LIBRARY_PATH=/Users/runner/work/bitcoin/bitcoin/repo_archive/depends/aarch64-apple-darwin24.6.0/lib
19148m31s37%/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/build-aarch64-apple-darwin24.6.0/test/fuzz/test_runner.py -j3 -l DEBUG /Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/qa-assets/fuzz_corpora/ --empty_min_time=60
Tags
  • macOS native, fuzz
  • 2026-01/kernel-logging-layering-predicate
  • COMPLETED