You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(ci): Report specific failed test cases and improve navigation guidance
- Extract individual gtest case names (e.g., ValuesTest.empty) from ctest
output in addition to ctest group names (e.g., velox_exec_test_group0)
- Prefer showing specific test case names when available
- Update error annotations and PR comments to guide users to the specific
job and 'Run Tests' step for full failure details
echo "::error::${CASE_COUNT} test case(s) failed in the Linux adapters release configuration. Failed: $(echo "$FAILED_CASES" | tr '\n' ', ' | sed 's/,$//'). To see the full test output with failure details, click the 'Linux release with adapters' job in the workflow run, then expand the 'Run Tests' step."
378
+
echo ""
379
+
echo "Failed test cases:"
380
+
echo "$CASE_LIST"
381
+
elif [[ -n "$FAILED_TESTS" ]]; then
366
382
TEST_LIST=$(echo "$FAILED_TESTS" | sed 's/^/ - /')
echo "::error::${TEST_COUNT} test(s) failed in the Linux adapters release configuration. Failed tests: $(echo "$FAILED_TESTS" | tr '\n' ', ' | sed 's/,$//'). To see the full test output with failure details, check the 'Run Tests' step in the 'Linux release with adapters' job."
384
+
echo "::error::${TEST_COUNT} test(s) failed in the Linux adapters release configuration. Failed tests: $(echo "$FAILED_TESTS" | tr '\n' ', ' | sed 's/,$//'). To see the full test output with failure details, click the 'Linux release with adapters' job in the workflow run, then expand the 'Run Tests' step."
369
385
echo ""
370
386
echo "Failed tests:"
371
387
echo "$TEST_LIST"
372
-
echo ""
373
-
echo "To investigate, look at the 'Run Tests' step in the 'Linux release with adapters' job for the full ctest output, which includes the specific assertion failures and stack traces for each test."
374
388
else
375
389
echo "::error::Tests failed in the Linux adapters release configuration but no specific test names were captured. Check the 'Run Tests' step in the 'Linux release with adapters' job for details."
376
390
fi
391
+
echo ""
392
+
echo "To investigate, click the 'Linux release with adapters' job in the workflow run, then expand the 'Run Tests' step for the full ctest output with assertion failures and stack traces."
Check the **Linux release with adapters** workflow for detailed logs.
431
+
To investigate, click the **Linux release with adapters** job in the workflow run below, then expand the **Run Tests** step for full ctest output with assertion failures and stack traces.
echo "::error::${CASE_COUNT} test case(s) failed in the Ubuntu debug configuration. Failed: $(echo "$FAILED_CASES" | tr '\n' ', ' | sed 's/,$//'). To see the full test output with failure details, click the 'Ubuntu debug with system dependencies' job in the workflow run, then expand the 'Run Tests' step."
704
+
echo ""
705
+
echo "Failed test cases:"
706
+
echo "$CASE_LIST"
707
+
elif [[ -n "$FAILED_TESTS" ]]; then
664
708
TEST_LIST=$(echo "$FAILED_TESTS" | sed 's/^/ - /')
echo "::error::${TEST_COUNT} test(s) failed in the Ubuntu debug configuration. Failed tests: $(echo "$FAILED_TESTS" | tr '\n' ', ' | sed 's/,$//'). To see the full test output with failure details, check the 'Run Tests' step in the 'Ubuntu debug with system dependencies' job."
710
+
echo "::error::${TEST_COUNT} test(s) failed in the Ubuntu debug configuration. Failed tests: $(echo "$FAILED_TESTS" | tr '\n' ', ' | sed 's/,$//'). To see the full test output with failure details, click the 'Ubuntu debug with system dependencies' job in the workflow run, then expand the 'Run Tests' step."
667
711
echo ""
668
712
echo "Failed tests:"
669
713
echo "$TEST_LIST"
670
-
echo ""
671
-
echo "To investigate, look at the 'Run Tests' step in the 'Ubuntu debug with system dependencies' job for the full ctest output, which includes the specific assertion failures and stack traces for each test."
672
714
else
673
715
echo "::error::Tests failed in the Ubuntu debug configuration but no specific test names were captured. Check the 'Run Tests' step in the 'Ubuntu debug with system dependencies' job for details."
674
716
fi
717
+
echo ""
718
+
echo "To investigate, click the 'Ubuntu debug with system dependencies' job in the workflow run, then expand the 'Run Tests' step for the full ctest output with assertion failures and stack traces."
Check the **Ubuntu debug with system dependencies** workflow for detailed logs.
757
+
To investigate, click the **Ubuntu debug with system dependencies** job in the workflow run below, then expand the **Run Tests** step for full ctest output with assertion failures and stack traces.
0 commit comments