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

Hard failure in "rescue" test on Github runners #275

Open
dboreham opened this issue Jul 9, 2024 · 2 comments
Open

Hard failure in "rescue" test on Github runners #275

dboreham opened this issue Jul 9, 2024 · 2 comments
Assignees

Comments

@dboreham
Copy link
Contributor

dboreham commented Jul 9, 2024

Currently this test is disabled for stock runners because it fails:
https://github.com/0LNetworkCommunity/libra-framework/blob/main/.github/workflows/ci.yaml#L209

Same job passes in self-hosted runners, presumably due to some resource difference.

@dboreham dboreham self-assigned this Jul 9, 2024
@dboreham
Copy link
Contributor Author

Log tail from failed run:

Diem public info 000000000000000000000000000000000000000000000000000000000a550c18
Diem public info 000000000000000000000000000000000000000000000000000000000a550c18
Diem public info 000000000000000000000000000000000000000000000000000000000a550c18
1. generate framework upgrade writeset which should execute
2024-07-10T03:21:41.756910Z [test_framework_upgrade_writeset] INFO /home/runner/.cargo/git/checkouts/diem-7dee55d666bb1ba0/668b495/storage/schemadb/src/lib.rs:169 Opened RocksDB. {"rocksdb_name":"ledger_db"}
2024-07-10T03:21:41.756974Z [test_framework_upgrade_writeset] INFO /home/runner/.cargo/git/checkouts/diem-7dee55d666bb1ba0/668b495/storage/diemdb/src/ledger_db.rs:284 Opened ledger_db at "/tmp/.tmpW4J3zB/0/db/ledger_db"!
2024-07-10T03:21:41.756984Z [test_framework_upgrade_writeset] INFO /home/runner/.cargo/git/checkouts/diem-7dee55d666bb1ba0/668b495/storage/diemdb/src/ledger_db.rs:69 Opened ledger metadata db! {"ledger_metadata_db_path":"/tmp/.tmpW4J3zB/0/db/ledger_db"}
2024-07-10T03:21:41.756991Z [test_framework_upgrade_writeset] INFO /home/runner/.cargo/git/checkouts/diem-7dee55d666bb1ba0/668b495/storage/diemdb/src/ledger_db.rs:75 Individual ledger dbs are not enabled!
2024-07-10T03:21:41.756997Z [test_framework_upgrade_writeset] INFO /home/runner/.cargo/git/checkouts/diem-7dee55d666bb1ba0/668b495/storage/diemdb/src/state_kv_db.rs:43 State K/V DB is not enabled!
2024-07-10T03:21:41.759538Z [test_framework_upgrade_writeset] INFO /home/runner/.cargo/git/checkouts/diem-7dee55d666bb1ba0/668b495/storage/diemdb/src/state_merkle_db.rs:87 Sharded state merkle DB is not enabled!
2024-07-10T03:21:41.768119Z [test_framework_upgrade_writeset] INFO /home/runner/.cargo/git/checkouts/diem-7dee55d666bb1ba0/668b495/storage/schemadb/src/lib.rs:169 Opened RocksDB. {"rocksdb_name":"state_merkle_db"}
2024-07-10T03:21:41.768287Z [test_framework_upgrade_writeset] INFO /home/runner/.cargo/git/checkouts/diem-7dee55d666bb1ba0/668b495/storage/diemdb/src/state_store/mod.rs:380 Start syncing databases... {"overall_commit_progress":59}
2024-07-10T03:21:41.768317Z [test_framework_upgrade_writeset] INFO /home/runner/.cargo/git/checkouts/diem-7dee55d666bb1ba0/668b495/storage/diemdb/src/state_store/mod.rs:400 Start truncation... {"ledger_commit_progress":61}
thread 'test_framework_upgrade_writeset' panicked at /home/runner/.cargo/git/checkouts/diem-7dee55d666bb1ba0/668b495/storage/diemdb/src/state_store/mod.rs:415:18:
Failed to truncate ledger db.: Not implemented: Not supported operation in read only mode.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2024-07-10T03:21:41.769586Z [test_framework_upgrade_writeset] INFO /home/runner/.cargo/git/checkouts/diem-7dee55d666bb1ba0/668b495/storage/schemadb/src/lib.rs:304 Dropped RocksDB. {"rocksdb_name":"state_merkle_db"}
2024-07-10T03:21:41.770390Z [test_framework_upgrade_writeset] INFO /home/runner/.cargo/git/checkouts/diem-7dee55d666bb1ba0/668b495/storage/schemadb/src/lib.rs:304 Dropped RocksDB. {"rocksdb_name":"ledger_db"}
test dropped, running cleanup
Logs located at /tmp/.tmpW4J3zB

@dboreham
Copy link
Contributor Author

Run time is a bit suspicious:

rescue 1h 0m 14s

@dboreham dboreham changed the title OOM in "rescue" test on Github runners Hard failure in "rescue" test on Github runners Jul 12, 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

1 participant