Skip to content

restate dp get <lambda-deployment> panics #1631

Closed
@tillrohrmann

Description

restate dp get <lambda-deployment> panics with

just run -- -e local dp get dp_12is9zahuGffbxyxiUecXiV
cargo run  -- -e local dp get dp_12is9zahuGffbxyxiUecXiV
    Finished dev [unoptimized + debuginfo] target(s) in 0.91s
     Running `target/debug/restate -e local dp get dp_12is9zahuGffbxyxiUecXiV`
thread 'main' panicked at cli/src/ui/deployments.rs:139:46:
called `Option::unwrap()` on a `None` value
stack backtrace:
   0:        0x10364e2d8 - std::backtrace_rs::backtrace::libunwind::trace::h2966c6fbfac9d426
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
   1:        0x10364e2d8 - std::backtrace_rs::backtrace::trace_unsynchronized::h8a5f4aefe890b7c5
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:        0x10364e2d8 - std::sys_common::backtrace::_print_fmt::h7574dd98fd39c257
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
   3:        0x10364e2d8 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h298c9ab285ff3934
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
   4:        0x1036709b0 - core::fmt::rt::Argument::fmt::hf9661447f7b99899
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
   5:        0x1036709b0 - core::fmt::write::h4e276abdb6d0c2a1
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
   6:        0x10364aba0 - std::io::Write::write_fmt::hd421848f5f0bf9d0
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
   7:        0x10364e114 - std::sys_common::backtrace::_print::h09e653c6686dbd70
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
   8:        0x10364e114 - std::sys_common::backtrace::print::hd8bd9ecab1f94b94
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
   9:        0x10364f564 - std::panicking::default_hook::{{closure}}::h520eeb743fc98fb4
  10:        0x10364f2ac - std::panicking::default_hook::ha6550ffe49b63df1
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:292:9
  11:        0x10364f98c - std::panicking::rust_panic_with_hook::hddb0e884a202de7c
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:779:13
  12:        0x10364f868 - std::panicking::begin_panic_handler::{{closure}}::hd2798398a2fd9077
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:649:13
  13:        0x10364e740 - std::sys_common::backtrace::__rust_end_short_backtrace::h9201cc364dbb8a23
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
  14:        0x10364f628 - rust_begin_unwind
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
  15:        0x1036a40e0 - core::panicking::panic_fmt::h4d5168028d4c43c7
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
  16:        0x1036a4154 - core::panicking::panic::h40561ff494e2b577
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:127:5
  17:        0x102a8aaec - core::option::Option<T>::unwrap::h8b98710d77a8125c
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/option.rs:931:21
  18:        0x102315ad8 - restate_cli::ui::deployments::add_deployment_to_kv_table::h35bb17bc34801a3b
                               at /Users/till/restate/git/restate/cli/src/ui/deployments.rs:139:21
  19:        0x10228e40c - restate_cli::commands::deployments::describe::describe::{{closure}}::h762cf867f55801f5
                               at /Users/till/restate/git/restate/cli/src/commands/deployments/describe.rs:88:5
  20:        0x1022cbd74 - restate_cli::ui::watcher::Watch::run::{{closure}}::hd5232fa0bb00c345
                               at /Users/till/restate/git/restate/cli/src/ui/watcher.rs:44:27
  21:        0x10228d6d8 - restate_cli::commands::deployments::describe::run_describe::{{closure}}::h61f4e25b7692a656
                               at /Users/till/restate/git/restate/cli/src/commands/deployments/describe.rs:46:45
  22:        0x1022a9820 - <T as cling::effects::IntoEffect<cling::effects::_Async>>::into_effect::{{closure}}::hab1d1e3f3c00344e
                               at /Users/till/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cling-0.1.2/src/effects.rs:101:14
  23:        0x10213d344 - <core::pin::Pin<P> as core::future::future::Future>::poll::haffcdabfaec3c987
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/future/future.rs:125:9
  24:        0x102290358 - <restate_cli::commands::deployments::describe::Describe as cling::app::Run>::call::{{closure}}::h085cdb34a0d3b3da
                               at /Users/till/restate/git/restate/cli/src/commands/deployments/describe.rs:33:15
  25:        0x10213d344 - <core::pin::Pin<P> as core::future::future::Future>::poll::haffcdabfaec3c987
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/future/future.rs:125:9
  26:        0x10222af60 - <restate_cli::commands::deployments::Deployments as cling::app::Run>::call::{{closure}}::hc4c74d2ce6097035
                               at /Users/till/restate/git/restate/cli/src/commands/deployments/mod.rs:26:5
  27:        0x10213d344 - <core::pin::Pin<P> as core::future::future::Future>::poll::haffcdabfaec3c987
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/future/future.rs:125:9
  28:        0x102488050 - <restate_cli::app::Command as cling::app::Run>::call::{{closure}}::h9d5bd8716000cbd8
                               at /Users/till/restate/git/restate/cli/src/app.rs:89:5
  29:        0x10213d344 - <core::pin::Pin<P> as core::future::future::Future>::poll::haffcdabfaec3c987
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/future/future.rs:125:9
  30:        0x1024879e4 - <restate_cli::app::CliApp as cling::app::Run>::call::{{closure}}::hcd41669aed7a111f
                               at /Users/till/restate/git/restate/cli/src/app.rs:31:14
  31:        0x10213d344 - <core::pin::Pin<P> as core::future::future::Future>::poll::haffcdabfaec3c987
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/future/future.rs:125:9
  32:        0x1020a1f40 - cling::app::Cling<T,cling::app::_private::Ready>::run::{{closure}}::ha37ec95c920f6b78
                               at /Users/till/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cling-0.1.2/src/app.rs:307:71
  33:        0x1020a1c44 - cling::app::Cling<T>::parse_and_run::{{closure}}::h784c840aadf85ba8
                               at /Users/till/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cling-0.1.2/src/app.rs:169:54
  34:        0x1020a7870 - restate::main::{{closure}}::h901b056233908066
                               at /Users/till/restate/git/restate/cli/src/main.rs:40:28
  35:        0x1020a8098 - <tracing::instrument::Instrumented<T> as core::future::future::Future>::poll::h1a428f0328e25f7f
                               at /Users/till/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-0.1.40/src/instrument.rs:321:9
  36:        0x1020a98d0 - tokio::runtime::park::CachedParkThread::block_on::{{closure}}::habed50a121107cd1
                               at /Users/till/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/park.rs:281:63
  37:        0x1020a97dc - tokio::runtime::coop::with_budget::h51fe62c6b8db8dd2
                               at /Users/till/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/coop.rs:107:5
  38:        0x1020a97dc - tokio::runtime::coop::budget::h56a17f20b5ec9ec7
                               at /Users/till/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/coop.rs:73:5
  39:        0x1020a97dc - tokio::runtime::park::CachedParkThread::block_on::ha73bc63aa7ebaf87
                               at /Users/till/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/park.rs:281:31
  40:        0x1020a2a58 - tokio::runtime::context::blocking::BlockingRegionGuard::block_on::h73183a6dd91cd5aa
                               at /Users/till/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/context/blocking.rs:66:9
  41:        0x1020a9b48 - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::{{closure}}::h049b9cd3b2212578
                               at /Users/till/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/multi_thread/mod.rs:87:13
  42:        0x1020a14e4 - tokio::runtime::context::runtime::enter_runtime::hf7072622c70e07a6
                               at /Users/till/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/context/runtime.rs:65:16
  43:        0x1020a9ae8 - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::ha06e8abd6aef87df
                               at /Users/till/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/scheduler/multi_thread/mod.rs:86:9
  44:        0x1020a76a4 - tokio::runtime::runtime::Runtime::block_on::hb124eb47486a03a9
                               at /Users/till/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.36.0/src/runtime/runtime.rs:350:45
  45:        0x1020a0b40 - restate::main::h367bb93c4f74415d
                               at /Users/till/restate/git/restate/cli/src/main.rs:40:5
  46:        0x1020a4a08 - core::ops::function::FnOnce::call_once::h94663f87fe5447ab
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
  47:        0x1020a7718 - std::sys_common::backtrace::__rust_begin_short_backtrace::h255259ff4de8c5f8
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
  48:        0x1020a9c18 - std::rt::lang_start::{{closure}}::hb3973f29df4ebfe0
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/rt.rs:167:18
  49:        0x103642ffc - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h1a7c0e059d971da5
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:284:13
  50:        0x103642ffc - std::panicking::try::do_call::h07a34a23e615022b
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
  51:        0x103642ffc - std::panicking::try::h1111644420b4cc09
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
  52:        0x103642ffc - std::panic::catch_unwind::h31a3b9d6e2ef9973
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
  53:        0x103642ffc - std::rt::lang_start_internal::{{closure}}::h63c3452500a36531
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/rt.rs:148:48
  54:        0x103642ffc - std::panicking::try::do_call::h9c5c8a2a0a297bb7
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
  55:        0x103642ffc - std::panicking::try::h424cfcafca1bde97
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
  56:        0x103642ffc - std::panic::catch_unwind::h345d3d448041017f
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
  57:        0x103642ffc - std::rt::lang_start_internal::h5b246d44f1526226
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/rt.rs:148:20
  58:        0x1020a9bd0 - std::rt::lang_start::h77859f883c2172b1
                               at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/rt.rs:166:17
  59:        0x1020a0b84 - _main

where dp_12is9zahuGffbxyxiUecXiV is a lambda deployment. main and 1.0.x are affected.

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions