Is there an existing issue for this?
- I have searched the existing issues
Current behaviour
Tested the 28.0rc2 packages from bitcoincore.org/bin for Linux x86_64, Darwin x86_64, and Darwin arm64.
Seeing consistent failures in the rc2 test_bitcoin
binary running:
- Docker with base image of Arch (1, 2, 3)
- Docker with base image of Debian (1, 2, 3), Ubuntu (1, 2, 3), and Kali (1, 2, 3)
- Docker with base image of openSUSE Leap (1, 2, 3), openSUSE Tumbleweed (1, 2, 3), and SUSE Enterprise (1, 2, 3)
rc2 test_bitcoin
is consistently NOT failing on the following:
- Ubuntu running on bare metal github CI runner (not in Docker)
- macOS 13 x86_64 and macOS 14 arm64 on bare metal github CI runner
- Docker with base image of Alpine, Clear Linux, Fedora, Manjaro, Oracle Linux, RHEL, and Rocky Linux
Also, test_bitcoin
was consistently NOT failing like this on 28.0rc1.
Expected behaviour
test_bitcoin
from pre-built package should return exit status 0 when run inside a Docker container.
Steps to reproduce
To reproduce the test_bitcoin
failures on 28.0rc2:
0git clone https://github.com/bitcoin-tools/nodebuilder
1cd nodebuilder/docker/
2docker build --build-arg NODEBUILDER_VERSION=f0194173557c364d929148952c6a28e2a8965f97 -f Dockerfile_archlinux .
3docker build --build-arg NODEBUILDER_VERSION=f0194173557c364d929148952c6a28e2a8965f97 -f Dockerfile_debian .
4docker build --build-arg NODEBUILDER_VERSION=f0194173557c364d929148952c6a28e2a8965f97 -f Dockerfile_kali .
5docker build --build-arg NODEBUILDER_VERSION=f0194173557c364d929148952c6a28e2a8965f97 -f Dockerfile_openususe-leap .
6docker build --build-arg NODEBUILDER_VERSION=f0194173557c364d929148952c6a28e2a8965f97 -f Dockerfile_opensuse-tumbleweed .
7docker build --build-arg NODEBUILDER_VERSION=f0194173557c364d929148952c6a28e2a8965f97 -f Dockerfile_sles .
8docker build --build-arg NODEBUILDER_VERSION=f0194173557c364d929148952c6a28e2a8965f97 .
To reproduce the expected behavior on 28.0rc1:
0docker build --build-arg NODEBUILDER_VERSION=f453fb64c665beabfce70fe037625215ea0e96bb -f Dockerfile_archlinux .
1docker build --build-arg NODEBUILDER_VERSION=f453fb64c665beabfce70fe037625215ea0e96bb -f Dockerfile_debian .
2docker build --build-arg NODEBUILDER_VERSION=f453fb64c665beabfce70fe037625215ea0e96bb -f Dockerfile_kali .
3docker build --build-arg NODEBUILDER_VERSION=f453fb64c665beabfce70fe037625215ea0e96bb -f Dockerfile_openususe-leap .
4docker build --build-arg NODEBUILDER_VERSION=f453fb64c665beabfce70fe037625215ea0e96bb -f Dockerfile_opensuse-tumbleweed .
5docker build --build-arg NODEBUILDER_VERSION=f453fb64c665beabfce70fe037625215ea0e96bb -f Dockerfile_sles .
6docker build --build-arg NODEBUILDER_VERSION=f453fb64c665beabfce70fe037625215ea0e96bb .
Commit hashes are taken from this PR.
Relevant log output
0[2024-09-20T13:36:14] INFO: Running the unit tests.
1
2Running 630 test cases...
3test/system_tests.cpp(61): error: in "system_tests/run_command": check what.find(tfm::format("RunCommandParseJSON error: process(%s) returned", command)) != std::string::npos has failed
4test/system_tests.cpp(62): error: in "system_tests/run_command": check what.find(expected) != std::string::npos has failed
5
6*** 2 failures are detected in the test module "Bitcoin Core Test Suite"
7
8[2024-09-20T13:39:42] ERROR: Unit tests failed.
9[2024-09-20T13:39:42] ERROR: Unhandled error at line 1.
10The command '/bin/sh -c /bin/sh -c "$(curl -fsSL ${NODEBUILDER_URL} )"' returned a non-zero code: 1
How did you obtain Bitcoin Core
Pre-built binaries
What version of Bitcoin Core are you using?
28.0rc2
Operating system and version
Docker on Ubuntu 24
Machine specifications
- Inside a Docker container on GitHub Actions CI
- Inside docker on my Ubuntu 24 local environment.