<#18191 Docker environment tests flake> Issue crea...
# github-notifications
q
#18191 Docker environment tests flake Issue created by stuhood Three of the rust-side Docker environment tests are flaky: https://github.com/pantsbuild/pants/actions/runs/4109345387/jobs/7091079699 The failures seem to be consecutive though, so it's possible that they are stepping on one another's toes somehow. ``` thread 'docker_tests::timeout' panicked at ' expected: string containing <"Calculating..."> but was: <""> ', /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/spectral-0.6.0/src/lib.rs3439 stack backtrace: 0: std:panicking:begin_panic at /rustc/fc594f15669680fa70d255faec3ca3fb507c3405/library/std/src/panicking.rs60712 1: spectral:AssertionFailure&lt;T&gt;:fail at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/spectral-0.6.0/src/lib.rs3439 2: spectral:string:contains at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/spectral-0.6.0/src/string.rs1019 3: <spectral:Spec&lt;allocstring:String> as spectral:stringStrAssertions&gt;:contains at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/spectral-0.6.0/src/string.rs719 4: process_execution:docker teststimeout:{{closure}} at ./src/docker_tests.rs5893 5: tokio:runtimeparkCachedParkThreadblock on:{{closure}} at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/park.rs28363 6: tokio:runtimecoop:with_budget at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/coop.rs1025 7: tokio:runtimecoop:budget at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/coop.rs685 8: tokio:runtimeparkCachedParkThread:block_on at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/park.rs28331 9: tokio:runtimecontextBlockingRegionGuard:block_on at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/context.rs29513 10: tokio:runtimeschedulermulti threadMultiThread:block_on at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/scheduler/multi_thread/mod.rs669 11: tokio:runtimeruntimeRuntime:block_on at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/runtime.rs28445 12: process_execution:docker tests:timeout at ./src/docker_tests.rs5913 13: process_execution:docker teststimeout:{{closure}} at ./src/docker_tests.rs57120 14: core:opsfunctionFnOnce:call_once at /rustc/fc594f15669680fa70d255faec3ca3fb507c3405/library/core/src/ops/function.rs5075 15: core:opsfunctionFnOnce:call_once at /rustc/fc594f15669680fa70d255faec3ca3fb507c3405/library/core/src/ops/function.rs5075 note: Some details are omitted, run with
RUST_BACKTRACE=full
for a verbose backtrace. test docker_tests::timeout ... FAILED thread 'docker_tests::immutable_inputs' panicked at 'assertion failed:
(left == right)
left:
{}
, right: `{"cats", "falcons"}`', process_execution/src/docker_tests.rs7173 stack backtrace: 0: rust_begin_unwind at /rustc/fc594f15669680fa70d255faec3ca3fb507c3405/library/std/src/panicking.rs5755 1: core:panicking:panic_fmt at /rustc/fc594f15669680fa70d255faec3ca3fb507c3405/library/core/src/panicking.rs6414 2: core:panicking:assert_failed_inner 3: core:panicking:assert_failed at /rustc/fc594f15669680fa70d255faec3ca3fb507c3405/library/core/src/panicking.rs1995 4: process_execution:docker testsimmutable inputs:{{closure}} at ./src/docker_tests.rs7173 5: tokio:runtimeparkCachedParkThreadblock on:{{closure}} at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/park.rs28363 6: tokio:runtimecoop:with_budget at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/coop.rs1025 7: tokio:runtimecoop:budget at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/coop.rs685 8: tokio:runtimeparkCachedParkThread:block_on at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/park.rs28331 9: tokio:runtimecontextBlockingRegionGuard:block_on at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/context.rs29513 10: tokio:runtimeschedulermulti threadMultiThread:block_on at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/scheduler/multi_thread/mod.rs669 11: tokio:runtimeruntimeRuntime:block_on at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/runtime.rs28445 12: process_execution:docker tests:immutable_inputs at ./src/docker_tests.rs7193 13: process_execution:docker testsimmutable inputs:{{closure}} at ./src/docker_tests.rs65529 14: core:opsfunctionFnOnce:call_once at /rustc/fc594f15669680fa70d255faec3ca3fb507c3405/library/core/src/ops/function.rs5075 15: core:opsfunctionFnOnce:call_once at /rustc/fc594f15669680fa70d255faec3ca3fb507c3405/library/core/src/ops/function.rs5075 note: Some details are omitted, run with
RUST_BACKTRACE=full
for a verbose backtrace. test docker_tests::immutable_inputs ... FAILED test docker_tests::test_chroot_placeholder ... ok thread 'docker_tests::working_directory' panicked at 'assertion failed:
(left == right)
left:
[]
, right: `[114, 111, 108, 97, 110, 100, 46, 101, 120, 116, 10]`', process_execution/src/docker_tests.rs6443 stack backtrace: 0: rust_begin_unwind at /rustc/fc594f15669680fa70d255faec3ca3fb507c3405/library/std/src/panicking.rs5755 1: core:panicking:panic_fmt at /rustc/fc594f15669680fa70d255faec3ca3fb507c3405/library/core/src/panicking.rs6414 2: core:panicking:assert_failed_inner 3: core:panicking:assert_failed at /rustc/fc594f15669680fa70d255faec3ca3fb507c3405/library/core/src/panicking.rs1995 4: process_execution:docker testsworking directory:{{closure}} at ./src/docker_tests.rs6443 5: tokio:runtimeparkCachedParkThreadblock on:{{closure}} at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/park.rs28363 6: tokio:runtimecoop:with_budget at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/coop.rs1025 7: tokio:runtimecoop:budget at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/coop.rs685 8: tokio:runtimeparkCachedParkThread:block_on at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/park.rs28331 9: tokio:runtimecontextBlockingRegionGuard:block_on at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/context.rs29513 10: tokio:runtimeschedulermulti threadMultiThread:block_on at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/scheduler/multi_thread/mod.rs669 11: tokio:runtimeruntimeRuntime:block_on at /home/gha/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.23.0/src/runtime/runtime.rs28445 12: process_execution:docker tests:working_directory at ./src/docker_tests.rs6513 13: process_execution:docker testsworking directory:{{closure}} at ./src/docker_tests.rs59530 14: core:opsfunctionFnOnce:call_on… pantsbuild/pants