Skip to content

Check updated title and version in the swagger definition #7117

Check updated title and version in the swagger definition

Check updated title and version in the swagger definition #7117

Triggered via pull request August 29, 2023 05:14
Status Failure
Total duration 5h 32m 36s
Artifacts 2

main.yml

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

Annotations

10 errors and 6 warnings
build-product (1, group1)
OASTestCase.testAPIDefinitionUpdate ────────────────────────────────────────────────────────────────────────────────────────── expected:<io.swagger.models.Operation@f0dc4718[null]> but was:<io.swagger.models.Operation@8f8b5b9c[null]> ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: expected:<io.swagger.models.Operation@f0dc4718[null]> but was:<io.swagger.models.Operation@8f8b5b9c[null]> at org.wso2.am.integration.tests.oas.OASTestCase.testAPIDefinitionUpdate(OASTestCase.java:122)
build-product (1, group1)
OASTestCase.testAPIDefinitionUpdate ────────────────────────────────────────────────────────────────────────────────────────── expected:<io.swagger.models.Operation@f0dc4718[null]> but was:<io.swagger.models.Operation@8f8b5b9c[null]> ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: expected:<io.swagger.models.Operation@f0dc4718[null]> but was:<io.swagger.models.Operation@8f8b5b9c[null]> at org.wso2.am.integration.tests.oas.OASTestCase.testAPIDefinitionUpdate(OASTestCase.java:122)
build-product (1, group1)
CORSHeadersTestCase.CheckCORSHeadersInResponse ────────────────────────────────────────────────────────────────────────────────────────── Response code mismatch. expected [200] but found [403] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Response code mismatch. expected [200] but found [403] at org.wso2.am.integration.tests.header.CORSHeadersTestCase.CheckCORSHeadersInResponse(CORSHeadersTestCase.java:194)
build-product (1, group1)
CORSHeadersTestCase.CheckCORSHeadersInResponse ────────────────────────────────────────────────────────────────────────────────────────── Response code mismatch. expected [200] but found [403] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Response code mismatch. expected [200] but found [403] at org.wso2.am.integration.tests.header.CORSHeadersTestCase.CheckCORSHeadersInResponse(CORSHeadersTestCase.java:194)
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)
APIM4765ResourceOrderInSwagger.swaggerResourceOrderTest ────────────────────────────────────────────────────────────────────────────────────────── Resource order is not equal to the given order. expected [true] but found [false] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Resource order is not equal to the given order. expected [true] but found [false] at org.wso2.am.integration.tests.other.APIM4765ResourceOrderInSwagger.swaggerResourceOrderTest(APIM4765ResourceOrderInSwagger.java:93)
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)
1492 tests run, 20 skipped, 9 failed.

Artifacts

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