Skip to content

Backend changes for custom api key header feature #7071

Backend changes for custom api key header feature

Backend changes for custom api key header feature #7071

Triggered via pull request July 30, 2023 20:40
Status Failure
Total duration 5h 24m 46s
Artifacts 2

main.yml

on: pull_request
Matrix: build-product
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 6 warnings
build-product (2, group2)
Process completed with exit code 1.
build-product (1, group1)
CORSHeadersTestCase.CheckCORSHeadersInPreFlightResponse ────────────────────────────────────────────────────────────────────────────────────────── Access-Control-Allow-Headers header value mismatch. expected [authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,Authorization] but found [authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,Authorization,ApiKey] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Access-Control-Allow-Headers header value mismatch. expected [authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,Authorization] but found [authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,Authorization,ApiKey] at org.wso2.am.integration.tests.header.CORSHeadersTestCase.CheckCORSHeadersInPreFlightResponse(CORSHeadersTestCase.java:177)
build-product (1, group1)
CORSHeadersTestCase.CheckCORSHeadersInPreFlightResponse ────────────────────────────────────────────────────────────────────────────────────────── Access-Control-Allow-Headers header value mismatch. expected [authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,Authorization] but found [authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,Authorization,ApiKey] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Access-Control-Allow-Headers header value mismatch. expected [authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,Authorization] but found [authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,Authorization,ApiKey] at org.wso2.am.integration.tests.header.CORSHeadersTestCase.CheckCORSHeadersInPreFlightResponse(CORSHeadersTestCase.java:177)
build-product (1, group1)
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)
build-product (1, group1)
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)
build-product (1, group1)
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)
build-product (1, group1)
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)
build-product (1, group1)
Process completed with exit code 1.
build-carbon
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 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-product (2, group2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2, malinthaprasan/action-surefire-report@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-product (2, group2)
216 tests run, 0 skipped, 0 failed.
build-product (1, group1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2, malinthaprasan/action-surefire-report@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-product (1, group1)
1487 tests run, 16 skipped, 6 failed.

Artifacts

Produced during runtime
Name Size
TEST-TestSuite_1 Expired
41.2 MB
TEST-TestSuite_2 Expired
18.4 MB