Skip to content

Remove Admin rest api from enforcer #1724

Remove Admin rest api from enforcer

Remove Admin rest api from enforcer #1724

You are viewing an older attempt in the history of this workflow run. View latest attempt.
Triggered via pull request October 10, 2023 10:10
@ashera96ashera96
synchronize #1811
Status Failure
Total duration 34m 2s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

integration-test.yml

on: pull_request_target
runs_go_integration_tests_on_pull_request_target
20m 58s
runs_go_integration_tests_on_pull_request_target
runs_cucumber_integration_tests_on_pull_request_target
22m 33s
runs_cucumber_integration_tests_on_pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 4 warnings
runs_go_integration_tests_on_pull_request_target
Process completed with exit code 1.
runs_cucumber_integration_tests_on_pull_request_target
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── expected [202] but found [404] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: expected [202] but found [404] 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:116) at ✽.the response status code should be 202(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/DifferentSandProdEndpoint.feature:30)
runs_cucumber_integration_tests_on_pull_request_target
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:116) at ✽.the response status code should be 200(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/GlobalInterceptor.feature:8)
runs_cucumber_integration_tests_on_pull_request_target
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── expected [202] but found [404] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: expected [202] but found [404] 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:116) at ✽.the response status code should be 202(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/DifferentEndpointResourceLevel.feature:24)
runs_cucumber_integration_tests_on_pull_request_target
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── expected [202] but found [404] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: expected [202] but found [404] 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:116) at ✽.the response status code should be 202(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/Endpoint.feature:33)
runs_cucumber_integration_tests_on_pull_request_target
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:116) at ✽.the response status code should be 200(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/CustomRatelimit.feature:77)
runs_cucumber_integration_tests_on_pull_request_target
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:116) at ✽.the response status code should be 200(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/Endpoint.feature:8)
runs_cucumber_integration_tests_on_pull_request_target
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── expected [202] but found [404] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: expected [202] but found [404] 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:116) at ✽.the response status code should be 202(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/GlobalInterceptor.feature:21)
runs_cucumber_integration_tests_on_pull_request_target
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:116) at ✽.the response status code should be 200(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/DifferentSandProdEndpoint.feature:8)
runs_cucumber_integration_tests_on_pull_request_target
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:116) at ✽.the response status code should be 200(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/DifferentEndpointResourceLevel.feature:8)
runs_cucumber_integration_tests_on_pull_request_target
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── Could not receive expected response within time. Last received code: 404, last response body: ***"code":"404","description":"The requested resource is not available.","message":"Not Found"*** ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.apk.integration.utils.exceptions.TimeoutException: Could not receive expected response within time. Last received code: 404, last response body: ***"code":"404","description":"The requested resource is not available.","message":"Not Found"*** at org.wso2.apk.integration.utils.clients.SimpleHTTPClient.executeLastRequestForEventualConsistentResponse(SimpleHTTPClient.java:426) at org.wso2.apk.integration.api.BaseSteps.eventualSuccess(BaseSteps.java:208) at ✽.I eventually receive 200 response code, not accepting(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/OrganizationBasedAPIS.feature:17)
runs_cucumber_integration_tests_on_pull_request_target
Process completed with exit code 1.
runs_go_integration_tests_on_pull_request_target
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_go_integration_tests_on_pull_request_target
No test results found!
runs_cucumber_integration_tests_on_pull_request_target
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_cucumber_integration_tests_on_pull_request_target
63 tests run, 0 skipped, 10 failed.