Jefffrey opened a new issue, #17682:
URL: https://github.com/apache/datafusion/issues/17682
### Describe the bug
Failing in amd64 test, some examples:
```
failures:
---- sql::select::test_list_query_parameters stdout ----
Error: IoError(Custom { kind: StorageFull, error: PathError { path:
"/tmp/.tmpXJMxGy", err: Os { code: 28, kind: StorageFull, message: "No space
left on device" } } })
failures:
sql::select::test_list_query_parameters
```
```
failures:
---- memory_limit::test_in_mem_buffer_almost_full stdout ----
thread 'memory_limit::test_in_mem_buffer_almost_full' panicked at
datafusion/core/tests/memory_limit/mod.rs:513:32:
called `Result::unwrap()` on an `Err` value: ArrowError(IoError("No space
left on device (os error 28)", Os { code: 28, kind: StorageFull, message: "No
space left on device" }), Some("\n\nbacktrace: 0: get_back_trace\n
at /__w/datafusion/datafusion/datafusion/common/src/error.rs:478:30\n 1:
from\n at
/__w/datafusion/datafusion/datafusion/common/src/error.rs:281:55\n 2:
<core::result::Result<T,F> as
core::ops::try_trait::FromResidual<core::result::Result<core::convert::Infallible,E>>>::from_residual\n
at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/result.rs:2079:27\n
3: datafusion_physical_plan::spill::IPCStreamWriter::write\n at
/__w/datafusion/datafusion/datafusion/physical-plan/src/spill/mod.rs:365:9\n
4: append_batch\n at
/__w/datafusion/datafusion/datafusion/physical-plan/src/spill/in_progress_spill_file.rs:78:44\n
5: {async_fn#0}\n at /__w/datafusion/datafusion/datafusion
/physical-plan/src/sorts/sort.rs:422:30\n 6: {async_fn#0}\n at
/__w/datafusion/datafusion/datafusion/physical-plan/src/sorts/sort.rs:556:22\n
7: {async_fn#0}\n at
/__w/datafusion/datafusion/datafusion/physical-plan/src/sorts/sort.rs:795:54\n
8: {async_fn#0}\n at
/__w/datafusion/datafusion/datafusion/physical-plan/src/sorts/sort.rs:325:14\n
9: {async_block#1}\n at
/__w/datafusion/datafusion/datafusion/physical-plan/src/sorts/sort.rs:1274:56\n
10:
poll_next<datafusion_physical_plan::sorts::sort::{impl#5}::execute::{async_block_env#1}>\n
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/once.rs:46:37\n
11: <S as futures_core::stream::TryStream>::try_poll_next\n at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-core-0.3.31/src/stream.rs:206:14\n
12:
poll_next<futures_util::stream::once::Once<datafusion_physical_plan::sorts::sort::{impl
#5}::execute::{async_block_env#1}>>\n at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/try_stream/try_flatten.rs:66:65\n
13: <datafusion_physical_plan::stream::RecordBatchStreamAdapter<S> as
futures_core::stream::Stream>::poll_next\n at
/__w/datafusion/datafusion/datafusion/physical-plan/src/stream.rs:451:31\n 14:
poll_next<alloc::boxed::Box<(dyn
datafusion_execution::stream::RecordBatchStream<Item=core::result::Result<arrow_array::record_batch::RecordBatch,
datafusion_common::error::DataFusionError>> + core::marker::Send),
alloc::alloc::Global>>\n at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-core-0.3.31/src/stream.rs:130:33\n
15: <S as futures_core::stream::TryStream>::try_poll_next\n at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-core-0.3.31/src/stream.rs:206:14\n
16: poll<core::pin::Pin<alloc::boxed::Box<(dyn datafusion_execut
ion::stream::RecordBatchStream<Item=core::result::Result<arrow_array::record_batch::RecordBatch,
datafusion_common::error::DataFusionError>> + core::marker::Send),
alloc::alloc::Global>>, alloc::vec::Vec<arrow_array::record_batch::RecordBatch,
alloc::alloc::Global>>\n at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/try_stream/try_collect.rs:46:47\n
17: {async_fn#0}\n at
/__w/datafusion/datafusion/datafusion/physical-plan/src/common.rs:43:36\n 18:
{async_fn#0}\n at
/__w/datafusion/datafusion/datafusion/physical-plan/src/execution_plan.rs:1150:36\n
19: {async_fn#0}\n at ./src/dataframe/mod.rs:1378:33\n 20:
{async_block#0}\n at ./tests/memory_limit/mod.rs:513:26\n 21:
poll<&mut dyn core::future::future::Future<Output=()>>\n at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/future/future.rs:124:9\n
22: poll<&mut core::pin::Pin<&mut dyn core::fu
ture::future::Future<Output=()>>>\n at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/future/future.rs:124:9\n
23: {closure#0}<core::pin::Pin<&mut core::pin::Pin<&mut dyn
core::future::future::Future<Output=()>>>>\n at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:742:70\n
24: with_budget<core::task::poll::Poll<()>,
tokio::runtime::scheduler::current_thread::{impl#8}::block_on::{closure#0}::{closure#0}::{closure_env#0}<core::pin::Pin<&mut
core::pin::Pin<&mut dyn core::future::future::Future<Output=()>>>>>\n
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/coop/mod.rs:167:5\n
25: budget<core::task::poll::Poll<()>,
tokio::runtime::scheduler::current_thread::{impl#8}::block_on::{closure#0}::{closure#0}::{closure_env#0}<core::pin::Pin<&mut
core::pin::Pin<&mut dyn core::future::future::Future<Output=()>>>>>\n
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/coop/mod.rs:133:5\n
26: {closure#0}<core::pin::Pin<&mut core::pin::Pin<&mut dyn
core::future::future::Future<Output=()>>>>\n at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:742:25\n
27: tokio::runtime::scheduler::current_thread::Context::enter\n
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:432:19\n
28: {closure#0}<core::pin::Pin<&mut core::pin::Pin<&mut dyn
core::future::future::Future<Output=()>>>>\n at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:741:44\n
29:
tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}\n
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runt
ime/scheduler/current_thread/mod.rs:829:68\n 30:
tokio::runtime::context::scoped::Scoped<T>::set\n at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context/scoped.rs:40:9\n
31: tokio::runtime::context::set_scheduler::{{closure}}\n at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context.rs:176:38\n
32: try_with<tokio::runtime::context::Context,
tokio::runtime::context::set_scheduler::{closure_env#0}<(alloc::boxed::Box<tokio::runtime::scheduler::current_thread::Core,
alloc::alloc::Global>, core::option::Option<()>),
tokio::runtime::scheduler::current_thread::{impl#8}::enter::{closure_env#0}<tokio::runtime::scheduler::current_thread::{impl#8}::block_on::{closure_env#0}<core::pin::Pin<&mut
core::pin::Pin<&mut dyn core::future::future::Future<Output=()>>>>,
core::option::Option<()>>>,
(alloc::boxed::Box<tokio::runtime::scheduler::current_thread::Core,
alloc::alloc::Global>, cor
e::option::Option<()>)>\n at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/std/src/thread/local.rs:315:12\n
33: std::thread::local::LocalKey<T>::with\n at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/std/src/thread/local.rs:279:20\n
34: tokio::runtime::context::set_scheduler\n at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context.rs:176:17\n
35: tokio::runtime::scheduler::current_thread::CoreGuard::enter\n
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:829:27\n
36: tokio::runtime::scheduler::current_thread::CoreGuard::block_on\n
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:729:24\n
37: {closure#0}<core::pin::Pin<&mut dyn
core::future::future::Future<Output=()>>>\n at
/usr/local/cargo/registr
y/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:200:33\n
38: tokio::runtime::context::runtime::enter_runtime\n at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context/runtime.rs:65:16\n
39: block_on<core::pin::Pin<&mut dyn
core::future::future::Future<Output=()>>>\n at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:188:9\n
40: tokio::runtime::runtime::Runtime::block_on_inner\n at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/runtime.rs:356:52\n
41: block_on<core::pin::Pin<&mut dyn
core::future::future::Future<Output=()>>>\n at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/runtime.rs:330:18\n
42: test_in_mem_buffer_almost_full\n at
./tests/memory_limit/mod.rs:513:40\n 43: cor
e_integration::memory_limit::test_in_mem_buffer_almost_full::{{closure}}\n
at ./tests/memory_limit/mod.rs:498:42\n 44:
core::ops::function::FnOnce::call_once\n at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/ops/function.rs:250:5\n
45: core::ops::function::FnOnce::call_once\n at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/ops/function.rs:250:5\n
46: test::__rust_begin_short_backtrace\n at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/test/src/lib.rs:648:18\n
47: test::run_test_in_process::{{closure}}\n at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/test/src/lib.rs:671:74\n
48: <core::panic::unwind_safe::AssertUnwindSafe<F> as
core::ops::function::FnOnce<()>>::call_once\n at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/panic/unwind_safe.rs:272:9\n
49: std::panicking::catch_unwind::do_call\n at
/rustc/29483883eed69
d5fb4db01964cdf2af4d86e9cb2/library/std/src/panicking.rs:589:40\n 50:
std::panicking::catch_unwind\n at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/std/src/panicking.rs:552:19\n
51: std::panic::catch_unwind\n at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/std/src/panic.rs:359:14\n
52: test::run_test_in_process\n at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/test/src/lib.rs:671:27\n
53: test::run_test::{{closure}}\n at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/test/src/lib.rs:592:43\n
54: test::run_test::{{closure}}\n at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/test/src/lib.rs:622:41\n
55: std::sys::backtrace::__rust_begin_short_backtrace\n at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/std/src/sys/backtrace.rs:152:18\n
56: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}\n
at /rustc/29483883eed69d5fb4
db01964cdf2af4d86e9cb2/library/std/src/thread/mod.rs:559:17\n 57:
<core::panic::unwind_safe::AssertUnwindSafe<F> as
core::ops::function::FnOnce<()>>::call_once\n at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/panic/unwind_safe.rs:272:9\n
58: std::panicking::catch_unwind::do_call\n at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/std/src/panicking.rs:589:40\n
59: std::panicking::catch_unwind\n at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/std/src/panicking.rs:552:19\n
60: std::panic::catch_unwind\n at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/std/src/panic.rs:359:14\n
61: std::thread::Builder::spawn_unchecked_::{{closure}}\n at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/std/src/thread/mod.rs:557:30\n
62: core::ops::function::FnOnce::call_once{{vtable.shim}}\n at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/ops/functio
n.rs:250:5\n 63: <alloc::boxed::Box<F,A> as
core::ops::function::FnOnce<Args>>::call_once\n at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/alloc/src/boxed.rs:1966:9\n
64: std::sys::pal::unix::thread::Thread::new::thread_start\n at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/std/src/sys/pal/unix/thread.rs:107:17\n
65: <unknown>\n 66: __clone\n"))
stack backtrace:
0: __rustc::rust_begin_unwind
at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/std/src/panicking.rs:697:5
1: core::panicking::panic_fmt
at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/panicking.rs:75:14
2: core::result::unwrap_failed
at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/result.rs:1761:5
3: unwrap<alloc::vec::Vec<arrow_array::record_batch::RecordBatch,
alloc::alloc::Global>, datafusion_common::error::DataFusionError>
at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/result.rs:1167:23
4: {async_block#0}
at ./tests/memory_limit/mod.rs:513:32
5: poll<&mut dyn core::future::future::Future<Output=()>>
at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/future/future.rs:124:9
6: poll<&mut core::pin::Pin<&mut dyn
core::future::future::Future<Output=()>>>
at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/future/future.rs:124:9
7: {closure#0}<core::pin::Pin<&mut core::pin::Pin<&mut dyn
core::future::future::Future<Output=()>>>>
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:742:70
8: with_budget<core::task::poll::Poll<()>,
tokio::runtime::scheduler::current_thread::{impl#8}::block_on::{closure#0}::{closure#0}::{closure_env#0}<core::pin::Pin<&mut
core::pin::Pin<&mut dyn core::future::future::Future<Output=()>>>>>
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/coop/mod.rs:167:5
9: budget<core::task::poll::Poll<()>,
tokio::runtime::scheduler::current_thread::{impl#8}::block_on::{closure#0}::{closure#0}::{closure_env#0}<core::pin::Pin<&mut
core::pin::Pin<&mut dyn core::future::future::Future<Output=()>>>>>
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/coop/mod.rs:133:5
10: {closure#0}<core::pin::Pin<&mut core::pin::Pin<&mut dyn
core::future::future::Future<Output=()>>>>
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:742:25
11: tokio::runtime::scheduler::current_thread::Context::enter
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:432:19
12: {closure#0}<core::pin::Pin<&mut core::pin::Pin<&mut dyn
core::future::future::Future<Output=()>>>>
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:741:44
13:
tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:829:68
14: tokio::runtime::context::scoped::Scoped<T>::set
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context/scoped.rs:40:9
15: tokio::runtime::context::set_scheduler::{{closure}}
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context.rs:176:38
16: try_with<tokio::runtime::context::Context,
tokio::runtime::context::set_scheduler::{closure_env#0}<(alloc::boxed::Box<tokio::runtime::scheduler::current_thread::Core,
alloc::alloc::Global>, core::option::Option<()>),
tokio::runtime::scheduler::current_thread::{impl#8}::enter::{closure_env#0}<tokio::runtime::scheduler::current_thread::{impl#8}::block_on::{closure_env#0}<core::pin::Pin<&mut
core::pin::Pin<&mut dyn core::future::future::Future<Output=()>>>>,
core::option::Option<()>>>,
(alloc::boxed::Box<tokio::runtime::scheduler::current_thread::Core,
alloc::alloc::Global>, core::option::Option<()>)>
at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/std/src/thread/local.rs:315:12
17: std::thread::local::LocalKey<T>::with
at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/std/src/thread/local.rs:279:20
18: tokio::runtime::context::set_scheduler
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context.rs:176:17
19: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:829:27
20: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:729:24
21: {closure#0}<core::pin::Pin<&mut dyn
core::future::future::Future<Output=()>>>
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:200:33
22: tokio::runtime::context::runtime::enter_runtime
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context/runtime.rs:65:16
23: block_on<core::pin::Pin<&mut dyn
core::future::future::Future<Output=()>>>
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:188:9
24: tokio::runtime::runtime::Runtime::block_on_inner
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/runtime.rs:356:52
25: block_on<core::pin::Pin<&mut dyn
core::future::future::Future<Output=()>>>
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/runtime.rs:330:18
26: test_in_mem_buffer_almost_full
at ./tests/memory_limit/mod.rs:513:40
27:
core_integration::memory_limit::test_in_mem_buffer_almost_full::{{closure}}
at ./tests/memory_limit/mod.rs:498:42
28: core::ops::function::FnOnce::call_once
at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/ops/function.rs:250:5
29: core::ops::function::FnOnce::call_once
at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose
backtrace.
failures:
memory_limit::test_in_mem_buffer_almost_full
```
```
failures:
---- sql::runtime_config::test_memory_limit_with_spill stdout ----
thread 'sql::runtime_config::test_memory_limit_with_spill' panicked at
datafusion/core/tests/sql/runtime_config.rs:54:5:
Expected spills but none occurred
stack backtrace:
0: __rustc::rust_begin_unwind
at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/std/src/panicking.rs:697:5
1: core::panicking::panic_fmt
at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/panicking.rs:75:14
2: {async_block#0}
at ./tests/sql/runtime_config.rs:54:5
3: poll<&mut dyn core::future::future::Future<Output=()>>
at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/future/future.rs:124:9
4: poll<&mut core::pin::Pin<&mut dyn
core::future::future::Future<Output=()>>>
at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/future/future.rs:124:9
5: {closure#0}<core::pin::Pin<&mut core::pin::Pin<&mut dyn
core::future::future::Future<Output=()>>>>
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:742:70
6: with_budget<core::task::poll::Poll<()>,
tokio::runtime::scheduler::current_thread::{impl#8}::block_on::{closure#0}::{closure#0}::{closure_env#0}<core::pin::Pin<&mut
core::pin::Pin<&mut dyn core::future::future::Future<Output=()>>>>>
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/coop/mod.rs:167:5
7: budget<core::task::poll::Poll<()>,
tokio::runtime::scheduler::current_thread::{impl#8}::block_on::{closure#0}::{closure#0}::{closure_env#0}<core::pin::Pin<&mut
core::pin::Pin<&mut dyn core::future::future::Future<Output=()>>>>>
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/coop/mod.rs:133:5
8: {closure#0}<core::pin::Pin<&mut core::pin::Pin<&mut dyn
core::future::future::Future<Output=()>>>>
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:742:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:432:19
10: {closure#0}<core::pin::Pin<&mut core::pin::Pin<&mut dyn
core::future::future::Future<Output=()>>>>
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:741:44
11:
tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:829:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context.rs:176:38
14: try_with<tokio::runtime::context::Context,
tokio::runtime::context::set_scheduler::{closure_env#0}<(alloc::boxed::Box<tokio::runtime::scheduler::current_thread::Core,
alloc::alloc::Global>, core::option::Option<()>),
tokio::runtime::scheduler::current_thread::{impl#8}::enter::{closure_env#0}<tokio::runtime::scheduler::current_thread::{impl#8}::block_on::{closure_env#0}<core::pin::Pin<&mut
core::pin::Pin<&mut dyn core::future::future::Future<Output=()>>>>,
core::option::Option<()>>>,
(alloc::boxed::Box<tokio::runtime::scheduler::current_thread::Core,
alloc::alloc::Global>, core::option::Option<()>)>
at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/std/src/thread/local.rs:315:12
15: std::thread::local::LocalKey<T>::with
at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/std/src/thread/local.rs:279:20
16: tokio::runtime::context::set_scheduler
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context.rs:176:17
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:829:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:729:24
19: {closure#0}<core::pin::Pin<&mut dyn
core::future::future::Future<Output=()>>>
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:200:33
20: tokio::runtime::context::runtime::enter_runtime
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context/runtime.rs:65:16
21: block_on<core::pin::Pin<&mut dyn
core::future::future::Future<Output=()>>>
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/runtime.rs:356:52
23: block_on<core::pin::Pin<&mut dyn
core::future::future::Future<Output=()>>>
at
/usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/runtime.rs:330:18
24: test_memory_limit_with_spill
at ./tests/sql/runtime_config.rs:54:66
25:
core_integration::sql::runtime_config::test_memory_limit_with_spill::{{closure}}
at ./tests/sql/runtime_config.rs:27:40
26: core::ops::function::FnOnce::call_once
at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/ops/function.rs:250:5
27: core::ops::function::FnOnce::call_once
at
/rustc/29483883eed69d5fb4db01964cdf2af4d86e9cb2/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose
backtrace.
failures:
sql::runtime_config::test_memory_limit_with_spill
```
Note they are failing in different tests each time.
### To Reproduce
Started with
https://github.com/apache/datafusion/commit/44cd972546eaf8e946fa9d4576abade7daf7efab,
though I will note I saw this similar error even before this was merged on one
of my PRs but it went away after rerun; seems it's consistent now.
### Expected behavior
_No response_
### Additional context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]