Skip to content

ci: make CI job fail when check-deps.sh script fails

Cirrus CI / lint failed Oct 1, 2024 in 1m 32s

Task Summary

Instruction lint failed in 00:37

Details

✅ 00:04 clone
✅ 00:10 merge_base
✅ 00:01 test_runner
✅ 00:05 python
✅ 00:31 unshallow
❌ 00:37 lint

[13:21:52.819] ++ git rev-list -1 --merges HEAD
[13:21:52.821] + '[' 2ef7c332977e85cd15795b5fe3344a14f62e5bf2 '!=' 2ef7c332977e85cd15795b5fe3344a14f62e5bf2 ']'
[13:21:52.821] + export COMMIT_RANGE
[13:21:52.821] + echo
[13:21:52.821] 
[13:21:52.821] + git log --no-merges --oneline HEAD~..HEAD
[13:21:52.824] 39d60de9c6 ci: make CI job fail when check-deps.sh script fails
[13:21:52.824] f152bdf8ff common: move pcp.cpp and netif.cpp files from util to common library since they depend on netaddress.cpp
[13:21:52.825] + echo
[13:21:52.825] 
[13:21:52.825] + test/lint/commit-script-check.sh HEAD~..HEAD
[13:21:52.860] + RUST_BACKTRACE=1
[13:21:52.860] + /lint_test_runner/test_runner
[13:21:53.224] Args used        : 215
[13:21:53.224] Args documented  : 227
[13:21:53.224] Args undocumented: 0
[13:21:53.224] set()
[13:21:53.224] Args unknown     : 12
[13:21:53.224] {'-zmqpubrawtxhwm', '-zmqpubrawblock', '-zmqpubhashtx', '-includeconf', '-zmqpubsequencehwm', '-zmqpubsequence', '-zmqpubhashtxhwm', '-zmqpubrawtx', '-zmqpubhashblock', '-zmqpubrawblockhwm', '-zmqpubhashblockhwm', '-testdatadir'}
[13:21:59.723] All checks passed!
[13:21:59.945] src/crc32c in HEAD currently refers to tree 454691a9b89ee8b9e1f71a48a7398edba49c3805
[13:21:59.948] src/crc32c in HEAD was last updated in commit 5d45552fd4303f8d668ffbc50cce1053485aeead (tree 454691a9b89ee8b9e1f71a48a7398edba49c3805)
[13:21:59.948] GOOD
[13:22:00.395] src/crypto/ctaes in HEAD currently refers to tree 1b6c31139a71f80245c09597c343936a8e41d021
[13:22:00.398] src/crypto/ctaes in HEAD was last updated in commit 8501bedd7508ac514385806e191aec21ee978891 (tree 1b6c31139a71f80245c09597c343936a8e41d021)
[13:22:00.398] GOOD
[13:22:00.510] src/leveldb in HEAD currently refers to tree cb176f0f0a9a93bcef89bdd70424cae01ad21629
[13:22:00.513] src/leveldb in HEAD was last updated in commit a37778d4d32b4ddeff96f68a130dc8da3a84b278 (tree cb176f0f0a9a93bcef89bdd70424cae01ad21629)
[13:22:00.513] GOOD
[13:22:00.551] src/minisketch in HEAD currently refers to tree 85cb93120ae68ef1f6fa597da30e18298848e0e9
[13:22:00.554] src/minisketch in HEAD was last updated in commit cb59af38e72ab189b052ec84e2d1027473235ba4 (tree 85cb93120ae68ef1f6fa597da30e18298848e0e9)
[13:22:00.554] GOOD
[13:22:00.574] src/secp256k1 in HEAD currently refers to tree 8664fa7a12899d879cab995b49d9457b22accf9d
[13:22:00.577] src/secp256k1 in HEAD was last updated in commit 611562806cf3fd3028e24e6c5a8e8dcb8805be38 (tree 8664fa7a12899d879cab995b49d9457b22accf9d)
[13:22:00.577] GOOD
[13:22:01.094] src/common/netif.h seems to be missing the expected include guard:
[13:22:01.094]   #ifndef BITCOIN_COMMON_NETIF_H
[13:22:01.094]   #define BITCOIN_COMMON_NETIF_H
[13:22:01.094]   ...
[13:22:01.094]   #endif // BITCOIN_COMMON_NETIF_H
[13:22:01.094] 
[13:22:01.094] src/common/pcp.h seems to be missing the expected include guard:
[13:22:01.094]   #ifndef BITCOIN_COMMON_PCP_H
[13:22:01.094]   #define BITCOIN_COMMON_PCP_H
[13:22:01.094]   ...
[13:22:01.094]   #endif // BITCOIN_COMMON_PCP_H
[13:22:01.094] 
[13:22:01.099] ^---- ⚠️ Failure generated from lint-include-guards.py
[13:22:03.115] src/ipc/protocol.h:57: neccessary ==> necessary
[13:22:03.115] src/pow.cpp:138: signficant ==> significant
[13:22:03.115] ^ Warning: codespell identified likely spelling errors. Any false positives? Add them to the list of ignored words in test/lint/spelling.ignore-words.txt
[13:22:21.882] Success: no issues found in 300 source files
[13:22:21.986] 
[13:22:21.986] ^---- ⚠️ Failure generated from lint check 'all_python_linters'!
[13:22:21.986] Run all linters of the form: test/lint/lint-*.py
����������������������������������������������������������������������������������������