Skip to content

Fix possible threading issue #2754

Fix possible threading issue

Fix possible threading issue #2754

Triggered via pull request February 5, 2025 08:55
@Tharsanan1Tharsanan1
labeled #2761
Status Failure
Total duration 3h 1m 56s
Artifacts 2

integration-test.yml

on: pull_request_target
runs_go_integration_tests_on_pull_request
27m 48s
runs_go_integration_tests_on_pull_request
runs_cucumber_integration_tests_on_pull_request
44m 13s
runs_cucumber_integration_tests_on_pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 2 warnings
build_config / build
RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
build_config / build
10 bytes of body are still expected
build_config / build
early EOF
build_config / build
fetch-pack: invalid index-pack output
build_config / build
RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
build_config / build
4106 bytes of body are still expected
build_config / build
early EOF
build_config / build
fetch-pack: invalid index-pack output
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 [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:240)
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 ────────────────────────────────────────────────────────────────────────────────────────── 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.2.2", "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.2.2", "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: 200, last response body: ***"data":***"allHumans":[***"name":"string"***,***"name":"string"***]*** ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.apk.integration.utils.exceptions.TimeoutException: Could not receive expected response within time. Last received code: 200, last response body: ***"data":***"allHumans":[***"name":"string"***,***"name":"string"***]*** 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 403 response code, not accepting(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/GraphQL.feature:46)
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:132)
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 ────────────────────────────────────────────────────────────────────────────────────────── Could not receive expected response within time. Last received code: 403, last response body: User is NOT authorized to access the Resource: /test-scope/1.0.0/employeewithscopes. Scope validation failed. ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.apk.integration.utils.exceptions.TimeoutException: Could not receive expected response within time. Last received code: 403, last response body: User is NOT authorized to access the Resource: /test-scope/1.0.0/employeewithscopes. Scope validation 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/BasicDeploymentAndApiInvocation.feature:122)
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:42)
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
1.05 MB
apk-integration-test-go-logs
193 KB