Task 62006000062

test: Improve STRICTENC/DERSIG unit tests

2026-01-30 14:33:48 completed der 4dfb6eef70d719a79904cabc4519d7a725de130a


Commands that took longer than 1 second (total 15m7s)
linedurationpercentagecommand
8210s0%dirname ./ci/test/00_setup_env.sh
8220s0%cd ./ci/test/../../
8230s0%pwd
8240s0%BASE_READ_ONLY_DIR=/home/admin/actions-runner/_work/bitcoin/bitcoin
8250s0%export BASE_READ_ONLY_DIR
8260s0%export BASE_ROOT_DIR=/home/admin/actions-runner/_work/_temp
8270s0%BASE_ROOT_DIR=/home/admin/actions-runner/_work/_temp
8280s0%export DEPENDS_DIR=/home/admin/actions-runner/_work/_temp/depends
8290s0%DEPENDS_DIR=/home/admin/actions-runner/_work/_temp/depends
8300s0%export BASE_SCRATCH_DIR=/home/admin/actions-runner/_work/_temp/ci/scratch
8310s0%BASE_SCRATCH_DIR=/home/admin/actions-runner/_work/_temp/ci/scratch
8320s0%echo 'Setting specific values in env'
8330s0%'[' -n ./ci/test/00_setup_env_native_previous_releases.sh ']'
8340s0%set -o errexit
8350s0%source ./ci/test/00_setup_env_native_previous_releases.sh
8360s0%export LC_ALL=C.UTF-8
8370s0%LC_ALL=C.UTF-8
8380s0%export CONTAINER_NAME=ci_native_previous_releases
8390s0%CONTAINER_NAME=ci_native_previous_releases
8400s0%export CI_IMAGE_NAME_TAG=mirror.gcr.io/ubuntu:22.04
8410s0%CI_IMAGE_NAME_TAG=mirror.gcr.io/ubuntu:22.04
8420s0%export 'PACKAGES=gcc-12 g++-12 python3-zmq'
8430s0%PACKAGES='gcc-12 g++-12 python3-zmq'
8440s0%export 'DEP_OPTS=CC=gcc-12 CXX=g++-12'
8450s0%DEP_OPTS='CC=gcc-12 CXX=g++-12'
8460s0%export 'TEST_RUNNER_EXTRA=--previous-releases --coverage --extended --exclude feature_dbcrash'
8470s0%TEST_RUNNER_EXTRA='--previous-releases --coverage --extended --exclude feature_dbcrash'
8480s0%export GOAL=install
8490s0%GOAL=install
8500s0%export CI_LIMIT_STACK_SIZE=1
8510s0%CI_LIMIT_STACK_SIZE=1
8520s0%export DOWNLOAD_PREVIOUS_RELEASES=true
8530s0%DOWNLOAD_PREVIOUS_RELEASES=true
8540s0%export 'BITCOIN_CONFIG= --preset=dev-mode -DREDUCE_EXPORTS=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS='\''-funsigned-char'\'' -DCMAKE_C_FLAGS_DEBUG='\''-g2 -O2'\'' -DCMAKE_CXX_FLAGS='\''-funsigned-char'\'' -DCMAKE_CXX_FLAGS_DEBUG='\''-g2 -O2'\'' -DAPPEND_CPPFLAGS='\''-DBOOST_MULTI_INDEX_ENABLE_SAFE_MODE'\'' '
8550s0%BITCOIN_CONFIG=' --preset=dev-mode -DREDUCE_EXPORTS=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS='\''-funsigned-char'\'' -DCMAKE_C_FLAGS_DEBUG='\''-g2 -O2'\'' -DCMAKE_CXX_FLAGS='\''-funsigned-char'\'' -DCMAKE_CXX_FLAGS_DEBUG='\''-g2 -O2'\'' -DAPPEND_CPPFLAGS='\''-DBOOST_MULTI_INDEX_ENABLE_SAFE_MODE'\'' '
8560s0%echo 'Fallback to default values in env (if not yet set)'
8590s0%command -v nproc
8600s0%nproc
8610s0%export MAKEJOBS=-j8
8620s0%MAKEJOBS=-j8
8630s0%export RUN_UNIT_TESTS=true
8640s0%RUN_UNIT_TESTS=true
8650s0%export RUN_FUNCTIONAL_TESTS=true
8660s0%RUN_FUNCTIONAL_TESTS=true
8670s0%export RUN_TIDY=false
8680s0%RUN_TIDY=false
8690s0%export TEST_RUNNER_TIMEOUT_FACTOR=40
8700s0%TEST_RUNNER_TIMEOUT_FACTOR=40
8710s0%export RUN_FUZZ_TESTS=false
8720s0%RUN_FUZZ_TESTS=false
8730s0%export BOOST_TEST_RANDOM=1
8740s0%BOOST_TEST_RANDOM=1
8750s0%export DEBIAN_FRONTEND=noninteractive
8760s0%DEBIAN_FRONTEND=noninteractive
8770s0%export CCACHE_MAXSIZE=500M
8780s0%CCACHE_MAXSIZE=500M
8790s0%export CCACHE_TEMPDIR=/tmp/.ccache-temp
8800s0%CCACHE_TEMPDIR=/tmp/.ccache-temp
8810s0%export CCACHE_COMPRESS=1
8820s0%CCACHE_COMPRESS=1
8830s0%export CCACHE_DIR=/home/admin/actions-runner/_work/_temp/ccache_dir
8840s0%CCACHE_DIR=/home/admin/actions-runner/_work/_temp/ccache_dir
8850s0%export BASE_OUTDIR=/home/admin/actions-runner/_work/_temp/ci/scratch/out
8860s0%BASE_OUTDIR=/home/admin/actions-runner/_work/_temp/ci/scratch/out
8870s0%export PREVIOUS_RELEASES_DIR=/home/admin/actions-runner/_work/_temp/previous_releases
8880s0%PREVIOUS_RELEASES_DIR=/home/admin/actions-runner/_work/_temp/previous_releases
8890s0%export 'CI_BASE_PACKAGES=build-essential pkgconf curl ca-certificates ccache python3-dev rsync git procps bison e2fsprogs cmake ninja-build'
8900s0%CI_BASE_PACKAGES='build-essential pkgconf curl ca-certificates ccache python3-dev rsync git procps bison e2fsprogs cmake ninja-build'
8910s0%export GOAL=install
8920s0%GOAL=install
8930s0%export DIR_QA_ASSETS=/home/admin/actions-runner/_work/_temp/ci/scratch/qa-assets
8940s0%DIR_QA_ASSETS=/home/admin/actions-runner/_work/_temp/ci/scratch/qa-assets
8950s0%export CI_RETRY_EXE=retry
8960s0%CI_RETRY_EXE=retry
8970s0%export CI_IMAGE_PLATFORM=linux
8980s0%CI_IMAGE_PLATFORM=linux
8990s0%set -o errexit
9000s0%./ci/test/02_run_container.py
9020s0%bash -c 'grep export ./ci/test/00_setup_env*.sh'
9030s0%cat /tmp/env-admin-ci_native_previous_releases
93932s3%docker buildx build --file=/home/admin/actions-runner/_work/bitcoin/bitcoin/ci/test_imagefile --build-arg=CI_IMAGE_NAME_TAG=mirror.gcr.io/ubuntu:22.04 --build-arg=FILE_ENV=./ci/test/00_setup_env_native_previous_releases.sh --build-arg=BASE_ROOT_DIR=/home/admin/actions-runner/_work/_temp --platform=linux --label=bitcoin-ci-test --tag=ci_native_previous_releases --cache-from type=gha,url=http://127.0.0.1:12321/,url_v2=http://127.0.0.1:12321/,scope=ci_native_previous_releases --load /home/admin/actions-runner/_work/bitcoin/bitcoin
10130s0%docker volume create ci_native_previous_releases_ccache
10150s0%docker volume create ci_native_previous_releases_depends
10170s0%docker volume create ci_native_previous_releases_depends_sources
10190s0%docker volume create ci_native_previous_releases_previous_releases
10210s0%docker network create --ipv6 --subnet 1111:1111::/112 ci-ip6net
10240s0%docker image prune --force --filter label=bitcoin-ci-test
10260s0%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_native_previous_releases --name=ci_native_previous_releases --network=ci-ip6net --platform=linux ci_native_previous_releases
10270s0%docker exec bd552792dd81245927c5df8fb91d397c0b52794403e6832078cc9c5f550c92af rsync --recursive --perms --stats --human-readable /home/admin/actions-runner/_work/bitcoin/bitcoin/ /home/admin/actions-runner/_work/_temp
10450s0%docker exec bd552792dd81245927c5df8fb91d397c0b52794403e6832078cc9c5f550c92af /home/admin/actions-runner/_work/_temp/ci/test/01_base_install.sh
10460s0%CFG_DONE=/home/admin/actions-runner/_work/_temp/ci.base-install-done
10470s0%cat /home/admin/actions-runner/_work/_temp/ci.base-install-done
10480s0%'[' done == done ']'
10500s0%echo 'Skip base install'
10510s0%exit 0
10520s0%docker exec bd552792dd81245927c5df8fb91d397c0b52794403e6832078cc9c5f550c92af /home/admin/actions-runner/_work/_temp/ci/test/03_test_script.sh
10530s0%cd /home/admin/actions-runner/_work/_temp
10540s0%export 'PATH=/path_with space:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
10550s0%PATH='/path_with space:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
10560s0%export ASAN_OPTIONS=detect_leaks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1
10570s0%ASAN_OPTIONS=detect_leaks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1
10580s0%export LSAN_OPTIONS=suppressions=/home/admin/actions-runner/_work/_temp/test/sanitizer_suppressions/lsan
10590s0%LSAN_OPTIONS=suppressions=/home/admin/actions-runner/_work/_temp/test/sanitizer_suppressions/lsan
10600s0%export TSAN_OPTIONS=suppressions=/home/admin/actions-runner/_work/_temp/test/sanitizer_suppressions/tsan:halt_on_error=1:second_deadlock_stack=1
10610s0%TSAN_OPTIONS=suppressions=/home/admin/actions-runner/_work/_temp/test/sanitizer_suppressions/tsan:halt_on_error=1:second_deadlock_stack=1
10620s0%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
10630s0%UBSAN_OPTIONS=suppressions=/home/admin/actions-runner/_work/_temp/test/sanitizer_suppressions/ubsan:print_stacktrace=1:halt_on_error=1:report_error_type=1
10640s0%nproc
10650s0%echo 'Number of available processing units: 8'
10660s0%'[' '' == macos ']'
10670s0%free -m -h
10720s0%uname --kernel-name --kernel-release
10730s0%echo 'System info: Linux 6.14.0-37-generic'
10750s0%lscpu
11080s0%echo 'Free disk space:'
11090s0%df -h
11300s0%[[ ci_native_previous_releases == \c\i\_\n\a\t\i\v\e\_\a\s\a\n ]]
11310s0%/home/admin/actions-runner/_work/_temp/depends/config.guess
11320s0%export HOST=x86_64-pc-linux-gnu
11340s0%HOST=x86_64-pc-linux-gnu
11350s0%echo '=== BEGIN env ==='
11360s0%env
11840s0%echo '=== END env ==='
11850s0%[[ '' != true ]]
11860s0%tee /dev/fd/63
11870s0%patch -p1
11900s0%b/src/leveldb/db/db_impl.cc
12000s0%1].Add(stats);
12010s0%'[' false = true ']'
12020s0%'[' true = true ']'
12030s0%export DIR_UNIT_TEST_DATA=/home/admin/actions-runner/_work/_temp/ci/scratch/qa-assets/unit_test_data/
12040s0%DIR_UNIT_TEST_DATA=/home/admin/actions-runner/_work/_temp/ci/scratch/qa-assets/unit_test_data/
12050s0%'[' '!' -d /home/admin/actions-runner/_work/_temp/ci/scratch/qa-assets/unit_test_data/ ']'
12060s0%mkdir -p /home/admin/actions-runner/_work/_temp/ci/scratch/qa-assets/unit_test_data/
12081s0%retry curl --location --fail https://github.com/bitcoin-core/qa-assets/raw/main/unit_test_data/script_assets_test.json -o /home/admin/actions-runner/_work/_temp/ci/scratch/qa-assets/unit_test_data//script_assets_test.json
12180s0%'[' '' == macos ']'
12190s0%echo
12200s0%'[' -z '' ']'
12210s0%[[ mirror.gcr.io/ubuntu:22.04 == *alpine* ]]
12220s0%SHELL_OPTS=CONFIG_SHELL=
12235s0%bash -c 'CONFIG_SHELL= make -j8 -C depends HOST=x86_64-pc-linux-gnu CC=gcc-12 CXX=g++-12 LOG=1'
12370s0%'[' true = true ']'
12380s0%test/get_previous_releases.py --target-dir /home/admin/actions-runner/_work/_temp/previous_releases
12480s0%BITCOIN_CONFIG_ALL='-DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON'
12490s0%'[' -z '' ']'
12500s0%BITCOIN_CONFIG_ALL='-DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DCMAKE_TOOLCHAIN_FILE=/home/admin/actions-runner/_work/_temp/depends/x86_64-pc-linux-gnu/toolchain.cmake'
12510s0%'[' -z '' ']'
12520s0%BITCOIN_CONFIG_ALL='-DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DCMAKE_TOOLCHAIN_FILE=/home/admin/actions-runner/_work/_temp/depends/x86_64-pc-linux-gnu/toolchain.cmake -DWERROR=ON'
12530s0%ccache --zero-stats
12550s0%PRINT_CCACHE_STATISTICS='ccache --version | head -n 1 && ccache --show-stats'
12560s0%BASE_BUILD_DIR=/home/admin/actions-runner/_work/_temp/build
12570s0%BITCOIN_CONFIG_ALL='-DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DCMAKE_TOOLCHAIN_FILE=/home/admin/actions-runner/_work/_temp/depends/x86_64-pc-linux-gnu/toolchain.cmake -DWERROR=ON -DCMAKE_INSTALL_PREFIX=/home/admin/actions-runner/_work/_temp/ci/scratch/out -Werror=dev'
12580s0%[[ '' == true ]]
12590s0%[[ false == true ]]
12600s0%eval 'CMAKE_ARGS=(-DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DCMAKE_TOOLCHAIN_FILE=/home/admin/actions-runner/_work/_temp/depends/x86_64-pc-linux-gnu/toolchain.cmake -DWERROR=ON -DCMAKE_INSTALL_PREFIX=/home/admin/actions-runner/_work/_temp/ci/scratch/out -Werror=dev --preset=dev-mode -DREDUCE_EXPORTS=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS='\''-funsigned-char'\'' -DCMAKE_C_FLAGS_DEBUG='\''-g2 -O2'\'' -DCMAKE_CXX_FLAGS='\''-funsigned-char'\'' -DCMAKE_CXX_FLAGS_DEBUG='\''-g2 -O2'\'' -DAPPEND_CPPFLAGS='\''-DBOOST_MULTI_INDEX_ENABLE_SAFE_MODE'\'' )'
12610s0%CMAKE_ARGS=(-DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DCMAKE_TOOLCHAIN_FILE=/home/admin/actions-runner/_work/_temp/depends/x86_64-pc-linux-gnu/toolchain.cmake -DWERROR=ON -DCMAKE_INSTALL_PREFIX=/home/admin/actions-runner/_work/_temp/ci/scratch/out -Werror=dev --preset=dev-mode -DREDUCE_EXPORTS=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS='-funsigned-char' -DCMAKE_C_FLAGS_DEBUG='-g2 -O2' -DCMAKE_CXX_FLAGS='-funsigned-char' -DCMAKE_CXX_FLAGS_DEBUG='-g2 -O2' -DAPPEND_CPPFLAGS='-DBOOST_MULTI_INDEX_ENABLE_SAFE_MODE')
12620s0%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-pc-linux-gnu/toolchain.cmake -DWERROR=ON -DCMAKE_INSTALL_PREFIX=/home/admin/actions-runner/_work/_temp/ci/scratch/out -Werror=dev --preset=dev-mode -DREDUCE_EXPORTS=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS=-funsigned-char '-DCMAKE_C_FLAGS_DEBUG=-g2 -O2' -DCMAKE_CXX_FLAGS=-funsigned-char '-DCMAKE_CXX_FLAGS_DEBUG=-g2 -O2' -DAPPEND_CPPFLAGS=-DBOOST_MULTI_INDEX_ENABLE_SAFE_MODE
12970s0%include pthread.h
12988s0%include pthread.h - found
16850s0%compiler .......................... GNU 12.3.0, /bin/g++-12
16880s0%compiler flags .................... -funsigned-char -g2 -O2 -std=c++20 -fPIC -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 -fstack-clash-protection -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 -DBOOST_MULTI_INDEX_ENABLE_SAFE_MODE
17020s0%[[ install != all ]]
17030s0%[[ install != codegen ]]
17040s0%GOAL='all install'
17056m42s44%cmake --build /home/admin/actions-runner/_work/_temp/build -j8 --target all install
28890s0%bash -c 'ccache --version | head -n 1 && ccache --show-stats'
29050s0%ccache --show-stats
29060s0%grep Hits:
29070s0%head -1
29080s0%sed 's/.*(\(.*\)%).*/\1/'
29090s0%hit_rate='12.06 '
29110s0%'[' 12 -lt 75 ']'
29120s0%echo '::notice title=low ccache hitrate::Ccache hit-rate in ci_native_previous_releases was 12.06 %'
29130s0%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/work/ /home/admin/actions-runner/_work/_temp/depends/x86_64-pc-linux-gnu/
29240s0%du -sh /home/admin/actions-runner/_work/_temp/previous_releases
29260s0%'[' -n 1 ']'
29270s0%ulimit -s 512
29280s0%'[' -n '' ']'
29290s0%'[' '' = true ']'
29300s0%'[' true = true ']'
29310s0%DIR_UNIT_TEST_DATA=/home/admin/actions-runner/_work/_temp/ci/scratch/qa-assets/unit_test_data/
29320s0%LD_LIBRARY_PATH=/home/admin/actions-runner/_work/_temp/depends/x86_64-pc-linux-gnu/lib
29330s0%CTEST_OUTPUT_ON_FAILURE=ON
293426s2%ctest --test-dir /home/admin/actions-runner/_work/_temp/build --stop-on-failure -j8 --timeout 2400
32490s0%'[' true = true ']'
32500s0%eval 'TEST_RUNNER_EXTRA=(--previous-releases --coverage --extended --exclude feature_dbcrash)'
32510s0%TEST_RUNNER_EXTRA=(--previous-releases --coverage --extended --exclude feature_dbcrash)
32520s0%LD_LIBRARY_PATH=/home/admin/actions-runner/_work/_temp/depends/x86_64-pc-linux-gnu/lib
32536m14s41%/home/admin/actions-runner/_work/_temp/build/test/functional/test_runner.py -j8 --tmpdirprefix /home/admin/actions-runner/_work/_temp/ci/scratch/test_runner/ --ansi --combinedlogslen=99999999 --timeout-factor=40 --previous-releases --coverage --extended --exclude feature_dbcrash --quiet --failfast
46380s0%'[' false = true ']'
46390s0%[[ '' == true ]]
46400s0%'[' false = true ']'
46426s0%docker container kill bd552792dd81245927c5df8fb91d397c0b52794403e6832078cc9c5f550c92af
Tags
  • previous releases
  • der
  • COMPLETED