Skip to content

Fix integration test failures due to AI APIs #2595

Fix integration test failures due to AI APIs

Fix integration test failures due to AI APIs #2595

Triggered via pull request September 28, 2024 01:49
Status Failure
Total duration 2h 53m 53s
Artifacts 4

maven.yml

on: pull_request
Matrix: build
run-benchmark-test
49m 21s
run-benchmark-test
show-report
15s
show-report
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 14 warnings
build (1, group1)
Process completed with exit code 1.
build (4, group4)
Process completed with exit code 1.
show-report
AIAPITestCase.testMistralAIAPICreationAndPublish ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.publisher.api.ApiException: at org.wso2.am.integration.tests.aiapi.AIAPITestCase.testMistralAIAPICreationAndPublish(AIAPITestCase.java:142) ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.publisher.api.ApiException: at org.wso2.am.integration.tests.aiapi.AIAPITestCase.testMistralAIAPICreationAndPublish(AIAPITestCase.java:142)
show-report
AIAPITestCase.destroyAPIs ────────────────────────────────────────────────────────────────────────────────────────── Missing the required parameter 'apiId' when calling deleteAPI(Async) ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.publisher.api.ApiException: Missing the required parameter 'apiId' when calling deleteAPI(Async) at org.wso2.am.integration.tests.aiapi.AIAPITestCase.destroyAPIs(AIAPITestCase.java:201)
show-report
AIAPITestCase.destroyAPIs ────────────────────────────────────────────────────────────────────────────────────────── Missing the required parameter 'apiId' when calling deleteAPI(Async) ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.publisher.api.ApiException: Missing the required parameter 'apiId' when calling deleteAPI(Async) at org.wso2.am.integration.tests.aiapi.AIAPITestCase.destroyAPIs(AIAPITestCase.java:201)
show-report
APISecurityTestCase.testInvocationWithApiKeysWithoutSubscription ────────────────────────────────────────────────────────────────────────────────────────── API Key internal subscription validation failed. API invocation response code is expected to be : 403, but got 200 expected [false] but found [true] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: API Key internal subscription validation failed. API invocation response code is expected to be : 403, but got 200 expected [false] but found [true] at org.wso2.am.integration.tests.api.lifecycle.APISecurityTestCase.testInvocationWithApiKeysWithoutSubscription(APISecurityTestCase.java:1238)
show-report
APISecurityTestCase.testInvocationWithApiKeysWithoutSubscription ────────────────────────────────────────────────────────────────────────────────────────── API Key internal subscription validation failed. API invocation response code is expected to be : 403, but got 200 expected [false] but found [true] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: API Key internal subscription validation failed. API invocation response code is expected to be : 403, but got 200 expected [false] but found [true] at org.wso2.am.integration.tests.api.lifecycle.APISecurityTestCase.testInvocationWithApiKeysWithoutSubscription(APISecurityTestCase.java:1238)
run-benchmark-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
run-benchmark-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-java@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (3, group3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (3, group3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-java@v2, actions/setup-node@v1, actions/upload-artifact@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (2, group2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (2, group2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-java@v2, actions/setup-node@v1, actions/upload-artifact@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (1, group1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (1, group1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-java@v2, actions/setup-node@v1, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (4, group4)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (4, group4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, actions/setup-java@v2, actions/setup-node@v1, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "TEST-TestSuite_1", "TEST-TestSuite_2", "TEST-TestSuite_3", "TEST-TestSuite_4". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
show-report
The following actions uses node12 which is deprecated and will be forced to run on node16: malinthaprasan/action-surefire-report@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
show-report
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/download-artifact@v3, malinthaprasan/action-surefire-report@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
show-report
1880 tests run, 7 skipped, 5 failed.

Artifacts

Produced during runtime
Name Size
TEST-TestSuite_1
24.2 MB
TEST-TestSuite_2
15.5 MB
TEST-TestSuite_3
19.5 MB
TEST-TestSuite_4
34.8 MB