From 4fbb372f1570b3a058a8a98d4c7449a61a9ad500 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Mon, 30 Jun 2025 13:58:20 +0900 Subject: [PATCH] CI: revert SGX retry attempts (#4421) * Revert "Improve spec test execution by adding retry logic for transient errors (#4393)" This reverts commit 64cafaff1eee1942154867e4c4088dd2bfb70284. * Revert "Add error handling for sgx ci (#4222)" This reverts commit 8ad47897d1f5579a3c9d75e4d7d234474fc54bbd. --- .github/workflows/compilation_on_sgx.yml | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/.github/workflows/compilation_on_sgx.yml b/.github/workflows/compilation_on_sgx.yml index 3033c270e..541f7a284 100644 --- a/.github/workflows/compilation_on_sgx.yml +++ b/.github/workflows/compilation_on_sgx.yml @@ -288,24 +288,8 @@ jobs: sudo swapon /swapfile sudo swapon --show - - name: run spec tests with retry - id: run_spec_tests - uses: nick-fields/retry@v3 - with: - command: | - cd ./tests/wamr-test-suites - source /opt/intel/sgxsdk/environment - ./test_wamr.sh ${{ matrix.test_option }} -t ${{ matrix.running_mode }} - max_attempts: 3 - retry_on: error - shell: bash - timeout_minutes: 10 - - - name: print test results + - name: run spec tests run: | - echo "Test results:" - echo "${{ steps.run_spec_tests.outputs.stdout }}" - echo "${{ steps.run_spec_tests.outputs.stderr }}" - echo "Exit code: ${{ steps.run_spec_tests.outputs.exit_code }}" - echo "Exit error: ${{ steps.run_spec_tests.outputs.exit_error }}" - shell: bash + source /opt/intel/sgxsdk/environment + ./test_wamr.sh ${{ matrix.test_option }} -t ${{ matrix.running_mode }} + working-directory: ./tests/wamr-test-suites