CI-Build #364
GitHub Actions / Test Results
failed
May 27, 2024 in 0s
2 errors in 5s
2 tests 0 ✅ 5s ⏱️
1 suites 0 💤
1 files 0 ❌ 2 🔥
Results for commit a31c746.
Annotations
Check failure on line 0 in com.axonivy.connector.deepl.test.DeepLTest
github-actions / Test Results
document(BpmClient) (com.axonivy.connector.deepl.test.DeepLTest) with error
deepl-connector-test/target/surefire-reports/TEST-com.axonivy.connector.deepl.test.DeepLTest.xml [took 1s]
Raw output
ivy:error:rest:client
BpmError ivy:error:rest:client
Error Id: 18FBBF7AF86D5645
Context: request=HTTP GET call(1.1.0.1), session=2 (anonymous), securityContext=default, task=1, application=test, requestId=1, executionContext=SYSTEM, pmv=test$deepl-connector$1, processElement=1865BA0763310472-f4
Process Element: upload <1865BA0763310472-f4>
Attributes:
RestClientResponseStatusCode=-1
ExternalSystemUrl=http://localhost:8080/test/api/mock/document
RestClientName=deepl
RestClientRequestMethod=POST
ExternalSystemUserName=
RestClientConfigId=d0a119ea-f566-47be-8cc8-c6681c129161
Process Call Stack:
Fake Caller for document(File,TargetLanguage) <1865BA0763310472-f3fake>
at ch.ivyteam.ivy.bpm.error.BpmErrorBuilder.build(BpmErrorBuilder.java:192)
at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallErrorFactory.handle(RestClientCallErrorFactory.java:37)
at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:76)
at ch.ivyteam.ivy.bpm.engine.internal.model.bpmn.ResumableActivityExecutorAdapter.execute(ResumableActivityExecutorAdapter.java:41)
at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.lambda$1(ProcessElement.java:217)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.util.callable.IExecutionContext.callUncheckedInContext(IExecutionContext.java:51)
at ch.ivyteam.util.callable.IExecutionContext.getInContext(IExecutionContext.java:41)
at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.executeInElementContext(ProcessElement.java:272)
at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.execute(ProcessElement.java:217)
at ch.ivyteam.ivy.bpm.engine.internal.core.ProcessElementExecution.execute(ProcessElementExecution.java:33)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleExecution(RequestProcessor.java:125)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.processRequest(RequestProcessor.java:117)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleRequest(RequestProcessor.java:89)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleCallRequest(RequestProcessor.java:79)
at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:198)
at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:183)
at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleRequestWithinContext(BpmEngine.java:121)
at ch.ivyteam.ivy.request.impl.ContextAwareRequestHandler.handleRequest(ContextAwareRequestHandler.java:18)
at ch.ivyteam.ivy.enginemanagerbase.AbstractEngineManager.handleRequest(AbstractEngineManager.java:47)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$2(BpmExecutorFactory.java:76)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:151)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:1)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:166)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:1)
at ch.ivyteam.ivy.bpm.engine.client.internal.ExecutorFilterChain.doFilter(ExecutorFilterChain.java:31)
at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121)
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:107)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:1)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$1(BpmExecutorFactory.java:70)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$0(BpmExecutorFactory.java:66)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.execute(BpmExecutorFactory.java:184)
at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:140)
at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:100)
at com.axonivy.connector.deepl.test.DeepLTest.document(DeepLTest.java:67)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.proceed(AbstractScopeContext.java:12)
at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.callInScopeContext(AbstractScopeContext.java:7)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$4(IvyProcessTestScopeContext.java:33)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$3(IvyProcessTestScopeContext.java:32)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$2(IvyProcessTestScopeContext.java:31)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$1(IvyProcessTestScopeContext.java:30)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$0(IvyProcessTestScopeContext.java:29)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.callInScopeContext(IvyProcessTestScopeContext.java:28)
at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.callInContext(AbstractTestJu5Ext.java:121)
at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.interceptTestMethod(AbstractTestJu5Ext.java:108)
at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:214)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:210)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:66)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: javax.ws.rs.ProcessingException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused
at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:531)
at ch.ivyteam.ivy.jersey.client.impl.SpanConnector.apply(SpanConnector.java:43)
at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:300)
at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:662)
at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:697)
at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:691)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:691)
at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:661)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:439)
at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:103)
at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:71)
... 122 more
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: 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:72)
at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:483)
... 136 more
Caused by: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:547)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:633)
at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:75)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
... 145 more
[21:32:01.948][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-a7c37684-14d5-441b-8cee-4e9e84018122/config/applications/test/app.yaml:
$.RestClients.deepl.UUID: is not defined in the schema and the schema does not allow additional properties
[21:32:02.055][WARN ][com.google.inject.servlet.InternalServletModule][main]{}
You are attempting to use a deprecated API (specifically, attempting to @Inject ServletContext inside an eagerly created singleton. While we allow this for backwards compatibility, be warned that this MAY have unexpected behavior if you have more than one injector (with ServletModule) running in the same JVM. Please consult the Guice documentation at https://github.com/google/guice/wiki/Servlets for more information.
[21:32:02.807][ERROR][runtimelog.test.deepl-connector.rest_client][main]{}
REST service deepl (d0a119ea-f566-47be-8cc8-c6681c129161) call to POST http://localhost:8080/test/api/mock/document failed. Response status was -1
javax.ws.rs.ProcessingException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused
at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:531)
at ch.ivyteam.ivy.jersey.client.impl.SpanConnector.apply(SpanConnector.java:43)
at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:300)
at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:662)
at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:697)
at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:691)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:691)
at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:661)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:439)
at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:103)
at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:71)
at ch.ivyteam.ivy.bpm.engine.internal.model.bpmn.ResumableActivityExecutorAdapter.execute(ResumableActivityExecutorAdapter.java:41)
at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.lambda$1(ProcessElement.java:217)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.util.callable.IExecutionContext.callUncheckedInContext(IExecutionContext.java:51)
at ch.ivyteam.util.callable.IExecutionContext.getInContext(IExecutionContext.java:41)
at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.executeInElementContext(ProcessElement.java:272)
at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.execute(ProcessElement.java:217)
at ch.ivyteam.ivy.bpm.engine.internal.core.ProcessElementExecution.execute(ProcessElementExecution.java:33)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleExecution(RequestProcessor.java:125)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.processRequest(RequestProcessor.java:117)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleRequest(RequestProcessor.java:89)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleCallRequest(RequestProcessor.java:79)
at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:198)
at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:183)
at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleRequestWithinContext(BpmEngine.java:121)
at ch.ivyteam.ivy.request.impl.ContextAwareRequestHandler.handleRequest(ContextAwareRequestHandler.java:18)
at ch.ivyteam.ivy.enginemanagerbase.AbstractEngineManager.handleRequest(AbstractEngineManager.java:47)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$2(BpmExecutorFactory.java:76)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:151)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:1)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:166)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:1)
at ch.ivyteam.ivy.bpm.engine.client.internal.ExecutorFilterChain.doFilter(ExecutorFilterChain.java:31)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)
at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121)
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:107)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:1)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$1(BpmExecutorFactory.java:70)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$0(BpmExecutorFactory.java:66)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.execute(BpmExecutorFactory.java:184)
at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:140)
at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:100)
at com.axonivy.connector.deepl.test.DeepLTest.document(DeepLTest.java:67)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.proceed(AbstractScopeContext.java:12)
at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.callInScopeContext(AbstractScopeContext.java:7)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$4(IvyProcessTestScopeContext.java:33)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$3(IvyProcessTestScopeContext.java:32)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$2(IvyProcessTestScopeContext.java:31)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$1(IvyProcessTestScopeContext.java:30)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$0(IvyProcessTestScopeContext.java:29)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.callInScopeContext(IvyProcessTestScopeContext.java:28)
at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.callInContext(AbstractTestJu5Ext.java:121)
at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.interceptTestMethod(AbstractTestJu5Ext.java:108)
at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:214)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:210)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:66)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: 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:72)
at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:483)
... 137 more
Caused by: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:547)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:633)
at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:75)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
... 146 more
[21:32:02.825][ERROR][ch.ivyteam.ivy.enginemanagerbase][main]{}
ivy:error:rest:client
BpmError ivy:error:rest:client
Error Id: 18FBBF7AF86D5645
Context: request=HTTP GET call(1.1.0.1), session=2 (anonymous), securityContext=default, task=1, application=test, requestId=1, executionContext=SYSTEM, pmv=test$deepl-connector$1, processElement=1865BA0763310472-f4
Process Element: upload <1865BA0763310472-f4>
Attributes:
RestClientResponseStatusCode=-1
ExternalSystemUrl=http://localhost:8080/test/api/mock/document
RestClientName=deepl
RestClientRequestMethod=POST
ExternalSystemUserName=
RestClientConfigId=d0a119ea-f566-47be-8cc8-c6681c129161
Process Call Stack:
Fake Caller for document(File,TargetLanguage) <1865BA0763310472-f3fake>
at ch.ivyteam.ivy.bpm.error.BpmErrorBuilder.build(BpmErrorBuilder.java:192)
at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallErrorFactory.handle(RestClientCallErrorFactory.java:37)
at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:76)
at ch.ivyteam.ivy.bpm.engine.internal.model.bpmn.ResumableActivityExecutorAdapter.execute(ResumableActivityExecutorAdapter.java:41)
at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.lambda$1(ProcessElement.java:217)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.util.callable.IExecutionContext.callUncheckedInContext(IExecutionContext.java:51)
at ch.ivyteam.util.callable.IExecutionContext.getInContext(IExecutionContext.java:41)
at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.executeInElementContext(ProcessElement.java:272)
at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.execute(ProcessElement.java:217)
at ch.ivyteam.ivy.bpm.engine.internal.core.ProcessElementExecution.execute(ProcessElementExecution.java:33)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleExecution(RequestProcessor.java:125)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.processRequest(RequestProcessor.java:117)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleRequest(RequestProcessor.java:89)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleCallRequest(RequestProcessor.java:79)
at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:198)
at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:183)
at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleRequestWithinContext(BpmEngine.java:121)
at ch.ivyteam.ivy.request.impl.ContextAwareRequestHandler.handleRequest(ContextAwareRequestHandler.java:18)
at ch.ivyteam.ivy.enginemanagerbase.AbstractEngineManager.handleRequest(AbstractEngineManager.java:47)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$2(BpmExecutorFactory.java:76)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:151)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:1)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:166)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:1)
at ch.ivyteam.ivy.bpm.engine.client.internal.ExecutorFilterChain.doFilter(ExecutorFilterChain.java:31)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)
at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121)
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:107)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:1)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$1(BpmExecutorFactory.java:70)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$0(BpmExecutorFactory.java:66)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.execute(BpmExecutorFactory.java:184)
at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:140)
at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:100)
at com.axonivy.connector.deepl.test.DeepLTest.document(DeepLTest.java:67)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.proceed(AbstractScopeContext.java:12)
at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.callInScopeContext(AbstractScopeContext.java:7)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$4(IvyProcessTestScopeContext.java:33)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$3(IvyProcessTestScopeContext.java:32)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$2(IvyProcessTestScopeContext.java:31)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$1(IvyProcessTestScopeContext.java:30)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$0(IvyProcessTestScopeContext.java:29)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.callInScopeContext(IvyProcessTestScopeContext.java:28)
at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.callInContext(AbstractTestJu5Ext.java:121)
at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.interceptTestMethod(AbstractTestJu5Ext.java:108)
at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:214)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:210)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:66)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: javax.ws.rs.ProcessingException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused
at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:531)
at ch.ivyteam.ivy.jersey.client.impl.SpanConnector.apply(SpanConnector.java:43)
at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:300)
at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:662)
at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:697)
at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:691)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:691)
at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:661)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:439)
at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:103)
at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:71)
... 123 more
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: 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:72)
at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:483)
... 137 more
Caused by: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:547)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:633)
at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:75)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
... 146 more
[21:32:02.843][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-a7c37684-14d5-441b-8cee-4e9e84018122/config/applications/test/app.yaml:
$.RestClients.deepl.UUID: is not defined in the schema and the schema does not allow additional properties
[21:32:02.862][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-a7c37684-14d5-441b-8cee-4e9e84018122/config/applications/test/app.yaml:
$.RestClients.deepl.UUID: is not defined in the schema and the schema does not allow additional properties
Check failure on line 0 in com.axonivy.connector.deepl.test.DeepLTest
github-actions / Test Results
translate(BpmClient) (com.axonivy.connector.deepl.test.DeepLTest) with error
deepl-connector-test/target/surefire-reports/TEST-com.axonivy.connector.deepl.test.DeepLTest.xml [took 0s]
Raw output
ivy:error:rest:client
BpmError ivy:error:rest:client
Error Id: 18FBBF7B051CDB28
Context: request=HTTP GET call(2.2.0.1), session=3 (anonymous), securityContext=default, task=2, application=test, requestId=2, executionContext=SYSTEM, pmv=test$deepl-connector$1, processElement=1865BA0763310472-f6
Process Element: translate <1865BA0763310472-f6>
Attributes:
RestClientResponseStatusCode=-1
ExternalSystemUrl=http://localhost:8080/test/api/mock/translate
RestClientName=deepl
RestClientRequestMethod=POST
ExternalSystemUserName=
RestClientConfigId=d0a119ea-f566-47be-8cc8-c6681c129161
Process Call Stack:
Fake Caller for text(String,TargetLanguage) <1865BA0763310472-f20fake>
at ch.ivyteam.ivy.bpm.error.BpmErrorBuilder.build(BpmErrorBuilder.java:192)
at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallErrorFactory.handle(RestClientCallErrorFactory.java:37)
at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:76)
at ch.ivyteam.ivy.bpm.engine.internal.model.bpmn.ResumableActivityExecutorAdapter.execute(ResumableActivityExecutorAdapter.java:41)
at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.lambda$1(ProcessElement.java:217)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.util.callable.IExecutionContext.callUncheckedInContext(IExecutionContext.java:51)
at ch.ivyteam.util.callable.IExecutionContext.getInContext(IExecutionContext.java:41)
at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.executeInElementContext(ProcessElement.java:272)
at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.execute(ProcessElement.java:217)
at ch.ivyteam.ivy.bpm.engine.internal.core.ProcessElementExecution.execute(ProcessElementExecution.java:33)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleExecution(RequestProcessor.java:125)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.processRequest(RequestProcessor.java:117)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleRequest(RequestProcessor.java:89)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleCallRequest(RequestProcessor.java:79)
at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:198)
at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:183)
at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleRequestWithinContext(BpmEngine.java:121)
at ch.ivyteam.ivy.request.impl.ContextAwareRequestHandler.handleRequest(ContextAwareRequestHandler.java:18)
at ch.ivyteam.ivy.enginemanagerbase.AbstractEngineManager.handleRequest(AbstractEngineManager.java:47)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$2(BpmExecutorFactory.java:76)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:151)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:1)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:166)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:1)
at ch.ivyteam.ivy.bpm.engine.client.internal.ExecutorFilterChain.doFilter(ExecutorFilterChain.java:31)
at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121)
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:107)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:1)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$1(BpmExecutorFactory.java:70)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$0(BpmExecutorFactory.java:66)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.execute(BpmExecutorFactory.java:184)
at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:140)
at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:100)
at com.axonivy.connector.deepl.test.DeepLTest.translate(DeepLTest.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.proceed(AbstractScopeContext.java:12)
at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.callInScopeContext(AbstractScopeContext.java:7)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$4(IvyProcessTestScopeContext.java:33)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$3(IvyProcessTestScopeContext.java:32)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$2(IvyProcessTestScopeContext.java:31)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$1(IvyProcessTestScopeContext.java:30)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$0(IvyProcessTestScopeContext.java:29)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.callInScopeContext(IvyProcessTestScopeContext.java:28)
at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.callInContext(AbstractTestJu5Ext.java:121)
at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.interceptTestMethod(AbstractTestJu5Ext.java:108)
at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:214)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:210)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:66)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: javax.ws.rs.ProcessingException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused
at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:531)
at ch.ivyteam.ivy.jersey.client.impl.SpanConnector.apply(SpanConnector.java:43)
at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:300)
at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:662)
at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:697)
at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:691)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:691)
at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:661)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:439)
at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:103)
at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:71)
... 122 more
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: 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:72)
at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:483)
... 136 more
Caused by: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:547)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:633)
at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:75)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
... 145 more
[21:32:02.906][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-a7c37684-14d5-441b-8cee-4e9e84018122/config/applications/test/app.yaml:
$.RestClients.deepl.UUID: is not defined in the schema and the schema does not allow additional properties
[21:32:02.924][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-a7c37684-14d5-441b-8cee-4e9e84018122/config/applications/test/app.yaml:
$.RestClients.deepl.UUID: is not defined in the schema and the schema does not allow additional properties
[21:32:02.944][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-a7c37684-14d5-441b-8cee-4e9e84018122/config/applications/test/app.yaml:
$.RestClients.deepl.UUID: is not defined in the schema and the schema does not allow additional properties
[21:32:02.967][ERROR][com.axonivy.jmx.internal.LogErrorStrategy][main]{}
Could not register MBean 'ch.ivyteam.ivy.rest.client.internal.ExternalRestWebService@3c3f0f2e'
javax.management.InstanceAlreadyExistsException: ivy Engine:type=External REST Web Service,application=test,name="deepl (d0a119ea-f566-47be-8cc8-c6681c129161)"
at java.management/com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:436)
at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1865)
at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:960)
at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:895)
at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:320)
at java.management/com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:523)
at com.axonivy.jmx.internal.MBeanManager.registerMBean(MBeanManager.java:113)
at com.axonivy.jmx.internal.MBeanManager.registerMBeanFor(MBeanManager.java:68)
at com.axonivy.jmx.internal.MBeanManager.registerMBeanFor(MBeanManager.java:58)
at com.axonivy.jmx.internal.MBeanManager.ifAnnotatedRegisterMBeanFor(MBeanManager.java:136)
at com.axonivy.jmx.internal.MMap.put(MMap.java:54)
at java.base/java.util.Map.computeIfAbsent(Map.java:1055)
at ch.ivyteam.ivy.rest.client.internal.RestWebServiceApplicationContext.getRestWebService(RestWebServiceApplicationContext.java:65)
at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.getRestServiceCall(RestClientCallExecutor.java:249)
at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:67)
at ch.ivyteam.ivy.bpm.engine.internal.model.bpmn.ResumableActivityExecutorAdapter.execute(ResumableActivityExecutorAdapter.java:41)
at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.lambda$1(ProcessElement.java:217)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.util.callable.IExecutionContext.callUncheckedInContext(IExecutionContext.java:51)
at ch.ivyteam.util.callable.IExecutionContext.getInContext(IExecutionContext.java:41)
at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.executeInElementContext(ProcessElement.java:272)
at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.execute(ProcessElement.java:217)
at ch.ivyteam.ivy.bpm.engine.internal.core.ProcessElementExecution.execute(ProcessElementExecution.java:33)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleExecution(RequestProcessor.java:125)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.processRequest(RequestProcessor.java:117)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleRequest(RequestProcessor.java:89)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleCallRequest(RequestProcessor.java:79)
at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:198)
at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:183)
at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleRequestWithinContext(BpmEngine.java:121)
at ch.ivyteam.ivy.request.impl.ContextAwareRequestHandler.handleRequest(ContextAwareRequestHandler.java:18)
at ch.ivyteam.ivy.enginemanagerbase.AbstractEngineManager.handleRequest(AbstractEngineManager.java:47)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$2(BpmExecutorFactory.java:76)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:151)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:1)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:166)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:1)
at ch.ivyteam.ivy.bpm.engine.client.internal.ExecutorFilterChain.doFilter(ExecutorFilterChain.java:31)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)
at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121)
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:107)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:1)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$1(BpmExecutorFactory.java:70)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$0(BpmExecutorFactory.java:66)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.execute(BpmExecutorFactory.java:184)
at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:140)
at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:100)
at com.axonivy.connector.deepl.test.DeepLTest.translate(DeepLTest.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.proceed(AbstractScopeContext.java:12)
at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.callInScopeContext(AbstractScopeContext.java:7)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$4(IvyProcessTestScopeContext.java:33)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$3(IvyProcessTestScopeContext.java:32)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$2(IvyProcessTestScopeContext.java:31)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$1(IvyProcessTestScopeContext.java:30)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$0(IvyProcessTestScopeContext.java:29)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.callInScopeContext(IvyProcessTestScopeContext.java:28)
at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.callInContext(AbstractTestJu5Ext.java:121)
at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.interceptTestMethod(AbstractTestJu5Ext.java:108)
at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:214)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:210)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:66)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLa….java:51)
at ch.ivyteam.util.callable.IExecutionContext.getInContext(IExecutionContext.java:41)
at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.executeInElementContext(ProcessElement.java:272)
at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.execute(ProcessElement.java:217)
at ch.ivyteam.ivy.bpm.engine.internal.core.ProcessElementExecution.execute(ProcessElementExecution.java:33)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleExecution(RequestProcessor.java:125)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.processRequest(RequestProcessor.java:117)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleRequest(RequestProcessor.java:89)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleCallRequest(RequestProcessor.java:79)
at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:198)
at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:183)
at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleRequestWithinContext(BpmEngine.java:121)
at ch.ivyteam.ivy.request.impl.ContextAwareRequestHandler.handleRequest(ContextAwareRequestHandler.java:18)
at ch.ivyteam.ivy.enginemanagerbase.AbstractEngineManager.handleRequest(AbstractEngineManager.java:47)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$2(BpmExecutorFactory.java:76)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:151)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:1)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:166)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:1)
at ch.ivyteam.ivy.bpm.engine.client.internal.ExecutorFilterChain.doFilter(ExecutorFilterChain.java:31)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)
at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121)
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:107)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:1)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$1(BpmExecutorFactory.java:70)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$0(BpmExecutorFactory.java:66)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.execute(BpmExecutorFactory.java:184)
at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:140)
at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:100)
at com.axonivy.connector.deepl.test.DeepLTest.translate(DeepLTest.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.proceed(AbstractScopeContext.java:12)
at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.callInScopeContext(AbstractScopeContext.java:7)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$4(IvyProcessTestScopeContext.java:33)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$3(IvyProcessTestScopeContext.java:32)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$2(IvyProcessTestScopeContext.java:31)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$1(IvyProcessTestScopeContext.java:30)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$0(IvyProcessTestScopeContext.java:29)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.callInScopeContext(IvyProcessTestScopeContext.java:28)
at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.callInContext(AbstractTestJu5Ext.java:121)
at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.interceptTestMethod(AbstractTestJu5Ext.java:108)
at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:214)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:210)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:66)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: 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:72)
at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:483)
... 137 more
Caused by: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:547)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:633)
at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:75)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
... 146 more
[21:32:03.025][ERROR][ch.ivyteam.ivy.enginemanagerbase][main]{}
ivy:error:rest:client
BpmError ivy:error:rest:client
Error Id: 18FBBF7B051CDB28
Context: request=HTTP GET call(2.2.0.1), session=3 (anonymous), securityContext=default, task=2, application=test, requestId=2, executionContext=SYSTEM, pmv=test$deepl-connector$1, processElement=1865BA0763310472-f6
Process Element: translate <1865BA0763310472-f6>
Attributes:
RestClientResponseStatusCode=-1
ExternalSystemUrl=http://localhost:8080/test/api/mock/translate
RestClientName=deepl
RestClientRequestMethod=POST
ExternalSystemUserName=
RestClientConfigId=d0a119ea-f566-47be-8cc8-c6681c129161
Process Call Stack:
Fake Caller for text(String,TargetLanguage) <1865BA0763310472-f20fake>
at ch.ivyteam.ivy.bpm.error.BpmErrorBuilder.build(BpmErrorBuilder.java:192)
at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallErrorFactory.handle(RestClientCallErrorFactory.java:37)
at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:76)
at ch.ivyteam.ivy.bpm.engine.internal.model.bpmn.ResumableActivityExecutorAdapter.execute(ResumableActivityExecutorAdapter.java:41)
at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.lambda$1(ProcessElement.java:217)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.util.callable.IExecutionContext.callUncheckedInContext(IExecutionContext.java:51)
at ch.ivyteam.util.callable.IExecutionContext.getInContext(IExecutionContext.java:41)
at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.executeInElementContext(ProcessElement.java:272)
at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.execute(ProcessElement.java:217)
at ch.ivyteam.ivy.bpm.engine.internal.core.ProcessElementExecution.execute(ProcessElementExecution.java:33)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleExecution(RequestProcessor.java:125)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.processRequest(RequestProcessor.java:117)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleRequest(RequestProcessor.java:89)
at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleCallRequest(RequestProcessor.java:79)
at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:198)
at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:183)
at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleRequestWithinContext(BpmEngine.java:121)
at ch.ivyteam.ivy.request.impl.ContextAwareRequestHandler.handleRequest(ContextAwareRequestHandler.java:18)
at ch.ivyteam.ivy.enginemanagerbase.AbstractEngineManager.handleRequest(AbstractEngineManager.java:47)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$2(BpmExecutorFactory.java:76)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:151)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:1)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:166)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:1)
at ch.ivyteam.ivy.bpm.engine.client.internal.ExecutorFilterChain.doFilter(ExecutorFilterChain.java:31)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)
at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121)
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:107)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:1)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$1(BpmExecutorFactory.java:70)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$0(BpmExecutorFactory.java:66)
at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.execute(BpmExecutorFactory.java:184)
at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:140)
at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:100)
at com.axonivy.connector.deepl.test.DeepLTest.translate(DeepLTest.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.proceed(AbstractScopeContext.java:12)
at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.callInScopeContext(AbstractScopeContext.java:7)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$4(IvyProcessTestScopeContext.java:33)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$3(IvyProcessTestScopeContext.java:32)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$2(IvyProcessTestScopeContext.java:31)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$1(IvyProcessTestScopeContext.java:30)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$0(IvyProcessTestScopeContext.java:29)
at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.callInScopeContext(IvyProcessTestScopeContext.java:28)
at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.callInContext(AbstractTestJu5Ext.java:121)
at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.interceptTestMethod(AbstractTestJu5Ext.java:108)
at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:214)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:210)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:66)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: javax.ws.rs.ProcessingException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused
at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:531)
at ch.ivyteam.ivy.jersey.client.impl.SpanConnector.apply(SpanConnector.java:43)
at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:300)
at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:662)
at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:697)
at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:691)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:691)
at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:661)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:439)
at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:103)
at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:71)
... 123 more
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: 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:72)
at org.glassfish.jersey.apache.connector.ApacheConnector.apply(ApacheConnector.java:483)
... 137 more
Caused by: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:547)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
at java.base/java.net.Socket.connect(Socket.java:633)
at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:75)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
... 146 more
[21:32:03.034][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-a7c37684-14d5-441b-8cee-4e9e84018122/config/applications/test/app.yaml:
$.RestClients.deepl.UUID: is not defined in the schema and the schema does not allow additional properties
[21:32:03.050][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-a7c37684-14d5-441b-8cee-4e9e84018122/config/applications/test/app.yaml:
$.RestClients.deepl.UUID: is not defined in the schema and the schema does not allow additional properties
Check notice on line 0 in .github
github-actions / Test Results
2 tests found
There are 2 tests, see "Raw output" for the full list of tests.
Raw output
com.axonivy.connector.deepl.test.DeepLTest ‑ document(BpmClient)
com.axonivy.connector.deepl.test.DeepLTest ‑ translate(BpmClient)
Loading