Open noib3 opened 2 years ago
cargo test
fails for me too, except only when I pass in --features 23_0
. cargo test --features 22_0
passes just fine. Ran on bitcoind version 28.0
and rust 1.66.
Update:
bitcoind
version 0.30.0
, cargo test
passes on my mac with --features 23_0
and --features 24_0_1
.0.34.1
), cargo test
passes with --features 26_0
.Both tested with rust 1.79
.
I think this issue can be closed, unless someone else wants to confirm.
1.56
and1.63
cargo test
is failing on macOS with the following error message:Error msg
``` running 8 tests test test::test_local_ip ... ok test test::test_bitcoind_rpcuser_and_rpcpassword ... ok test test::test_bitcoind_rpcauth ... FAILED test test::test_multi_p2p ... FAILED test test::test_p2p ... FAILED test test::test_bitcoind ... FAILED test test::test_data_persistence ... FAILED test test::test_multi_wallet ... FAILED failures: ---- test::test_bitcoind_rpcauth stdout ---- thread 'test::test_bitcoind_rpcauth' panicked at 'called `Result::unwrap()` on an `Err` value: JsonRpc(Rpc(RpcError { code: -4, message: "Wallet file verification failed. SQLiteDatabase: Unable to obtain an exclusive lock on the database, is it being used by another instance of Bitcoin Core?\n", data: None }))', src/lib.rs:683:56 ---- test::test_multi_p2p stdout ---- thread 'test::test_multi_p2p' panicked at 'called `Result::unwrap()` on an `Err` value: JsonRpc(Rpc(RpcError { code: -4, message: "Wallet file verification failed. SQLiteDatabase: Unable to obtain an exclusive lock on the database, is it being used by another instance of Bitcoin Core?\n", data: None }))', src/lib.rs:573:75 ---- test::test_p2p stdout ---- thread 'test::test_p2p' panicked at 'called `Result::unwrap()` on an `Err` value: JsonRpc(Rpc(RpcError { code: -4, message: "Wallet file verification failed. SQLiteDatabase: Unable to obtain an exclusive lock on the database, is it being used by another instance of Bitcoin Core?\n", data: None }))', src/lib.rs:524:57 ---- test::test_bitcoind stdout ---- thread 'test::test_bitcoind' panicked at 'called `Result::unwrap()` on an `Err` value: JsonRpc(Rpc(RpcError { code: -4, message: "Wallet file verification failed. SQLiteDatabase: Unable to obtain an exclusive lock on the database, is it being used by another instance of Bitcoin Core?\n", data: None }))', src/lib.rs:492:43 ---- test::test_data_persistence stdout ---- thread 'test::test_data_persistence' panicked at 'called `Result::unwrap()` on an `Err` value: JsonRpc(Rpc(RpcError { code: -4, message: "Wallet file verification failed. SQLiteDatabase: Unable to obtain an exclusive lock on the database, is it being used by another instance of Bitcoin Core?\n", data: None }))', src/lib.rs:544:72 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ---- test::test_multi_wallet stdout ---- thread 'test::test_multi_wallet' panicked at 'called `Result::unwrap()` on an `Err` value: JsonRpc(Rpc(RpcError { code: -4, message: "Wallet file verification failed. SQLiteDatabase: Unable to obtain an exclusive lock on the database, is it being used by another instance of Bitcoin Core?\n", data: None }))', src/lib.rs:601:43 failures: test::test_bitcoind test::test_bitcoind_rpcauth test::test_data_persistence test::test_multi_p2p test::test_multi_wallet test::test_p2p test result: FAILED. 2 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 17.18s ```the output is the same if the tests are run with:
cargo test --features 22_0
;cargo test
with theBITCOIND_EXEC
env variable pointing to bitcoind 22.0;cargo test
with theBITCOIND_EXEC
env variable pointing to bitcoind 23.0.