Task 62086829884

kernel: add serialization method for btck_BlockHeader API

2026-01-31 14:14:05 completed 2026-11-followup_33822 ebc8433637fe4dfce3715c4fb9e943fb2a70d5d9


Commands that took longer than 1 second (total 41m4s)
linedurationpercentagecommand
5740s0%dirname ./ci/test/00_setup_env.sh
5750s0%cd ./ci/test/../../
5770s0%pwd
5790s0%BASE_READ_ONLY_DIR=/Users/runner/work/bitcoin/bitcoin/repo_archive
5800s0%export BASE_READ_ONLY_DIR
5810s0%export BASE_ROOT_DIR=/Users/runner/work/bitcoin/bitcoin/repo_archive
5820s0%BASE_ROOT_DIR=/Users/runner/work/bitcoin/bitcoin/repo_archive
5830s0%export DEPENDS_DIR=/Users/runner/work/bitcoin/bitcoin/repo_archive/depends
5840s0%DEPENDS_DIR=/Users/runner/work/bitcoin/bitcoin/repo_archive/depends
5850s0%export BASE_SCRATCH_DIR=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch
5860s0%BASE_SCRATCH_DIR=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch
5870s0%echo 'Setting specific values in env'
5880s0%'[' -n ./ci/test/00_setup_env_mac_native.sh ']'
5890s0%set -o errexit
5900s0%source ./ci/test/00_setup_env_mac_native.sh
5910s0%export LC_ALL=C.UTF-8
5920s0%LC_ALL=C.UTF-8
5930s0%export CONTAINER_NAME=ci_mac_native
5940s0%CONTAINER_NAME=ci_mac_native
5950s0%export 'PIP_PACKAGES=--break-system-packages pycapnp zmq'
5960s0%PIP_PACKAGES='--break-system-packages pycapnp zmq'
5970s0%export 'GOAL=install deploy'
5980s0%GOAL='install deploy'
5990s0%export CMAKE_GENERATOR=Ninja
6000s0%CMAKE_GENERATOR=Ninja
6010s0%export CI_OS_NAME=macos
6020s0%CI_OS_NAME=macos
6030s0%export NO_DEPENDS=1
6040s0%NO_DEPENDS=1
6050s0%export OSX_SDK=
6060s0%OSX_SDK=
6070s0%export 'BITCOIN_CONFIG= --preset=dev-mode -DWITH_USDT=OFF -DREDUCE_EXPORTS=ON -DCMAKE_EXE_LINKER_FLAGS='\''-Wl,-stack_size -Wl,0x80000'\'' '
6080s0%BITCOIN_CONFIG=' --preset=dev-mode -DWITH_USDT=OFF -DREDUCE_EXPORTS=ON -DCMAKE_EXE_LINKER_FLAGS='\''-Wl,-stack_size -Wl,0x80000'\'' '
6090s0%export 'BITCOIN_CMD=bitcoin -m'
6100s0%BITCOIN_CMD='bitcoin -m'
6110s0%echo 'Fallback to default values in env (if not yet set)'
6120s0%command -v nproc
6130s0%nproc
6140s0%export MAKEJOBS=-j3
6150s0%MAKEJOBS=-j3
6160s0%export RUN_UNIT_TESTS=true
6170s0%RUN_UNIT_TESTS=true
6180s0%export RUN_FUNCTIONAL_TESTS=true
6190s0%RUN_FUNCTIONAL_TESTS=true
6200s0%export RUN_TIDY=false
6210s0%RUN_TIDY=false
6220s0%export TEST_RUNNER_TIMEOUT_FACTOR=40
6230s0%TEST_RUNNER_TIMEOUT_FACTOR=40
6240s0%export RUN_FUZZ_TESTS=false
6250s0%RUN_FUZZ_TESTS=false
6260s0%export BOOST_TEST_RANDOM=1
6270s0%BOOST_TEST_RANDOM=1
6280s0%export DEBIAN_FRONTEND=noninteractive
6290s0%DEBIAN_FRONTEND=noninteractive
6300s0%export CCACHE_MAXSIZE=500M
6310s0%CCACHE_MAXSIZE=500M
6320s0%export CCACHE_TEMPDIR=/tmp/.ccache-temp
6330s0%CCACHE_TEMPDIR=/tmp/.ccache-temp
6340s0%export CCACHE_COMPRESS=1
6350s0%CCACHE_COMPRESS=1
6360s0%export CCACHE_DIR=/Users/runner/work/_temp/ccache_dir
6370s0%CCACHE_DIR=/Users/runner/work/_temp/ccache_dir
6380s0%export BASE_OUTDIR=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/out
6390s0%BASE_OUTDIR=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/out
6400s0%export PREVIOUS_RELEASES_DIR=/Users/runner/work/bitcoin/bitcoin/repo_archive/prev_releases
6410s0%PREVIOUS_RELEASES_DIR=/Users/runner/work/bitcoin/bitcoin/repo_archive/prev_releases
6420s0%export 'CI_BASE_PACKAGES=build-essential pkgconf curl ca-certificates ccache python3-dev rsync git procps bison e2fsprogs cmake ninja-build'
6430s0%CI_BASE_PACKAGES='build-essential pkgconf curl ca-certificates ccache python3-dev rsync git procps bison e2fsprogs cmake ninja-build'
6440s0%export 'GOAL=install deploy'
6450s0%GOAL='install deploy'
6460s0%export DIR_QA_ASSETS=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/qa-assets
6470s0%DIR_QA_ASSETS=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/qa-assets
6480s0%export CI_RETRY_EXE=retry
6490s0%CI_RETRY_EXE=retry
6500s0%export CI_IMAGE_PLATFORM=linux
6510s0%CI_IMAGE_PLATFORM=linux
6520s0%set -o errexit
6530s0%./ci/test/02_run_container.py
6550s0%bash -c 'grep export ./ci/test/00_setup_env*.sh'
6560s0%cat /tmp/env-runner-ci_mac_native
6920s0%rsync --recursive --perms --stats --human-readable /Users/runner/work/bitcoin/bitcoin/repo_archive/ /Users/runner/work/bitcoin/bitcoin/repo_archive
6970s0%CFG_DONE=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci.base-install-done
6990s0%cat /Users/runner/work/bitcoin/bitcoin/repo_archive/ci.base-install-done
7030s0%true
7050s0%'[' '' == done ']'
7070s0%nproc
7090s0%MAKEJOBS=-j3
7110s0%'[' -n '' ']'
7130s0%'[' -n '' ']'
7150s0%[[ '' == *alpine* ]]
7170s0%'[' macos '!=' macos ']'
7180s0%/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/test/01_base_install.sh
7190s0%'[' -n '' ']'
7200s0%'[' -n '--break-system-packages pycapnp zmq' ']'
72130s1%retry pip3 install --user --break-system-packages pycapnp zmq
7580s0%[[ -n '' ]]
7590s0%[[ '' == true ]]
7600s0%mkdir -p /Users/runner/work/bitcoin/bitcoin/repo_archive/depends/SDKs /Users/runner/work/bitcoin/bitcoin/repo_archive/depends/sdk-sources
7610s0%/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/test/03_test_script.sh
7620s0%OSX_SDK_BASENAME=Xcode---extracted-SDK-with-libcxx-headers
7630s0%'[' -n '' ']'
7640s0%echo -n done
7650s0%cd /Users/runner/work/bitcoin/bitcoin/repo_archive
7670s0%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'
7680s0%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'
7690s0%export ASAN_OPTIONS=detect_leaks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1
7700s0%ASAN_OPTIONS=detect_leaks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1
7710s0%export LSAN_OPTIONS=suppressions=/Users/runner/work/bitcoin/bitcoin/repo_archive/test/sanitizer_suppressions/lsan
7720s0%LSAN_OPTIONS=suppressions=/Users/runner/work/bitcoin/bitcoin/repo_archive/test/sanitizer_suppressions/lsan
7730s0%export TSAN_OPTIONS=suppressions=/Users/runner/work/bitcoin/bitcoin/repo_archive/test/sanitizer_suppressions/tsan:halt_on_error=1:second_deadlock_stack=1
7740s0%TSAN_OPTIONS=suppressions=/Users/runner/work/bitcoin/bitcoin/repo_archive/test/sanitizer_suppressions/tsan:halt_on_error=1:second_deadlock_stack=1
7750s0%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
7760s0%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
7770s0%nproc
7780s0%echo 'Number of available processing units: 3'
7790s0%'[' macos == macos ']'
7800s0%top -l 1 -s 0
7810s0%awk ' /PhysMem/ {print}'
7830s0%echo 'Free disk space:'
7850s0%df -h
7870s0%[[ ci_mac_native == \c\i\_\n\a\t\i\v\e\_\a\s\a\n ]]
7910s0%/Users/runner/work/bitcoin/bitcoin/repo_archive/depends/config.guess
8000s0%export HOST=aarch64-apple-darwin24.6.0
8020s0%HOST=aarch64-apple-darwin24.6.0
8030s0%echo '=== BEGIN env ==='
8040s0%env
8060s0%echo '=== END env ==='
8080s0%[[ '' != true ]]
8100s0%tee /dev/fd/63
8120s0%patch -p1
8190s0%'[' false = true ']'
8210s0%'[' true = true ']'
8230s0%export DIR_UNIT_TEST_DATA=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/qa-assets/unit_test_data/
8250s0%DIR_UNIT_TEST_DATA=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/qa-assets/unit_test_data/
8270s0%'[' '!' -d /Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/qa-assets/unit_test_data/ ']'
8290s0%mkdir -p /Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/qa-assets/unit_test_data/
8610s0%retry curl --location --fail https://github.com/bitcoin-core/qa-assets/raw/main/unit_test_data/script_assets_test.json -o /Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/qa-assets/unit_test_data//script_assets_test.json
9670s0%b/src/leveldb/db/db_impl.cc
9770s0%1].Add(stats);
9870s0%'[' macos == macos ']'
9880s0%echo
9890s0%'[' -z 1 ']'
9900s0%'[' '' = true ']'
9910s0%BITCOIN_CONFIG_ALL='-DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON'
9920s0%'[' -z 1 ']'
9930s0%'[' -z '' ']'
9940s0%BITCOIN_CONFIG_ALL='-DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DWERROR=ON'
9950s0%ccache --zero-stats
9970s0%PRINT_CCACHE_STATISTICS='ccache --version | head -n 1 && ccache --show-stats'
9980s0%BASE_BUILD_DIR=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/build-aarch64-apple-darwin24.6.0
9990s0%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'
10000s0%[[ '' == true ]]
10010s0%[[ false == true ]]
10020s0%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 --preset=dev-mode -DWITH_USDT=OFF -DREDUCE_EXPORTS=ON -DCMAKE_EXE_LINKER_FLAGS='\''-Wl,-stack_size -Wl,0x80000'\'' )'
10030s0%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 --preset=dev-mode -DWITH_USDT=OFF -DREDUCE_EXPORTS=ON -DCMAKE_EXE_LINKER_FLAGS='-Wl,-stack_size -Wl,0x80000')
10042s0%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 --preset=dev-mode -DWITH_USDT=OFF -DREDUCE_EXPORTS=ON '-DCMAKE_EXE_LINKER_FLAGS=-Wl,-stack_size -Wl,0x80000'
100834s1%- skipped
13010s0%- skipped
13350s0%compiler .......................... AppleClang 16.0.0.16000026, /usr/bin/c++
13382s0%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
13510s0%[[ install deploy != all ]]
13520s0%[[ install deploy != codegen ]]
13530s0%GOAL='all install deploy'
135417m17s42%cmake --build /Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/build-aarch64-apple-darwin24.6.0 -j3 --target all install deploy
24940s0%bash -c 'ccache --version | head -n 1 && ccache --show-stats'
25880s0%Copying source bundle +
25890s0%Deploying frameworks +
26260s0%Adding Qt translations +
26270s0%Installing qt.conf +
26280s0%Done +
26400s0%ccache --show-stats
26410s0%grep Hits:
26420s0%head -1
26430s0%sed 's/.*(\(.*\)%).*/\1/'
26440s0%hit_rate=53.25
26450s0%'[' 53 -lt 75 ']'
26470s0%echo '::notice title=low ccache hitrate::Ccache hit-rate in ci_mac_native was 53.25%'
26480s0%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/
26520s0%du -sh /Users/runner/work/bitcoin/bitcoin/repo_archive/prev_releases
26570s0%'[' -n '' ']'
26580s0%'[' -n '' ']'
26590s0%'[' '' = true ']'
26600s0%'[' true = true ']'
26610s0%DIR_UNIT_TEST_DATA=/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/qa-assets/unit_test_data/
26620s0%LD_LIBRARY_PATH=/Users/runner/work/bitcoin/bitcoin/repo_archive/depends/aarch64-apple-darwin24.6.0/lib
26630s0%CTEST_OUTPUT_ON_FAILURE=ON
266459s2%ctest --test-dir /Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/build-aarch64-apple-darwin24.6.0 --stop-on-failure -j3 --timeout 2400
29750s0%'[' true = true ']'
29770s0%eval 'TEST_RUNNER_EXTRA=()'
29790s0%TEST_RUNNER_EXTRA=()
29810s0%LD_LIBRARY_PATH=/Users/runner/work/bitcoin/bitcoin/repo_archive/depends/aarch64-apple-darwin24.6.0/lib
298217m1s41%/Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/build-aarch64-apple-darwin24.6.0/test/functional/test_runner.py -j3 --tmpdirprefix /Users/runner/work/bitcoin/bitcoin/repo_archive/ci/scratch/test_runner/ --ansi --combinedlogslen=99999999 --timeout-factor=40 --quiet --failfast
40110s0%'[' false = true ']'
40130s0%[[ '' == true ]]
40155s0%'[' false = true ']'
Tags
  • macOS native
  • 2026-11-followup_33822
  • COMPLETED