Cirrus CI / lint
failed
May 14, 2025 in 1m 6s
Task Summary
Instruction lint failed in 00:26
Details
✅ 00:03 clone
✅ 00:01 merge_base
✅ 00:31 unshallow
❌ 00:26 lint
[11:06:35.660]
[11:06:35.660] num_groups = len(doc['testGroups'])
[11:06:35.660]
[11:06:35.660] -def to_c_array(x):
[11:06:35.660] - if x == "":
[11:06:35.660] - return ""
[11:06:35.660] - s = ',0x'.join(a+b for a,b in zip(x[::2], x[1::2]))
[11:06:35.660] - return "0x" + s
[11:06:35.660] -
[11:06:35.660]
[11:06:35.660] num_vectors = 0
[11:06:35.660] offset_msg_running, offset_pk_running, offset_sig = 0, 0, 0
[11:06:35.660] @@ -101,7 +97,7 @@ typedef struct {
[11:06:35.660] """
[11:06:35.660]
[11:06:35.660]
[11:06:35.660] -print("/* Note: this file was autogenerated using tests_wycheproof_generate.py. Do not edit. */")
[11:06:35.660] +print("/* Note: this file was autogenerated using tests_wycheproof_generate_ecdsa.py. Do not edit. */")
[11:06:35.660] print(f"#define SECP256K1_ECDSA_WYCHEPROOF_NUMBER_TESTVECTORS ({num_vectors})")
[11:06:35.660]
[11:06:35.660] print(struct_definition)
[11:06:35.660] diff --git a/tools/wycheproof_utils.py b/tools/wycheproof_utils.py
[11:06:35.660] new file mode 100644
[11:06:35.660] index 0000000000..e8d2edd08f
[11:06:35.660] --- /dev/null
[11:06:35.660] +++ b/tools/wycheproof_utils.py
[11:06:35.660] @@ -0,0 +1,12 @@
[11:06:35.660] +# Copyright (c) 2024 Random "Randy" Lattice and Sean Andersen
[11:06:35.660] +# Distributed under the MIT software license, see the accompanying
[11:06:35.660] +# file COPYING or https://www.opensource.org/licenses/mit-license.php.
[11:06:35.660] +'''
[11:06:35.660] +Utility functions for generating C files for testvectors from the Wycheproof project.
[11:06:35.660] +'''
[11:06:35.660] +
[11:06:35.660] +def to_c_array(x):
[11:06:35.660] + if x == "":
[11:06:35.660] + return ""
[11:06:35.660] + s = ',0x'.join(a + b for a, b in zip(x[::2], x[1::2]))
[11:06:35.660] + return "0x" + s
[11:06:35.661] FAIL: subtree directory was touched without subtree merge
[11:06:35.661] ^^^
[11:06:35.661]
[11:06:35.661] ^---- ⚠️ Failure generated from lint check 'subtree' (Check that subtrees are pure subtrees)!
[11:06:35.661]
[11:06:35.661]
[11:06:42.924] doc/release-notes-27826.md:1: Additionaly ==> Additionally
[11:06:42.924] doc/zmq.md:128: mesage ==> message
[11:06:42.924] src/common/netif.cpp:312: addreses ==> addresses
[11:06:42.924] src/test/fuzz/p2p_headers_presync.cpp:37: gloabl ==> global
[11:06:42.924] test/functional/data/rpc_psbt.json:83: ot ==> to, of, or, not
[11:06:42.924] test/functional/data/rpc_psbt.json:87: ot ==> to, of, or, not
[11:06:42.924] test/functional/data/rpc_psbt.json:91: ot ==> to, of, or, not
[11:06:42.924] test/functional/mining_basic.py:108: inteference ==> interference
[11:06:42.924] ^ Warning: codespell identified likely spelling errors. Any false positives? Add them to the list of ignored words in test/lint/spelling.ignore-words.txt
[11:06:49.290] Success: no issues found in 295 source files
����
Loading