Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

possible flaky test: ffi_tracing #741

Open
zachschuermann opened this issue Mar 12, 2025 · 2 comments
Open

possible flaky test: ffi_tracing #741

zachschuermann opened this issue Mar 12, 2025 · 2 comments

Comments

@zachschuermann
Copy link
Collaborator

failed on windows. CI run (and pasted below): https://github.com/delta-io/delta-kernel-rs/actions/runs/13813466952/job/38640519572?pr=713

failures:

---- ffi_tracing::tests::info_logs_with_log_line_tracing stdout ----

thread 'ffi_tracing::tests::info_logs_with_log_line_tracing' panicked at ffi\src\ffi_tracing.rs:508:21:
assertion failed: got.contains(tstr)
stack backtrace:
   0: std::panicking::begin_panic_handler
             at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library\std\src\panicking.rs:692
   1: core::panicking::panic_fmt
             at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library\core\src\panicking.rs:75
   2: core::panicking::panic
             at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library\core\src\panicking.rs:145
   3: delta_kernel_ffi::ffi_tracing::tests::info_logs_with_log_line_tracing
             at .\src\ffi_tracing.rs:508
   4: delta_kernel_ffi::ffi_tracing::tests::info_logs_with_log_line_tracing::closure$0
             at .\src\ffi_tracing.rs:488
   5: core::ops::function::FnOnce::call_once<delta_kernel_ffi::ffi_tracing::tests::info_logs_with_log_line_tracing::closure_env$0,tuple$<> >
             at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688\library\core\src\ops\function.rs:250
   6: core::ops::function::FnOnce::call_once
             at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library\core\src\ops\function.rs:250
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

---- ffi_tracing::tests::info_logs_with_formatted_log_line_tracing stdout ----

thread 'ffi_tracing::tests::info_logs_with_formatted_log_line_tracing' panicked at ffi\src\ffi_tracing.rs:533:38:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }
stack backtrace:
   0: std::panicking::begin_panic_handler
             at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library\std\src\panicking.rs:692
   1: core::panicking::panic_fmt
             at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library\core\src\panicking.rs:75
   2: core::result::unwrap_failed
             at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library\core\src\result.rs:1704
   3: enum2$<core::result::Result<std::sync::poison::mutex::MutexGuard<tuple$<> >,std::sync::poison::PoisonError<std::sync::poison::mutex::MutexGuard<tuple$<> > > > >::unwrap
             at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688\library\core\src\result.rs:1109
   4: delta_kernel_ffi::ffi_tracing::tests::info_logs_with_formatted_log_line_tracing
             at .\src\ffi_tracing.rs:533
   5: delta_kernel_ffi::ffi_tracing::tests::info_logs_with_formatted_log_line_tracing::closure$0
             at .\src\ffi_tracing.rs:532
   6: core::ops::function::FnOnce::call_once<delta_kernel_ffi::ffi_tracing::tests::info_logs_with_formatted_log_line_tracing::closure_env$0,tuple$<> >
             at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688\library\core\src\ops\function.rs:250
   7: core::ops::function::FnOnce::call_once
             at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library\core\src\ops\function.rs:250
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

---- ffi_tracing::tests::trace_event_tracking stdout ----

thread 'ffi_tracing::tests::trace_event_tracking' panicked at ffi\src\ffi_tracing.rs:594:38:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }
stack backtrace:
   0: std::panicking::begin_panic_handler
             at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library\std\src\panicking.rs:692
   1: core::panicking::panic_fmt
             at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library\core\src\panicking.rs:75
   2: core::result::unwrap_failed
             at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library\core\src\result.rs:1704
   3: enum2$<core::result::Result<std::sync::poison::mutex::MutexGuard<tuple$<> >,std::sync::poison::PoisonError<std::sync::poison::mutex::MutexGuard<tuple$<> > > > >::unwrap
             at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688\library\core\src\result.rs:1109
   4: delta_kernel_ffi::ffi_tracing::tests::trace_event_tracking
             at .\src\ffi_tracing.rs:594
   5: delta_kernel_ffi::ffi_tracing::tests::trace_event_tracking::closure$0
             at .\src\ffi_tracing.rs:593
   6: core::ops::function::FnOnce::call_once<delta_kernel_ffi::ffi_tracing::tests::trace_event_tracking::closure_env$0,tuple$<> >
             at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688\library\core\src\ops\function.rs:250
   7: core::ops::function::FnOnce::call_once
             at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library\core\src\ops\function.rs:250
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.


failures:
    ffi_tracing::tests::info_logs_with_formatted_log_line_tracing
    ffi_tracing::tests::info_logs_with_log_line_tracing
    ffi_tracing::tests::trace_event_tracking

test result: FAILED. 10 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 23.38s

error: test failed, to rerun pass `-p delta_kernel_ffi --lib`
Error: Process completed with exit code 1.
@zachschuermann
Copy link
Collaborator Author

failures:

    ffi_tracing::tests::info_logs_with_formatted_log_line_tracing
    ffi_tracing::tests::info_logs_with_log_line_tracing
    ffi_tracing::tests::trace_event_tracking

all due to the same error:

thread 'ffi_tracing::tests::trace_event_tracking' panicked at ffi\src\ffi_tracing.rs:594:38:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }

@zachschuermann
Copy link
Collaborator Author

related: #584

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant