Page MenuHomePhabricator

test: add functional test for anchors.dat
ClosedPublic

Authored by Fabien on Feb 2 2022, 15:14.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Commits
rABC4073c6917f9a: test: add functional test for anchors.dat
Summary
It creates a node and adds 2 outbound block-relay-only connections and 5 inbound connections.
When the node is down, anchors.dat should contain the 2 addresses from the outbound block-relay-only connections.

Backport of core#21338.

Ref T1696.

Test Plan
./test/functional/test_runner.py feature_anchors

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien requested review of this revision.Feb 2 2022, 15:14

Tail of the build log:

[399/458] bitcoin: testing finalization_tests
[400/458] Running utility command for check-bitcoin-finalization_tests
[401/458] bitcoin: testing merkleblock_tests
[402/458] bitcoin: testing bip32_tests
[403/458] Running utility command for check-bitcoin-merkleblock_tests
[404/458] Running utility command for check-bitcoin-bip32_tests
[405/458] bitcoin: testing scheduler_tests
[406/458] bitcoin: testing txvalidationcache_tests
[407/458] bitcoin: testing sync_tests
[408/458] Running utility command for check-bitcoin-scheduler_tests
[409/458] Running utility command for check-bitcoin-txvalidationcache_tests
[410/458] Running utility command for check-bitcoin-sync_tests
[411/458] bitcoin: testing torcontrol_tests
[412/458] bitcoin: testing cuckoocache_tests
[413/458] Running utility command for check-bitcoin-torcontrol_tests
[414/458] Running utility command for check-bitcoin-cuckoocache_tests
[415/458] bitcoin: testing settings_tests
[416/458] Running utility command for check-bitcoin-settings_tests
[417/458] bitcoin: testing timedata_tests
[418/458] bitcoin: testing streams_tests
[419/458] Running utility command for check-bitcoin-timedata_tests
[420/458] Running utility command for check-bitcoin-streams_tests
[421/458] bitcoin: testing validation_flush_tests
[422/458] bitcoin: testing op_reversebytes_tests
[423/458] bitcoin: testing compilerbug_tests
[424/458] bitcoin: testing blockcheck_tests
[425/458] Running utility command for check-bitcoin-op_reversebytes_tests
[426/458] bitcoin: testing checkpoints_tests
[427/458] Running utility command for check-bitcoin-validation_flush_tests
[428/458] Running utility command for check-bitcoin-compilerbug_tests
[429/458] Running utility command for check-bitcoin-blockcheck_tests
[430/458] Running utility command for check-bitcoin-checkpoints_tests
[431/458] bitcoin: testing serialize_tests
[432/458] Running utility command for check-bitcoin-serialize_tests
[433/458] bitcoin: testing schnorr_tests
[434/458] bitcoin: testing validationinterface_tests
[435/458] bitcoin: testing script_standard_tests
[436/458] Running utility command for check-bitcoin-schnorr_tests
[437/458] bitcoin: testing cashaddr_tests
[438/458] Running utility command for check-bitcoin-validationinterface_tests
[439/458] Running utility command for check-bitcoin-script_standard_tests
[440/458] Running utility command for check-bitcoin-cashaddr_tests
[441/458] bitcoin: testing transaction_tests
[442/458] Running utility command for check-bitcoin-transaction_tests
[443/458] bitcoin: testing versionbits_tests
[444/458] Running utility command for check-bitcoin-versionbits_tests
[445/458] bitcoin: testing crypto_tests
[446/458] bitcoin: testing script_tests
[447/458] Running utility command for check-bitcoin-crypto_tests
[448/458] Running utility command for check-bitcoin-script_tests
[449/458] bitcoin: testing monolith_opcodes_tests
[450/458] Running utility command for check-bitcoin-monolith_opcodes_tests
[451/458] bitcoin: testing intmath_tests
[452/458] Running utility command for check-bitcoin-intmath_tests
[453/458] bitcoin: testing coinselector_tests
[454/458] Running utility command for check-bitcoin-coinselector_tests
[455/458] bitcoin: testing coins_tests
[456/458] Running utility command for check-bitcoin-coins_tests
ninja: build stopped: cannot make progress due to previous errors.
Build build-clang failed with exit code 1

Unrelated failure, restarting the build

This revision is now accepted and ready to land.Feb 2 2022, 15:40
This revision was automatically updated to reflect the committed changes.