Describe the bug
The test //src/pdn/test:pads_black_parrot_flipchip_connect_overpads-tcl_test fails randomly on MacOS, Debian 13 and Ubuntu 2204 when tested with bazel. From 100 runs 16 fail on Debian 13, 17 fail on MacOS.
I saw this also in the ci regression in the bazel part. I could not observe this is the ctest results for the same test.
Expected Behavior
The test should either fail or pass. Preferred pass :-)
Environment
I tested this on MacOS 15.7.4 (arm64), Debian 13 x86_64 and in Ubuntu 2204 in a docker machine.
To Reproduce
Use the following shell script "blackparrot.sh" to run the test 100 times on your system.
#!/bin/bash
# Number of times to run the test
RUNS=100
# Counters
pass_count=0
fail_count=0
# Test target
TEST="//src/pdn/test:pads_black_parrot_flipchip_connect_overpads-tcl_test"
# Loop
for i in $(seq 1 $RUNS); do
echo "Run #$i..."
# Run test with no cache and no disk/remote cache
bazelisk test --nocache_test_results "$TEST" --disk_cache= --remote_cache=
# Check exit status ($? is 0 if success, non-zero if failure)
if [ $? -eq 0 ]; then
((pass_count++))
echo "PASS"
else
((fail_count++))
echo "FAIL"
fi
done
# Summary
echo "-----------------------"
echo "Total runs: $RUNS"
echo "Passes: $pass_count"
echo "Fails: $fail_count"
Relevant log output
Debian 13 x86_64:
Executed 1 out of 1 test: 1 test passes.
PASS
Run #100...
INFO: Analyzed target //src/pdn/test:pads_black_parrot_flipchip_connect_overpads-tcl_test (0 packages loaded, 0 targets configured).
INFO: Found 1 test target...
Target //src/pdn/test:pads_black_parrot_flipchip_connect_overpads-tcl_test up-to-date:
bazel-bin/src/pdn/test/pads_black_parrot_flipchip_connect_overpads-tcl_test_test.sh
INFO: Elapsed time: 0.795s, Critical Path: 0.56s
INFO: 2 processes: 2 linux-sandbox.
INFO: Build completed successfully, 2 total actions
//src/pdn/test:pads_black_parrot_flipchip_connect_overpads-tcl_test PASSED in 0.5s
Executed 1 out of 1 test: 1 test passes.
PASS
-----------------------
Total runs: 100
Passes: 84
Fails: 16
MacOS:
Executed 1 out of 1 test: 1 fails locally.
FAIL
Run #100...
INFO: Analyzed target //src/pdn/test:pads_black_parrot_flipchip_connect_overpads-tcl_test (0 packages loaded, 0 targets configured).
INFO: Found 1 test target...
Target //src/pdn/test:pads_black_parrot_flipchip_connect_overpads-tcl_test up-to-date:
bazel-bin/src/pdn/test/pads_black_parrot_flipchip_connect_overpads-tcl_test_test.sh
INFO: Elapsed time: 0.447s, Critical Path: 0.29s
INFO: 2 processes: 2 darwin-sandbox.
INFO: Build completed successfully, 2 total actions
//src/pdn/test:pads_black_parrot_flipchip_connect_overpads-tcl_test PASSED in 0.3s
Executed 1 out of 1 test: 1 test passes.
PASS
-----------------------
Total runs: 100
Passes: 83
Fails: 17
Screenshots
No response
Additional Context
No response
Describe the bug
The test //src/pdn/test:pads_black_parrot_flipchip_connect_overpads-tcl_test fails randomly on MacOS, Debian 13 and Ubuntu 2204 when tested with bazel. From 100 runs 16 fail on Debian 13, 17 fail on MacOS.
I saw this also in the ci regression in the bazel part. I could not observe this is the ctest results for the same test.
Expected Behavior
The test should either fail or pass. Preferred pass :-)
Environment
To Reproduce
Use the following shell script "blackparrot.sh" to run the test 100 times on your system.
Relevant log output
Screenshots
No response
Additional Context
No response