Skip to content

added sub level scopes for admin APIs #7100

added sub level scopes for admin APIs

added sub level scopes for admin APIs #7100

Triggered via pull request August 18, 2023 14:10
Status Failure
Total duration 5h 32m 3s
Artifacts 2

main.yml

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

Annotations

22 errors and 6 warnings
build-product (2, group2)
Process completed with exit code 1.
build-product (2, group2)
AdvancedConfigDeploymentConfig.startServerWithMultipleConfigs ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.admin.ApiException: at org.wso2.am.integration.tests.other.AdvancedConfigDeploymentConfig.startServerWithMultipleConfigs(AdvancedConfigDeploymentConfig.java:64) ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.admin.ApiException: at org.wso2.am.integration.tests.other.AdvancedConfigDeploymentConfig.startServerWithMultipleConfigs(AdvancedConfigDeploymentConfig.java:64)
build-product (2, group2)
AdvancedConfigDeploymentConfig.startServerWithMultipleConfigs ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.admin.ApiException: at org.wso2.am.integration.tests.other.AdvancedConfigDeploymentConfig.startServerWithMultipleConfigs(AdvancedConfigDeploymentConfig.java:64) ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.admin.ApiException: at org.wso2.am.integration.tests.other.AdvancedConfigDeploymentConfig.startServerWithMultipleConfigs(AdvancedConfigDeploymentConfig.java:64)
build-product (2, group2)
AdvancedConfigDeploymentConfig.restoreConfigs ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.admin.ApiException: at org.wso2.am.integration.tests.other.AdvancedConfigDeploymentConfig.restoreConfigs(AdvancedConfigDeploymentConfig.java:80) ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.admin.ApiException: at org.wso2.am.integration.tests.other.AdvancedConfigDeploymentConfig.restoreConfigs(AdvancedConfigDeploymentConfig.java:80)
build-product (2, group2)
AdvancedConfigDeploymentConfig.restoreConfigs ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.admin.ApiException: at org.wso2.am.integration.tests.other.AdvancedConfigDeploymentConfig.restoreConfigs(AdvancedConfigDeploymentConfig.java:80) ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.admin.ApiException: at org.wso2.am.integration.tests.other.AdvancedConfigDeploymentConfig.restoreConfigs(AdvancedConfigDeploymentConfig.java:80)
build-product (2, group2)
NotificationTestCase.destroy ────────────────────────────────────────────────────────────────────────────────────────── java.lang.NullPointerException at org.wso2.am.integration.tests.other.NotificationTestCase.destroy(NotificationTestCase.java:210) ────────────────────────────────────────────────────────────────────────────────────────── java.lang.NullPointerException at org.wso2.am.integration.tests.other.NotificationTestCase.destroy(NotificationTestCase.java:210)
build-product (2, group2)
TokenEncryptionScopeTestCase.destroy ────────────────────────────────────────────────────────────────────────────────────────── 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.other.TokenEncryptionScopeTestCase.destroy(TokenEncryptionScopeTestCase.java:209)
build-product (2, group2)
APIMANAGER5843WSDLHostnameTestCase.destroy ────────────────────────────────────────────────────────────────────────────────────────── 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.other.APIMANAGER5843WSDLHostnameTestCase.destroy(APIMANAGER5843WSDLHostnameTestCase.java:112)
build-product (2, group2)
APIMANAGER5843WSDLHostnameTestCase.destroy ────────────────────────────────────────────────────────────────────────────────────────── 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.other.APIMANAGER5843WSDLHostnameTestCase.destroy(APIMANAGER5843WSDLHostnameTestCase.java:112)
build-product (2, group2)
WorkflowApprovalExecutorTest.destroy ────────────────────────────────────────────────────────────────────────────────────────── Workflow reference is not available ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Workflow reference is not available at org.wso2.am.integration.tests.workflow.WorkflowApprovalExecutorTest.removeDeletePendingApplication(WorkflowApprovalExecutorTest.java:490) at org.wso2.am.integration.tests.workflow.WorkflowApprovalExecutorTest.destroy(WorkflowApprovalExecutorTest.java:1102)
build-product (2, group2)
WorkflowApprovalExecutorTest.destroy ────────────────────────────────────────────────────────────────────────────────────────── Workflow reference is not available ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Workflow reference is not available at org.wso2.am.integration.tests.workflow.WorkflowApprovalExecutorTest.removeDeletePendingApplication(WorkflowApprovalExecutorTest.java:490) at org.wso2.am.integration.tests.workflow.WorkflowApprovalExecutorTest.destroy(WorkflowApprovalExecutorTest.java:1102)
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)
AdvancedConfigurationsTestCase.testUpdateTenantConfiguration ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.admin.ApiException: at org.wso2.am.integration.tests.other.AdvancedConfigurationsTestCase.testUpdateTenantConfiguration(AdvancedConfigurationsTestCase.java:65) ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.admin.ApiException: at org.wso2.am.integration.tests.other.AdvancedConfigurationsTestCase.testUpdateTenantConfiguration(AdvancedConfigurationsTestCase.java:65)
build-product (1, group1)
AdvancedConfigurationsTestCase.testUpdateTenantConfiguration ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.admin.ApiException: at org.wso2.am.integration.tests.other.AdvancedConfigurationsTestCase.testUpdateTenantConfiguration(AdvancedConfigurationsTestCase.java:65) ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.admin.ApiException: at org.wso2.am.integration.tests.other.AdvancedConfigurationsTestCase.testUpdateTenantConfiguration(AdvancedConfigurationsTestCase.java:65)
build-product (1, group1)
CustomLifeCycleTestCase.initialize ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.admin.ApiException: at org.wso2.am.integration.tests.api.lifecycle.CustomLifeCycleTestCase.initialize(CustomLifeCycleTestCase.java:84) ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.am.integration.clients.admin.ApiException: at org.wso2.am.integration.tests.api.lifecycle.CustomLifeCycleTestCase.initialize(CustomLifeCycleTestCase.java:84)
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)
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)
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)
227 tests run, 36 skipped, 13 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)
1496 tests run, 29 skipped, 14 failed.

Artifacts

Produced during runtime
Name Size
TEST-TestSuite_1 Expired
42 MB
TEST-TestSuite_2 Expired
15.8 MB