Skip to content

fix custom auth header #2820

fix custom auth header

fix custom auth header #2820

Triggered via pull request February 19, 2025 22:17
@Krishanx92Krishanx92
labeled #2837
Status Failure
Total duration 54m 41s
Artifacts 2

integration-test.yml

on: pull_request_target
runs_go_integration_tests_on_pull_request
24m 1s
runs_go_integration_tests_on_pull_request
runs_cucumber_integration_tests_on_pull_request
45m 7s
runs_cucumber_integration_tests_on_pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 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 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 [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 ────────────────────────────────────────────────────────────────────────────────────────── Could not find any logs in the last 60 seconds. PodName: apk-test-setup-wso2-apk-gateway-runtime-deployment-5867cc7zt2br, namespace: apk-integration-test expected object to not be null ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: Could not find any logs in the last 60 seconds. PodName: apk-test-setup-wso2-apk-gateway-runtime-deployment-5867cc7zt2br, namespace: apk-integration-test expected object to not be null at org.testng.Assert.fail(Assert.java:111) at org.testng.Assert.assertNotNull(Assert.java:1484) at org.wso2.apk.integration.api.BaseSteps.checkEnforcerLogs(BaseSteps.java:345) at ✽.I see following strings in the enforcer logs(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/APIBackendBasedAIRatelimit.feature:16)
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
Process completed with exit code 1.
runs_go_integration_tests_on_pull_request
No test results found!
runs_cucumber_integration_tests_on_pull_request
129 tests run, 0 skipped, 4 failed.

Artifacts

Produced during runtime
Name Size
apk-integration-test-cucmber-logs
215 KB
apk-integration-test-go-logs
97.2 KB