Task 62086611847

refactor: separate log generation from log handling

2026-01-31 14:06:58 completed pr/mlog 9569400e51aa04dbbb99f4ee9162bdacafa0a818


Commands that took longer than 1 second (total 16m45s)
linedurationpercentagecommand
8220s0%dirname ./ci/test/00_setup_env.sh
8230s0%cd ./ci/test/../../
8240s0%pwd
8250s0%BASE_READ_ONLY_DIR=/home/admin/actions-runner/_work/bitcoin/bitcoin
8260s0%export BASE_READ_ONLY_DIR
8270s0%export BASE_ROOT_DIR=/home/admin/actions-runner/_work/_temp
8280s0%BASE_ROOT_DIR=/home/admin/actions-runner/_work/_temp
8290s0%export DEPENDS_DIR=/home/admin/actions-runner/_work/_temp/depends
8300s0%DEPENDS_DIR=/home/admin/actions-runner/_work/_temp/depends
8310s0%export BASE_SCRATCH_DIR=/home/admin/actions-runner/_work/_temp/ci/scratch
8320s0%BASE_SCRATCH_DIR=/home/admin/actions-runner/_work/_temp/ci/scratch
8330s0%echo 'Setting specific values in env'
8340s0%'[' -n ./ci/test/00_setup_env_win64.sh ']'
8360s0%set -o errexit
8380s0%source ./ci/test/00_setup_env_win64.sh
8390s0%export LC_ALL=C.UTF-8
8400s0%LC_ALL=C.UTF-8
8410s0%export CONTAINER_NAME=ci_win64
8420s0%CONTAINER_NAME=ci_win64
8430s0%export CI_IMAGE_NAME_TAG=mirror.gcr.io/debian:trixie
8440s0%CI_IMAGE_NAME_TAG=mirror.gcr.io/debian:trixie
8450s0%export HOST=x86_64-w64-mingw32ucrt
8460s0%HOST=x86_64-w64-mingw32ucrt
8470s0%export 'PACKAGES=g++-mingw-w64-ucrt64 nsis'
8480s0%PACKAGES='g++-mingw-w64-ucrt64 nsis'
8490s0%export RUN_UNIT_TESTS=false
8500s0%RUN_UNIT_TESTS=false
8510s0%export RUN_FUNCTIONAL_TESTS=false
8520s0%RUN_FUNCTIONAL_TESTS=false
8530s0%export GOAL=deploy
8540s0%GOAL=deploy
8550s0%export 'BITCOIN_CONFIG= --preset=dev-mode -DENABLE_IPC=OFF -DWITH_USDT=OFF -DREDUCE_EXPORTS=ON -DCMAKE_CXX_FLAGS='\''-Wno-error=maybe-uninitialized'\'' '
8560s0%BITCOIN_CONFIG=' --preset=dev-mode -DENABLE_IPC=OFF -DWITH_USDT=OFF -DREDUCE_EXPORTS=ON -DCMAKE_CXX_FLAGS='\''-Wno-error=maybe-uninitialized'\'' '
8570s0%echo 'Fallback to default values in env (if not yet set)'
8580s0%command -v nproc
8590s0%nproc
8600s0%export MAKEJOBS=-j4
8610s0%MAKEJOBS=-j4
8620s0%export RUN_UNIT_TESTS=false
8630s0%RUN_UNIT_TESTS=false
8640s0%export RUN_FUNCTIONAL_TESTS=false
8650s0%RUN_FUNCTIONAL_TESTS=false
8660s0%export RUN_TIDY=false
8670s0%RUN_TIDY=false
8680s0%export TEST_RUNNER_TIMEOUT_FACTOR=40
8690s0%TEST_RUNNER_TIMEOUT_FACTOR=40
8700s0%export RUN_FUZZ_TESTS=false
8710s0%RUN_FUZZ_TESTS=false
8720s0%export BOOST_TEST_RANDOM=1
8730s0%BOOST_TEST_RANDOM=1
8740s0%export DEBIAN_FRONTEND=noninteractive
8750s0%DEBIAN_FRONTEND=noninteractive
8760s0%export CCACHE_MAXSIZE=500M
8770s0%CCACHE_MAXSIZE=500M
8780s0%export CCACHE_TEMPDIR=/tmp/.ccache-temp
8790s0%CCACHE_TEMPDIR=/tmp/.ccache-temp
8800s0%export CCACHE_COMPRESS=1
8810s0%CCACHE_COMPRESS=1
8820s0%export CCACHE_DIR=/home/admin/actions-runner/_work/_temp/ccache_dir
8830s0%CCACHE_DIR=/home/admin/actions-runner/_work/_temp/ccache_dir
8840s0%export BASE_OUTDIR=/home/admin/actions-runner/_work/_temp/ci/scratch/out
8850s0%BASE_OUTDIR=/home/admin/actions-runner/_work/_temp/ci/scratch/out
8860s0%export PREVIOUS_RELEASES_DIR=/home/admin/actions-runner/_work/_temp/previous_releases
8870s0%PREVIOUS_RELEASES_DIR=/home/admin/actions-runner/_work/_temp/previous_releases
8880s0%export 'CI_BASE_PACKAGES=build-essential pkgconf curl ca-certificates ccache python3-dev rsync git procps bison e2fsprogs cmake ninja-build'
8890s0%CI_BASE_PACKAGES='build-essential pkgconf curl ca-certificates ccache python3-dev rsync git procps bison e2fsprogs cmake ninja-build'
8900s0%export GOAL=deploy
8910s0%GOAL=deploy
8920s0%export DIR_QA_ASSETS=/home/admin/actions-runner/_work/_temp/ci/scratch/qa-assets
8930s0%DIR_QA_ASSETS=/home/admin/actions-runner/_work/_temp/ci/scratch/qa-assets
8940s0%export CI_RETRY_EXE=retry
8950s0%CI_RETRY_EXE=retry
8960s0%export CI_IMAGE_PLATFORM=linux
8970s0%CI_IMAGE_PLATFORM=linux
8980s0%set -o errexit
8990s0%./ci/test/02_run_container.py
9010s0%bash -c 'grep export ./ci/test/00_setup_env*.sh'
9020s0%cat /tmp/env-admin-ci_win64
93521s2%docker buildx build --file=/home/admin/actions-runner/_work/bitcoin/bitcoin/ci/test_imagefile --build-arg=CI_IMAGE_NAME_TAG=mirror.gcr.io/debian:trixie --build-arg=FILE_ENV=./ci/test/00_setup_env_win64.sh --build-arg=BASE_ROOT_DIR=/home/admin/actions-runner/_work/_temp --platform=linux --label=bitcoin-ci-test --tag=ci_win64 --cache-from type=gha,url=http://127.0.0.1:12321/,url_v2=http://127.0.0.1:12321/,scope=ci_win64 --load /home/admin/actions-runner/_work/bitcoin/bitcoin
10120s0%docker volume create ci_win64_ccache
10140s0%docker volume create ci_win64_depends
10160s0%docker volume create ci_win64_depends_sources
10180s0%docker volume create ci_win64_previous_releases
10200s0%docker network create --ipv6 --subnet 1111:1111::/112 ci-ip6net
10230s0%docker image prune --force --filter label=bitcoin-ci-test
10250s0%docker run --rm --interactive --detach --tty --cap-add=LINUX_IMMUTABLE --mount=type=bind,src=/home/admin/actions-runner/_work/bitcoin/bitcoin,dst=/home/admin/actions-runner/_work/bitcoin/bitcoin,readonly --mount=type=bind,src=/home/admin/actions-runner/_work/_temp/ccache_dir,dst=/home/admin/actions-runner/_work/_temp/ccache_dir --mount=type=bind,src=/home/admin/actions-runner/_work/_temp/depends/built,dst=/home/admin/actions-runner/_work/_temp/depends/built --mount=type=bind,src=/home/admin/actions-runner/_work/_temp/depends/sources,dst=/home/admin/actions-runner/_work/_temp/depends/sources --mount=type=bind,src=/home/admin/actions-runner/_work/_temp/previous_releases,dst=/home/admin/actions-runner/_work/_temp/previous_releases --mount=type=bind,src=/home/admin/actions-runner/_work/_temp/build,dst=/home/admin/actions-runner/_work/_temp/build --env-file=/tmp/env-admin-ci_win64 --name=ci_win64 --network=ci-ip6net --platform=linux ci_win64
10260s0%docker exec 669e87e693b1cd309faeee132c60213ab52655f305cb9e03482caea2068efe22 rsync --recursive --perms --stats --human-readable /home/admin/actions-runner/_work/bitcoin/bitcoin/ /home/admin/actions-runner/_work/_temp
10440s0%docker exec 669e87e693b1cd309faeee132c60213ab52655f305cb9e03482caea2068efe22 /home/admin/actions-runner/_work/_temp/ci/test/01_base_install.sh
10450s0%CFG_DONE=/home/admin/actions-runner/_work/_temp/ci.base-install-done
10460s0%cat /home/admin/actions-runner/_work/_temp/ci.base-install-done
10470s0%'[' done == done ']'
10490s0%echo 'Skip base install'
10500s0%exit 0
10510s0%docker exec 669e87e693b1cd309faeee132c60213ab52655f305cb9e03482caea2068efe22 /home/admin/actions-runner/_work/_temp/ci/test/03_test_script.sh
10520s0%cd /home/admin/actions-runner/_work/_temp
10530s0%export 'PATH=/path_with space:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
10540s0%PATH='/path_with space:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
10550s0%export ASAN_OPTIONS=detect_leaks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1
10560s0%ASAN_OPTIONS=detect_leaks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1
10570s0%export LSAN_OPTIONS=suppressions=/home/admin/actions-runner/_work/_temp/test/sanitizer_suppressions/lsan
10580s0%LSAN_OPTIONS=suppressions=/home/admin/actions-runner/_work/_temp/test/sanitizer_suppressions/lsan
10590s0%export TSAN_OPTIONS=suppressions=/home/admin/actions-runner/_work/_temp/test/sanitizer_suppressions/tsan:halt_on_error=1:second_deadlock_stack=1
10600s0%TSAN_OPTIONS=suppressions=/home/admin/actions-runner/_work/_temp/test/sanitizer_suppressions/tsan:halt_on_error=1:second_deadlock_stack=1
10610s0%export UBSAN_OPTIONS=suppressions=/home/admin/actions-runner/_work/_temp/test/sanitizer_suppressions/ubsan:print_stacktrace=1:halt_on_error=1:report_error_type=1
10620s0%UBSAN_OPTIONS=suppressions=/home/admin/actions-runner/_work/_temp/test/sanitizer_suppressions/ubsan:print_stacktrace=1:halt_on_error=1:report_error_type=1
10630s0%nproc
10640s0%echo 'Number of available processing units: 4'
10650s0%'[' '' == macos ']'
10660s0%free -m -h
10710s0%uname --kernel-name --kernel-release
10720s0%echo 'System info: Linux 6.14.0-37-generic'
10740s0%lscpu
10760s0%echo 'Free disk space:'
10770s0%df -h
11210s0%[[ ci_win64 == \c\i\_\n\a\t\i\v\e\_\a\s\a\n ]]
11220s0%export HOST=x86_64-w64-mingw32ucrt
11230s0%HOST=x86_64-w64-mingw32ucrt
11240s0%echo '=== BEGIN env ==='
11250s0%env
11780s0%echo '=== END env ==='
11790s0%[[ '' != true ]]
11810s0%tee /dev/fd/63
11820s0%patch -p1
11830s0%'[' false = true ']'
11840s0%'[' false = true ']'
11850s0%'[' '' == macos ']'
11860s0%echo
11880s0%b/src/leveldb/db/db_impl.cc
11980s0%1].Add(stats);
12000s0%'[' -z '' ']'
12010s0%[[ mirror.gcr.io/debian:trixie == *alpine* ]]
12020s0%SHELL_OPTS=CONFIG_SHELL=
12031s0%bash -c 'CONFIG_SHELL= make -j4 -C depends HOST=x86_64-w64-mingw32ucrt LOG=1'
12090s0%'[' '' = true ']'
12100s0%BITCOIN_CONFIG_ALL='-DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON'
12110s0%'[' -z '' ']'
12120s0%BITCOIN_CONFIG_ALL='-DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DCMAKE_TOOLCHAIN_FILE=/home/admin/actions-runner/_work/_temp/depends/x86_64-w64-mingw32ucrt/toolchain.cmake'
12130s0%'[' -z '' ']'
12140s0%BITCOIN_CONFIG_ALL='-DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DCMAKE_TOOLCHAIN_FILE=/home/admin/actions-runner/_work/_temp/depends/x86_64-w64-mingw32ucrt/toolchain.cmake -DWERROR=ON'
12150s0%ccache --zero-stats
12170s0%PRINT_CCACHE_STATISTICS='ccache --version | head -n 1 && ccache --show-stats'
12180s0%BASE_BUILD_DIR=/home/admin/actions-runner/_work/_temp/build
12190s0%BITCOIN_CONFIG_ALL='-DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DCMAKE_TOOLCHAIN_FILE=/home/admin/actions-runner/_work/_temp/depends/x86_64-w64-mingw32ucrt/toolchain.cmake -DWERROR=ON -DCMAKE_INSTALL_PREFIX=/home/admin/actions-runner/_work/_temp/ci/scratch/out -Werror=dev'
12200s0%[[ '' == true ]]
12210s0%[[ false == true ]]
12220s0%eval 'CMAKE_ARGS=(-DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DCMAKE_TOOLCHAIN_FILE=/home/admin/actions-runner/_work/_temp/depends/x86_64-w64-mingw32ucrt/toolchain.cmake -DWERROR=ON -DCMAKE_INSTALL_PREFIX=/home/admin/actions-runner/_work/_temp/ci/scratch/out -Werror=dev --preset=dev-mode -DENABLE_IPC=OFF -DWITH_USDT=OFF -DREDUCE_EXPORTS=ON -DCMAKE_CXX_FLAGS='\''-Wno-error=maybe-uninitialized'\'' )'
12230s0%CMAKE_ARGS=(-DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DCMAKE_TOOLCHAIN_FILE=/home/admin/actions-runner/_work/_temp/depends/x86_64-w64-mingw32ucrt/toolchain.cmake -DWERROR=ON -DCMAKE_INSTALL_PREFIX=/home/admin/actions-runner/_work/_temp/ci/scratch/out -Werror=dev --preset=dev-mode -DENABLE_IPC=OFF -DWITH_USDT=OFF -DREDUCE_EXPORTS=ON -DCMAKE_CXX_FLAGS='-Wno-error=maybe-uninitialized')
12240s0%cmake -S /home/admin/actions-runner/_work/_temp -B /home/admin/actions-runner/_work/_temp/build -DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DCMAKE_TOOLCHAIN_FILE=/home/admin/actions-runner/_work/_temp/depends/x86_64-w64-mingw32ucrt/toolchain.cmake -DWERROR=ON -DCMAKE_INSTALL_PREFIX=/home/admin/actions-runner/_work/_temp/ci/scratch/out -Werror=dev --preset=dev-mode -DENABLE_IPC=OFF -DWITH_USDT=OFF -DREDUCE_EXPORTS=ON -DCMAKE_CXX_FLAGS=-Wno-error=maybe-uninitialized
12469s0%- skipped
15710s0%compiler .......................... GNU 14.0.0, /bin/x86_64-w64-mingw32ucrt-g++
15740s0%compiler flags .................... -Wno-error=maybe-uninitialized -O2 -O2 -g -std=c++20 -Wa,-muse-unaligned-vector-move -fno-extended-identifiers -fmacro-prefix-map=/home/admin/actions-runner/_work/_temp/src=. -fstack-reuse=none -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -Wstack-protector -fstack-protector-all -fcf-protection=full -Werror -Wall -Wextra -Wformat -Wformat-security -Wvla -Wredundant-decls -Wdate-time -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wbidi-chars=any -Wundef -Wno-unused-parameter
15880s0%[[ deploy != all ]]
15890s0%[[ deploy != codegen ]]
15900s0%GOAL='all deploy'
159114m16s85%cmake --build /home/admin/actions-runner/_work/_temp/build -j4 --target all deploy
27400s0%bash -c 'ccache --version | head -n 1 && ccache --show-stats'
27520s0%ccache --show-stats
27530s0%grep Hits:
27540s0%head -1
27550s0%sed 's/.*(\(.*\)%).*/\1/'
27560s0%hit_rate=16.95
27580s0%'[' 16 -lt 75 ']'
27590s0%echo '::notice title=low ccache hitrate::Ccache hit-rate in ci_win64 was 16.95%'
27600s0%du -sh /home/admin/actions-runner/_work/_temp/depends/SDKs/ /home/admin/actions-runner/_work/_temp/depends/builders/ /home/admin/actions-runner/_work/_temp/depends/built/ /home/admin/actions-runner/_work/_temp/depends/hosts/ /home/admin/actions-runner/_work/_temp/depends/packages/ /home/admin/actions-runner/_work/_temp/depends/patches/ /home/admin/actions-runner/_work/_temp/depends/sdk-sources/ /home/admin/actions-runner/_work/_temp/depends/sources/ /home/admin/actions-runner/_work/_temp/depends/x86_64-w64-mingw32ucrt/
27700s0%du -sh /home/admin/actions-runner/_work/_temp/previous_releases
27720s0%'[' -n '' ']'
27730s0%'[' -n '' ']'
27740s0%'[' '' = true ']'
27750s0%'[' false = true ']'
27760s0%'[' false = true ']'
27770s0%'[' false = true ']'
27780s0%[[ '' == true ]]
27790s0%'[' false = true ']'
27811m7s6%docker container kill 669e87e693b1cd309faeee132c60213ab52655f305cb9e03482caea2068efe22
Tags
  • Windows-cross to x86_64, ucrt
  • pr/mlog
  • COMPLETED