Skip to content

Fix regex match for semantic versioned APIs #2856

Fix regex match for semantic versioned APIs

Fix regex match for semantic versioned APIs #2856

Triggered via pull request February 25, 2025 04:19
@sgayangisgayangi
labeled #2863
Status Failure
Total duration 56m 40s
Artifacts 2

integration-test.yml

on: pull_request_target
runs_go_integration_tests_on_pull_request
23m 6s
runs_go_integration_tests_on_pull_request
runs_cucumber_integration_tests_on_pull_request
47m 10s
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 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.eventualSuccess(BaseSteps.java:325) 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/JWT.feature:12)
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 [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.eventualSuccess(BaseSteps.java:325) 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/JWT.feature:30)
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
260 KB
apk-integration-test-go-logs
102 KB