Skip to content

Instantly share code, notes, and snippets.

@longbowlu
Last active October 8, 2022 17:01
Show Gist options
  • Save longbowlu/e8c03142d5705741c6b07897d32e47d2 to your computer and use it in GitHub Desktop.
Save longbowlu/e8c03142d5705741c6b07897d32e47d2 to your computer and use it in GitHub Desktop.
Error: Fail to connect to the RPC server: Request timeout
Stack backtrace:
0: backtrace::backtrace::libunwind::trace
at /Users/luzhang/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.65/src/backtrace/libunwind.rs:93:5
backtrace::backtrace::trace_unsynchronized
at /Users/luzhang/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.65/src/backtrace/mod.rs:66:5
backtrace::backtrace::trace
at /Users/luzhang/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.65/src/backtrace/mod.rs:53:14
anyhow::backtrace::capture::Backtrace::create
at /Users/luzhang/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.65/src/backtrace.rs:216:13
anyhow::backtrace::capture::Backtrace::capture
at /Users/luzhang/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.65/src/backtrace.rs:204:17
1: anyhow::error::<impl anyhow::Error>::msg
at /Users/luzhang/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.65/src/error.rs:83:36
2: anyhow::__private::format_err
at /Users/luzhang/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.65/src/lib.rs:669:13
3: sui_sdk::RpcClient::get_server_info::{{closure}}::{{closure}}
at /Users/luzhang/Workplaces/sui/crates/sui-sdk/src/lib.rs:123:26
core::result::Result<T,E>::map_err
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/result.rs:855:27
sui_sdk::RpcClient::get_server_info::{{closure}}
at /Users/luzhang/Workplaces/sui/crates/sui-sdk/src/lib.rs:120:31
<core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/future/mod.rs:91:19
sui_sdk::RpcClient::new::{{closure}}
at /Users/luzhang/Workplaces/sui/crates/sui-sdk/src/lib.rs:112:53
<core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/future/mod.rs:91:19
sui_sdk::SuiClient::new_rpc_client::{{closure}}
at /Users/luzhang/Workplaces/sui/crates/sui-sdk/src/lib.rs:173:51
<core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/future/mod.rs:91:19
sui_sdk::ClientType::init::{{closure}}
at /Users/luzhang/Workplaces/sui/crates/sui-sdk/src/lib.rs:654:66
<core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/future/mod.rs:91:19
4: test_utils::network::start_a_fullnode::{{closure}}
at /Users/luzhang/Workplaces/sui/crates/test-utils/src/network.rs:338:39
<core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/future/mod.rs:91:19
test_utils::network::TestClusterBuilder::start_test_network_with_customized_ports::{{closure}}
at /Users/luzhang/Workplaces/sui/crates/test-utils/src/network.rs:174:91
5: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/future/mod.rs:91:19
test_utils::network::TestClusterBuilder::build::{{closure}}
at /Users/luzhang/Workplaces/sui/crates/test-utils/src/network.rs:156:74
<core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/future/mod.rs:91:19
6: sui::cli_tests::test_object_info_get_command::{{closure}}::{{closure}}::{{closure}}
at ./src/unit_tests/cli_tests.rs:262:61
<core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/future/mod.rs:91:19
7: <core::pin::Pin<P> as core::future::future::Future>::poll
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/future/future.rs:124:9
async_task::raw::RawTask<F,T,S>::run
at /Users/luzhang/.cargo/git/checkouts/async-task-2c3ead35a682b15c/4e45b26/src/raw.rs:511:20
8: async_task::runnable::Runnable::run
at /Users/luzhang/.cargo/git/checkouts/async-task-2c3ead35a682b15c/4e45b26/src/runnable.rs:309:18
9: msim::sim::task::Executor::run_all_ready
at /Users/luzhang/.cargo/git/checkouts/mysten-sim-6c6e892b5d19dc47/305f0ca/msim/src/sim/task.rs:171:13
10: msim::sim::task::Executor::block_on
at /Users/luzhang/.cargo/git/checkouts/mysten-sim-6c6e892b5d19dc47/305f0ca/msim/src/sim/task.rs:137:13
11: msim::sim::runtime::Runtime::block_on
at /Users/luzhang/.cargo/git/checkouts/mysten-sim-6c6e892b5d19dc47/305f0ca/msim/src/sim/runtime/mod.rs:130:9
12: sui::cli_tests::test_object_info_get_command::{{closure}}
at ./src/unit_tests/cli_tests.rs:280:7
std::sys_common::backtrace::__rust_begin_short_backtrace
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/sys_common/backtrace.rs:122:18
13: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/thread/mod.rs:505:17
<core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/panic/unwind_safe.rs:271:9
std::panicking::try::do_call
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:492:40
std::panicking::try
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:456:19
14: std::panic::catch_unwind
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panic.rs:137:14
std::thread::Builder::spawn_unchecked_::{{closure}}
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/thread/mod.rs:504:30
core::ops::function::FnOnce::call_once{{vtable.shim}}
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/ops/function.rs:248:5
15: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/alloc/src/boxed.rs:1935:9
<alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/alloc/src/boxed.rs:1935:9
std::sys::unix::thread::Thread::new::thread_start
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/sys/unix/thread.rs:108:17
16: __pthread_deallocate
thread 'cli_tests::test_object_info_get_command' panicked at 'assertion failed: `(left == right)`
left: `1`,
right: `0`: the test returned a termination value with a non-zero status code (1) which indicates a failure', /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/test/src/lib.rs:184:5
stack backtrace:
0: rust_begin_unwind
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/std/src/panicking.rs:584:5
1: core::panicking::panic_fmt
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/panicking.rs:142:14
2: core::panicking::assert_failed_inner
3: core::panicking::assert_failed
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/panicking.rs:181:5
4: test::assert_test_result
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/test/src/lib.rs:184:5
5: sui::cli_tests::test_object_info_get_command::{{closure}}
at ./src/unit_tests/cli_tests.rs:261:7
6: core::ops::function::FnOnce::call_once
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/ops/function.rs:248:5
7: core::ops::function::FnOnce::call_once
at /rustc/a55dd71d5fb0ec5a6a3a9e8c27b2127ba491ce52/library/core/src/ops/function.rs:248:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
test cli_tests::test_object_info_get_command ... FAILED
failures:
failures:
cli_tests::test_object_info_get_command
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 16 filtered out; finished in 47.08s
FAIL [ 47.102s] sui::bin/sui cli_tests::test_object_info_get_command
Canceling due to test failure: 0 tests still running
------------
Summary [ 47.102s] 1 tests run: 0 passed, 1 failed, 635 skipped
error: test run failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment