From: Kamoltat Sirivadhna Date: Fri, 27 Jun 2025 17:44:08 +0000 (+0000) Subject: qa/workunits/rados/test.sh: add XML output for neorados tests X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=91ff6628fff6ed732131d9c2c9df38d35618c17a;p=ceph.git qa/workunits/rados/test.sh: add XML output for neorados tests This commit adds XML output support for the neorados test suite, ensuring test results are properly captured in XML format. This change aligns the neorados tests with the existing behavior of the standard RADOS tests, which were already generating XML output files and utilize teuthology scanner to capture failures if any. Fixes: https://tracker.ceph.com/issues/70772 Signed-off-by: Kamoltat Sirivadhna --- diff --git a/qa/workunits/rados/test.sh b/qa/workunits/rados/test.sh index bf9fb3baa76..41096528563 100755 --- a/qa/workunits/rados/test.sh +++ b/qa/workunits/rados/test.sh @@ -84,7 +84,7 @@ do if [ $parallel -eq 1 ]; then r=`printf '%25s' $f` ff=`echo $f | awk '{print $1}'` - bash -o pipefail -exc "ceph_test_neorados_$f $color 2>&1 | tee ceph_test_neorados_$ff.log | sed \"s/^/$r: /\"" & + bash -o pipefail -exc "ceph_test_neorados_$f --gtest_output=xml:$GTEST_OUTPUT_DIR/neorados_$f.xml $color 2>&1 | tee ceph_test_neorados_$ff.log | sed \"s/^/$r: /\"" & pid=$! echo "test $f on pid $pid" pids[$f]=$pid