I have found that many topics are based on the previous edition of Libra. I am confused about setting up a 4 nodes local network now. I combining with many topics and run as follows:
cargo run -p libra-swarm – -s -n 4 --libra-node $SCRIPT_PATH/…/…/target/$RELEASE/libra-node --cli-path $SCRIPT_PATH/…/…/target/RELEASE/cli "@"
while, error:
Finished dev [unoptimized + debuginfo] target(s) in 1.37s
Running target/debug/libra-swarm -s -n 4 --libra-node /../../target//libra-node --cli-path /../../target//cli
2020-10-27T11:03:11.781308Z [main] INFO testsuite/libra-swarm/src/swarm.rs:294 logs for validator at Temporary(TempPath { path_buf: “/var/folders/gq/b___dnb57qn6qqfj2zrxld280000gn/T/51706bb10d9d91579adf8706d8356857”, persist: false })
2020-10-27T11:03:13.353666Z [main] INFO storage/libradb/src/lib.rs:158 Opened LibraDB. {“path”:"/var/folders/gq/b___dnb57qn6qqfj2zrxld280000gn/T/cd2fc7d2371b069b6abfc569a1f1f182/libradb",“time_ms”:“95”}
2020-10-27T11:03:13.358181Z [main] INFO storage/libradb/src/lib.rs:737 Got latest TreeState. {“description”:“DB is empty, has no transaction or state.”,“num_transactions”:0,“state_root_hash”:“53504152”}
2020-10-27T11:03:13.359886Z [main] INFO execution/executor/src/lib.rs:721 execute_block {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“block_executor”}
2020-10-27T11:03:13.360591Z [main] INFO language/libra-vm/src/libra_transaction_executor.rs:620 Executing block, transaction count: 1 {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“execution”,“txn_id”:0}
2020-10-27T11:03:13.364181Z [main] INFO language/libra-vm/src/libra_transaction_executor.rs:706 Reconfiguration occurred: restart required {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“execution”,“txn_id”:0}
2020-10-27T11:03:13.394703Z [main] INFO execution/executor/src/db_bootstrapper.rs:158 Genesis calculated: ledger_info_with_sigs V0(LedgerInfoWithV0 { ledger_info: LedgerInfo { commit_info: BlockInfo { epoch: 0, round: 0, id: HashValue(0000000000000000000000000000000000000000000000000000000000000000), executed_state_id: HashValue(1411e9d903239d94aacf83ebbeedb24da6521b6a896e20782475b44721a0367f), version: 0, timestamp_usecs: 0, next_epoch_state: Some(EpochState [epoch: 1, validator: ValidatorSet: [3bcb0424: 1, 9672771f: 1, b5b333aa: 1, dc1090de: 1, ]]) }, consensus_data_hash: HashValue(0000000000000000000000000000000000000000000000000000000000000000) }, signatures: {} }), waypoint Waypoint { version: 0, value: HashValue(a5f97872cd28ac2aa94c97ea244a3e086dff07c9a699b8975b0c7c8840db663e) }
2020-10-27T11:03:14.217357Z [main] INFO storage/libradb/src/lib.rs:158 Opened LibraDB. {“path”:"/var/folders/gq/b___dnb57qn6qqfj2zrxld280000gn/T/b59db1a2ce887df5e0ffc26f0b8969c9/libradb",“time_ms”:“88”}
2020-10-27T11:03:14.220093Z [main] INFO storage/libradb/src/lib.rs:737 Got latest TreeState. {“description”:“DB is empty, has no transaction or state.”,“num_transactions”:0,“state_root_hash”:“53504152”}
2020-10-27T11:03:14.220390Z [main] INFO execution/executor/src/lib.rs:721 execute_block {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“block_executor”}
2020-10-27T11:03:14.220841Z [main] INFO language/libra-vm/src/libra_transaction_executor.rs:620 Executing block, transaction count: 1 {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“execution”,“txn_id”:0}
2020-10-27T11:03:14.221792Z [main] INFO language/libra-vm/src/libra_transaction_executor.rs:706 Reconfiguration occurred: restart required {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“execution”,“txn_id”:0}
2020-10-27T11:03:14.251497Z [main] INFO execution/executor/src/db_bootstrapper.rs:158 Genesis calculated: ledger_info_with_sigs V0(LedgerInfoWithV0 { ledger_info: LedgerInfo { commit_info: BlockInfo { epoch: 0, round: 0, id: HashValue(0000000000000000000000000000000000000000000000000000000000000000), executed_state_id: HashValue(1411e9d903239d94aacf83ebbeedb24da6521b6a896e20782475b44721a0367f), version: 0, timestamp_usecs: 0, next_epoch_state: Some(EpochState [epoch: 1, validator: ValidatorSet: [3bcb0424: 1, 9672771f: 1, b5b333aa: 1, dc1090de: 1, ]]) }, consensus_data_hash: HashValue(0000000000000000000000000000000000000000000000000000000000000000) }, signatures: {} }), waypoint Waypoint { version: 0, value: HashValue(a5f97872cd28ac2aa94c97ea244a3e086dff07c9a699b8975b0c7c8840db663e) }
2020-10-27T11:03:14.251757Z [main] INFO storage/libradb/src/lib.rs:737 Got latest TreeState. {“description”:“DB is empty, has no transaction or state.”,“num_transactions”:0,“state_root_hash”:“53504152”}
2020-10-27T11:03:14.252069Z [main] INFO execution/executor/src/lib.rs:721 execute_block {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“block_executor”}
2020-10-27T11:03:14.252463Z [main] INFO language/libra-vm/src/libra_transaction_executor.rs:620 Executing block, transaction count: 1 {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“execution”,“txn_id”:0}
2020-10-27T11:03:14.253421Z [main] INFO language/libra-vm/src/libra_transaction_executor.rs:706 Reconfiguration occurred: restart required {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“execution”,“txn_id”:0}
2020-10-27T11:03:14.278400Z [main] INFO execution/executor/src/db_bootstrapper.rs:158 Genesis calculated: ledger_info_with_sigs V0(LedgerInfoWithV0 { ledger_info: LedgerInfo { commit_info: BlockInfo { epoch: 0, round: 0, id: HashValue(0000000000000000000000000000000000000000000000000000000000000000), executed_state_id: HashValue(1411e9d903239d94aacf83ebbeedb24da6521b6a896e20782475b44721a0367f), version: 0, timestamp_usecs: 0, next_epoch_state: Some(EpochState [epoch: 1, validator: ValidatorSet: [3bcb0424: 1, 9672771f: 1, b5b333aa: 1, dc1090de: 1, ]]) }, consensus_data_hash: HashValue(0000000000000000000000000000000000000000000000000000000000000000) }, signatures: {} }), waypoint Waypoint { version: 0, value: HashValue(a5f97872cd28ac2aa94c97ea244a3e086dff07c9a699b8975b0c7c8840db663e) }
2020-10-27T11:03:14.278586Z [main] INFO execution/executor/src/lib.rs:790 commit_block {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“block_executor”}
2020-10-27T11:03:14.309845Z [main] INFO execution/executor/src/speculation_cache/mod.rs:193 Updated with a new root block as a virtual block of reconfiguration block {“name”:“speculation_cache”,“original_reconfiguration_block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“root_block_id”:“52c2caabf24c3417d2e68240020da35401e9f85095b50d59ac5c4e4a02fa1277”}
2020-10-27T11:03:14.310161Z [main] INFO execution/executor/src/db_bootstrapper.rs:91 Genesis commited.
2020-10-27T11:03:15.150538Z [main] INFO storage/libradb/src/lib.rs:158 Opened LibraDB. {“path”:"/var/folders/gq/b___dnb57qn6qqfj2zrxld280000gn/T/553e316e89a361bb4c118dbc5c8ef8d9/libradb",“time_ms”:“89”}
2020-10-27T11:03:15.152549Z [main] INFO storage/libradb/src/lib.rs:737 Got latest TreeState. {“description”:“DB is empty, has no transaction or state.”,“num_transactions”:0,“state_root_hash”:“53504152”}
2020-10-27T11:03:15.152794Z [main] INFO execution/executor/src/lib.rs:721 execute_block {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“block_executor”}
2020-10-27T11:03:15.153189Z [main] INFO language/libra-vm/src/libra_transaction_executor.rs:620 Executing block, transaction count: 1 {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“execution”,“txn_id”:0}
2020-10-27T11:03:15.154410Z [main] INFO language/libra-vm/src/libra_transaction_executor.rs:706 Reconfiguration occurred: restart required {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“execution”,“txn_id”:0}
2020-10-27T11:03:15.178377Z [main] INFO execution/executor/src/db_bootstrapper.rs:158 Genesis calculated: ledger_info_with_sigs V0(LedgerInfoWithV0 { ledger_info: LedgerInfo { commit_info: BlockInfo { epoch: 0, round: 0, id: HashValue(0000000000000000000000000000000000000000000000000000000000000000), executed_state_id: HashValue(1411e9d903239d94aacf83ebbeedb24da6521b6a896e20782475b44721a0367f), version: 0, timestamp_usecs: 0, next_epoch_state: Some(EpochState [epoch: 1, validator: ValidatorSet: [3bcb0424: 1, 9672771f: 1, b5b333aa: 1, dc1090de: 1, ]]) }, consensus_data_hash: HashValue(0000000000000000000000000000000000000000000000000000000000000000) }, signatures: {} }), waypoint Waypoint { version: 0, value: HashValue(a5f97872cd28ac2aa94c97ea244a3e086dff07c9a699b8975b0c7c8840db663e) }
2020-10-27T11:03:15.178610Z [main] INFO storage/libradb/src/lib.rs:737 Got latest TreeState. {“description”:“DB is empty, has no transaction or state.”,“num_transactions”:0,“state_root_hash”:“53504152”}
2020-10-27T11:03:15.178838Z [main] INFO execution/executor/src/lib.rs:721 execute_block {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“block_executor”}
2020-10-27T11:03:15.179202Z [main] INFO language/libra-vm/src/libra_transaction_executor.rs:620 Executing block, transaction count: 1 {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“execution”,“txn_id”:0}
2020-10-27T11:03:15.180117Z [main] INFO language/libra-vm/src/libra_transaction_executor.rs:706 Reconfiguration occurred: restart required {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“execution”,“txn_id”:0}
2020-10-27T11:03:15.204988Z [main] INFO execution/executor/src/db_bootstrapper.rs:158 Genesis calculated: ledger_info_with_sigs V0(LedgerInfoWithV0 { ledger_info: LedgerInfo { commit_info: BlockInfo { epoch: 0, round: 0, id: HashValue(0000000000000000000000000000000000000000000000000000000000000000), executed_state_id: HashValue(1411e9d903239d94aacf83ebbeedb24da6521b6a896e20782475b44721a0367f), version: 0, timestamp_usecs: 0, next_epoch_state: Some(EpochState [epoch: 1, validator: ValidatorSet: [3bcb0424: 1, 9672771f: 1, b5b333aa: 1, dc1090de: 1, ]]) }, consensus_data_hash: HashValue(0000000000000000000000000000000000000000000000000000000000000000) }, signatures: {} }), waypoint Waypoint { version: 0, value: HashValue(a5f97872cd28ac2aa94c97ea244a3e086dff07c9a699b8975b0c7c8840db663e) }
2020-10-27T11:03:15.205085Z [main] INFO execution/executor/src/lib.rs:790 commit_block {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“block_executor”}
2020-10-27T11:03:15.229511Z [main] INFO execution/executor/src/speculation_cache/mod.rs:193 Updated with a new root block as a virtual block of reconfiguration block {“name”:“speculation_cache”,“original_reconfiguration_block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“root_block_id”:“52c2caabf24c3417d2e68240020da35401e9f85095b50d59ac5c4e4a02fa1277”}
2020-10-27T11:03:15.229793Z [main] INFO execution/executor/src/db_bootstrapper.rs:91 Genesis commited.
2020-10-27T11:03:16.058552Z [main] INFO storage/libradb/src/lib.rs:158 Opened LibraDB. {“path”:"/var/folders/gq/b___dnb57qn6qqfj2zrxld280000gn/T/4628de11f4c8b44e9225e6b5892cf009/libradb",“time_ms”:“83”}
2020-10-27T11:03:16.060595Z [main] INFO storage/libradb/src/lib.rs:737 Got latest TreeState. {“description”:“DB is empty, has no transaction or state.”,“num_transactions”:0,“state_root_hash”:“53504152”}
2020-10-27T11:03:16.060840Z [main] INFO execution/executor/src/lib.rs:721 execute_block {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“block_executor”}
2020-10-27T11:03:16.061457Z [main] INFO language/libra-vm/src/libra_transaction_executor.rs:620 Executing block, transaction count: 1 {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“execution”,“txn_id”:0}
2020-10-27T11:03:16.062491Z [main] INFO language/libra-vm/src/libra_transaction_executor.rs:706 Reconfiguration occurred: restart required {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“execution”,“txn_id”:0}
2020-10-27T11:03:16.104728Z [main] INFO execution/executor/src/db_bootstrapper.rs:158 Genesis calculated: ledger_info_with_sigs V0(LedgerInfoWithV0 { ledger_info: LedgerInfo { commit_info: BlockInfo { epoch: 0, round: 0, id: HashValue(0000000000000000000000000000000000000000000000000000000000000000), executed_state_id: HashValue(1411e9d903239d94aacf83ebbeedb24da6521b6a896e20782475b44721a0367f), version: 0, timestamp_usecs: 0, next_epoch_state: Some(EpochState [epoch: 1, validator: ValidatorSet: [3bcb0424: 1, 9672771f: 1, b5b333aa: 1, dc1090de: 1, ]]) }, consensus_data_hash: HashValue(0000000000000000000000000000000000000000000000000000000000000000) }, signatures: {} }), waypoint Waypoint { version: 0, value: HashValue(a5f97872cd28ac2aa94c97ea244a3e086dff07c9a699b8975b0c7c8840db663e) }
2020-10-27T11:03:16.105042Z [main] INFO storage/libradb/src/lib.rs:737 Got latest TreeState. {“description”:“DB is empty, has no transaction or state.”,“num_transactions”:0,“state_root_hash”:“53504152”}
2020-10-27T11:03:16.105335Z [main] INFO execution/executor/src/lib.rs:721 execute_block {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“block_executor”}
2020-10-27T11:03:16.105827Z [main] INFO language/libra-vm/src/libra_transaction_executor.rs:620 Executing block, transaction count: 1 {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“execution”,“txn_id”:0}
2020-10-27T11:03:16.106859Z [main] INFO language/libra-vm/src/libra_transaction_executor.rs:706 Reconfiguration occurred: restart required {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“execution”,“txn_id”:0}
2020-10-27T11:03:16.130871Z [main] INFO execution/executor/src/db_bootstrapper.rs:158 Genesis calculated: ledger_info_with_sigs V0(LedgerInfoWithV0 { ledger_info: LedgerInfo { commit_info: BlockInfo { epoch: 0, round: 0, id: HashValue(0000000000000000000000000000000000000000000000000000000000000000), executed_state_id: HashValue(1411e9d903239d94aacf83ebbeedb24da6521b6a896e20782475b44721a0367f), version: 0, timestamp_usecs: 0, next_epoch_state: Some(EpochState [epoch: 1, validator: ValidatorSet: [3bcb0424: 1, 9672771f: 1, b5b333aa: 1, dc1090de: 1, ]]) }, consensus_data_hash: HashValue(0000000000000000000000000000000000000000000000000000000000000000) }, signatures: {} }), waypoint Waypoint { version: 0, value: HashValue(a5f97872cd28ac2aa94c97ea244a3e086dff07c9a699b8975b0c7c8840db663e) }
2020-10-27T11:03:16.130933Z [main] INFO execution/executor/src/lib.rs:790 commit_block {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“block_executor”}
2020-10-27T11:03:16.155772Z [main] INFO execution/executor/src/speculation_cache/mod.rs:193 Updated with a new root block as a virtual block of reconfiguration block {“name”:“speculation_cache”,“original_reconfiguration_block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“root_block_id”:“52c2caabf24c3417d2e68240020da35401e9f85095b50d59ac5c4e4a02fa1277”}
2020-10-27T11:03:16.156079Z [main] INFO execution/executor/src/db_bootstrapper.rs:91 Genesis commited.
2020-10-27T11:03:16.977316Z [main] INFO storage/libradb/src/lib.rs:158 Opened LibraDB. {“path”:"/var/folders/gq/b___dnb57qn6qqfj2zrxld280000gn/T/41b8766be0568a480db2e0d489ac9ffd/libradb",“time_ms”:“96”}
2020-10-27T11:03:16.979356Z [main] INFO storage/libradb/src/lib.rs:737 Got latest TreeState. {“description”:“DB is empty, has no transaction or state.”,“num_transactions”:0,“state_root_hash”:“53504152”}
2020-10-27T11:03:16.979599Z [main] INFO execution/executor/src/lib.rs:721 execute_block {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“block_executor”}
2020-10-27T11:03:16.979996Z [main] INFO language/libra-vm/src/libra_transaction_executor.rs:620 Executing block, transaction count: 1 {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“execution”,“txn_id”:0}
2020-10-27T11:03:16.980997Z [main] INFO language/libra-vm/src/libra_transaction_executor.rs:706 Reconfiguration occurred: restart required {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“execution”,“txn_id”:0}
2020-10-27T11:03:17.004889Z [main] INFO execution/executor/src/db_bootstrapper.rs:158 Genesis calculated: ledger_info_with_sigs V0(LedgerInfoWithV0 { ledger_info: LedgerInfo { commit_info: BlockInfo { epoch: 0, round: 0, id: HashValue(0000000000000000000000000000000000000000000000000000000000000000), executed_state_id: HashValue(1411e9d903239d94aacf83ebbeedb24da6521b6a896e20782475b44721a0367f), version: 0, timestamp_usecs: 0, next_epoch_state: Some(EpochState [epoch: 1, validator: ValidatorSet: [3bcb0424: 1, 9672771f: 1, b5b333aa: 1, dc1090de: 1, ]]) }, consensus_data_hash: HashValue(0000000000000000000000000000000000000000000000000000000000000000) }, signatures: {} }), waypoint Waypoint { version: 0, value: HashValue(a5f97872cd28ac2aa94c97ea244a3e086dff07c9a699b8975b0c7c8840db663e) }
2020-10-27T11:03:17.005132Z [main] INFO storage/libradb/src/lib.rs:737 Got latest TreeState. {“description”:“DB is empty, has no transaction or state.”,“num_transactions”:0,“state_root_hash”:“53504152”}
2020-10-27T11:03:17.005363Z [main] INFO execution/executor/src/lib.rs:721 execute_block {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“block_executor”}
2020-10-27T11:03:17.005732Z [main] INFO language/libra-vm/src/libra_transaction_executor.rs:620 Executing block, transaction count: 1 {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“execution”,“txn_id”:0}
2020-10-27T11:03:17.006651Z [main] INFO language/libra-vm/src/libra_transaction_executor.rs:706 Reconfiguration occurred: restart required {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“execution”,“txn_id”:0}
2020-10-27T11:03:17.039914Z [main] INFO execution/executor/src/db_bootstrapper.rs:158 Genesis calculated: ledger_info_with_sigs V0(LedgerInfoWithV0 { ledger_info: LedgerInfo { commit_info: BlockInfo { epoch: 0, round: 0, id: HashValue(0000000000000000000000000000000000000000000000000000000000000000), executed_state_id: HashValue(1411e9d903239d94aacf83ebbeedb24da6521b6a896e20782475b44721a0367f), version: 0, timestamp_usecs: 0, next_epoch_state: Some(EpochState [epoch: 1, validator: ValidatorSet: [3bcb0424: 1, 9672771f: 1, b5b333aa: 1, dc1090de: 1, ]]) }, consensus_data_hash: HashValue(0000000000000000000000000000000000000000000000000000000000000000) }, signatures: {} }), waypoint Waypoint { version: 0, value: HashValue(a5f97872cd28ac2aa94c97ea244a3e086dff07c9a699b8975b0c7c8840db663e) }
2020-10-27T11:03:17.040029Z [main] INFO execution/executor/src/lib.rs:790 commit_block {“block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“name”:“block_executor”}
2020-10-27T11:03:17.064659Z [main] INFO execution/executor/src/speculation_cache/mod.rs:193 Updated with a new root block as a virtual block of reconfiguration block {“name”:“speculation_cache”,“original_reconfiguration_block_id”:“0000000000000000000000000000000000000000000000000000000000000000”,“root_block_id”:“52c2caabf24c3417d2e68240020da35401e9f85095b50d59ac5c4e4a02fa1277”}
2020-10-27T11:03:17.064940Z [main] INFO execution/executor/src/db_bootstrapper.rs:91 Genesis commited.
thread ‘main’ panicked at 'called Result::unwrap()
on an Err
value: Error launching node process with binary: “/…/…/target//libra-node”
Caused by:
No such file or directory (os error 2)’, testsuite/libra-swarm/src/swarm.rs:336:14
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
logs located at “/var/folders/gq/b___dnb57qn6qqfj2zrxld280000gn/T/51706bb10d9d91579adf8706d8356857”
Any suggestions/inputs on how can I approach this? Or anyone can share the correct method to set up a multi-nodes local network