Skip to content

[Feature] Add Burst control capability for Applications #7353

[Feature] Add Burst control capability for Applications

[Feature] Add Burst control capability for Applications #7353

Triggered via pull request December 5, 2023 06:37
Status Failure
Total duration 3h 36m 11s
Artifacts 2

main.yml

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

Annotations

23 errors and 6 warnings
run-benchmark-test
Process completed with exit code 1.
build-product (2, group2)
Process completed with exit code 1.
build-product (2, group2)
ServerSentEventsAPITestCase.testInvokeSseApi ────────────────────────────────────────────────────────────────────────────────────────── null ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: null at org.wso2.am.integration.tests.streamingapis.serversentevents.ServerSentEventsAPITestCase.testInvokeSseApi(ServerSentEventsAPITestCase.java:230)
build-product (2, group2)
ServerSentEventsAPITestCase.testInvokeSseApi ────────────────────────────────────────────────────────────────────────────────────────── null ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: null at org.wso2.am.integration.tests.streamingapis.serversentevents.ServerSentEventsAPITestCase.testInvokeSseApi(ServerSentEventsAPITestCase.java:230)
build-product (2, group2)
WebSubAPITestCase.testInvokeWebSubAPIWithFormUrlEncodedData ────────────────────────────────────────────────────────────────────────────────────────── Connection error (is server running at http://localhost:8780/websub/1.0.0 ?): Server returned HTTP response code: 500 for URL: http://localhost:8780/websub/1.0.0 ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.carbon.automation.engine.exceptions.AutomationFrameworkException: Connection error (is server running at http://localhost:8780/websub/1.0.0 ?): Server returned HTTP response code: 500 for URL: http://localhost:8780/websub/1.0.0 at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.handleCallbackSubscriptionWithFormUrlEncoded(WebSubAPITestCase.java:435) at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.testInvokeWebSubAPIWithFormUrlEncodedData(WebSubAPITestCase.java:265) Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8780/websub/1.0.0 at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.handleCallbackSubscriptionWithFormUrlEncoded(WebSubAPITestCase.java:435) at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.testInvokeWebSubAPIWithFormUrlEncodedData(WebSubAPITestCase.java:265)
build-product (2, group2)
WebSubAPITestCase.testInvokeWebSubAPIWithFormUrlEncodedData ────────────────────────────────────────────────────────────────────────────────────────── Connection error (is server running at http://localhost:8780/t/wso2.com/websub/1.0.0 ?): Server returned HTTP response code: 500 for URL: http://localhost:8780/t/wso2.com/websub/1.0.0 ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.carbon.automation.engine.exceptions.AutomationFrameworkException: Connection error (is server running at http://localhost:8780/t/wso2.com/websub/1.0.0 ?): Server returned HTTP response code: 500 for URL: http://localhost:8780/t/wso2.com/websub/1.0.0 at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.handleCallbackSubscriptionWithFormUrlEncoded(WebSubAPITestCase.java:435) at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.testInvokeWebSubAPIWithFormUrlEncodedData(WebSubAPITestCase.java:265) Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8780/t/wso2.com/websub/1.0.0 at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.handleCallbackSubscriptionWithFormUrlEncoded(WebSubAPITestCase.java:435) at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.testInvokeWebSubAPIWithFormUrlEncodedData(WebSubAPITestCase.java:265)
build-product (2, group2)
WebSubAPITestCase.testInvokeWebSubApiWithQueryParameters ────────────────────────────────────────────────────────────────────────────────────────── Connection error (is server running at http://localhost:8780/websub/1.0.0?hub.callback=http%3A%2F%2Ffv-az1014-537%3A8082%2Freceiver&hub.mode=subscribe&hub.secret=35917f15-f25b-42c1-9cd4-975a8963a46b&hub.lease_seconds=50000000&hub.topic=_default ?): Server returned HTTP response code: 500 for URL: http://localhost:8780/websub/1.0.0?hub.callback=http%3A%2F%2Ffv-az1014-537%3A8082%2Freceiver&hub.mode=subscribe&hub.secret=35917f15-f25b-42c1-9cd4-975a8963a46b&hub.lease_seconds=50000000&hub.topic=_default ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.carbon.automation.engine.exceptions.AutomationFrameworkException: Connection error (is server running at http://localhost:8780/websub/1.0.0?hub.callback=http%3A%2F%2Ffv-az1014-537%3A8082%2Freceiver&hub.mode=subscribe&hub.secret=35917f15-f25b-42c1-9cd4-975a8963a46b&hub.lease_seconds=50000000&hub.topic=_default ?): Server returned HTTP response code: 500 for URL: http://localhost:8780/websub/1.0.0?hub.callback=http%3A%2F%2Ffv-az1014-537%3A8082%2Freceiver&hub.mode=subscribe&hub.secret=35917f15-f25b-42c1-9cd4-975a8963a46b&hub.lease_seconds=50000000&hub.topic=_default at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.handleCallbackSubscriptionWithQueryParameters(WebSubAPITestCase.java:421) at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.testInvokeWebSubApiWithQueryParameters(WebSubAPITestCase.java:241) Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8780/websub/1.0.0?hub.callback=http%3A%2F%2Ffv-az1014-537%3A8082%2Freceiver&hub.mode=subscribe&hub.secret=35917f15-f25b-42c1-9cd4-975a8963a46b&hub.lease_seconds=50000000&hub.topic=_default at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.handleCallbackSubscriptionWithQueryParameters(WebSubAPITestCase.java:421) at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.testInvokeWebSubApiWithQueryParameters(WebSubAPITestCase.java:241)
build-product (2, group2)
WebSubAPITestCase.testInvokeWebSubApiWithQueryParameters ────────────────────────────────────────────────────────────────────────────────────────── Connection error (is server running at http://localhost:8780/t/wso2.com/websub/1.0.0?hub.callback=http%3A%2F%2Ffv-az1014-537%3A8080%2Freceiver&hub.mode=subscribe&hub.secret=33d9827c-976d-4bdd-bde4-67eaf95fc615&hub.lease_seconds=50000000&hub.topic=_default ?): Server returned HTTP response code: 500 for URL: http://localhost:8780/t/wso2.com/websub/1.0.0?hub.callback=http%3A%2F%2Ffv-az1014-537%3A8080%2Freceiver&hub.mode=subscribe&hub.secret=33d9827c-976d-4bdd-bde4-67eaf95fc615&hub.lease_seconds=50000000&hub.topic=_default ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.carbon.automation.engine.exceptions.AutomationFrameworkException: Connection error (is server running at http://localhost:8780/t/wso2.com/websub/1.0.0?hub.callback=http%3A%2F%2Ffv-az1014-537%3A8080%2Freceiver&hub.mode=subscribe&hub.secret=33d9827c-976d-4bdd-bde4-67eaf95fc615&hub.lease_seconds=50000000&hub.topic=_default ?): Server returned HTTP response code: 500 for URL: http://localhost:8780/t/wso2.com/websub/1.0.0?hub.callback=http%3A%2F%2Ffv-az1014-537%3A8080%2Freceiver&hub.mode=subscribe&hub.secret=33d9827c-976d-4bdd-bde4-67eaf95fc615&hub.lease_seconds=50000000&hub.topic=_default at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.handleCallbackSubscriptionWithQueryParameters(WebSubAPITestCase.java:421) at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.testInvokeWebSubApiWithQueryParameters(WebSubAPITestCase.java:241) Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8780/t/wso2.com/websub/1.0.0?hub.callback=http%3A%2F%2Ffv-az1014-537%3A8080%2Freceiver&hub.mode=subscribe&hub.secret=33d9827c-976d-4bdd-bde4-67eaf95fc615&hub.lease_seconds=50000000&hub.topic=_default at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.handleCallbackSubscriptionWithQueryParameters(WebSubAPITestCase.java:421) at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.testInvokeWebSubApiWithQueryParameters(WebSubAPITestCase.java:241)
build-product (2, group2)
WebSubAPITestCase.testMandatoryParameters ────────────────────────────────────────────────────────────────────────────────────────── Connection error (is server running at http://localhost:8780/websub/1.0.0 ?): Server returned HTTP response code: 500 for URL: http://localhost:8780/websub/1.0.0 ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.carbon.automation.engine.exceptions.AutomationFrameworkException: Connection error (is server running at http://localhost:8780/websub/1.0.0 ?): Server returned HTTP response code: 500 for URL: http://localhost:8780/websub/1.0.0 at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.handleCallbackSubscriptionWithFormUrlEncoded(WebSubAPITestCase.java:435) at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.testMandatoryParameters(WebSubAPITestCase.java:295) Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8780/websub/1.0.0 at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.handleCallbackSubscriptionWithFormUrlEncoded(WebSubAPITestCase.java:435) at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.testMandatoryParameters(WebSubAPITestCase.java:295)
build-product (2, group2)
WebSubAPITestCase.testMandatoryParameters ────────────────────────────────────────────────────────────────────────────────────────── Connection error (is server running at http://localhost:8780/t/wso2.com/websub/1.0.0 ?): Server returned HTTP response code: 500 for URL: http://localhost:8780/t/wso2.com/websub/1.0.0 ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.carbon.automation.engine.exceptions.AutomationFrameworkException: Connection error (is server running at http://localhost:8780/t/wso2.com/websub/1.0.0 ?): Server returned HTTP response code: 500 for URL: http://localhost:8780/t/wso2.com/websub/1.0.0 at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.handleCallbackSubscriptionWithFormUrlEncoded(WebSubAPITestCase.java:435) at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.testMandatoryParameters(WebSubAPITestCase.java:295) Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8780/t/wso2.com/websub/1.0.0 at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.handleCallbackSubscriptionWithFormUrlEncoded(WebSubAPITestCase.java:435) at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.testMandatoryParameters(WebSubAPITestCase.java:295)
build-product (2, group2)
WebSubAPITestCase.testSubscriberVerification ────────────────────────────────────────────────────────────────────────────────────────── Connection error (is server running at http://localhost:8780/websub/1.0.0 ?): Server returned HTTP response code: 500 for URL: http://localhost:8780/websub/1.0.0 ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.carbon.automation.engine.exceptions.AutomationFrameworkException: Connection error (is server running at http://localhost:8780/websub/1.0.0 ?): Server returned HTTP response code: 500 for URL: http://localhost:8780/websub/1.0.0 at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.handleCallbackSubscriptionWithFormUrlEncoded(WebSubAPITestCase.java:435) at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.testSubscriberVerification(WebSubAPITestCase.java:343) Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8780/websub/1.0.0 at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.handleCallbackSubscriptionWithFormUrlEncoded(WebSubAPITestCase.java:435) at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.testSubscriberVerification(WebSubAPITestCase.java:343)
build-product (2, group2)
WebSubAPITestCase.testSubscriberVerification ────────────────────────────────────────────────────────────────────────────────────────── Connection error (is server running at http://localhost:8780/t/wso2.com/websub/1.0.0 ?): Server returned HTTP response code: 500 for URL: http://localhost:8780/t/wso2.com/websub/1.0.0 ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.carbon.automation.engine.exceptions.AutomationFrameworkException: Connection error (is server running at http://localhost:8780/t/wso2.com/websub/1.0.0 ?): Server returned HTTP response code: 500 for URL: http://localhost:8780/t/wso2.com/websub/1.0.0 at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.handleCallbackSubscriptionWithFormUrlEncoded(WebSubAPITestCase.java:435) at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.testSubscriberVerification(WebSubAPITestCase.java:343) Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8780/t/wso2.com/websub/1.0.0 at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.handleCallbackSubscriptionWithFormUrlEncoded(WebSubAPITestCase.java:435) at org.wso2.am.integration.tests.streamingapis.websub.WebSubAPITestCase.testSubscriberVerification(WebSubAPITestCase.java:343)
build-product (1, group1)
AddEditRemoveRESTResourceTestCase.testInvokeGETResource[org.testng.TestRunner@592e19a7](1) ────────────────────────────────────────────────────────────────────────────────────────── Invocation fails for GET request expected [200] but found [500] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Invocation fails for GET request expected [200] but found [500] at org.wso2.am.integration.tests.api.lifecycle.AddEditRemoveRESTResourceTestCase.testInvokeGETResource(AddEditRemoveRESTResourceTestCase.java:99)
build-product (1, group1)
PluggableVersioningStrategyTestCase.testPluggableVersioningStratergy[org.testng.TestRunner@592e19a7](1) ────────────────────────────────────────────────────────────────────────────────────────── Invocation fails for GET request expected [200] but found [500] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Invocation fails for GET request expected [200] but found [500] at org.wso2.am.integration.tests.api.lifecycle.PluggableVersioningStrategyTestCase.testPluggableVersioningStratergy(PluggableVersioningStrategyTestCase.java:65)
build-product (1, group1)
JWTRevocationTestCase.testJWTTokenRevocation ────────────────────────────────────────────────────────────────────────────────────────── Response code mismatched when invoke api before Retire expected [200] but found [500] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Response code mismatched when invoke api before Retire expected [200] but found [500] at org.wso2.am.integration.tests.jwt.JWTRevocationTestCase.testJWTTokenRevocation(JWTRevocationTestCase.java:104)
build-product (1, group1)
APIRevisionTestCase.testInvokeAPIInCreatedLifecycleStage ────────────────────────────────────────────────────────────────────────────────────────── Unable to invoke API in CREATED stage using a test token expected [200] but found [500] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Unable to invoke API in CREATED stage using a test token expected [200] but found [500] at org.wso2.am.integration.tests.api.revision.APIRevisionTestCase.testInvokeAPIInCreatedLifecycleStage(APIRevisionTestCase.java:452)
build-product (1, group1)
APIInvocationWithMessageTypeProperty.testInovkeAPIWithMessageTypePropertyInSequence ────────────────────────────────────────────────────────────────────────────────────────── java.lang.NullPointerException at org.wso2.am.integration.tests.other.APIInvocationWithMessageTypeProperty.testInovkeAPIWithMessageTypePropertyInSequence(APIInvocationWithMessageTypeProperty.java:67) ────────────────────────────────────────────────────────────────────────────────────────── java.lang.NullPointerException at org.wso2.am.integration.tests.other.APIInvocationWithMessageTypeProperty.testInovkeAPIWithMessageTypePropertyInSequence(APIInvocationWithMessageTypeProperty.java:67)
build-product (1, group1)
ChangeAPIEndPointURLTestCase.testAPIInvocationBeforeChangeTheEndPointURL[org.testng.TestRunner@73821cd7](1) ────────────────────────────────────────────────────────────────────────────────────────── Response code mismatched when invoke api before change the end point URL expected [200] but found [500] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Response code mismatched when invoke api before change the end point URL expected [200] but found [500] at org.wso2.am.integration.tests.api.lifecycle.ChangeAPIEndPointURLTestCase.testAPIInvocationBeforeChangeTheEndPointURL(ChangeAPIEndPointURLTestCase.java:84)
build-product (1, group1)
APIProductCreationTestCase.testCreateAndInvokeApiProduct ────────────────────────────────────────────────────────────────────────────────────────── expected [200] but found [500] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: expected [200] but found [500] at org.wso2.am.integration.tests.apiproduct.APIProductCreationTestCase.testCreateAndInvokeApiProduct(APIProductCreationTestCase.java:174)
build-product (1, group1)
APIProductCreationTestCase.testCreateAndInvokeApiProduct ────────────────────────────────────────────────────────────────────────────────────────── expected [200] but found [500] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: expected [200] but found [500] at org.wso2.am.integration.tests.apiproduct.APIProductCreationTestCase.testCreateAndInvokeApiProduct(APIProductCreationTestCase.java:174)
build-product (1, group1)
APIProductCreationTestCase.testCreateAndInvokeApiProductWithOperationPoliciesInRequestApi ────────────────────────────────────────────────────────────────────────────────────────── expected [200] but found [500] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: expected [200] but found [500] at org.wso2.am.integration.tests.apiproduct.APIProductCreationTestCase.testCreateAndInvokeApiProductWithOperationPoliciesInRequestApi(APIProductCreationTestCase.java:398)
build-product (1, group1)
APIProductCreationTestCase.testCreateAndInvokeApiProductWithOperationPoliciesInRequestApi ────────────────────────────────────────────────────────────────────────────────────────── expected [200] but found [500] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: expected [200] but found [500] at org.wso2.am.integration.tests.apiproduct.APIProductCreationTestCase.testCreateAndInvokeApiProductWithOperationPoliciesInRequestApi(APIProductCreationTestCase.java:398)
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)
225 tests run, 78 skipped, 53 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)
1521 tests run, 336 skipped, 124 failed.

Artifacts

Produced during runtime
Name Size
TEST-TestSuite_1 Expired
44.2 MB
TEST-TestSuite_2 Expired
12.8 MB