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

E2E tests: catch panics from processes #9

Open
kpp opened this issue Aug 29, 2024 · 0 comments
Open

E2E tests: catch panics from processes #9

kpp opened this issue Aug 29, 2024 · 0 comments
Assignees

Comments

@kpp
Copy link
Contributor

kpp commented Aug 29, 2024

Summary

thread 'tokio-runtime-worker' panicked at bin/citrea/tests/test_client/mod.rs:66:14:
called `Result::unwrap()` on an `Err` value: Transport(Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }))

Steps to reproduce

  1. SKIP_GUEST_BUILD=1 RUST_BACKTRACE=0 make test basic_prover_test -- --nocapture

Then in stdout it actually failed to start prover:

/tmp/.tmp31cPoG/prover$ cat stdout.log 
2024-08-29T10:30:39.314520Z  INFO bitcoin_da::service: No pending transactions found
2024-08-29T10:30:39.365385Z  INFO sov_schema_db: Opened RocksDB. rocksdb_name="ledger-db"
2024-08-29T10:30:41.150422Z ERROR panic: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Elf parse error: Could not read bytes in range [0x0, 0x10)': crates/risc0-bonsai/src/host.rs:98

Expected Result

Panic to propagate from prover process up to test code

@jfldde jfldde self-assigned this Sep 10, 2024
@jfldde jfldde transferred this issue from chainwayxyz/citrea Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants