Skip to content

Add integration tests to cross tenant subscription update scenarios #2129

Add integration tests to cross tenant subscription update scenarios

Add integration tests to cross tenant subscription update scenarios #2129

Re-run triggered September 21, 2023 04:32
Status Failure
Total duration 5h 27m 25s
Artifacts 2

maven.yml

on: pull_request
Matrix: build
run-benchmark-test
17m 31s
run-benchmark-test
show-report
20s
show-report
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 5 warnings
build (2, group2)
Process completed with exit code 1.
build (1, group1)
Process completed with exit code 1.
show-report
CustomHeaderTestCase.testInvokeAPIWIthCustomApiKeyHeader ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.publisher.api.ApiException: at org.wso2.am.integration.tests.header.CustomHeaderTestCase.testInvokeAPIWIthCustomApiKeyHeader(CustomHeaderTestCase.java:188) ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.publisher.api.ApiException: at org.wso2.am.integration.tests.header.CustomHeaderTestCase.testInvokeAPIWIthCustomApiKeyHeader(CustomHeaderTestCase.java:188)
show-report
CORSHeadersTestCase.CheckCORSHeadersInPreFlightResponse ────────────────────────────────────────────────────────────────────────────────────────── Access-Control-Allow-Headers header value mismatch. expected [authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,Authorization,ApiKey] but found [authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,Authorization] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Access-Control-Allow-Headers header value mismatch. expected [authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,Authorization,ApiKey] but found [authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,Authorization] at org.wso2.am.integration.tests.header.CORSHeadersTestCase.CheckCORSHeadersInPreFlightResponse(CORSHeadersTestCase.java:177)
show-report
CORSHeadersTestCase.CheckCORSHeadersInPreFlightResponse ────────────────────────────────────────────────────────────────────────────────────────── Access-Control-Allow-Headers header value mismatch. expected [authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,Authorization,ApiKey] but found [authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,Authorization] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Access-Control-Allow-Headers header value mismatch. expected [authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,Authorization,ApiKey] but found [authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,Authorization] at org.wso2.am.integration.tests.header.CORSHeadersTestCase.CheckCORSHeadersInPreFlightResponse(CORSHeadersTestCase.java:177)
show-report
CORSAccessControlAllowCredentialsHeaderTestCase.CheckAccessControlAllowCredentialsHeadersWithSpecificOrigin ────────────────────────────────────────────────────────────────────────────────────────── Response code mismatch. expected [true] but found [false] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Response code mismatch. expected [true] but found [false] at org.wso2.am.integration.tests.header.CORSAccessControlAllowCredentialsHeaderTestCase.CheckAccessControlAllowCredentialsHeadersWithSpecificOrigin(CORSAccessControlAllowCredentialsHeaderTestCase.java:106)
show-report
CORSAccessControlAllowCredentialsHeaderTestCase.CheckAccessControlAllowCredentialsHeadersWithSpecificOrigin ────────────────────────────────────────────────────────────────────────────────────────── Response code mismatch. expected [true] but found [false] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Response code mismatch. expected [true] but found [false] at org.wso2.am.integration.tests.header.CORSAccessControlAllowCredentialsHeaderTestCase.CheckAccessControlAllowCredentialsHeadersWithSpecificOrigin(CORSAccessControlAllowCredentialsHeaderTestCase.java:106)
show-report
WebSocketAPIInvocationWithTracingTestCase.publishWebSocketAPI ────────────────────────────────────────────────────────────────────────────────────────── Unable to deploy API Revisions:null expected [201] but found [400] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Unable to deploy API Revisions:null expected [201] but found [400] at org.wso2.am.integration.tests.websocket.WebSocketAPIInvocationWithTracingTestCase.publishWebSocketAPI(WebSocketAPIInvocationWithTracingTestCase.java:169)
show-report
WebSocketAPIInvocationWithTracingTestCase.publishWebSocketAPI ────────────────────────────────────────────────────────────────────────────────────────── Unable to deploy API Revisions:null expected [201] but found [400] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Unable to deploy API Revisions:null expected [201] but found [400] at org.wso2.am.integration.tests.websocket.WebSocketAPIInvocationWithTracingTestCase.publishWebSocketAPI(WebSocketAPIInvocationWithTracingTestCase.java:169)
show-report
CrossTenantSubscriptionUpdateTestCase.setEnvironment ────────────────────────────────────────────────────────────────────────────────────────── /home/runner/work/product-apim/product-apim/modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/AM/configFiles/crossTenantApplicationSubscription/deployment.toml (No such file or directory) ────────────────────────────────────────────────────────────────────────────────────────── java.io.FileNotFoundException: /home/runner/work/product-apim/product-apim/modules/integration/tests-integration/tests-backend/src/test/resources/artifacts/AM/configFiles/crossTenantApplicationSubscription/deployment.toml (No such file or directory) at org.wso2.am.integration.tests.crossSubscription.CrossTenantSubscriptionUpdateTestCase.setEnvironment(CrossTenantSubscriptionUpdateTestCase.java:72)
show-report
CrossTenantSubscriptionUpdateTestCase.destroy ────────────────────────────────────────────────────────────────────────────────────────── java.lang.NullPointerException at org.wso2.am.integration.tests.crossSubscription.CrossTenantSubscriptionUpdateTestCase.destroy(CrossTenantSubscriptionUpdateTestCase.java:155) ────────────────────────────────────────────────────────────────────────────────────────── java.lang.NullPointerException at org.wso2.am.integration.tests.crossSubscription.CrossTenantSubscriptionUpdateTestCase.destroy(CrossTenantSubscriptionUpdateTestCase.java:155)
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/
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, actions/upload-artifact@v2. 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 uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2, actions/setup-node@v1, actions/upload-artifact@v2. 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 uses node12 which is deprecated and will be forced to run on node16: actions/download-artifact@v2, 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
1711 tests run, 17 skipped, 9 failed.

Artifacts

Produced during runtime
Name Size
TEST-TestSuite_1 Expired
41.9 MB
TEST-TestSuite_2 Expired
18.2 MB