<#7149 remote::tests::retry_for_cancelled_channel ...
# github-notifications
c
#7149 remote::tests::retry_for_cancelled_channel is flaky Issue created by stuhood
Copy code
test remote::tests::retry_for_cancelled_channel ... thread 'remote::tests::retry_for_cancelled_channel' panicked at 'called `Result::unwrap()` on an `Err` value: "Error getting execution_client: Error connecting to remote execution server: Error attempting to establish underlying session layer: Operation timed out (os error 60)"', src/libcore/result.rs:1009:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
             at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1: std::sys_common::backtrace::_print
             at src/libstd/sys_common/backtrace.rs:71
   2: std::panicking::default_hook::{{closure}}
             at src/libstd/sys_common/backtrace.rs:59
             at src/libstd/panicking.rs:211
   3: std::panicking::default_hook
             at src/libstd/panicking.rs:227
   4: <std::panicking::begin_panic::PanicPayload<A> as core::panic::BoxMeUp>::get
             at src/libstd/panicking.rs:491
   5: std::panicking::continue_panic_fmt
             at src/libstd/panicking.rs:398
   6: std::panicking::try::do_call
             at src/libstd/panicking.rs:325
   7: core::char::methods::<impl char>::escape_debug
             at src/libcore/panicking.rs:95
   8: <core::str::Chars<'a> as core::iter::iterator::Iterator>::next
             at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libcore/macros.rs:26
   9: <core::result::Result<T, E>>::unwrap
             at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libcore/result.rs:808
  10: process_execution::remote::tests::retry_for_cancelled_channel
             at process_execution/src/remote.rs:1612
  11: process_execution::remote::tests::retry_for_cancelled_channel::{{closure}}
             at process_execution/src/remote.rs:1588
  12: core::ops::function::FnOnce::call_once
             at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libcore/ops/function.rs:238
  13: <F as alloc::boxed::FnBox<A>>::call_box
             at src/libtest/lib.rs:1471
             at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libcore/ops/function.rs:238
             at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/liballoc/boxed.rs:673
  14: panic_unwind::dwarf::eh::read_encoded_pointer
             at src/libpanic_unwind/lib.rs:102
thread 'remote::tests::retry_for_cancelled_channel' panicked at 'assertion failed: `(left == right)`
  left: `3`,
 right: `0`: Expected 3 more requests. Remaining expected responses:
MockOperation { op: Ok(Some(Operation { name: "gimme-foo", metadata: None, done: false, result: None })), duration: None }
MockOperation { op: Ok(None), duration: Some(100ms) }
MockOperation { op: Ok(Some(Operation { name: "gimme-foo", metadata: None, done: true, result: Some(Response(Any { type_url: "<http://type.googleapis.com/build.bazel.remote.execution.v2.ExecuteResponse|type.googleapis.com/build.bazel.remote.execution.v2.ExecuteResponse>", value: [10, 5, 42, 3, 102, 111, 111] })) })), duration: None }
Received requests:
', testutil/mock/src/execution_server.rs:127:5
stack backtrace:
   0:        0x1077e10d3 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h16b82ef029078385
                               at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1:        0x1077db66c - std::sys_common::backtrace::_print::hc39c8623f5320a3a
                               at src/libstd/sys_common/backtrace.rs:71
   2:        0x1077dfb91 - std::panicking::default_hook::{{closure}}::h928a543b2f8eb1f2
                               at src/libstd/sys_common/backtrace.rs:59
                               at src/libstd/panicking.rs:211
   3:        0x1077df88d - std::panicking::default_hook::hb3ba6facbede384c
                               at src/libstd/panicking.rs:227
   4:        0x1077e031e - <std::panicking::begin_panic::PanicPayload<A> as core::panic::BoxMeUp>::get::h6db94dbda67cef59
                               at src/libstd/panicking.rs:491
   5:        0x1077dfe3c - std::panicking::continue_panic_fmt::hf7169aba6b1afe9c
                               at src/libstd/panicking.rs:398
   6:        0x1077dfd90 - std::panicking::try::do_call::hb3270f6ae846849d
                               at src/libstd/panicking.rs:353
   7:        0x106cc0d95 - <bytes::bytes::BytesMut as bytes::buf::buf_mut::BufMut>::put_slice::h0ffee61823f4ab22
                               at testutil/mock/src/execution_server.rs:127
   8:        0x106a656c4 - core::ptr::real_drop_in_place::h5250ec6b9c21b554
                               at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libcore/ptr.rs:204
   9:        0x106c073b7 - process_execution::remote::tests::retry_for_cancelled_channel::hf59a281b0c350d27
                               at process_execution/src/remote.rs:1624
  10:        0x106a8d970 - process_execution::remote::tests::retry_for_cancelled_channel::{{closure}}::h2fbdd16c747b9a13
                               at process_execution/src/remote.rs:1588
  11:        0x106a5b680 - core::ops::function::FnOnce::call_once::he4e4465b2eb836f6
                               at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libcore/ops/function.rs:238
  12:        0x106c33621 - <F as alloc::boxed::FnBox<A>>::call_box::h0b961cc85c049bee
                               at src/libtest/lib.rs:1471
                               at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libcore/ops/function.rs:238
                               at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/liballoc/boxed.rs:673
  13:        0x1077f3d6e - panic_unwind::dwarf::eh::read_encoded_pointer::hd3e9a1f2bee55ce8
                               at src/libpanic_unwind/lib.rs:102
  14:        0x106c2b7e5 - std::sys_common::backtrace::__rust_begin_short_backtrace::h07f538384f587585
                               at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libstd/panicking.rs:289
                               at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libstd/panic.rs:398
                               at src/libtest/lib.rs:1426
                               at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libstd/sys_common/backtrace.rs:136
  15:        0x106c2c5d4 - std::panicking::try::do_call::h4953be8a0738d6ec
                               at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libstd/thread/mod.rs:477
                               at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libstd/panic.rs:319
                               at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libstd/panicking.rs:310
  16:        0x1077f3d6e - panic_unwind::dwarf::eh::read_encoded_pointer::hd3e9a1f2bee55ce8
                               at src/libpanic_unwind/lib.rs:102
  17:        0x106c336f4 - <F as alloc::boxed::FnBox<A>>::call_box::h5a5d3b35dc8857f3
                               at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libstd/panicking.rs:289
                               at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libstd/panic.rs:398
                               at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/libstd/thread/mod.rs:476
                               at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/liballoc/boxed.rs:673
  18:        0x1077e7f7b - std::sys::unix::thread::Thread::new::thread_start::hb66fd5e16b37cfd7
                               at /rustc/9fda7c2237db910e41d6a712e9a2139b352e558b/src/liballoc/boxed.rs:683
                               at src/libstd/sys_common/thread.rs:24
                               at src/libstd/sys/unix/thread.rs:90
  19:     0x7fffab32593a - _pthread_body
  20:     0x7fffab325886 - _pthread_start
thread panicked while panicking. aborting.
pantsbuild/pants