Upgrade ubuntu and JDK in CP dockerfiles #1711
Annotations
10 errors and 2 warnings
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
expected [200] but found [500]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: expected [200] but found [500]
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 200(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/JWT.feature:8)
|
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
Connect to idp.am.wso2.com:9095 [idp.am.wso2.com/20.198.144.80] failed: Connection refused (Connection refused)
──────────────────────────────────────────────────────────────────────────────────────────
org.apache.http.conn.HttpHostConnectException: Connect to idp.am.wso2.com:9095 [idp.am.wso2.com/20.198.144.80] failed: Connection refused (Connection refused)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:156)
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.doPost(SimpleHTTPClient.java:164)
at org.wso2.apk.integration.api.BaseSteps.iHaveValidSubscription(BaseSteps.java:324)
at ✽.I have a valid subscription(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/JWT.feature:67)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412)
at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255)
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.base/java.net.Socket.connect(Socket.java:609)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:368)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
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.doPost(SimpleHTTPClient.java:164)
at org.wso2.apk.integration.api.BaseSteps.iHaveValidSubscription(BaseSteps.java:324)
at jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(Pickl
|
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
expected [202] but found [404]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: expected [202] but found [404]
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 202(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/JWT.feature:114)
|
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
Connect to idp.am.wso2.com:9095 [idp.am.wso2.com/20.198.144.80] failed: Connection refused (Connection refused)
──────────────────────────────────────────────────────────────────────────────────────────
org.apache.http.conn.HttpHostConnectException: Connect to idp.am.wso2.com:9095 [idp.am.wso2.com/20.198.144.80] failed: Connection refused (Connection refused)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:156)
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.doPost(SimpleHTTPClient.java:164)
at org.wso2.apk.integration.api.BaseSteps.iHaveValidSubscription(BaseSteps.java:324)
at ✽.I have a valid subscription(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/JWT.feature:53)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412)
at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255)
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.base/java.net.Socket.connect(Socket.java:609)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:368)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
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.doPost(SimpleHTTPClient.java:164)
at org.wso2.apk.integration.api.BaseSteps.iHaveValidSubscription(BaseSteps.java:324)
at jdk.internal.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(Pickl
|
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
Connect to default.gw.wso2.com:9095 [default.gw.wso2.com/20.198.144.80] failed: Connection refused (Connection refused)
──────────────────────────────────────────────────────────────────────────────────────────
org.apache.http.conn.HttpHostConnectException: Connect to default.gw.wso2.com:9095 [default.gw.wso2.com/20.198.144.80] failed: Connection refused (Connection refused)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:156)
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.gw.wso2.com:9095/jwt-basic/3.14/employee/" with body ""(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/JWT.feature:24)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412)
at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255)
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.base/java.net.Socket.connect(Socket.java:609)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:368)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
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 jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:6
|
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
expected [202] but found [404]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: expected [202] but found [404]
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 202(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/JWT.feature:114)
|
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:66)
|
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
expected [202] but found [404]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: expected [202] but found [404]
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 202(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/JWT.feature:114)
|
APKIntegrationTestSuite.runScenario
──────────────────────────────────────────────────────────────────────────────────────────
expected [200] but found [500]
──────────────────────────────────────────────────────────────────────────────────────────
java.lang.AssertionError: expected [200] but found [500]
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 200(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/Interceptor.feature:60)
|
|
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/
|
|
The logs for this run have expired and are no longer available.
Loading