Skip to content

test: less ambiguous error if bitcoind is missing

Cirrus CI / lint failed Jul 8, 2025 in 1m 5s

Task Summary

Instruction lint failed in 00:27

Details

✅ 00:02 clone
✅ 00:01 merge_base
✅ 00:32 unshallow
❌ 00:27 lint

[08:38:46.299] ++ git rev-list -1 --merges HEAD
[08:38:46.301] + '[' 985c296113ae44b35084ac932d1e19d37d87bb71 '!=' 985c296113ae44b35084ac932d1e19d37d87bb71 ']'
[08:38:46.301] + RUST_BACKTRACE=1
[08:38:46.301] + cargo run --manifest-path ./test/lint/test_runner/Cargo.toml
[08:38:46.402]    Compiling test_runner v0.1.0 (/tmp/cirrus-ci-build/test/lint/test_runner)
[08:38:47.497]     Finished dev [unoptimized + debuginfo] target(s) in 1.18s
[08:38:47.497]      Running `test/lint/test_runner/target/debug/test_runner`
[08:38:47.503] Checking commit range (HEAD~..HEAD):
[08:38:47.503] 1c554e1b2c test: less ambiguous error if bitcoind is missing
[08:38:47.503] 
[08:38:47.750] Args used        : 206
[08:38:47.750] Args documented  : 218
[08:38:47.750] Args undocumented: 0
[08:38:47.750] set()
[08:38:47.750] Args unknown     : 12
[08:38:47.750] {'-zmqpubrawblockhwm', '-zmqpubsequence', '-includeconf', '-zmqpubrawblock', '-zmqpubhashblock', '-zmqpubhashtx', '-zmqpubhashblockhwm', '-zmqpubhashtxhwm', '-zmqpubrawtxhwm', '-testdatadir', '-zmqpubsequencehwm', '-zmqpubrawtx'}
[08:38:51.720] test/functional/test_framework/test_framework.py:559:46: F541 [*] f-string without any placeholders
[08:38:51.720]     |
[08:38:51.720] 557 |                     self.log.error(f"Binary not found: {bin_path}")
[08:38:51.720] 558 |                     if v is None:
[08:38:51.720] 559 |                         raise AssertionError(f"bitcoind is missing, did you compile?")
[08:38:51.720]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ F541
[08:38:51.720] 560 |                     raise AssertionError("At least one release binary is missing. "
[08:38:51.720] 561 |                                          "Previous releases binaries can be downloaded via `test/get_previous_releases.py`.")
[08:38:51.720]     |
[08:38:51.720]     = help: Remove extraneous `f` prefix
[08:38:51.720] 
[08:38:51.720] Found 1 error.
[08:38:51.720] [*] 1 fixable with the `--fix` option.
[08:38:51.722] ^^^
[08:38:51.722] `ruff` found errors!
[08:38:51.722] ^---- ⚠️ Failure generated from lint check 'py_lint' (Lint Python code)!
[08:38:51.722] 
[08:38:51.722] 
[08:38:52.006] src/crc32c in HEAD currently refers to tree 454691a9b89ee8b9e1f71a48a7398edba49c3805
[08:38:52.008] src/crc32c in HEAD was last updated in commit 5d45552fd4303f8d668ffbc50cce1053485aeead (tree 454691a9b89ee8b9e1f71a48a7398edba49c3805)
[08:38:52.008] GOOD
[08:38:52.482] src/crypto/ctaes in HEAD currently refers to tree 1b6c31139a71f80245c09597c343936a8e41d021
[08:38:52.484] src/crypto/ctaes in HEAD was last updated in commit 8501bedd7508ac514385806e191aec21ee978891 (tree 1b6c31139a71f80245c09597c343936a8e41d021)
[08:38:52.484] GOOD
[08:38:52.504] src/ipc/libmultiprocess in HEAD currently refers to tree 918b3c8915a1163c2f7aba7df2ddddd8d295f037
[08:38:52.507] src/ipc/libmultiprocess in HEAD was last updated in commit 154af1eea1170f5626aa1c5f19cc77d1434bcc9d (tree 918b3c8915a1163c2f7aba7df2ddddd8d295f037)
[08:38:52.507] GOOD
[08:38:52.523] src/leveldb in HEAD currently refers to tree d14157fb2064132c65fef31feb2aba21d0aff025
[08:38:52.525] src/leveldb in HEAD was last updated in commit 240a4fb95d5b843826081807019cd405aa654e2b (tree d14157fb2064132c65fef31feb2aba21d0aff025)
[08:38:52.525] GOOD
[08:38:52.550] src/minisketch in HEAD currently refers to tree a79ef74c72212ddba7435e63769685157782ed6a
[08:38:52.552] src/minisketch in HEAD was last updated in commit bf25a0918f94524bda8e8fb7505d68a772e88b45 (tree a79ef74c72212ddba7435e63769685157782ed6a)
[08:38:52.552] GOOD
[08:38:52.592] src/secp256k1 in HEAD currently refers to tree b20631a75e1e5b5b5cd75b668f01d16508173c81
[08:38:52.595] src/secp256k1 in HEAD was last updated in commit c31fcaaad38b68fa170cf9fd900f2237c24016e3 (tree b20631a75e1e5b5b5cd75b668f01d16508173c81)
[08:38:52.595] GOOD
[08:39:00.532] doc/tor.md:62: occurences ==> occurrences
[08:39:00.532] ^ Warning: codespell identified likely spelling errors. Any false positives? Add them to the list of ignored words in test/lint/spelling.ignore-words.txt
[08:39:08.658] Success: no issues found in 298 source files
����