Skip to content

Fix test fail

Fix test fail #2847

Triggered via pull request February 24, 2025 03:04
@Krishanx92Krishanx92
labeled #2874
Status Failure
Total duration 59m 14s
Artifacts 2

integration-test.yml

on: pull_request_target
runs_go_integration_tests_on_pull_request
39m 41s
runs_go_integration_tests_on_pull_request
runs_cucumber_integration_tests_on_pull_request
49m 54s
runs_cucumber_integration_tests_on_pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 2 warnings
runs_go_integration_tests_on_pull_request
Process completed with exit code 1.
runs_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── expected [200] but found [401] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: expected [200] but found [401] 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:138) at ✽.the response status code should be 200(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/JWT.feature:23)
runs_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── JWT Signature verification fail ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: JWT Signature verification fail at org.testng.Assert.fail(Assert.java:111) at org.wso2.apk.integration.api.BaseSteps.decode_header_and_validate(BaseSteps.java:455) at ✽.the "X-Jwt-Assertion" jwt should validate from JWKS "https://api.am.wso2.com:9095/.wellknown/jwks" and contain(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/JWT.feature:90)
runs_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── expected object to not be null ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: expected object to not be null at org.testng.Assert.fail(Assert.java:111) at org.testng.Assert.assertNotNull(Assert.java:1484) at org.testng.Assert.assertNotNull(Assert.java:1468) at org.wso2.apk.integration.api.BaseSteps.theResponseHeadersShouldContain(BaseSteps.java:301) at ✽.the response headers should contain(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/CORS.feature:36)
runs_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── expected object to not be null ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: expected object to not be null at org.testng.Assert.fail(Assert.java:111) at org.testng.Assert.assertNotNull(Assert.java:1484) at org.testng.Assert.assertNotNull(Assert.java:1468) at org.wso2.apk.integration.api.BaseSteps.theResponseHeadersShouldContain(BaseSteps.java:301) at ✽.the response headers should contain(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/APIBackendBasedAIRatelimit.feature:68)
runs_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── expected [200] but found [403] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: expected [200] but found [403] 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:138) at ✽.the response status code should be 200(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/SemanticVersioning.feature:78)
runs_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── expected [200] but found [403] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: expected [200] but found [403] 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:138) at ✽.the response status code should be 200(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/SemanticVersioning.feature:15)
runs_cucumber_integration_tests_on_pull_request
Process completed with exit code 1.
runs_go_integration_tests_on_pull_request
No test results found!
runs_cucumber_integration_tests_on_pull_request
138 tests run, 0 skipped, 6 failed.

Artifacts

Produced during runtime
Name Size
apk-integration-test-cucmber-logs
270 KB
apk-integration-test-go-logs
104 KB