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 test catch panic in client utils init-genesis call #160

Closed
tzemanovic opened this issue Jul 6, 2022 · 4 comments
Closed

e2e test catch panic in client utils init-genesis call #160

tzemanovic opened this issue Jul 6, 2022 · 4 comments
Assignees
Labels
bug Something isn't working testing

Comments

@tzemanovic
Copy link
Member

in anoma/anoma#1163 we ran into an issue that caused client utils init-genesis to panic, but e2e tests were failing without reporting the panic in the client, e.g.:

No unread output for command: "anoma/target/debug/anomac" "--base-dir" "/var/folders/8n/xzxk5c154qzg_chndqmzgfdr0000gp/T/.tmpNCrj6l" "--mode" "validator" "utils" "init-network" "--unsafe-dont-encrypt" "--genesis-path" "/var/folders/8n/xzxk5c154qzg_chndqmzgfdr0000gp/T/.tmpNCrj6l/e2e-test-genesis-src.toml" "--chain-prefix" "e2e-test" "--localhost" "--dont-archive" "--allow-duplicate-ip" "--wasm-checksums-path" "anoma/wasm/checksums.json"
Error:
   0: EOF was reached; the read may successed later
@tzemanovic tzemanovic added testing bug Something isn't working labels Jul 6, 2022
@tzemanovic
Copy link
Member Author

tzemanovic commented Jul 7, 2022

this only seems to happen with expectrl (#1095), rexpect didn't have this issue:

Error:
   0: EOF (End of File): Expected Regex: "Derived chain ID: .*\n" but got EOF after reading "The application panicked (crashed).

and it showed the location and trace

@tzemanovic tzemanovic transferred this issue from anoma/anoma Jul 7, 2022
@cwgoes
Copy link
Contributor

cwgoes commented Jan 13, 2023

@tzemanovic is this still applicable?

@tzemanovic
Copy link
Member Author

@tzemanovic is this still applicable?

I think this can still happen - would be nice to fix, because it's not clear what actually failed when it does happen

@tzemanovic
Copy link
Member Author

this is no longer an issue

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

No branches or pull requests

2 participants