Unverified Commit 09c09909 authored by Dillon Cullinan's avatar Dillon Cullinan Committed by GitHub
Browse files

fix: Dont ignore non-zero exitcodes after running tests (#7149)


Signed-off-by: default avatarDillon Cullinan <dcullinan@nvidia.com>
Signed-off-by: default avatarAnant Sharma <anants@nvidia.com>
Co-authored-by: default avatarAnant Sharma <anants@nvidia.com>
parent 423e4b45
......@@ -296,10 +296,6 @@ runs:
JUNIT_NAME="pytest_test_report_${{ inputs.framework }}_${STR_TEST_TYPE}_${{ inputs.platform_arch }}_${{ github.run_id }}_${{ job.check_run_id }}.xml"
mv "$JUNIT_FILE" "test-results/$JUNIT_NAME"
echo "📝 Renamed XML file to: $JUNIT_NAME"
if [[ "${TEST_EXIT_CODE}" != "0" ]]; then
echo "⚠️ Ignoring non-zero test container exit code ${TEST_EXIT_CODE} because JUnit XML was generated"
fi
else
echo "⚠️ JUnit XML file not found - test results may not be available for upload"
TOTAL_TESTS=0
......@@ -307,11 +303,6 @@ runs:
ERROR_TESTS=0
fi
# Treat the run as successful if pytest produced a JUnit XML file.
if [[ -n "${JUNIT_NAME:-}" ]]; then
exit 0
fi
exit ${TEST_EXIT_CODE}
- name: Cleanup MinIO Service
......
......@@ -178,6 +178,7 @@ class TestRapidUnsupported:
ops = _make_ops(tmp_path)
asyncio.run(run_profile(dgdr, ops))
@pytest.mark.skip(reason="Fails with latest AIC - OPS-3852")
@pytest.mark.pre_merge
@pytest.mark.gpu_0
def test_planner_throughput_scaling_raises(self, tmp_path):
......
......@@ -46,6 +46,7 @@ pytestmark = [
pytest.mark.gpu_0,
pytest.mark.integration,
pytest.mark.model(MODEL_NAME),
pytest.mark.skip(reason="DYN-2365 - Flaky, temporarily disabled"),
]
NUM_MOCKERS = 2
SPEEDUP_RATIO = 10.0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment