Skip to content

Adding multi environment support for APK #1650

Adding multi environment support for APK

Adding multi environment support for APK #1650

Triggered via pull request September 27, 2023 08:30
@pubudu538pubudu538
synchronize #1770
Status Failure
Total duration 32m 56s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

integration-test.yml

on: pull_request_target
runs_go_integration_tests_on_pull_request_target
19m 31s
runs_go_integration_tests_on_pull_request_target
runs_cucumber_integration_tests_on_pull_request_target
22m 0s
runs_cucumber_integration_tests_on_pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 4 warnings
runs_cucumber_integration_tests_on_pull_request_target
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── default-dev.gw.wso2.com: No address associated with hostname ────────────────────────────────────────────────────────────────────────────────────────── java.net.UnknownHostException: default-dev.gw.wso2.com: No address associated with hostname at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:930) at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1543) at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:848) at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1533) at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1386) at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1307) at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) 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.doGet(SimpleHTTPClient.java:121) at org.wso2.apk.integration.api.BaseSteps.sendHttpRequest(BaseSteps.java:125) at ✽.I send "GET" request to "https://default-dev.gw.wso2.com:9095/multienv/3.14/employee/" with body ""(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/MultiEnvironment.feature:11)
runs_cucumber_integration_tests_on_pull_request_target
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── default-qa.gw.wso2.com: No address associated with hostname ────────────────────────────────────────────────────────────────────────────────────────── java.net.UnknownHostException: default-qa.gw.wso2.com: No address associated with hostname at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:930) at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1543) at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:848) at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1533) at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1386) at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1307) at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) 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.doGet(SimpleHTTPClient.java:121) at org.wso2.apk.integration.api.BaseSteps.sendHttpRequest(BaseSteps.java:125) at ✽.I send "GET" request to "https://default-qa.gw.wso2.com:9095/multienv/3.14/employee/" with body ""(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/MultiEnvironment.feature:24)
runs_cucumber_integration_tests_on_pull_request_target
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:116) at ✽.the response status code should be 429(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/CustomRatelimit.feature:29)
runs_cucumber_integration_tests_on_pull_request_target
Process completed with exit code 1.
runs_go_integration_tests_on_pull_request_target
The following actions uses node12 which is deprecated and will be forced to run on node16: malinthaprasan/action-surefire-report@v1. 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_target
No test results found!
runs_cucumber_integration_tests_on_pull_request_target
The following actions uses node12 which is deprecated and will be forced to run on node16: malinthaprasan/action-surefire-report@v1. 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_target
67 tests run, 0 skipped, 3 failed.