From 364f7eedee1ae0033607edcd9e0a7cceec94e6f3 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Mon, 20 Oct 2025 16:36:10 +0200 Subject: [PATCH] Debug crash in random tests on PTL --- conda-recipe/run_test.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/conda-recipe/run_test.sh b/conda-recipe/run_test.sh index b2c96df36242..0a7a960937b0 100755 --- a/conda-recipe/run_test.sh +++ b/conda-recipe/run_test.sh @@ -37,4 +37,12 @@ set -e $PYTHON -c "import dpnp; print(dpnp.__version__)" $PYTHON -m dpctl -f + +uname -r +echo "Running gdb command" +gdb --batch -ex r -ex 'info sharedlibrary' -ex 'set print elements 1000' -ex thread apply all bt full --args "$PYTHON" -m pytest -ra --pyargs dpnp.tests.test_random +echo "End gdb command" +$PYTHON -m pytest -sv --pyargs dpnp.tests.test_random +echo "End short tests scope" + $PYTHON -m pytest -ra --pyargs dpnp