Page MenuHomePhabricator

[build-bot] Fix character escapes in ignore list
ClosedPublic

Authored by jasonbcox on Oct 15 2020, 16:28.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC2c98a843a474: [build-bot] Fix character escapes in ignore list
Summary

The ignore list used in production erroneously escapes the backslashes.
This can be verified by executing the following:

cd contrib/buildbot
python3   # the rest of the commands are in the python session:

f = open('./ignore-logs.txt', 'rb')
f.readlines()

Observe that the last array element has erroneously escaped backslashes:

b'err:ntdll:RtlpWaitForCriticalSection section \\\\w* "\\\\?" wait timed out in thread \\\\d*, blocked by \\\\d*, retrying\n'

This patch also converts the test instances to raw strings so that
the production and test data are testing similarly formatted strings.

Test Plan

pytest

Diff Detail

Event Timeline

Snippet of first build failure:

[357/415] bitcoin: testing serialize_tests
[358/415] Running utility command for check-bitcoin-walletdb_tests
[359/415] Running utility command for check-bitcoin-serialize_tests
[360/415] bitcoin: testing undo_tests
[361/415] bitcoin: testing cuckoocache_tests
[362/415] bitcoin: testing compilerbug_tests
[363/415] bitcoin: testing txvalidationcache_tests
[364/415] Running utility command for check-bitcoin-undo_tests
[365/415] Running utility command for check-bitcoin-cuckoocache_tests
[366/415] Running utility command for check-bitcoin-compilerbug_tests
[367/415] Running utility command for check-bitcoin-txvalidationcache_tests
[368/415] bitcoin: testing crypto_tests
[369/415] bitcoin: testing radix_tests
[370/415] Running utility command for check-bitcoin-crypto_tests
[371/415] Running utility command for check-bitcoin-radix_tests
[372/415] bitcoin: testing validationinterface_tests
[373/415] bitcoin: testing checkpoints_tests
[374/415] bitcoin: testing blockcheck_tests
[375/415] Running utility command for check-bitcoin-validationinterface_tests
[376/415] Running utility command for check-bitcoin-checkpoints_tests
[377/415] Running utility command for check-bitcoin-blockcheck_tests
[378/415] bitcoin: testing script_standard_tests
[379/415] Running utility command for check-bitcoin-script_standard_tests
[380/415] bitcoin: testing cashaddr_tests
[381/415] Running utility command for check-bitcoin-cashaddr_tests
[382/415] bitcoin: testing validation_tests
[383/415] bitcoin: testing blockstatus_tests
[384/415] secp256k1: testing secp256k1-exhaustive_tests
[385/415] Running utility command for check-bitcoin-blockstatus_tests
[386/415] Running utility command for check-bitcoin-validation_tests
[387/415] Running utility command for check-pow-aserti32d_tests
[388/415] Running pow test suite
PASSED: pow test suite
[389/415] bitcoin: testing getarg_tests
[390/415] bitcoin: testing script_tests
[391/415] Running utility command for check-bitcoin-getarg_tests
[392/415] Running utility command for check-bitcoin-script_tests
[393/415] bitcoin: testing versionbits_tests
[394/415] bitcoin: testing bswap_tests
[395/415] Running utility command for check-bitcoin-versionbits_tests
[396/415] Running utility command for check-bitcoin-bswap_tests
[397/415] bitcoin: testing skiplist_tests
[398/415] Running utility command for check-bitcoin-skiplist_tests
[399/415] bitcoin: testing monolith_opcodes_tests
[400/415] bitcoin: testing validation_block_tests
[401/415] Running utility command for check-bitcoin-monolith_opcodes_tests
[402/415] Running utility command for check-bitcoin-validation_block_tests
[403/415] bitcoin: testing op_reversebytes_tests
[404/415] Running utility command for check-bitcoin-op_reversebytes_tests
[405/415] bitcoin-qt: testing test_bitcoin-qt
[406/415] Running bitcoin-qt test suite
PASSED: bitcoin-qt test suite
[407/415] bitcoin: testing transaction_tests
[408/415] Running utility command for check-bitcoin-transaction_tests
[409/415] bitcoin: testing coins_tests
[410/415] Running utility command for check-bitcoin-coins_tests
[411/415] secp256k1: testing secp256k1-tests
[412/415] Running secp256k1 test suite
PASSED: secp256k1 test suite
Build build-clang timed out after 1200.0s
This revision is now accepted and ready to land.Oct 15 2020, 18:31