Send matched apis, resources, subscription, application using metadata #2740
Triggered via pull request
February 4, 2025 09:14
Tharsanan1
labeled
#2756
Status
Failure
Total duration
52m 16s
Artifacts
2
integration-test.yml
on: pull_request_target
build_adapter
/
build
7m 9s
build_common_controller
/
build
7m 8s
build_enforcer
/
build
3m 27s
build_router
/
build
3m 9s
build_ratelimiter
/
build
1m 33s
build_config
/
build
9m 18s
build_idpds
/
build
8m 50s
build_idpui
/
build
1m 18s
runs_go_integration_tests_on_pull_request
23m 56s
runs_cucumber_integration_tests_on_pull_request
42m 36s
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 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:98)
|
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/GRPC.feature:66)
|
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
──────────────────────────────────────────────────────────────────────────────────────────
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 401 response code, not accepting(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/MultiEnvironment.feature:98)
|
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/JWT.feature:80)
|
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/MTLSwithOAuth2Mandatory.feature:310)
|
runs_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
Actual response body: ***
"args": ***,
"data": "",
"files": ***,
"form": ***,
"headers": ***
"Accept-Encoding": "gzip,deflate",
"Authorization": "***",
"Gw-Header": "GW-header-value",
"Host": "backend",
"User-Agent": "Apache-HttpClient/4.5.13 (Java/17.0.14)"
***,
"json": null,
"method": "GET",
"origin": "10.244.1.21",
"url": "https://backend/anything/employee"
***
expected [true] but found [false]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: Actual response body: ***
"args": ***,
"data": "",
"files": ***,
"form": ***,
"headers": ***
"Accept-Encoding": "gzip,deflate",
"Authorization": "***",
"Gw-Header": "GW-header-value",
"Host": "backend",
"User-Agent": "Apache-HttpClient/4.5.13 (Java/17.0.14)"
***,
"json": null,
"method": "GET",
"origin": "10.244.1.21",
"url": "https://backend/anything/employee"
***
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.theResponseBodyShouldContain(BaseSteps.java:114)
at ✽.the response body should contain "\"Api-Key\": \"sampath\""(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/BackendAPIKeyAuth.feature:14)
|
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:11)
|
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","description":"upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: delayed connect error: Connection refused","message":"Upstream connection failed"***
──────────────────────────────────────────────────────────────────────────────────────────
org.wso2.apk.integration.utils.exceptions.TimeoutException: Could not receive expected response within time. Last received code: 503, last response body: ***"code":"102503","description":"upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: delayed connect error: Connection refused","message":"Upstream connection failed"***
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/GRPC.feature:46)
|
runs_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
expected [16] but found [0]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: expected [16] but found [0]
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 16(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/GRPCMTLS.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
188 tests run, 0 skipped, 47 failed.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
apk-integration-test-cucmber-logs
|
390 KB |
|
apk-integration-test-go-logs
|
156 KB |
|