Skip to content

Refactor agent tests #273

Refactor agent tests

Refactor agent tests #273

Triggered via pull request October 7, 2024 05:23
Status Failure
Total duration 34m 31s
Artifacts

agent-integration-test.yml

on: pull_request_target
runs_agent_cucumber_integration_tests_on_pull_request
34m 21s
runs_agent_cucumber_integration_tests_on_pull_request
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 4 warnings
runs_agent_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── expected [200] but found [500] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: expected [200] but found [500] at org.testng.Assert.fail(Assert.java:111) at org.testng.Assert.failNotEquals(Assert.java:1578) at org.testng.Assert.assertEqualsImpl(Assert.java:150) at org.testng.Assert.assertEquals(Assert.java:132) at org.testng.Assert.assertEquals(Assert.java:1419) at org.testng.Assert.assertEquals(Assert.java:1383) at org.testng.Assert.assertEquals(Assert.java:1429) at org.wso2.apk.integration.api.BaseSteps.theResponseStatusCodeShouldBe(BaseSteps.java:129) at ✽.the response status code should be 200(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/APILevelInterceptor.feature:49)
runs_agent_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable ────────────────────────────────────────────────────────────────────────────────────────── java.io.IOException: Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable at org.wso2.apk.integration.utils.Utils.extractBasicToken(Utils.java:352) at org.wso2.apk.integration.api.BaseSteps.iHaveADCRApplication(BaseSteps.java:482) at ✽.I have a DCR application(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/DefaultVersion.feature:57)
runs_agent_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable ────────────────────────────────────────────────────────────────────────────────────────── java.io.IOException: Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable at org.wso2.apk.integration.utils.Utils.extractBasicToken(Utils.java:352) at org.wso2.apk.integration.api.BaseSteps.iHaveADCRApplication(BaseSteps.java:482) at ✽.I have a DCR application(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/MTLSwithOAuth2Mandatory.feature:212)
runs_agent_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable ────────────────────────────────────────────────────────────────────────────────────────── java.io.IOException: Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable at org.wso2.apk.integration.utils.Utils.extractBasicToken(Utils.java:352) at org.wso2.apk.integration.api.BaseSteps.iHaveADCRApplication(BaseSteps.java:482) at ✽.I have a DCR application(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/InternalKey.feature:27)
runs_agent_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── Could not receive expected response within time. Last received code: 404, last response body: ***"error_message":"Not Found","code":"404","error_description":"The requested resource is not available."*** ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.apk.integration.utils.exceptions.TimeoutException: Could not receive expected response within time. Last received code: 404, last response body: ***"error_message":"Not Found","code":"404","error_description":"The requested resource is not available."*** at org.wso2.apk.integration.utils.clients.SimpleHTTPClient.executeLastRequestForEventualConsistentResponse(SimpleHTTPClient.java:474) at org.wso2.apk.integration.api.BaseSteps.eventualSuccess(BaseSteps.java:301) at ✽.I eventually receive 200 response code, not accepting(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/graphQLmTLS.feature:151)
runs_agent_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable ────────────────────────────────────────────────────────────────────────────────────────── java.io.IOException: Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable at org.wso2.apk.integration.utils.Utils.extractBasicToken(Utils.java:352) at org.wso2.apk.integration.api.BaseSteps.iHaveADCRApplication(BaseSteps.java:482) at ✽.I have a DCR application(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/Ratelimit.feature:192)
runs_agent_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable ────────────────────────────────────────────────────────────────────────────────────────── java.io.IOException: Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable at org.wso2.apk.integration.utils.Utils.extractBasicToken(Utils.java:352) at org.wso2.apk.integration.api.BaseSteps.iHaveADCRApplication(BaseSteps.java:482) at ✽.I have a DCR application(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/MTLSwithOAuth2Mandatory.feature:62)
runs_agent_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable ────────────────────────────────────────────────────────────────────────────────────────── java.io.IOException: Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable at org.wso2.apk.integration.utils.Utils.extractBasicToken(Utils.java:352) at org.wso2.apk.integration.api.BaseSteps.iHaveADCRApplication(BaseSteps.java:482) at ✽.I have a DCR application(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/MTLSwithOAuth2Optional.feature:317)
runs_agent_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable ────────────────────────────────────────────────────────────────────────────────────────── java.io.IOException: Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable at org.wso2.apk.integration.utils.Utils.extractBasicToken(Utils.java:352) at org.wso2.apk.integration.api.BaseSteps.iHaveADCRApplication(BaseSteps.java:482) at ✽.I have a DCR application(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/BackendSupport.feature:63)
runs_agent_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable ────────────────────────────────────────────────────────────────────────────────────────── java.io.IOException: Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable at org.wso2.apk.integration.utils.Utils.extractBasicToken(Utils.java:352) at org.wso2.apk.integration.api.BaseSteps.iHaveADCRApplication(BaseSteps.java:482) at ✽.I have a DCR application(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/Ratelimit.feature:53)
runs_agent_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── expected [200] but found [500] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: expected [200] but found [500] at org.testng.Assert.fail(Assert.java:111) at org.testng.Assert.failNotEquals(Assert.java:1578) at org.testng.Assert.assertEqualsImpl(Assert.java:150) at org.testng.Assert.assertEquals(Assert.java:132) at org.testng.Assert.assertEquals(Assert.java:1419) at org.testng.Assert.assertEquals(Assert.java:1383) at org.testng.Assert.assertEquals(Assert.java:1429) at org.wso2.apk.integration.api.BaseSteps.theResponseStatusCodeShouldBe(BaseSteps.java:129) at ✽.the response status code should be 200(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/APILevelInterceptor.feature:49)
runs_agent_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable ────────────────────────────────────────────────────────────────────────────────────────── java.io.IOException: Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable at org.wso2.apk.integration.utils.Utils.extractBasicToken(Utils.java:352) at org.wso2.apk.integration.api.BaseSteps.iHaveADCRApplication(BaseSteps.java:482) at ✽.I have a DCR application(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/DefaultVersion.feature:57)
runs_agent_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable ────────────────────────────────────────────────────────────────────────────────────────── java.io.IOException: Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable at org.wso2.apk.integration.utils.Utils.extractBasicToken(Utils.java:352) at org.wso2.apk.integration.api.BaseSteps.iHaveADCRApplication(BaseSteps.java:482) at ✽.I have a DCR application(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/MTLSwithOAuth2Mandatory.feature:212)
runs_agent_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable ────────────────────────────────────────────────────────────────────────────────────────── java.io.IOException: Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable at org.wso2.apk.integration.utils.Utils.extractBasicToken(Utils.java:352) at org.wso2.apk.integration.api.BaseSteps.iHaveADCRApplication(BaseSteps.java:482) at ✽.I have a DCR application(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/InternalKey.feature:27)
runs_agent_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── Could not receive expected response within time. Last received code: 404, last response body: ***"error_message":"Not Found","code":"404","error_description":"The requested resource is not available."*** ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.apk.integration.utils.exceptions.TimeoutException: Could not receive expected response within time. Last received code: 404, last response body: ***"error_message":"Not Found","code":"404","error_description":"The requested resource is not available."*** at org.wso2.apk.integration.utils.clients.SimpleHTTPClient.executeLastRequestForEventualConsistentResponse(SimpleHTTPClient.java:474) at org.wso2.apk.integration.api.BaseSteps.eventualSuccess(BaseSteps.java:301) at ✽.I eventually receive 200 response code, not accepting(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/graphQLmTLS.feature:151)
runs_agent_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable ────────────────────────────────────────────────────────────────────────────────────────── java.io.IOException: Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable at org.wso2.apk.integration.utils.Utils.extractBasicToken(Utils.java:352) at org.wso2.apk.integration.api.BaseSteps.iHaveADCRApplication(BaseSteps.java:482) at ✽.I have a DCR application(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/Ratelimit.feature:192)
runs_agent_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable ────────────────────────────────────────────────────────────────────────────────────────── java.io.IOException: Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable at org.wso2.apk.integration.utils.Utils.extractBasicToken(Utils.java:352) at org.wso2.apk.integration.api.BaseSteps.iHaveADCRApplication(BaseSteps.java:482) at ✽.I have a DCR application(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/MTLSwithOAuth2Mandatory.feature:62)
runs_agent_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable ────────────────────────────────────────────────────────────────────────────────────────── java.io.IOException: Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable at org.wso2.apk.integration.utils.Utils.extractBasicToken(Utils.java:352) at org.wso2.apk.integration.api.BaseSteps.iHaveADCRApplication(BaseSteps.java:482) at ✽.I have a DCR application(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/MTLSwithOAuth2Optional.feature:317)
runs_agent_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable ────────────────────────────────────────────────────────────────────────────────────────── java.io.IOException: Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable at org.wso2.apk.integration.utils.Utils.extractBasicToken(Utils.java:352) at org.wso2.apk.integration.api.BaseSteps.iHaveADCRApplication(BaseSteps.java:482) at ✽.I have a DCR application(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/BackendSupport.feature:63)
runs_agent_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable ────────────────────────────────────────────────────────────────────────────────────────── java.io.IOException: Error while accessing the Token URL. HTTP/1.1 503 Service Temporarily Unavailable at org.wso2.apk.integration.utils.Utils.extractBasicToken(Utils.java:352) at org.wso2.apk.integration.api.BaseSteps.iHaveADCRApplication(BaseSteps.java:482) at ✽.I have a DCR application(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/agent-cptodp/Ratelimit.feature:53)
runs_agent_cucumber_integration_tests_on_pull_request
Process completed with exit code 1.
runs_agent_cucumber_integration_tests_on_pull_request
Process completed with exit code 1.
runs_agent_cucumber_integration_tests_on_pull_request
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
runs_agent_cucumber_integration_tests_on_pull_request
The following actions use a deprecated Node.js version and will be forced to run on node20: azure/login@v1, azure/CLI@v1, azure/aks-set-context@v3, actions/checkout@v3, malinthaprasan/action-surefire-report@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
runs_agent_cucumber_integration_tests_on_pull_request
90 tests run, 0 skipped, 84 failed.
runs_agent_cucumber_integration_tests_on_pull_request
90 tests run, 0 skipped, 84 failed.