Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[flake] avalanchego_conformance_sdk unit test::key #11

Open
exdx opened this issue Aug 31, 2023 · 2 comments
Open

[flake] avalanchego_conformance_sdk unit test::key #11

exdx opened this issue Aug 31, 2023 · 2 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@exdx
Copy link
Contributor

exdx commented Aug 31, 2023

See https://github.com/ava-labs/avalanche-rs/actions/runs/6040807095/job/16392431819 for an example flake.

Compiling avalanchego-conformance v0.0.0 (/home/runner/work/avalanche-rs/avalanche-rs/tests/avalanchego-conformance)
    Finished test [unoptimized + debuginfo] target(s) in 2m 36s
     Running unittests src/lib.rs (target/debug/deps/avalanchego_conformance-70b5c63bbd0deef4)

running 8 tests
[2023-08-31T18:03:21Z INFO  avalanchego_conformance_sdk] creating a new client with http://127.0.0.1:22342/
[2023-08-31T18:03:21Z INFO  avalanchego_conformance_sdk] creating a new client with http://127.0.0.1:22342/
thread 'tests::key::bls::generate_bls_signature' panicked at 'called `Result::unwrap()` on an `Err` value: tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })))', /home/runner/work/avalanche-rs/avalanche-rs/avalanchego-conformance-sdk/src/lib.rs:54:72
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
test tests::key::bls::generate_bls_signature ... FAILED
[2023-08-31T18:03:21Z INFO  avalanchego_conformance_sdk] creating a new client with http://127.0.0.1:22342/
thread 'tests::key::certificates::load_certificate_to_node_id' panicked at 'called `Result::unwrap()` on an `Err` value: tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })))', /home/runner/work/avalanche-rs/avalanche-rs/avalanchego-conformance-sdk/src/lib.rs:54:72
test tests::key::certificates::load_certificate_to_node_id ... FAILED
thread 'tests::key::certificates::generate_certificate_to_node_id' panicked at 'called `Result::unwrap()` on an `Err` value: tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })))', /home/runner/work/avalanche-rs/avalanche-rs/avalanchego-conformance-sdk/src/lib.rs:54:72
test tests::key::certificates::generate_certificate_to_node_id ... FAILED
[2023-08-31T18:03:21Z INFO  avalanchego_conformance_sdk] creating a new client with http://127.0.0.1:22342/
thread 'tests::key::secp256k1::generate' panicked at 'called `Result::unwrap()` on an `Err` value: tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })))', /home/runner/work/avalanche-rs/avalanche-rs/avalanchego-conformance-sdk/src/lib.rs:54:72
test tests::key::secp256k1::generate ... FAILED
[2023-08-31T18:03:21Z INFO  avalanchego_conformance_sdk] creating a new client with http://127.0.0.1:22342/
thread 'tests::key::secp256k1::recover_hash_public_key' panicked at 'called `Result::unwrap()` on an `Err` value: tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })))', /home/runner/work/avalanche-rs/avalanche-rs/avalanchego-conformance-sdk/src/lib.rs:54:72
test tests::key::secp256k1::recover_hash_public_key ... FAILED
[2023-08-31T18:03:21Z INFO  avalanchego_conformance_sdk] creating a new client with http://127.0.0.1:22342/
thread 'tests::key::secp256k1::load' panicked at 'called `Result::unwrap()` on an `Err` value: tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })))', /home/runner/work/avalanche-rs/avalanche-rs/avalanchego-conformance-sdk/src/lib.rs:54:72
[2023-08-31T18:03:21Z INFO  avalanchego_conformance_sdk] creating a new client with http://127.0.0.1:22342/
test tests::key::secp256k1::load ... FAILED
thread 'tests::packer::build_vertex::build_vertex' panicked at 'called `Result::unwrap()` on an `Err` value: tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })))', /home/runner/work/avalanche-rs/avalanche-rs/avalanchego-conformance-sdk/src/lib.rs:54:72
test tests::packer::build_vertex::build_vertex ... FAILED
[2023-08-31T18:03:21Z INFO  avalanchego_conformance_sdk] creating a new client with http://127.0.0.1:22342/
thread 'tests::ping' panicked at 'called `Result::unwrap()` on an `Err` value: tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })))', /home/runner/work/avalanche-rs/avalanche-rs/avalanchego-conformance-sdk/src/lib.rs:54:72
test tests::ping ... FAILED

successes:

successes:

failures:

failures:
    tests::key::bls::generate_bls_signature
    tests::key::certificates::generate_certificate_to_node_id
    tests::key::certificates::load_certificate_to_node_id
    tests::key::secp256k1::generate
    tests::key::secp256k1::load
    tests::key::secp256k1::recover_hash_public_key
    tests::packer::build_vertex::build_vertex
    tests::ping

test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

error: test failed, to rerun pass `-p avalanchego-conformance --lib`
@exdx exdx added bug Something isn't working good first issue Good for newcomers labels Aug 31, 2023
@Sanghren
Copy link

Sanghren commented Sep 1, 2023

I see this in the failed action run :

Caught SIGILL in blst_cgo_init, consult /bindings/go/README.md.

Trying to replicate it but so far no luck.

I've seen people talking about same kind of issue here https://github.com/orgs/community/discussions/43153 or https://hackmd.io/@inphi/SJMXL1P6c#Troubleshootingassistance that adding some env variable before running the avalanchego-conformance. But as per comments it does not seems 100% certain that it would help.

@exdx
Copy link
Contributor Author

exdx commented Sep 1, 2023

I see this in the failed action run :

Caught SIGILL in blst_cgo_init, consult /bindings/go/README.md.

Trying to replicate it but so far no luck.

I've seen people talking about same kind of issue here https://github.com/orgs/community/discussions/43153 or https://hackmd.io/@inphi/SJMXL1P6c#Troubleshootingassistance that adding some env variable before running the avalanchego-conformance. But as per comments it does not seems 100% certain that it would help.

Thanks for taking a look. I agree we need to debug further and potentially update the go version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants