diff --git a/.github/workflows/functional-test-cloud.yaml b/.github/workflows/functional-test-cloud.yaml index 2613e5c616..a55c7ee5dd 100644 --- a/.github/workflows/functional-test-cloud.yaml +++ b/.github/workflows/functional-test-cloud.yaml @@ -679,8 +679,9 @@ jobs: kubectl logs "$POD_NAME" -n radius-system | tee registermanifest_logs.txt > /dev/null # Exit on error - if grep -qi "error" registermanifest_logs.txt; then - echo "Error found in ucp logs." + if grep -qi "Service initializer terminated with error" registermanifest_logs.txt; then + echo "Error found in ucp logs:" + grep -i "Service initializer terminated with error" registermanifest_logs.txt exit 1 fi @@ -721,7 +722,7 @@ jobs: rad credential register aws irsa \ --iam-role ${{ secrets.FUNC_TEST_RAD_IRSA_ROLE }} - + - uses: marocchino/sticky-pull-request-comment@v2 if: failure() && env.PR_NUMBER != '' continue-on-error: true @@ -946,4 +947,4 @@ jobs: title: `Scheduled functional test failed - Run ID: ${context.runId}`, labels: ['bug', 'test-failure'], body: `## Bug information \n\nThis issue is automatically generated if the scheduled functional test fails. The Radius functional test operates on a schedule of every 4 hours during weekdays and every 12 hours over the weekend. It's important to understand that the test may fail due to workflow infrastructure issues, like network problems, rather than the flakiness of the test itself. For the further investigation, please visit [here](${process.env.ACTION_LINK}).` - }) + }) \ No newline at end of file diff --git a/.github/workflows/functional-test-noncloud.yaml b/.github/workflows/functional-test-noncloud.yaml index 8f73019694..bfccf79e05 100644 --- a/.github/workflows/functional-test-noncloud.yaml +++ b/.github/workflows/functional-test-noncloud.yaml @@ -294,8 +294,9 @@ jobs: kubectl logs "$POD_NAME" -n radius-system | tee registermanifest_logs.txt > /dev/null # Exit on error - if grep -qi "error" registermanifest_logs.txt; then + if grep -qi "Service initializer terminated with error" registermanifest_logs.txt; then echo "Error found in ucp logs." + grep -i "Service initializer terminated with error" registermanifest_logs.txt exit 1 fi @@ -323,6 +324,8 @@ jobs: # The functional test is designed to use default namespace. So you must create the environment for default namespace. rad env create kind-radius --namespace default rad env switch kind-radius + continue-on-error: true + env: USE_CERT_FILE: "true" TEMP_CERT_DIR: ${{ steps.create-local-registry.outputs.temp-cert-dir }} diff --git a/deploy/Chart/templates/ucp/configmaps.yaml b/deploy/Chart/templates/ucp/configmaps.yaml index 4b29bfdb47..5ce209da34 100644 --- a/deploy/Chart/templates/ucp/configmaps.yaml +++ b/deploy/Chart/templates/ucp/configmaps.yaml @@ -50,7 +50,7 @@ data: - id: "/planes/aws/aws" properties: kind: "AWS" - manifestDirectory: "/manifest/built-in-providers" + manifestDirectory: "manifest/built-in-providers/" identity: authMethod: UCPCredential