Adding endpoint api-key and basic key implementation #2762
Triggered via pull request
February 7, 2025 05:45
CrowleyRajapakse
labeled
#2775
Status
Failure
Total duration
5h 16m 22s
Artifacts
2
integration-test.yml
on: pull_request_target
build_adapter
/
build
7m 4s
build_common_controller
/
build
7m 9s
build_enforcer
/
build
3m 37s
build_router
/
build
3m 6s
build_ratelimiter
/
build
1m 13s
build_config
/
build
9m 10s
build_idpds
/
build
8m 26s
build_idpui
/
build
1m 35s
runs_go_integration_tests_on_pull_request
27m 10s
runs_cucumber_integration_tests_on_pull_request
44m 16s
Annotations
12 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 [401] but found [200]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: expected [401] but found [200]
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 401 response code, not accepting(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/MTLSwithOAuth2Optional.feature:38)
|
runs_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
Could not receive expected response within time. Last received code: 404, last response body: 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: 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:322)
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
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
Expected word 'aiMetadata' not found in logs expected [true] but found [false]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: Expected word 'aiMetadata' not found in logs expected [true] but found [false]
at org.testng.Assert.fail(Assert.java:111)
at org.testng.Assert.failNotEquals(Assert.java:1578)
at org.testng.Assert.assertTrue(Assert.java:57)
at org.wso2.apk.integration.api.BaseSteps.checkEnforcerLogs(BaseSteps.java:348)
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:13)
|
runs_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
expected [0] but found [16]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: expected [0] but found [16]
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.theGrpcResponseStatusCodeShouldBe(BaseSteps.java:237)
at ✽.the gRPC response status code should be 0(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/GRPCMTLS.feature:12)
|
runs_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
Could not receive expected response within time. Last received code: 503, last response body: ***"code":"102503","message":"Upstream connection failed","description":"upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: delayed connect error: Connection refused"***
──────────────────────────────────────────────────────────────────────────────────────────
org.wso2.apk.integration.utils.exceptions.TimeoutException: Could not receive expected response within time. Last received code: 503, last response body: ***"code":"102503","message":"Upstream connection failed","description":"upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: delayed connect error: Connection refused"***
at org.wso2.apk.integration.utils.clients.SimpleHTTPClient.executeLastRequestForEventualConsistentResponse(SimpleHTTPClient.java:474)
at org.wso2.apk.integration.api.BaseSteps.eventualSuccess(BaseSteps.java:322)
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/APIDefinitionEndpoint.feature:28)
|
runs_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
expected [401] but found [200]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: expected [401] but found [200]
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 401(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/RevokedToken.feature:24)
|
runs_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
expected [401] but found [200]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: expected [401] but found [200]
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 401 response code, not accepting(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/GraphQL.feature:152)
|
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
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
expected [504] but found [200]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: expected [504] but found [200]
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 504 response code, not accepting(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/BackendTimeout.feature:12)
|
runs_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
Could not receive expected response within time. Last received code: 404, last response body: 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: 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:322)
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/MultiEnvironment.feature:83)
|
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
192 tests run, 0 skipped, 43 failed.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
apk-integration-test-cucmber-logs
|
1.06 MB |
|
apk-integration-test-go-logs
|
205 KB |
|