Skip to content

Add request redirect and mirror filters functionality #2444

Add request redirect and mirror filters functionality

Add request redirect and mirror filters functionality #2444

Triggered via pull request June 20, 2024 10:02
@sgayangisgayangi
labeled #2392
Status Failure
Total duration 56m 15s
Artifacts 2

integration-test.yml

on: pull_request_target
runs_go_integration_tests_on_pull_request
18m 24s
runs_go_integration_tests_on_pull_request
runs_cucumber_integration_tests_on_pull_request
46m 41s
runs_cucumber_integration_tests_on_pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 15 warnings
runs_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── expected [429] but found [200] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: expected [429] 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:121) at ✽.the response status code should be 429(file:https:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/CustomRatelimit.feature:69)
runs_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── Connection timed out (Read failed) ────────────────────────────────────────────────────────────────────────────────────────── java.net.SocketException: Connection timed out (Read failed) at java.base/java.net.SocketInputStream.socketRead0(Native Method) at java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:115) at java.base/java.net.SocketInputStream.read(SocketInputStream.java:168) at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140) at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:484) at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:478) at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:70) at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1459) at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:1070) at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137) at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153) at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:280) at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138) at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56) at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259) at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163) at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:157) at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273) at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) at org.wso2.apk.integration.utils.clients.SimpleHTTPClient.doPostWithMultipart(SimpleHTTPClient.java:237) at org.wso2.apk.integration.api.APIDeploymentSteps.make_a_deployment_request(APIDeploymentSteps.java:102) at ✽.make the API deployment request(file:https:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/CircuitBreakerMaxRequest.feature:23)
runs_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── Could not receive expected response within time. Last received code: 404, last response body: ***"message":"Not Found","description":"The requested resource is not available.","code":"404"*** ────────────────────────────────────────────────────────────────────────────────────────── org.wso2.apk.integration.utils.exceptions.TimeoutException: Could not receive expected response within time. Last received code: 404, last response body: ***"message":"Not Found","description":"The requested resource is not available.","code":"404"*** at org.wso2.apk.integration.utils.clients.SimpleHTTPClient.executeLastRequestForEventualConsistentResponse(SimpleHTTPClient.java:474) at org.wso2.apk.integration.api.BaseSteps.eventualSuccess(BaseSteps.java:221) at ✽.I eventually receive 301 response code, not accepting(file:https:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/RequestRedirect.feature:12)
runs_cucumber_integration_tests_on_pull_request
Process completed with exit code 1.
build_ratelimiter / build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: azure/login@v1, actions/setup-go@v3, actions/checkout@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build_idpui / build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: azure/login@v1, actions/checkout@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build_idpds / build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: azure/login@v1, actions/setup-java@v3, actions/cache@v3, actions/checkout@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build_common_controller / build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: azure/login@v1, actions/setup-go@v3, actions/checkout@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build_adapter / build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: azure/login@v1, actions/setup-go@v3, actions/checkout@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build_router / build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: azure/login@v1, actions/checkout@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build_config / build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: azure/login@v1, actions/setup-java@v3, actions/cache@v3, actions/checkout@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build_enforcer / build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: azure/login@v1, actions/setup-java@v3, actions/checkout@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
runs_go_integration_tests_on_pull_request
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: azure/login@v1, azure/CLI@v1, azure/aks-set-context@v3, actions/checkout@v3, malinthaprasan/action-surefire-report@v1, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
runs_go_integration_tests_on_pull_request
The following actions uses node12 which is deprecated and will be forced to run on node16: malinthaprasan/action-surefire-report@v1, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
runs_go_integration_tests_on_pull_request
No test results found!
runs_cucumber_integration_tests_on_pull_request
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: azure/login@v1, azure/CLI@v1, azure/aks-set-context@v3, actions/checkout@v3, malinthaprasan/action-surefire-report@v1, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
runs_cucumber_integration_tests_on_pull_request
The following actions uses node12 which is deprecated and will be forced to run on node16: malinthaprasan/action-surefire-report@v1, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
runs_cucumber_integration_tests_on_pull_request
149 tests run, 0 skipped, 3 failed.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "apk-integration-test-cucmber-logs", "apk-integration-test-go-logs". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
apk-integration-test-cucmber-logs
455 KB
apk-integration-test-go-logs
1.16 MB