From 5d40a20be77549614dfebb5269c9f1b445247753 Mon Sep 17 00:00:00 2001 From: Alex May Date: Thu, 20 Jul 2023 14:41:42 -0600 Subject: [PATCH 01/14] Update to Java 17 --- .gitignore | 1 + README.md | 2 +- build.gradle | 8 ++-- core/build.gradle | 2 + dependencies.gradle | 2 +- docker/ci/Dockerfile | 2 +- docker/server/Dockerfile | 4 +- docker/serverAndUI/Dockerfile | 4 +- docs/docs/gettingstarted/source.md | 2 +- gradle/wrapper/gradle-wrapper.properties | 4 +- .../conductor/grpc/AbstractProtoMapper.java | 40 +++++++++---------- grpc/src/main/proto/model/taskdef.proto | 10 ++--- http-task/build.gradle | 2 + java-sdk/build.gradle | 1 + .../sdk/workflow/def/tasks/Javascript.java | 6 +-- 15 files changed, 48 insertions(+), 42 deletions(-) diff --git a/.gitignore b/.gitignore index f79fb99daf..846cbb0b5b 100644 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,4 @@ lib/ build/ */build/ +.tool-versions diff --git a/README.md b/README.md index 0b6c4f5adf..3a2c256e07 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ Binaries are available from [Netflix OSS Maven](https://artifacts.netflix.net/ne * The indexing backend is [Elasticsearch](https://www.elastic.co/) (6.x) ## Other Requirements -* JDK 11+ +* JDK 17+ * UI requires Node 14 to build. Earlier Node versions may work but is untested. ## Get Support diff --git a/build.gradle b/build.gradle index f54100b911..8cfd226d8e 100644 --- a/build.gradle +++ b/build.gradle @@ -52,8 +52,8 @@ allprojects { apply plugin: 'java-library' apply plugin: 'project-report' - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 group = 'com.netflix.conductor' @@ -164,11 +164,11 @@ allprojects { } } -// all client and their related modules are published with Java 11 compatibility +// all client and their related modules are published with Java 17 compatibility ["annotations", "common", "client", "client-spring", "grpc", "grpc-client"].each { project(":conductor-$it") { compileJava { - options.release = 11 + options.release = 17 } } } diff --git a/core/build.gradle b/core/build.gradle index d76aa71402..7a56014e88 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -41,6 +41,8 @@ dependencies { implementation "com.github.ben-manes.caffeine:caffeine" + implementation "org.openjdk.nashorn:nashorn-core:15.4" + // JAXB is not bundled with Java 11, dependencies added explicitly // These are needed by Apache BVAL implementation "jakarta.xml.bind:jakarta.xml.bind-api:${revJAXB}" diff --git a/dependencies.gradle b/dependencies.gradle index fa71f80a37..0d6e013716 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -26,7 +26,7 @@ ext { revElasticSearch6 = '6.8.12' revEmbeddedRedis = '0.6' revEurekaClient = '1.10.10' - revGroovy = '2.5.13' + revGroovy = '2.5.22' revGrpc = '1.+' revGuava = '30.0-jre' revHamcrestAllMatchers = '1.8' diff --git a/docker/ci/Dockerfile b/docker/ci/Dockerfile index 19a0287cf3..ff8a0b2762 100644 --- a/docker/ci/Dockerfile +++ b/docker/ci/Dockerfile @@ -1,4 +1,4 @@ -FROM openjdk:11-jdk +FROM openjdk:17-jdk WORKDIR /workspace/conductor COPY . /workspace/conductor diff --git a/docker/server/Dockerfile b/docker/server/Dockerfile index 3230f63450..882d5b6d91 100644 --- a/docker/server/Dockerfile +++ b/docker/server/Dockerfile @@ -5,7 +5,7 @@ # =========================================================================================================== # 0. Builder stage # =========================================================================================================== -FROM eclipse-temurin:11-jdk-focal AS builder +FROM eclipse-temurin:17-jdk-focal AS builder LABEL maintainer="Netflix OSS " @@ -19,7 +19,7 @@ RUN ./gradlew build -x test --stacktrace # =========================================================================================================== # 1. Bin stage # =========================================================================================================== -FROM eclipse-temurin:11-jre-focal +FROM eclipse-temurin:17-jre-focal LABEL maintainer="Netflix OSS " diff --git a/docker/serverAndUI/Dockerfile b/docker/serverAndUI/Dockerfile index 1722e07269..7840fc5f49 100644 --- a/docker/serverAndUI/Dockerfile +++ b/docker/serverAndUI/Dockerfile @@ -4,7 +4,7 @@ # =========================================================================================================== # 0. Builder stage # =========================================================================================================== -FROM openjdk:11-jdk AS builder +FROM openjdk:17-jdk AS builder LABEL maintainer="Netflix OSS " # Install Node @@ -36,7 +36,7 @@ RUN yarn install && yarn build # =========================================================================================================== FROM nginx:alpine -RUN apk add openjdk11-jre +RUN apk add openjdk17-jre LABEL maintainer="Netflix OSS " diff --git a/docs/docs/gettingstarted/source.md b/docs/docs/gettingstarted/source.md index 3a9eb5d449..f3a4786566 100644 --- a/docs/docs/gettingstarted/source.md +++ b/docs/docs/gettingstarted/source.md @@ -5,7 +5,7 @@ In this article we will explore how you can set up Netflix Conductor on your loc features. ### Prerequisites -1. JDK 11 or greater +1. JDK 17 or greater 2. (Optional) Docker if you want to run tests. You can install docker from [here](https://www.docker.com/get-started/). 3. Node for building and running UI. Instructions at [https://nodejs.org](https://nodejs.org). 4. Yarn for building and running UI. Instructions at [https://classic.yarnpkg.com/en/docs/install](https://classic.yarnpkg.com/en/docs/install). diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index b916c04dbb..42ee1f5292 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionSha256Sum=f6b8596b10cce501591e92f229816aa4046424f3b24d771751b06779d58c8ec4 -distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip +distributionSha256Sum=a01b6587e15fe7ed120a0ee299c25982a1eee045abd6a9dd5e216b2f628ef9ac +distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.2-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java b/grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java index fb9e4d63ca..c9cd06e381 100644 --- a/grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java +++ b/grpc/src/main/java/com/netflix/conductor/grpc/AbstractProtoMapper.java @@ -747,45 +747,45 @@ public TaskDef fromProto(TaskDefPb.TaskDef from) { return to; } - public TaskDefPb.TaskDef.RetryLogic toProto(TaskDef.RetryLogic from) { - TaskDefPb.TaskDef.RetryLogic to; + public TaskDefPb.TaskDef.TimeoutPolicy toProto(TaskDef.TimeoutPolicy from) { + TaskDefPb.TaskDef.TimeoutPolicy to; switch (from) { - case FIXED: to = TaskDefPb.TaskDef.RetryLogic.FIXED; break; - case EXPONENTIAL_BACKOFF: to = TaskDefPb.TaskDef.RetryLogic.EXPONENTIAL_BACKOFF; break; - case LINEAR_BACKOFF: to = TaskDefPb.TaskDef.RetryLogic.LINEAR_BACKOFF; break; + case RETRY: to = TaskDefPb.TaskDef.TimeoutPolicy.RETRY; break; + case TIME_OUT_WF: to = TaskDefPb.TaskDef.TimeoutPolicy.TIME_OUT_WF; break; + case ALERT_ONLY: to = TaskDefPb.TaskDef.TimeoutPolicy.ALERT_ONLY; break; default: throw new IllegalArgumentException("Unexpected enum constant: " + from); } return to; } - public TaskDef.RetryLogic fromProto(TaskDefPb.TaskDef.RetryLogic from) { - TaskDef.RetryLogic to; + public TaskDef.TimeoutPolicy fromProto(TaskDefPb.TaskDef.TimeoutPolicy from) { + TaskDef.TimeoutPolicy to; switch (from) { - case FIXED: to = TaskDef.RetryLogic.FIXED; break; - case EXPONENTIAL_BACKOFF: to = TaskDef.RetryLogic.EXPONENTIAL_BACKOFF; break; - case LINEAR_BACKOFF: to = TaskDef.RetryLogic.LINEAR_BACKOFF; break; + case RETRY: to = TaskDef.TimeoutPolicy.RETRY; break; + case TIME_OUT_WF: to = TaskDef.TimeoutPolicy.TIME_OUT_WF; break; + case ALERT_ONLY: to = TaskDef.TimeoutPolicy.ALERT_ONLY; break; default: throw new IllegalArgumentException("Unexpected enum constant: " + from); } return to; } - public TaskDefPb.TaskDef.TimeoutPolicy toProto(TaskDef.TimeoutPolicy from) { - TaskDefPb.TaskDef.TimeoutPolicy to; + public TaskDefPb.TaskDef.RetryLogic toProto(TaskDef.RetryLogic from) { + TaskDefPb.TaskDef.RetryLogic to; switch (from) { - case RETRY: to = TaskDefPb.TaskDef.TimeoutPolicy.RETRY; break; - case TIME_OUT_WF: to = TaskDefPb.TaskDef.TimeoutPolicy.TIME_OUT_WF; break; - case ALERT_ONLY: to = TaskDefPb.TaskDef.TimeoutPolicy.ALERT_ONLY; break; + case FIXED: to = TaskDefPb.TaskDef.RetryLogic.FIXED; break; + case EXPONENTIAL_BACKOFF: to = TaskDefPb.TaskDef.RetryLogic.EXPONENTIAL_BACKOFF; break; + case LINEAR_BACKOFF: to = TaskDefPb.TaskDef.RetryLogic.LINEAR_BACKOFF; break; default: throw new IllegalArgumentException("Unexpected enum constant: " + from); } return to; } - public TaskDef.TimeoutPolicy fromProto(TaskDefPb.TaskDef.TimeoutPolicy from) { - TaskDef.TimeoutPolicy to; + public TaskDef.RetryLogic fromProto(TaskDefPb.TaskDef.RetryLogic from) { + TaskDef.RetryLogic to; switch (from) { - case RETRY: to = TaskDef.TimeoutPolicy.RETRY; break; - case TIME_OUT_WF: to = TaskDef.TimeoutPolicy.TIME_OUT_WF; break; - case ALERT_ONLY: to = TaskDef.TimeoutPolicy.ALERT_ONLY; break; + case FIXED: to = TaskDef.RetryLogic.FIXED; break; + case EXPONENTIAL_BACKOFF: to = TaskDef.RetryLogic.EXPONENTIAL_BACKOFF; break; + case LINEAR_BACKOFF: to = TaskDef.RetryLogic.LINEAR_BACKOFF; break; default: throw new IllegalArgumentException("Unexpected enum constant: " + from); } return to; diff --git a/grpc/src/main/proto/model/taskdef.proto b/grpc/src/main/proto/model/taskdef.proto index dd15508d6c..43c086c9ee 100644 --- a/grpc/src/main/proto/model/taskdef.proto +++ b/grpc/src/main/proto/model/taskdef.proto @@ -8,16 +8,16 @@ option java_outer_classname = "TaskDefPb"; option go_package = "github.com/netflix/conductor/client/gogrpc/conductor/model"; message TaskDef { - enum RetryLogic { - FIXED = 0; - EXPONENTIAL_BACKOFF = 1; - LINEAR_BACKOFF = 2; - } enum TimeoutPolicy { RETRY = 0; TIME_OUT_WF = 1; ALERT_ONLY = 2; } + enum RetryLogic { + FIXED = 0; + EXPONENTIAL_BACKOFF = 1; + LINEAR_BACKOFF = 2; + } string name = 1; string description = 2; int32 retry_count = 3; diff --git a/http-task/build.gradle b/http-task/build.gradle index c525897a7b..a9f76899e7 100644 --- a/http-task/build.gradle +++ b/http-task/build.gradle @@ -21,4 +21,6 @@ dependencies { testImplementation 'org.springframework.boot:spring-boot-starter-web' testImplementation "org.testcontainers:mockserver:${revTestContainer}" testImplementation "org.mock-server:mockserver-client-java:${revMockServerClient}" + testImplementation "org.bouncycastle:bcprov-jdk15on:1.70" + testImplementation "org.bouncycastle:bcpkix-jdk15on:1.70" } \ No newline at end of file diff --git a/java-sdk/build.gradle b/java-sdk/build.gradle index 5e1d986b35..6572905d2e 100644 --- a/java-sdk/build.gradle +++ b/java-sdk/build.gradle @@ -11,6 +11,7 @@ dependencies { implementation "com.sun.jersey:jersey-client:${revJersey}" implementation "javax.ws.rs:javax.ws.rs-api:${revJAXRS}" implementation "org.glassfish.jersey.core:jersey-common:${revJerseyCommon}" + implementation "org.openjdk.nashorn:nashorn-core:15.4" testImplementation "org.springframework:spring-web" testImplementation "org.spockframework:spock-core:${revSpock}" diff --git a/java-sdk/src/main/java/com/netflix/conductor/sdk/workflow/def/tasks/Javascript.java b/java-sdk/src/main/java/com/netflix/conductor/sdk/workflow/def/tasks/Javascript.java index 6468faa8a9..0c88bf7614 100644 --- a/java-sdk/src/main/java/com/netflix/conductor/sdk/workflow/def/tasks/Javascript.java +++ b/java-sdk/src/main/java/com/netflix/conductor/sdk/workflow/def/tasks/Javascript.java @@ -19,9 +19,9 @@ import javax.script.Bindings; import javax.script.ScriptEngine; -import javax.script.ScriptEngineManager; import javax.script.ScriptException; +import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -100,7 +100,7 @@ public String getExpression() { * @return */ public Javascript validate() { - ScriptEngine scriptEngine = new ScriptEngineManager().getEngineByName(ENGINE); + ScriptEngine scriptEngine = new NashornScriptEngineFactory().getScriptEngine(); if (scriptEngine == null) { LOGGER.error("missing " + ENGINE + " engine. Ensure you are running supported JVM"); return this; @@ -128,7 +128,7 @@ public Javascript validate() { */ public Object test(Map input) { - ScriptEngine scriptEngine = new ScriptEngineManager().getEngineByName(ENGINE); + ScriptEngine scriptEngine = new NashornScriptEngineFactory().getScriptEngine(); if (scriptEngine == null) { LOGGER.error("missing " + ENGINE + " engine. Ensure you are running supported JVM"); return this; From a80105298a04a10a8587de587b1f39907d23eab4 Mon Sep 17 00:00:00 2001 From: Alex May Date: Mon, 14 Aug 2023 13:06:01 -0600 Subject: [PATCH 02/14] Use nashorn explicitly --- .../com/netflix/conductor/core/events/ScriptEvaluator.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java b/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java index 506ded2211..4bb8a5b138 100644 --- a/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java +++ b/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java @@ -14,12 +14,13 @@ import javax.script.Bindings; import javax.script.ScriptEngine; -import javax.script.ScriptEngineManager; import javax.script.ScriptException; +import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory; + public class ScriptEvaluator { - private static final ScriptEngine engine = new ScriptEngineManager().getEngineByName("nashorn"); + private static final ScriptEngine engine = new NashornScriptEngineFactory().getScriptEngine(); private ScriptEvaluator() {} From e4821852f78f80c8e84e5ddc5cb9cec0f0639100 Mon Sep 17 00:00:00 2001 From: Alex May Date: Mon, 14 Aug 2023 13:09:49 -0600 Subject: [PATCH 03/14] Add nashorn to dependency locks --- awss3-storage/dependencies.lock | 12 +++++ awssqs-event-queue/dependencies.lock | 12 +++++ cassandra-persistence/dependencies.lock | 16 ++++++- client-spring/dependencies.lock | 12 +++++ client/dependencies.lock | 4 +- core/dependencies.lock | 16 ++++++- es6-persistence/dependencies.lock | 12 +++++ grpc-client/dependencies.lock | 24 +++++----- grpc-server/dependencies.lock | 40 ++++++++++------ grpc/dependencies.lock | 26 +++++------ http-task/dependencies.lock | 24 ++++++++++ java-sdk/dependencies.lock | 16 ++++++- json-jq-task/dependencies.lock | 12 +++++ redis-concurrency-limit/dependencies.lock | 16 ++++++- redis-lock/dependencies.lock | 12 +++++ redis-persistence/dependencies.lock | 12 +++++ rest/dependencies.lock | 12 +++++ server/dependencies.lock | 56 +++++++++++++++-------- test-harness/dependencies.lock | 18 +++++--- 19 files changed, 278 insertions(+), 74 deletions(-) diff --git a/awss3-storage/dependencies.lock b/awss3-storage/dependencies.lock index 971612a83d..b3c1cb3078 100644 --- a/awss3-storage/dependencies.lock +++ b/awss3-storage/dependencies.lock @@ -189,6 +189,12 @@ "com.netflix.conductor:conductor-core" ], "locked": "2.17.2" + }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" } }, "testCompileClasspath": { @@ -392,6 +398,12 @@ "org.junit.vintage:junit-vintage-engine": { "locked": "5.8.2" }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" + }, "org.springframework.boot:spring-boot-starter-log4j2": { "locked": "2.7.3" }, diff --git a/awssqs-event-queue/dependencies.lock b/awssqs-event-queue/dependencies.lock index e22ed2403f..8e9e5e5328 100644 --- a/awssqs-event-queue/dependencies.lock +++ b/awssqs-event-queue/dependencies.lock @@ -198,6 +198,12 @@ "com.netflix.conductor:conductor-core" ], "locked": "2.17.2" + }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" } }, "testCompileClasspath": { @@ -413,6 +419,12 @@ "org.junit.vintage:junit-vintage-engine": { "locked": "5.8.2" }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" + }, "org.springframework.boot:spring-boot-starter": { "locked": "2.7.3" }, diff --git a/cassandra-persistence/dependencies.lock b/cassandra-persistence/dependencies.lock index c625d004bb..66f9c31d8c 100644 --- a/cassandra-persistence/dependencies.lock +++ b/cassandra-persistence/dependencies.lock @@ -189,6 +189,12 @@ "com.netflix.conductor:conductor-core" ], "locked": "2.17.2" + }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" } }, "testCompileClasspath": { @@ -226,7 +232,7 @@ "locked": "2.17.2" }, "org.codehaus.groovy:groovy-all": { - "locked": "2.5.13" + "locked": "2.5.22" }, "org.junit.vintage:junit-vintage-engine": { "locked": "5.8.2" @@ -408,11 +414,17 @@ "locked": "2.17.2" }, "org.codehaus.groovy:groovy-all": { - "locked": "2.5.13" + "locked": "2.5.22" }, "org.junit.vintage:junit-vintage-engine": { "locked": "5.8.2" }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" + }, "org.spockframework:spock-core": { "locked": "1.3-groovy-2.5" }, diff --git a/client-spring/dependencies.lock b/client-spring/dependencies.lock index 4499a9a756..4e7ca32b3c 100644 --- a/client-spring/dependencies.lock +++ b/client-spring/dependencies.lock @@ -211,6 +211,12 @@ ], "locked": "2.35" }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-java-sdk" + ], + "locked": "15.4" + }, "org.slf4j:slf4j-api": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-client" @@ -446,6 +452,12 @@ "org.junit.vintage:junit-vintage-engine": { "locked": "5.8.2" }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-java-sdk" + ], + "locked": "15.4" + }, "org.slf4j:slf4j-api": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-client" diff --git a/client/dependencies.lock b/client/dependencies.lock index c47e3c755b..6b0ee6cac9 100644 --- a/client/dependencies.lock +++ b/client/dependencies.lock @@ -222,7 +222,7 @@ "locked": "2.17.2" }, "org.codehaus.groovy:groovy-all": { - "locked": "2.5.13" + "locked": "2.5.22" }, "org.glassfish.jersey.core:jersey-common": { "locked": "2.22.2" @@ -361,7 +361,7 @@ "locked": "2.17.2" }, "org.codehaus.groovy:groovy-all": { - "locked": "2.5.13" + "locked": "2.5.22" }, "org.glassfish.jersey.core:jersey-common": { "locked": "2.22.2" diff --git a/core/dependencies.lock b/core/dependencies.lock index b5d7024d30..5699af6af0 100644 --- a/core/dependencies.lock +++ b/core/dependencies.lock @@ -65,6 +65,9 @@ "org.apache.logging.log4j:log4j-web": { "locked": "2.17.2" }, + "org.openjdk.nashorn:nashorn-core": { + "locked": "15.4" + }, "org.springframework.boot:spring-boot-starter": { "locked": "2.7.3" }, @@ -182,6 +185,9 @@ "com.netflix.conductor:conductor-common" ], "locked": "2.17.2" + }, + "org.openjdk.nashorn:nashorn-core": { + "locked": "15.4" } }, "testCompileClasspath": { @@ -249,7 +255,7 @@ "locked": "2.17.2" }, "org.codehaus.groovy:groovy-all": { - "locked": "2.5.13" + "locked": "2.5.22" }, "org.glassfish.jaxb:jaxb-runtime": { "locked": "2.3.3" @@ -257,6 +263,9 @@ "org.junit.vintage:junit-vintage-engine": { "locked": "5.8.2" }, + "org.openjdk.nashorn:nashorn-core": { + "locked": "15.4" + }, "org.spockframework:spock-core": { "locked": "1.3-groovy-2.5" }, @@ -388,7 +397,7 @@ "locked": "2.17.2" }, "org.codehaus.groovy:groovy-all": { - "locked": "2.5.13" + "locked": "2.5.22" }, "org.glassfish.jaxb:jaxb-runtime": { "locked": "2.3.3" @@ -396,6 +405,9 @@ "org.junit.vintage:junit-vintage-engine": { "locked": "5.8.2" }, + "org.openjdk.nashorn:nashorn-core": { + "locked": "15.4" + }, "org.spockframework:spock-core": { "locked": "1.3-groovy-2.5" }, diff --git a/es6-persistence/dependencies.lock b/es6-persistence/dependencies.lock index f5bd8cea5d..9fb73e7bc5 100644 --- a/es6-persistence/dependencies.lock +++ b/es6-persistence/dependencies.lock @@ -213,6 +213,12 @@ }, "org.elasticsearch.client:transport": { "locked": "6.8.12" + }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" } }, "testCompileClasspath": { @@ -449,6 +455,12 @@ "org.junit.vintage:junit-vintage-engine": { "locked": "5.8.2" }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" + }, "org.springframework.boot:spring-boot-starter-log4j2": { "locked": "2.7.3" }, diff --git a/grpc-client/dependencies.lock b/grpc-client/dependencies.lock index 12c2d80a97..95623d88c3 100644 --- a/grpc-client/dependencies.lock +++ b/grpc-client/dependencies.lock @@ -18,13 +18,13 @@ "project": true }, "io.grpc:grpc-netty": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-protobuf": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-stub": { - "locked": "1.56.1" + "locked": "1.57.1" }, "org.apache.commons:commons-lang3": { "locked": "3.12.0" @@ -93,19 +93,19 @@ "project": true }, "io.grpc:grpc-netty": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-protobuf": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-grpc" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-stub": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-grpc" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "javax.annotation:javax.annotation-api": { "firstLevelTransitive": [ @@ -183,13 +183,13 @@ "project": true }, "io.grpc:grpc-netty": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-protobuf": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-stub": { - "locked": "1.56.1" + "locked": "1.57.1" }, "junit:junit": { "locked": "4.13.2" @@ -270,19 +270,19 @@ "project": true }, "io.grpc:grpc-netty": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-protobuf": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-grpc" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-stub": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-grpc" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "javax.annotation:javax.annotation-api": { "firstLevelTransitive": [ diff --git a/grpc-server/dependencies.lock b/grpc-server/dependencies.lock index 2d6461195d..6dcec71647 100644 --- a/grpc-server/dependencies.lock +++ b/grpc-server/dependencies.lock @@ -15,10 +15,10 @@ "project": true }, "io.grpc:grpc-netty": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-services": { - "locked": "1.56.1" + "locked": "1.57.1" }, "org.apache.commons:commons-lang3": { "locked": "3.12.0" @@ -127,22 +127,22 @@ "locked": "2.7" }, "io.grpc:grpc-netty": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-protobuf": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-grpc" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-services": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-stub": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-grpc" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "io.reactivex:rxjava": { "firstLevelTransitive": [ @@ -226,6 +226,12 @@ "com.netflix.conductor:conductor-grpc" ], "locked": "2.17.2" + }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" } }, "testCompileClasspath": { @@ -239,13 +245,13 @@ "project": true }, "io.grpc:grpc-netty": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-services": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-testing": { - "locked": "1.56.1" + "locked": "1.57.1" }, "junit:junit": { "locked": "4.13.2" @@ -366,25 +372,25 @@ "locked": "2.7" }, "io.grpc:grpc-netty": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-protobuf": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-grpc" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-services": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-stub": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-grpc" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-testing": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.reactivex:rxjava": { "firstLevelTransitive": [ @@ -475,6 +481,12 @@ "org.junit.vintage:junit-vintage-engine": { "locked": "5.8.2" }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" + }, "org.springframework.boot:spring-boot-starter-log4j2": { "locked": "2.7.3" }, diff --git a/grpc/dependencies.lock b/grpc/dependencies.lock index a3677ba437..82071c38cb 100644 --- a/grpc/dependencies.lock +++ b/grpc/dependencies.lock @@ -12,10 +12,10 @@ "project": true }, "io.grpc:grpc-protobuf": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-stub": { - "locked": "1.56.1" + "locked": "1.57.1" }, "javax.annotation:javax.annotation-api": { "locked": "1.3.2" @@ -71,10 +71,10 @@ "project": true }, "io.grpc:grpc-protobuf": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-stub": { - "locked": "1.56.1" + "locked": "1.57.1" }, "javax.annotation:javax.annotation-api": { "locked": "1.3.2" @@ -129,7 +129,7 @@ }, "protobufToolsLocator_grpc": { "io.grpc:protoc-gen-grpc-java": { - "locked": "1.56.1" + "locked": "1.57.1" } }, "protobufToolsLocator_protoc": { @@ -172,10 +172,10 @@ "project": true }, "io.grpc:grpc-protobuf": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-stub": { - "locked": "1.56.1" + "locked": "1.57.1" }, "javax.annotation:javax.annotation-api": { "locked": "1.3.2" @@ -236,10 +236,10 @@ "project": true }, "io.grpc:grpc-protobuf": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-stub": { - "locked": "1.56.1" + "locked": "1.57.1" }, "javax.annotation:javax.annotation-api": { "locked": "1.3.2" @@ -307,10 +307,10 @@ "project": true }, "io.grpc:grpc-protobuf": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-stub": { - "locked": "1.56.1" + "locked": "1.57.1" }, "javax.annotation:javax.annotation-api": { "locked": "1.3.2" @@ -410,10 +410,10 @@ "project": true }, "io.grpc:grpc-protobuf": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-stub": { - "locked": "1.56.1" + "locked": "1.57.1" }, "javax.annotation:javax.annotation-api": { "locked": "1.3.2" diff --git a/http-task/dependencies.lock b/http-task/dependencies.lock index 81c8fb8c40..f6669d5c91 100644 --- a/http-task/dependencies.lock +++ b/http-task/dependencies.lock @@ -189,6 +189,12 @@ "com.netflix.conductor:conductor-core" ], "locked": "2.17.2" + }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" } }, "testCompileClasspath": { @@ -219,6 +225,12 @@ "org.apache.logging.log4j:log4j-web": { "locked": "2.17.2" }, + "org.bouncycastle:bcpkix-jdk15on": { + "locked": "1.70" + }, + "org.bouncycastle:bcprov-jdk15on": { + "locked": "1.70" + }, "org.junit.vintage:junit-vintage-engine": { "locked": "5.8.2" }, @@ -395,12 +407,24 @@ ], "locked": "2.17.2" }, + "org.bouncycastle:bcpkix-jdk15on": { + "locked": "1.70" + }, + "org.bouncycastle:bcprov-jdk15on": { + "locked": "1.70" + }, "org.junit.vintage:junit-vintage-engine": { "locked": "5.8.2" }, "org.mock-server:mockserver-client-java": { "locked": "5.12.0" }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" + }, "org.springframework.boot:spring-boot-starter-log4j2": { "locked": "2.7.3" }, diff --git a/java-sdk/dependencies.lock b/java-sdk/dependencies.lock index 94d5523161..17084fccf3 100644 --- a/java-sdk/dependencies.lock +++ b/java-sdk/dependencies.lock @@ -43,6 +43,9 @@ }, "org.glassfish.jersey.core:jersey-common": { "locked": "2.22.2" + }, + "org.openjdk.nashorn:nashorn-core": { + "locked": "15.4" } }, "runtimeClasspath": { @@ -198,6 +201,9 @@ ], "locked": "2.22.2" }, + "org.openjdk.nashorn:nashorn-core": { + "locked": "15.4" + }, "org.slf4j:slf4j-api": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-client" @@ -252,7 +258,7 @@ "locked": "2.17.2" }, "org.codehaus.groovy:groovy-all": { - "locked": "2.5.13" + "locked": "2.5.22" }, "org.glassfish.jersey.core:jersey-common": { "locked": "2.22.2" @@ -260,6 +266,9 @@ "org.junit.vintage:junit-vintage-engine": { "locked": "5.8.2" }, + "org.openjdk.nashorn:nashorn-core": { + "locked": "15.4" + }, "org.spockframework:spock-core": { "locked": "1.3-groovy-2.5" }, @@ -427,7 +436,7 @@ "locked": "2.17.2" }, "org.codehaus.groovy:groovy-all": { - "locked": "2.5.13" + "locked": "2.5.22" }, "org.glassfish.jersey.core:jersey-common": { "firstLevelTransitive": [ @@ -438,6 +447,9 @@ "org.junit.vintage:junit-vintage-engine": { "locked": "5.8.2" }, + "org.openjdk.nashorn:nashorn-core": { + "locked": "15.4" + }, "org.slf4j:slf4j-api": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-client" diff --git a/json-jq-task/dependencies.lock b/json-jq-task/dependencies.lock index c56ba7e148..27e43fb550 100644 --- a/json-jq-task/dependencies.lock +++ b/json-jq-task/dependencies.lock @@ -189,6 +189,12 @@ "com.netflix.conductor:conductor-core" ], "locked": "2.17.2" + }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" } }, "testCompileClasspath": { @@ -392,6 +398,12 @@ "org.junit.vintage:junit-vintage-engine": { "locked": "5.8.2" }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" + }, "org.springframework.boot:spring-boot-starter-log4j2": { "locked": "2.7.3" }, diff --git a/redis-concurrency-limit/dependencies.lock b/redis-concurrency-limit/dependencies.lock index fd32c1a202..b7a19c2311 100644 --- a/redis-concurrency-limit/dependencies.lock +++ b/redis-concurrency-limit/dependencies.lock @@ -190,6 +190,12 @@ ], "locked": "2.17.2" }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" + }, "redis.clients:jedis": { "locked": "3.6.0" } @@ -226,7 +232,7 @@ "locked": "2.17.2" }, "org.codehaus.groovy:groovy-all": { - "locked": "2.5.13" + "locked": "2.5.22" }, "org.junit.vintage:junit-vintage-engine": { "locked": "5.8.2" @@ -411,11 +417,17 @@ "locked": "2.17.2" }, "org.codehaus.groovy:groovy-all": { - "locked": "2.5.13" + "locked": "2.5.22" }, "org.junit.vintage:junit-vintage-engine": { "locked": "5.8.2" }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" + }, "org.spockframework:spock-core": { "locked": "1.3-groovy-2.5" }, diff --git a/redis-lock/dependencies.lock b/redis-lock/dependencies.lock index f560bc2a37..fe504d621d 100644 --- a/redis-lock/dependencies.lock +++ b/redis-lock/dependencies.lock @@ -184,6 +184,12 @@ ], "locked": "2.17.2" }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" + }, "org.redisson:redisson": { "locked": "3.13.3" } @@ -389,6 +395,12 @@ "org.junit.vintage:junit-vintage-engine": { "locked": "5.8.2" }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" + }, "org.redisson:redisson": { "locked": "3.13.3" }, diff --git a/redis-persistence/dependencies.lock b/redis-persistence/dependencies.lock index 99abce8a9a..e5545e2aa9 100644 --- a/redis-persistence/dependencies.lock +++ b/redis-persistence/dependencies.lock @@ -199,6 +199,12 @@ ], "locked": "2.17.2" }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" + }, "org.rarefiedredis.redis:redis-java": { "locked": "0.0.17" }, @@ -416,6 +422,12 @@ "org.junit.vintage:junit-vintage-engine": { "locked": "5.8.2" }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" + }, "org.rarefiedredis.redis:redis-java": { "locked": "0.0.17" }, diff --git a/rest/dependencies.lock b/rest/dependencies.lock index b522aab64c..a3cfdea4b4 100644 --- a/rest/dependencies.lock +++ b/rest/dependencies.lock @@ -190,6 +190,12 @@ ], "locked": "2.17.2" }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" + }, "org.springdoc:springdoc-openapi-ui": { "locked": "1.6.15" }, @@ -401,6 +407,12 @@ "org.junit.vintage:junit-vintage-engine": { "locked": "5.8.2" }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" + }, "org.springdoc:springdoc-openapi-ui": { "locked": "1.6.15" }, diff --git a/server/dependencies.lock b/server/dependencies.lock index 57e924ad03..c197447906 100644 --- a/server/dependencies.lock +++ b/server/dependencies.lock @@ -138,7 +138,7 @@ "com.netflix.conductor:conductor-awssqs-event-queue", "com.netflix.conductor:conductor-es6-persistence" ], - "locked": "31.1-jre" + "locked": "32.0.1-jre" }, "com.google.protobuf:protobuf-java": { "firstLevelTransitive": [ @@ -273,25 +273,25 @@ "firstLevelTransitive": [ "com.netflix.conductor:conductor-grpc-server" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-protobuf": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-grpc" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-services": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-grpc-server" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-stub": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-grpc" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "io.orkes.queues:orkes-conductor-queues": { "locked": "1.0.3" @@ -475,6 +475,12 @@ "org.glassfish.jaxb:jaxb-runtime": { "locked": "2.3.3" }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" + }, "org.rarefiedredis.redis:redis-java": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-redis-persistence" @@ -579,7 +585,7 @@ "com.netflix.conductor:conductor-awssqs-event-queue", "com.netflix.conductor:conductor-es6-persistence" ], - "locked": "31.1-jre" + "locked": "32.0.1-jre" }, "com.google.protobuf:protobuf-java": { "firstLevelTransitive": [ @@ -714,25 +720,25 @@ "firstLevelTransitive": [ "com.netflix.conductor:conductor-grpc-server" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-protobuf": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-grpc" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-services": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-grpc-server" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-stub": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-grpc" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "io.orkes.queues:orkes-conductor-queues": { "locked": "1.0.3" @@ -916,6 +922,12 @@ "org.glassfish.jaxb:jaxb-runtime": { "locked": "2.3.3" }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" + }, "org.rarefiedredis.redis:redis-java": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-redis-persistence" @@ -1007,13 +1019,13 @@ "project": true }, "io.grpc:grpc-protobuf": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-stub": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-testing": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.orkes.queues:orkes-conductor-queues": { "locked": "1.0.3" @@ -1121,7 +1133,7 @@ "com.netflix.conductor:conductor-awssqs-event-queue", "com.netflix.conductor:conductor-es6-persistence" ], - "locked": "31.1-jre" + "locked": "32.0.1-jre" }, "com.google.protobuf:protobuf-java": { "firstLevelTransitive": [ @@ -1256,28 +1268,28 @@ "firstLevelTransitive": [ "com.netflix.conductor:conductor-grpc-server" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-protobuf": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-grpc" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-services": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-grpc-server" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-stub": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-grpc" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-testing": { - "locked": "1.56.1" + "locked": "1.57.1" }, "io.orkes.queues:orkes-conductor-queues": { "locked": "1.0.3" @@ -1467,6 +1479,12 @@ "org.junit.vintage:junit-vintage-engine": { "locked": "5.8.2" }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" + }, "org.rarefiedredis.redis:redis-java": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-redis-persistence" diff --git a/test-harness/dependencies.lock b/test-harness/dependencies.lock index f08ccf99f5..2dd48417dc 100644 --- a/test-harness/dependencies.lock +++ b/test-harness/dependencies.lock @@ -115,7 +115,7 @@ "locked": "2.17.2" }, "org.codehaus.groovy:groovy-all": { - "locked": "2.5.13" + "locked": "2.5.22" }, "org.elasticsearch.client:elasticsearch-rest-client": { "locked": "6.8.12" @@ -427,27 +427,27 @@ "com.netflix.conductor:conductor-grpc-client", "com.netflix.conductor:conductor-grpc-server" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-protobuf": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-grpc", "com.netflix.conductor:conductor-grpc-client" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-services": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-grpc-server" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "io.grpc:grpc-stub": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-grpc", "com.netflix.conductor:conductor-grpc-client" ], - "locked": "1.56.1" + "locked": "1.57.1" }, "io.orkes.queues:orkes-conductor-queues": { "firstLevelTransitive": [ @@ -640,7 +640,7 @@ "locked": "2.17.2" }, "org.codehaus.groovy:groovy-all": { - "locked": "2.5.13" + "locked": "2.5.22" }, "org.elasticsearch.client:elasticsearch-rest-client": { "firstLevelTransitive": [ @@ -675,6 +675,12 @@ "org.junit.vintage:junit-vintage-engine": { "locked": "5.8.2" }, + "org.openjdk.nashorn:nashorn-core": { + "firstLevelTransitive": [ + "com.netflix.conductor:conductor-core" + ], + "locked": "15.4" + }, "org.rarefiedredis.redis:redis-java": { "firstLevelTransitive": [ "com.netflix.conductor:conductor-redis-persistence" From cad289c3fe75ee3ebab1dc4af94967cc48811d80 Mon Sep 17 00:00:00 2001 From: Alex May Date: Mon, 11 Sep 2023 14:19:17 -0600 Subject: [PATCH 04/14] update github workflows to use Java 17 --- .github/workflows/ci.yml | 4 ++-- .github/workflows/publish.yml | 4 ++-- .github/workflows/update-gradle-wrapper.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67dc83b27f..9528884b4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,11 +12,11 @@ jobs: fetch-depth: 0 - name: Gradle wrapper validation uses: gradle/wrapper-validation-action@v1 - - name: Set up Zulu JDK 11 + - name: Set up Zulu JDK 17 uses: actions/setup-java@v3 with: distribution: 'zulu' - java-version: '11' + java-version: '17' - name: Cache SonarCloud packages uses: actions/cache@v3 with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4cdd540af5..3bf0960ae3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,11 +14,11 @@ jobs: name: Gradle Build and Publish steps: - uses: actions/checkout@v3 - - name: Set up Zulu JDK 11 + - name: Set up Zulu JDK 17 uses: actions/setup-java@v3 with: distribution: 'zulu' - java-version: '11' + java-version: '17' - name: Cache Gradle packages uses: actions/cache@v3 with: diff --git a/.github/workflows/update-gradle-wrapper.yml b/.github/workflows/update-gradle-wrapper.yml index db3a8b1e24..831e6d5aab 100644 --- a/.github/workflows/update-gradle-wrapper.yml +++ b/.github/workflows/update-gradle-wrapper.yml @@ -10,10 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up Zulu JDK 11 + - name: Set up Zulu JDK 17 uses: actions/setup-java@v3 with: distribution: 'zulu' - java-version: '11' + java-version: '17' - name: Update Gradle Wrapper uses: gradle-update/update-gradle-wrapper-action@v1 From 43fe39e55de16a44caf2672e3a9dc6de9b298804 Mon Sep 17 00:00:00 2001 From: Alex May Date: Tue, 12 Sep 2023 10:27:44 -0600 Subject: [PATCH 05/14] update script engine initialization --- .../com/netflix/conductor/core/events/ScriptEvaluator.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java b/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java index 4bb8a5b138..6a8d68dcd3 100644 --- a/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java +++ b/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java @@ -20,7 +20,7 @@ public class ScriptEvaluator { - private static final ScriptEngine engine = new NashornScriptEngineFactory().getScriptEngine(); + private static ScriptEngine engine; private ScriptEvaluator() {} @@ -46,6 +46,9 @@ public static Boolean evalBool(String script, Object input) throws ScriptExcepti * @return Generic object, the result of the evaluated expression. */ public static Object eval(String script, Object input) throws ScriptException { + if (engine == null) { + engine = new NashornScriptEngineFactory().getScriptEngine(); + } Bindings bindings = engine.createBindings(); bindings.put("$", input); return engine.eval(script, bindings); From d1642caf5b543a5296d42d22e8056bd3660ea2ca Mon Sep 17 00:00:00 2001 From: Alex May Date: Tue, 12 Sep 2023 16:20:59 -0600 Subject: [PATCH 06/14] Added logging to test scripting. Will remove --- .../com/netflix/conductor/core/events/ScriptEvaluator.java | 4 ++++ .../conductor/sdk/workflow/def/WorkflowCreationTests.java | 1 + 2 files changed, 5 insertions(+) diff --git a/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java b/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java index 6a8d68dcd3..9ef7c61927 100644 --- a/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java +++ b/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java @@ -14,6 +14,7 @@ import javax.script.Bindings; import javax.script.ScriptEngine; +import javax.script.ScriptEngineManager; import javax.script.ScriptException; import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory; @@ -49,6 +50,9 @@ public static Object eval(String script, Object input) throws ScriptException { if (engine == null) { engine = new NashornScriptEngineFactory().getScriptEngine(); } + var test = new ScriptEngineManager().getEngineFactories(); + System.out.println("TESTING SCRIPT ENGINES: "); + System.out.println(test); Bindings bindings = engine.createBindings(); bindings.put("$", input); return engine.eval(script, bindings); diff --git a/java-sdk/src/test/java/com/netflix/conductor/sdk/workflow/def/WorkflowCreationTests.java b/java-sdk/src/test/java/com/netflix/conductor/sdk/workflow/def/WorkflowCreationTests.java index dd3dcac448..ec5cc9b184 100644 --- a/java-sdk/src/test/java/com/netflix/conductor/sdk/workflow/def/WorkflowCreationTests.java +++ b/java-sdk/src/test/java/com/netflix/conductor/sdk/workflow/def/WorkflowCreationTests.java @@ -161,6 +161,7 @@ public void verifyInlineWorkflowExecution() throws ValidationError { Workflow.WorkflowStatus.COMPLETED, run.getStatus(), run.getReasonForIncompletion()); + System.out.println("TESTING"); } catch (Exception e) { e.printStackTrace(); fail(e.getMessage()); From 2de0534c9e93b2f6567dddddcc090cd0ae62731c Mon Sep 17 00:00:00 2001 From: Alex May Date: Wed, 13 Sep 2023 08:21:02 -0600 Subject: [PATCH 07/14] different logging place for testing scripting engine compatibility --- .../com/netflix/conductor/core/events/ScriptEvaluator.java | 3 --- .../conductor/sdk/workflow/def/WorkflowCreationTests.java | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java b/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java index 9ef7c61927..bae273e38d 100644 --- a/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java +++ b/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java @@ -50,9 +50,6 @@ public static Object eval(String script, Object input) throws ScriptException { if (engine == null) { engine = new NashornScriptEngineFactory().getScriptEngine(); } - var test = new ScriptEngineManager().getEngineFactories(); - System.out.println("TESTING SCRIPT ENGINES: "); - System.out.println(test); Bindings bindings = engine.createBindings(); bindings.put("$", input); return engine.eval(script, bindings); diff --git a/java-sdk/src/test/java/com/netflix/conductor/sdk/workflow/def/WorkflowCreationTests.java b/java-sdk/src/test/java/com/netflix/conductor/sdk/workflow/def/WorkflowCreationTests.java index ec5cc9b184..6047695808 100644 --- a/java-sdk/src/test/java/com/netflix/conductor/sdk/workflow/def/WorkflowCreationTests.java +++ b/java-sdk/src/test/java/com/netflix/conductor/sdk/workflow/def/WorkflowCreationTests.java @@ -39,6 +39,8 @@ import static org.junit.jupiter.api.Assertions.*; +import javax.script.ScriptEngineManager; + public class WorkflowCreationTests { private static WorkflowExecutor executor; @@ -154,6 +156,9 @@ public void verifyCreatedWorkflow() { @Test public void verifyInlineWorkflowExecution() throws ValidationError { + var test = new ScriptEngineManager().getEngineFactories(); + System.out.println("TESTING SCRIPT ENGINES: "); + System.out.println(test); TestWorkflowInput workflowInput = new TestWorkflowInput("username", "10121", "US"); try { Workflow run = registerTestWorkflow().execute(workflowInput).get(10, TimeUnit.SECONDS); From a723f1699723c00a5123938f33569887ade0a609 Mon Sep 17 00:00:00 2001 From: Alex May Date: Wed, 13 Sep 2023 08:27:29 -0600 Subject: [PATCH 08/14] spotlessApply --- .../com/netflix/conductor/core/events/ScriptEvaluator.java | 1 - .../conductor/sdk/workflow/def/WorkflowCreationTests.java | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java b/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java index bae273e38d..6a8d68dcd3 100644 --- a/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java +++ b/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java @@ -14,7 +14,6 @@ import javax.script.Bindings; import javax.script.ScriptEngine; -import javax.script.ScriptEngineManager; import javax.script.ScriptException; import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory; diff --git a/java-sdk/src/test/java/com/netflix/conductor/sdk/workflow/def/WorkflowCreationTests.java b/java-sdk/src/test/java/com/netflix/conductor/sdk/workflow/def/WorkflowCreationTests.java index 6047695808..12bba8414d 100644 --- a/java-sdk/src/test/java/com/netflix/conductor/sdk/workflow/def/WorkflowCreationTests.java +++ b/java-sdk/src/test/java/com/netflix/conductor/sdk/workflow/def/WorkflowCreationTests.java @@ -22,6 +22,8 @@ import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; +import javax.script.ScriptEngineManager; + import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; @@ -39,8 +41,6 @@ import static org.junit.jupiter.api.Assertions.*; -import javax.script.ScriptEngineManager; - public class WorkflowCreationTests { private static WorkflowExecutor executor; From 64d98c07f89905b5b6571ad6f0dceafce4ca6d46 Mon Sep 17 00:00:00 2001 From: Alex May Date: Wed, 13 Sep 2023 08:51:44 -0600 Subject: [PATCH 09/14] different logging for testing --- .../sdk/workflow/def/WorkflowCreationTests.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/java-sdk/src/test/java/com/netflix/conductor/sdk/workflow/def/WorkflowCreationTests.java b/java-sdk/src/test/java/com/netflix/conductor/sdk/workflow/def/WorkflowCreationTests.java index 12bba8414d..a485582f6d 100644 --- a/java-sdk/src/test/java/com/netflix/conductor/sdk/workflow/def/WorkflowCreationTests.java +++ b/java-sdk/src/test/java/com/netflix/conductor/sdk/workflow/def/WorkflowCreationTests.java @@ -27,6 +27,8 @@ import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import com.netflix.conductor.common.metadata.tasks.TaskType; import com.netflix.conductor.common.metadata.workflow.WorkflowDef; @@ -43,6 +45,8 @@ public class WorkflowCreationTests { + private static final Logger LOGGER = LoggerFactory.getLogger(WorkflowCreationTests.class); + private static WorkflowExecutor executor; private static WorkflowTestRunner runner; @@ -157,8 +161,8 @@ public void verifyCreatedWorkflow() { @Test public void verifyInlineWorkflowExecution() throws ValidationError { var test = new ScriptEngineManager().getEngineFactories(); - System.out.println("TESTING SCRIPT ENGINES: "); - System.out.println(test); + LOGGER.error("TESTING SCRIPT ENGINES: "); + LOGGER.error(test.toString()); TestWorkflowInput workflowInput = new TestWorkflowInput("username", "10121", "US"); try { Workflow run = registerTestWorkflow().execute(workflowInput).get(10, TimeUnit.SECONDS); @@ -166,7 +170,6 @@ public void verifyInlineWorkflowExecution() throws ValidationError { Workflow.WorkflowStatus.COMPLETED, run.getStatus(), run.getReasonForIncompletion()); - System.out.println("TESTING"); } catch (Exception e) { e.printStackTrace(); fail(e.getMessage()); From cf9c72af01aaeddd8ec2a0d31212e9275f07b13b Mon Sep 17 00:00:00 2001 From: Alex May Date: Wed, 13 Sep 2023 10:39:09 -0600 Subject: [PATCH 10/14] remove test logging --- .../workflow/def/WorkflowCreationTests.java | 5 - server/conductor_tests.log | 344 ++++++++++++++++++ 2 files changed, 344 insertions(+), 5 deletions(-) create mode 100644 server/conductor_tests.log diff --git a/java-sdk/src/test/java/com/netflix/conductor/sdk/workflow/def/WorkflowCreationTests.java b/java-sdk/src/test/java/com/netflix/conductor/sdk/workflow/def/WorkflowCreationTests.java index a485582f6d..da999a847c 100644 --- a/java-sdk/src/test/java/com/netflix/conductor/sdk/workflow/def/WorkflowCreationTests.java +++ b/java-sdk/src/test/java/com/netflix/conductor/sdk/workflow/def/WorkflowCreationTests.java @@ -22,8 +22,6 @@ import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; -import javax.script.ScriptEngineManager; - import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; @@ -160,9 +158,6 @@ public void verifyCreatedWorkflow() { @Test public void verifyInlineWorkflowExecution() throws ValidationError { - var test = new ScriptEngineManager().getEngineFactories(); - LOGGER.error("TESTING SCRIPT ENGINES: "); - LOGGER.error(test.toString()); TestWorkflowInput workflowInput = new TestWorkflowInput("username", "10121", "US"); try { Workflow run = registerTestWorkflow().execute(workflowInput).get(10, TimeUnit.SECONDS); diff --git a/server/conductor_tests.log b/server/conductor_tests.log new file mode 100644 index 0000000000..8ebc496463 --- /dev/null +++ b/server/conductor_tests.log @@ -0,0 +1,344 @@ +935 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper [] - Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.netflix.conductor.common.config.ConductorObjectMapperTest], using SpringBootContextLoader +945 [Test worker] INFO org.springframework.test.context.support.AbstractContextLoader [] - Could not detect default resource locations for test class [com.netflix.conductor.common.config.ConductorObjectMapperTest]: no resource found for suffixes {-context.xml, Context.groovy}. +946 [Test worker] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils [] - Could not detect default configuration classes for test class [com.netflix.conductor.common.config.ConductorObjectMapperTest]: ConductorObjectMapperTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. +1069 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper [] - Found @SpringBootConfiguration com.netflix.conductor.Conductor for test class com.netflix.conductor.common.config.ConductorObjectMapperTest +1173 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper [] - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener] +1183 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper [] - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@57540fd0, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@5cf8edcf, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@58cec85b, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@629f066f, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@1542af63, org.springframework.test.context.support.DirtiesContextTestExecutionListener@ecfbe91, org.springframework.test.context.event.EventPublishingTestExecutionListener@20ed3303, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@3adbe50f, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@3a627c80, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@49aa766b, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@963176, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@65004ff6, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@4cafa9aa] +1619 [Test worker] INFO com.netflix.conductor.common.config.ConductorObjectMapperTest [] - Starting ConductorObjectMapperTest using Java 17.0.2 on RQLSOCT01545 with PID 632 (started by almay in /Users/almay/code/conductor-code/conductor/server) +1623 [Test worker] INFO com.netflix.conductor.common.config.ConductorObjectMapperTest [] - No active profile set, falling back to 1 default profile: "default" +4443 [Test worker] INFO com.netflix.conductor.core.config.ConductorCoreConfiguration [] - Initialized dummy payload storage! +4465 [Test worker] INFO com.netflix.conductor.tasks.http.HttpTask [] - HTTP initialized... +4663 [Test worker] INFO com.netflix.conductor.redis.dynoqueue.RedisQueuesShardingStrategyProvider [] - Using RoundRobinStrategy sharding strategy for queues +4687 [Test worker] INFO com.netflix.conductor.redis.config.RedisCommonConfiguration [] - DynoQueueDAO initialized with prefix .test! +4944 [Test worker] INFO com.netflix.conductor.core.events.queue.DefaultEventQueueProcessor [] - DefaultEventQueueProcessor initialized with 0 queues +4948 [Test worker] INFO com.netflix.conductor.core.reconciliation.WorkflowRepairService [] - WorkflowRepairService Initialized +4967 [Test worker] INFO com.netflix.conductor.core.events.DefaultEventProcessor [] - Event Processing is ENABLED +5088 [Test worker] INFO com.netflix.conductor.metrics.WorkflowMonitor [] - WorkflowMonitor initialized. +5091 [Test worker] INFO com.netflix.conductor.core.reconciliation.WorkflowSweeper [] - WorkflowSweeper initialized. +5096 [Test worker] INFO com.netflix.conductor.core.reconciliation.WorkflowReconciler [] - WorkflowReconciler initialized with 24 sweeper threads +5104 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorker [] - SystemTaskWorker initialized with 24 threads +5107 [Test worker] INFO com.netflix.conductor.core.execution.tasks.IsolatedTaskQueueProducer [] - Isolated System Task Worker DISABLED +5603 [Test worker] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - WorkflowReconciler started. +5603 [Test worker] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - SystemTaskWorker started. +5621 [Test worker] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - DefaultEventQueueManager started. +5640 [Test worker] INFO com.netflix.conductor.common.config.ConductorObjectMapperTest [] - Started ConductorObjectMapperTest in 4.349 seconds (JVM running for 5.677) +5643 [Test worker] INFO com.netflix.conductor.rest.startup.KitchenSinkInitializer [] - Loading Kitchen Sink examples +5788 [Test worker] ERROR com.netflix.conductor.rest.startup.KitchenSinkInitializer [] - Error initializing kitchen sink +org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://localhost:8080/api/metadata/taskdefs": Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused; nested exception is 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.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:785) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:711) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.web.client.RestTemplate.postForEntity(RestTemplate.java:468) ~[spring-web-5.3.22.jar:5.3.22] + at com.netflix.conductor.rest.startup.KitchenSinkInitializer.createKitchenSink(KitchenSinkInitializer.java:95) ~[conductor-rest-3.14.0-SNAPSHOT.jar:3.14.0-SNAPSHOT] + at com.netflix.conductor.rest.startup.KitchenSinkInitializer.setupKitchenSink(KitchenSinkInitializer.java:75) ~[conductor-rest-3.14.0-SNAPSHOT.jar:3.14.0-SNAPSHOT] + at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] + at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] + at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] + at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] + at org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:344) ~[spring-context-5.3.22.jar:5.3.22] + at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:229) ~[spring-context-5.3.22.jar:5.3.22] + at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:166) ~[spring-context-5.3.22.jar:5.3.22] + at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176) ~[spring-context-5.3.22.jar:5.3.22] + at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169) ~[spring-context-5.3.22.jar:5.3.22] + at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143) ~[spring-context-5.3.22.jar:5.3.22] + at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421) ~[spring-context-5.3.22.jar:5.3.22] + at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378) ~[spring-context-5.3.22.jar:5.3.22] + at org.springframework.boot.context.event.EventPublishingRunListener.ready(EventPublishingRunListener.java:114) ~[spring-boot-2.7.3.jar:2.7.3] + at org.springframework.boot.SpringApplicationRunListeners.lambda$ready$6(SpringApplicationRunListeners.java:82) ~[spring-boot-2.7.3.jar:2.7.3] + at java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?] + at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:120) ~[spring-boot-2.7.3.jar:2.7.3] + at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:114) ~[spring-boot-2.7.3.jar:2.7.3] + at org.springframework.boot.SpringApplicationRunListeners.ready(SpringApplicationRunListeners.java:82) ~[spring-boot-2.7.3.jar:2.7.3] + at org.springframework.boot.SpringApplication.run(SpringApplication.java:323) ~[spring-boot-2.7.3.jar:2.7.3] + at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:132) ~[spring-boot-test-2.7.3.jar:2.7.3] + at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) ~[spring-test-5.3.22.jar:5.3.22] + at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ~[spring-test-5.3.22.jar:5.3.22] + at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) ~[spring-test-5.3.22.jar:5.3.22] + at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:118) ~[spring-test-5.3.22.jar:5.3.22] + at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83) ~[spring-test-5.3.22.jar:5.3.22] + at org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener.prepareTestInstance(SpringBootDependencyInjectionTestExecutionListener.java:43) ~[spring-boot-test-autoconfigure-2.7.3.jar:2.7.3] + at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248) ~[spring-test-5.3.22.jar:5.3.22] + at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227) ~[spring-test-5.3.22.jar:5.3.22] + at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) ~[spring-test-5.3.22.jar:5.3.22] + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) ~[junit-4.13.2.jar:4.13.2] + at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) ~[spring-test-5.3.22.jar:5.3.22] + at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246) ~[spring-test-5.3.22.jar:5.3.22] + at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) ~[spring-test-5.3.22.jar:5.3.22] + at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) ~[junit-4.13.2.jar:4.13.2] + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) ~[junit-4.13.2.jar:4.13.2] + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) ~[junit-4.13.2.jar:4.13.2] + at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) ~[junit-4.13.2.jar:4.13.2] + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) ~[junit-4.13.2.jar:4.13.2] + at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) ~[spring-test-5.3.22.jar:5.3.22] + at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) ~[spring-test-5.3.22.jar:5.3.22] + at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) ~[junit-4.13.2.jar:4.13.2] + at org.junit.runners.ParentRunner.run(ParentRunner.java:413) ~[junit-4.13.2.jar:4.13.2] + at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) ~[spring-test-5.3.22.jar:5.3.22] + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) ~[junit-4.13.2.jar:4.13.2] + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) ~[junit-4.13.2.jar:4.13.2] + at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) ~[junit-vintage-engine-5.8.2.jar:5.8.2] + at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) ~[junit-vintage-engine-5.8.2.jar:5.8.2] + at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) ~[junit-vintage-engine-5.8.2.jar:5.8.2] + 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.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53) ~[?:?] + at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:99) ~[?:?] + at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:79) ~[?:?] + at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:75) ~[?:?] + at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62) ~[?:?] + at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] + at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] + at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] + at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] + at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) ~[?:?] + at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) ~[?:?] + at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) ~[?:?] + at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94) ~[?:?] + at jdk.proxy1.$Proxy2.stop(Unknown Source) ~[?:?] + at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193) ~[?:?] + at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129) ~[?:?] + at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100) ~[?:?] + at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60) ~[?:?] + at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56) ~[?:?] + at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113) ~[?:?] + at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65) ~[?:?] + at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) ~[gradle-worker.jar:?] + at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) ~[gradle-worker.jar:?] +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) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) ~[httpclient-4.5.13.jar:4.5.13] + at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:109) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.boot.actuate.metrics.web.client.MetricsClientHttpRequestInterceptor.intercept(MetricsClientHttpRequestInterceptor.java:86) ~[spring-boot-actuator-2.7.3.jar:2.7.3] + at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:93) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:77) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:776) ~[spring-web-5.3.22.jar:5.3.22] + ... 83 more +Caused by: java.net.ConnectException: Connection refused + at sun.nio.ch.Net.connect0(Native Method) ~[?:?] + at sun.nio.ch.Net.connect(Net.java:579) ~[?:?] + at sun.nio.ch.Net.connect(Net.java:568) ~[?:?] + at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:588) ~[?:?] + at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) ~[?:?] + at java.net.Socket.connect(Socket.java:633) ~[?:?] + at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:75) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) ~[httpclient-4.5.13.jar:4.5.13] + at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:109) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.boot.actuate.metrics.web.client.MetricsClientHttpRequestInterceptor.intercept(MetricsClientHttpRequestInterceptor.java:86) ~[spring-boot-actuator-2.7.3.jar:2.7.3] + at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:93) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:77) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:776) ~[spring-web-5.3.22.jar:5.3.22] + ... 83 more +5809 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorker [] - Started listening for task: SUB_WORKFLOW in queue: SUB_WORKFLOW +5810 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorker [] - Started listening for task: HTTP in queue: HTTP +5811 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorker [] - Started listening for task: JOIN in queue: JOIN +5811 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorker [] - Started listening for task: START_WORKFLOW in queue: START_WORKFLOW +5811 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorkerCoordinator [] - SystemTaskWorkerCoordinator initialized with 4 async tasks +6252 [scheduled-task-pool-2] INFO com.netflix.dyno.queues.redis.RedisDynoQueue [] - com.netflix.dyno.queues.redis.RedisDynoQueue is ready to serve _deciderQueue +6459 [SpringApplicationShutdownHook] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - WorkflowReconciler stopped. +6459 [SpringApplicationShutdownHook] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - SystemTaskWorker stopped. +6459 [SpringApplicationShutdownHook] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - DefaultEventQueueManager stopped. +6463 [SpringApplicationShutdownHook] INFO com.netflix.conductor.core.dal.ExecutionDAOFacade [] - Gracefully shutdown executor service +1090 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper [] - Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.netflix.conductor.common.config.ConductorObjectMapperTest], using SpringBootContextLoader +1100 [Test worker] INFO org.springframework.test.context.support.AbstractContextLoader [] - Could not detect default resource locations for test class [com.netflix.conductor.common.config.ConductorObjectMapperTest]: no resource found for suffixes {-context.xml, Context.groovy}. +1101 [Test worker] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils [] - Could not detect default configuration classes for test class [com.netflix.conductor.common.config.ConductorObjectMapperTest]: ConductorObjectMapperTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. +1232 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper [] - Found @SpringBootConfiguration com.netflix.conductor.Conductor for test class com.netflix.conductor.common.config.ConductorObjectMapperTest +1333 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper [] - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener] +1346 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper [] - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@963176, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@65004ff6, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@4cafa9aa, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@562c877a, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@67001148, org.springframework.test.context.support.DirtiesContextTestExecutionListener@989da1, org.springframework.test.context.event.EventPublishingTestExecutionListener@31cb96e1, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@3eed0f5, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@64030b91, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@2032e725, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@4d23015c, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@383f1975, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@441cc260] +1710 [Test worker] INFO com.netflix.conductor.common.config.ConductorObjectMapperTest [] - Starting ConductorObjectMapperTest using Java 17.0.8.1 on RQLSOCT01545 with PID 2320 (started by almay in /Users/almay/code/conductor-code/conductor/server) +1713 [Test worker] INFO com.netflix.conductor.common.config.ConductorObjectMapperTest [] - No active profile set, falling back to 1 default profile: "default" +4027 [Test worker] INFO com.netflix.conductor.core.config.ConductorCoreConfiguration [] - Initialized dummy payload storage! +4044 [Test worker] INFO com.netflix.conductor.tasks.http.HttpTask [] - HTTP initialized... +4229 [Test worker] INFO com.netflix.conductor.redis.dynoqueue.RedisQueuesShardingStrategyProvider [] - Using RoundRobinStrategy sharding strategy for queues +4255 [Test worker] INFO com.netflix.conductor.redis.config.RedisCommonConfiguration [] - DynoQueueDAO initialized with prefix .test! +4558 [Test worker] INFO com.netflix.conductor.core.events.queue.DefaultEventQueueProcessor [] - DefaultEventQueueProcessor initialized with 0 queues +4563 [Test worker] INFO com.netflix.conductor.core.reconciliation.WorkflowRepairService [] - WorkflowRepairService Initialized +4585 [Test worker] INFO com.netflix.conductor.core.events.DefaultEventProcessor [] - Event Processing is ENABLED +4734 [Test worker] INFO com.netflix.conductor.metrics.WorkflowMonitor [] - WorkflowMonitor initialized. +4738 [Test worker] INFO com.netflix.conductor.core.reconciliation.WorkflowSweeper [] - WorkflowSweeper initialized. +4745 [Test worker] INFO com.netflix.conductor.core.reconciliation.WorkflowReconciler [] - WorkflowReconciler initialized with 24 sweeper threads +4755 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorker [] - SystemTaskWorker initialized with 24 threads +4758 [Test worker] INFO com.netflix.conductor.core.execution.tasks.IsolatedTaskQueueProducer [] - Isolated System Task Worker DISABLED +5313 [Test worker] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - WorkflowReconciler started. +5313 [Test worker] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - SystemTaskWorker started. +5313 [Test worker] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - DefaultEventQueueManager started. +5332 [Test worker] INFO com.netflix.conductor.common.config.ConductorObjectMapperTest [] - Started ConductorObjectMapperTest in 3.876 seconds (JVM running for 5.376) +5335 [Test worker] INFO com.netflix.conductor.rest.startup.KitchenSinkInitializer [] - Loading Kitchen Sink examples +5474 [Test worker] ERROR com.netflix.conductor.rest.startup.KitchenSinkInitializer [] - Error initializing kitchen sink +org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://localhost:8080/api/metadata/taskdefs": Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused; nested exception is 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.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:785) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:711) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.web.client.RestTemplate.postForEntity(RestTemplate.java:468) ~[spring-web-5.3.22.jar:5.3.22] + at com.netflix.conductor.rest.startup.KitchenSinkInitializer.createKitchenSink(KitchenSinkInitializer.java:95) ~[conductor-rest-3.14.0-SNAPSHOT.jar:3.14.0-SNAPSHOT] + at com.netflix.conductor.rest.startup.KitchenSinkInitializer.setupKitchenSink(KitchenSinkInitializer.java:75) ~[conductor-rest-3.14.0-SNAPSHOT.jar:3.14.0-SNAPSHOT] + at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] + at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] + at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] + at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] + at org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:344) ~[spring-context-5.3.22.jar:5.3.22] + at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:229) ~[spring-context-5.3.22.jar:5.3.22] + at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:166) ~[spring-context-5.3.22.jar:5.3.22] + at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176) ~[spring-context-5.3.22.jar:5.3.22] + at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169) ~[spring-context-5.3.22.jar:5.3.22] + at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143) ~[spring-context-5.3.22.jar:5.3.22] + at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421) ~[spring-context-5.3.22.jar:5.3.22] + at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378) ~[spring-context-5.3.22.jar:5.3.22] + at org.springframework.boot.context.event.EventPublishingRunListener.ready(EventPublishingRunListener.java:114) ~[spring-boot-2.7.3.jar:2.7.3] + at org.springframework.boot.SpringApplicationRunListeners.lambda$ready$6(SpringApplicationRunListeners.java:82) ~[spring-boot-2.7.3.jar:2.7.3] + at java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?] + at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:120) ~[spring-boot-2.7.3.jar:2.7.3] + at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:114) ~[spring-boot-2.7.3.jar:2.7.3] + at org.springframework.boot.SpringApplicationRunListeners.ready(SpringApplicationRunListeners.java:82) ~[spring-boot-2.7.3.jar:2.7.3] + at org.springframework.boot.SpringApplication.run(SpringApplication.java:323) ~[spring-boot-2.7.3.jar:2.7.3] + at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:132) ~[spring-boot-test-2.7.3.jar:2.7.3] + at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) ~[spring-test-5.3.22.jar:5.3.22] + at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ~[spring-test-5.3.22.jar:5.3.22] + at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) ~[spring-test-5.3.22.jar:5.3.22] + at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:118) ~[spring-test-5.3.22.jar:5.3.22] + at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83) ~[spring-test-5.3.22.jar:5.3.22] + at org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener.prepareTestInstance(SpringBootDependencyInjectionTestExecutionListener.java:43) ~[spring-boot-test-autoconfigure-2.7.3.jar:2.7.3] + at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248) ~[spring-test-5.3.22.jar:5.3.22] + at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227) ~[spring-test-5.3.22.jar:5.3.22] + at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) ~[spring-test-5.3.22.jar:5.3.22] + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) ~[junit-4.13.2.jar:4.13.2] + at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) ~[spring-test-5.3.22.jar:5.3.22] + at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246) ~[spring-test-5.3.22.jar:5.3.22] + at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) ~[spring-test-5.3.22.jar:5.3.22] + at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) ~[junit-4.13.2.jar:4.13.2] + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) ~[junit-4.13.2.jar:4.13.2] + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) ~[junit-4.13.2.jar:4.13.2] + at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) ~[junit-4.13.2.jar:4.13.2] + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) ~[junit-4.13.2.jar:4.13.2] + at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) ~[spring-test-5.3.22.jar:5.3.22] + at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) ~[spring-test-5.3.22.jar:5.3.22] + at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) ~[junit-4.13.2.jar:4.13.2] + at org.junit.runners.ParentRunner.run(ParentRunner.java:413) ~[junit-4.13.2.jar:4.13.2] + at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) ~[spring-test-5.3.22.jar:5.3.22] + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) ~[junit-4.13.2.jar:4.13.2] + at org.junit.runner.JUnitCore.run(JUnitCore.java:115) ~[junit-4.13.2.jar:4.13.2] + at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) ~[junit-vintage-engine-5.8.2.jar:5.8.2] + at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) ~[junit-vintage-engine-5.8.2.jar:5.8.2] + at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) ~[junit-vintage-engine-5.8.2.jar:5.8.2] + 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.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53) ~[?:?] + at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:99) ~[?:?] + at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:79) ~[?:?] + at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:75) ~[?:?] + at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62) ~[?:?] + at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] + at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] + at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] + at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] + at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) ~[?:?] + at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) ~[?:?] + at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) ~[?:?] + at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94) ~[?:?] + at jdk.proxy1.$Proxy2.stop(Unknown Source) ~[?:?] + at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193) ~[?:?] + at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129) ~[?:?] + at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100) ~[?:?] + at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60) ~[?:?] + at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56) ~[?:?] + at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113) ~[?:?] + at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65) ~[?:?] + at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) ~[gradle-worker.jar:?] + at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) ~[gradle-worker.jar:?] +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) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) ~[httpclient-4.5.13.jar:4.5.13] + at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:109) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.boot.actuate.metrics.web.client.MetricsClientHttpRequestInterceptor.intercept(MetricsClientHttpRequestInterceptor.java:86) ~[spring-boot-actuator-2.7.3.jar:2.7.3] + at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:93) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:77) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:776) ~[spring-web-5.3.22.jar:5.3.22] + ... 83 more +Caused by: java.net.ConnectException: Connection refused + at sun.nio.ch.Net.connect0(Native Method) ~[?:?] + at sun.nio.ch.Net.connect(Net.java:579) ~[?:?] + at sun.nio.ch.Net.connect(Net.java:568) ~[?:?] + at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:593) ~[?:?] + at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) ~[?:?] + at java.net.Socket.connect(Socket.java:639) ~[?:?] + at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:75) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.13.jar:4.5.13] + at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) ~[httpclient-4.5.13.jar:4.5.13] + at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:109) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.boot.actuate.metrics.web.client.MetricsClientHttpRequestInterceptor.intercept(MetricsClientHttpRequestInterceptor.java:86) ~[spring-boot-actuator-2.7.3.jar:2.7.3] + at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:93) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:77) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66) ~[spring-web-5.3.22.jar:5.3.22] + at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:776) ~[spring-web-5.3.22.jar:5.3.22] + ... 83 more +5494 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorker [] - Started listening for task: JOIN in queue: JOIN +5495 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorker [] - Started listening for task: SUB_WORKFLOW in queue: SUB_WORKFLOW +5496 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorker [] - Started listening for task: START_WORKFLOW in queue: START_WORKFLOW +5496 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorker [] - Started listening for task: HTTP in queue: HTTP +5497 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorkerCoordinator [] - SystemTaskWorkerCoordinator initialized with 4 async tasks +5885 [scheduled-task-pool-2] INFO com.netflix.dyno.queues.redis.RedisDynoQueue [] - com.netflix.dyno.queues.redis.RedisDynoQueue is ready to serve _deciderQueue +6128 [SpringApplicationShutdownHook] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - WorkflowReconciler stopped. +6128 [SpringApplicationShutdownHook] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - SystemTaskWorker stopped. +6128 [SpringApplicationShutdownHook] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - DefaultEventQueueManager stopped. +6133 [SpringApplicationShutdownHook] INFO com.netflix.conductor.core.dal.ExecutionDAOFacade [] - Gracefully shutdown executor service From 0ee63961a3bf99a853edead620b82c8355959fa1 Mon Sep 17 00:00:00 2001 From: Alex May Date: Wed, 13 Sep 2023 10:51:09 -0600 Subject: [PATCH 11/14] try this again --- .github/workflows/ci.yml | 10 + server/conductor_tests.log | 344 --------------------------- server/src/main/resources/log4j2.xml | 4 + 3 files changed, 14 insertions(+), 344 deletions(-) delete mode 100644 server/conductor_tests.log diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9528884b4a..e0f5ade88f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,6 +38,16 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} run: | ./gradlew build --scan + - name: Print Server Logs + if: always() + run: | + cat conductor_tests.log + - name: Publish server logs + if: always() + uses: actions/upload-artifacts@v3 + with: + name: server-logs + path: conductor_tests.log - name: Build and Publish snapshot if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main' run: | diff --git a/server/conductor_tests.log b/server/conductor_tests.log deleted file mode 100644 index 8ebc496463..0000000000 --- a/server/conductor_tests.log +++ /dev/null @@ -1,344 +0,0 @@ -935 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper [] - Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.netflix.conductor.common.config.ConductorObjectMapperTest], using SpringBootContextLoader -945 [Test worker] INFO org.springframework.test.context.support.AbstractContextLoader [] - Could not detect default resource locations for test class [com.netflix.conductor.common.config.ConductorObjectMapperTest]: no resource found for suffixes {-context.xml, Context.groovy}. -946 [Test worker] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils [] - Could not detect default configuration classes for test class [com.netflix.conductor.common.config.ConductorObjectMapperTest]: ConductorObjectMapperTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. -1069 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper [] - Found @SpringBootConfiguration com.netflix.conductor.Conductor for test class com.netflix.conductor.common.config.ConductorObjectMapperTest -1173 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper [] - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener] -1183 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper [] - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@57540fd0, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@5cf8edcf, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@58cec85b, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@629f066f, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@1542af63, org.springframework.test.context.support.DirtiesContextTestExecutionListener@ecfbe91, org.springframework.test.context.event.EventPublishingTestExecutionListener@20ed3303, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@3adbe50f, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@3a627c80, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@49aa766b, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@963176, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@65004ff6, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@4cafa9aa] -1619 [Test worker] INFO com.netflix.conductor.common.config.ConductorObjectMapperTest [] - Starting ConductorObjectMapperTest using Java 17.0.2 on RQLSOCT01545 with PID 632 (started by almay in /Users/almay/code/conductor-code/conductor/server) -1623 [Test worker] INFO com.netflix.conductor.common.config.ConductorObjectMapperTest [] - No active profile set, falling back to 1 default profile: "default" -4443 [Test worker] INFO com.netflix.conductor.core.config.ConductorCoreConfiguration [] - Initialized dummy payload storage! -4465 [Test worker] INFO com.netflix.conductor.tasks.http.HttpTask [] - HTTP initialized... -4663 [Test worker] INFO com.netflix.conductor.redis.dynoqueue.RedisQueuesShardingStrategyProvider [] - Using RoundRobinStrategy sharding strategy for queues -4687 [Test worker] INFO com.netflix.conductor.redis.config.RedisCommonConfiguration [] - DynoQueueDAO initialized with prefix .test! -4944 [Test worker] INFO com.netflix.conductor.core.events.queue.DefaultEventQueueProcessor [] - DefaultEventQueueProcessor initialized with 0 queues -4948 [Test worker] INFO com.netflix.conductor.core.reconciliation.WorkflowRepairService [] - WorkflowRepairService Initialized -4967 [Test worker] INFO com.netflix.conductor.core.events.DefaultEventProcessor [] - Event Processing is ENABLED -5088 [Test worker] INFO com.netflix.conductor.metrics.WorkflowMonitor [] - WorkflowMonitor initialized. -5091 [Test worker] INFO com.netflix.conductor.core.reconciliation.WorkflowSweeper [] - WorkflowSweeper initialized. -5096 [Test worker] INFO com.netflix.conductor.core.reconciliation.WorkflowReconciler [] - WorkflowReconciler initialized with 24 sweeper threads -5104 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorker [] - SystemTaskWorker initialized with 24 threads -5107 [Test worker] INFO com.netflix.conductor.core.execution.tasks.IsolatedTaskQueueProducer [] - Isolated System Task Worker DISABLED -5603 [Test worker] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - WorkflowReconciler started. -5603 [Test worker] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - SystemTaskWorker started. -5621 [Test worker] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - DefaultEventQueueManager started. -5640 [Test worker] INFO com.netflix.conductor.common.config.ConductorObjectMapperTest [] - Started ConductorObjectMapperTest in 4.349 seconds (JVM running for 5.677) -5643 [Test worker] INFO com.netflix.conductor.rest.startup.KitchenSinkInitializer [] - Loading Kitchen Sink examples -5788 [Test worker] ERROR com.netflix.conductor.rest.startup.KitchenSinkInitializer [] - Error initializing kitchen sink -org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://localhost:8080/api/metadata/taskdefs": Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused; nested exception is 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.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:785) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:711) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.web.client.RestTemplate.postForEntity(RestTemplate.java:468) ~[spring-web-5.3.22.jar:5.3.22] - at com.netflix.conductor.rest.startup.KitchenSinkInitializer.createKitchenSink(KitchenSinkInitializer.java:95) ~[conductor-rest-3.14.0-SNAPSHOT.jar:3.14.0-SNAPSHOT] - at com.netflix.conductor.rest.startup.KitchenSinkInitializer.setupKitchenSink(KitchenSinkInitializer.java:75) ~[conductor-rest-3.14.0-SNAPSHOT.jar:3.14.0-SNAPSHOT] - at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] - at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] - at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] - at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] - at org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:344) ~[spring-context-5.3.22.jar:5.3.22] - at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:229) ~[spring-context-5.3.22.jar:5.3.22] - at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:166) ~[spring-context-5.3.22.jar:5.3.22] - at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176) ~[spring-context-5.3.22.jar:5.3.22] - at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169) ~[spring-context-5.3.22.jar:5.3.22] - at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143) ~[spring-context-5.3.22.jar:5.3.22] - at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421) ~[spring-context-5.3.22.jar:5.3.22] - at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378) ~[spring-context-5.3.22.jar:5.3.22] - at org.springframework.boot.context.event.EventPublishingRunListener.ready(EventPublishingRunListener.java:114) ~[spring-boot-2.7.3.jar:2.7.3] - at org.springframework.boot.SpringApplicationRunListeners.lambda$ready$6(SpringApplicationRunListeners.java:82) ~[spring-boot-2.7.3.jar:2.7.3] - at java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?] - at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:120) ~[spring-boot-2.7.3.jar:2.7.3] - at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:114) ~[spring-boot-2.7.3.jar:2.7.3] - at org.springframework.boot.SpringApplicationRunListeners.ready(SpringApplicationRunListeners.java:82) ~[spring-boot-2.7.3.jar:2.7.3] - at org.springframework.boot.SpringApplication.run(SpringApplication.java:323) ~[spring-boot-2.7.3.jar:2.7.3] - at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:132) ~[spring-boot-test-2.7.3.jar:2.7.3] - at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) ~[spring-test-5.3.22.jar:5.3.22] - at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ~[spring-test-5.3.22.jar:5.3.22] - at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) ~[spring-test-5.3.22.jar:5.3.22] - at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:118) ~[spring-test-5.3.22.jar:5.3.22] - at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83) ~[spring-test-5.3.22.jar:5.3.22] - at org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener.prepareTestInstance(SpringBootDependencyInjectionTestExecutionListener.java:43) ~[spring-boot-test-autoconfigure-2.7.3.jar:2.7.3] - at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248) ~[spring-test-5.3.22.jar:5.3.22] - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227) ~[spring-test-5.3.22.jar:5.3.22] - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) ~[spring-test-5.3.22.jar:5.3.22] - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) ~[junit-4.13.2.jar:4.13.2] - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) ~[spring-test-5.3.22.jar:5.3.22] - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246) ~[spring-test-5.3.22.jar:5.3.22] - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) ~[spring-test-5.3.22.jar:5.3.22] - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) ~[junit-4.13.2.jar:4.13.2] - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) ~[junit-4.13.2.jar:4.13.2] - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) ~[junit-4.13.2.jar:4.13.2] - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) ~[junit-4.13.2.jar:4.13.2] - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) ~[junit-4.13.2.jar:4.13.2] - at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) ~[spring-test-5.3.22.jar:5.3.22] - at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) ~[spring-test-5.3.22.jar:5.3.22] - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) ~[junit-4.13.2.jar:4.13.2] - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) ~[junit-4.13.2.jar:4.13.2] - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) ~[spring-test-5.3.22.jar:5.3.22] - at org.junit.runner.JUnitCore.run(JUnitCore.java:137) ~[junit-4.13.2.jar:4.13.2] - at org.junit.runner.JUnitCore.run(JUnitCore.java:115) ~[junit-4.13.2.jar:4.13.2] - at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) ~[junit-vintage-engine-5.8.2.jar:5.8.2] - at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) ~[junit-vintage-engine-5.8.2.jar:5.8.2] - at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) ~[junit-vintage-engine-5.8.2.jar:5.8.2] - 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.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53) ~[?:?] - at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:99) ~[?:?] - at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:79) ~[?:?] - at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:75) ~[?:?] - at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62) ~[?:?] - at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] - at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] - at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] - at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] - at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) ~[?:?] - at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) ~[?:?] - at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) ~[?:?] - at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94) ~[?:?] - at jdk.proxy1.$Proxy2.stop(Unknown Source) ~[?:?] - at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193) ~[?:?] - at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129) ~[?:?] - at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100) ~[?:?] - at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60) ~[?:?] - at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56) ~[?:?] - at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113) ~[?:?] - at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65) ~[?:?] - at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) ~[gradle-worker.jar:?] - at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) ~[gradle-worker.jar:?] -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) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) ~[httpclient-4.5.13.jar:4.5.13] - at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:109) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.boot.actuate.metrics.web.client.MetricsClientHttpRequestInterceptor.intercept(MetricsClientHttpRequestInterceptor.java:86) ~[spring-boot-actuator-2.7.3.jar:2.7.3] - at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:93) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:77) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:776) ~[spring-web-5.3.22.jar:5.3.22] - ... 83 more -Caused by: java.net.ConnectException: Connection refused - at sun.nio.ch.Net.connect0(Native Method) ~[?:?] - at sun.nio.ch.Net.connect(Net.java:579) ~[?:?] - at sun.nio.ch.Net.connect(Net.java:568) ~[?:?] - at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:588) ~[?:?] - at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) ~[?:?] - at java.net.Socket.connect(Socket.java:633) ~[?:?] - at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:75) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) ~[httpclient-4.5.13.jar:4.5.13] - at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:109) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.boot.actuate.metrics.web.client.MetricsClientHttpRequestInterceptor.intercept(MetricsClientHttpRequestInterceptor.java:86) ~[spring-boot-actuator-2.7.3.jar:2.7.3] - at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:93) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:77) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:776) ~[spring-web-5.3.22.jar:5.3.22] - ... 83 more -5809 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorker [] - Started listening for task: SUB_WORKFLOW in queue: SUB_WORKFLOW -5810 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorker [] - Started listening for task: HTTP in queue: HTTP -5811 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorker [] - Started listening for task: JOIN in queue: JOIN -5811 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorker [] - Started listening for task: START_WORKFLOW in queue: START_WORKFLOW -5811 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorkerCoordinator [] - SystemTaskWorkerCoordinator initialized with 4 async tasks -6252 [scheduled-task-pool-2] INFO com.netflix.dyno.queues.redis.RedisDynoQueue [] - com.netflix.dyno.queues.redis.RedisDynoQueue is ready to serve _deciderQueue -6459 [SpringApplicationShutdownHook] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - WorkflowReconciler stopped. -6459 [SpringApplicationShutdownHook] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - SystemTaskWorker stopped. -6459 [SpringApplicationShutdownHook] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - DefaultEventQueueManager stopped. -6463 [SpringApplicationShutdownHook] INFO com.netflix.conductor.core.dal.ExecutionDAOFacade [] - Gracefully shutdown executor service -1090 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper [] - Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.netflix.conductor.common.config.ConductorObjectMapperTest], using SpringBootContextLoader -1100 [Test worker] INFO org.springframework.test.context.support.AbstractContextLoader [] - Could not detect default resource locations for test class [com.netflix.conductor.common.config.ConductorObjectMapperTest]: no resource found for suffixes {-context.xml, Context.groovy}. -1101 [Test worker] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils [] - Could not detect default configuration classes for test class [com.netflix.conductor.common.config.ConductorObjectMapperTest]: ConductorObjectMapperTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. -1232 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper [] - Found @SpringBootConfiguration com.netflix.conductor.Conductor for test class com.netflix.conductor.common.config.ConductorObjectMapperTest -1333 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper [] - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener] -1346 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper [] - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@963176, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@65004ff6, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@4cafa9aa, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@562c877a, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@67001148, org.springframework.test.context.support.DirtiesContextTestExecutionListener@989da1, org.springframework.test.context.event.EventPublishingTestExecutionListener@31cb96e1, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@3eed0f5, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@64030b91, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@2032e725, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@4d23015c, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@383f1975, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@441cc260] -1710 [Test worker] INFO com.netflix.conductor.common.config.ConductorObjectMapperTest [] - Starting ConductorObjectMapperTest using Java 17.0.8.1 on RQLSOCT01545 with PID 2320 (started by almay in /Users/almay/code/conductor-code/conductor/server) -1713 [Test worker] INFO com.netflix.conductor.common.config.ConductorObjectMapperTest [] - No active profile set, falling back to 1 default profile: "default" -4027 [Test worker] INFO com.netflix.conductor.core.config.ConductorCoreConfiguration [] - Initialized dummy payload storage! -4044 [Test worker] INFO com.netflix.conductor.tasks.http.HttpTask [] - HTTP initialized... -4229 [Test worker] INFO com.netflix.conductor.redis.dynoqueue.RedisQueuesShardingStrategyProvider [] - Using RoundRobinStrategy sharding strategy for queues -4255 [Test worker] INFO com.netflix.conductor.redis.config.RedisCommonConfiguration [] - DynoQueueDAO initialized with prefix .test! -4558 [Test worker] INFO com.netflix.conductor.core.events.queue.DefaultEventQueueProcessor [] - DefaultEventQueueProcessor initialized with 0 queues -4563 [Test worker] INFO com.netflix.conductor.core.reconciliation.WorkflowRepairService [] - WorkflowRepairService Initialized -4585 [Test worker] INFO com.netflix.conductor.core.events.DefaultEventProcessor [] - Event Processing is ENABLED -4734 [Test worker] INFO com.netflix.conductor.metrics.WorkflowMonitor [] - WorkflowMonitor initialized. -4738 [Test worker] INFO com.netflix.conductor.core.reconciliation.WorkflowSweeper [] - WorkflowSweeper initialized. -4745 [Test worker] INFO com.netflix.conductor.core.reconciliation.WorkflowReconciler [] - WorkflowReconciler initialized with 24 sweeper threads -4755 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorker [] - SystemTaskWorker initialized with 24 threads -4758 [Test worker] INFO com.netflix.conductor.core.execution.tasks.IsolatedTaskQueueProducer [] - Isolated System Task Worker DISABLED -5313 [Test worker] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - WorkflowReconciler started. -5313 [Test worker] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - SystemTaskWorker started. -5313 [Test worker] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - DefaultEventQueueManager started. -5332 [Test worker] INFO com.netflix.conductor.common.config.ConductorObjectMapperTest [] - Started ConductorObjectMapperTest in 3.876 seconds (JVM running for 5.376) -5335 [Test worker] INFO com.netflix.conductor.rest.startup.KitchenSinkInitializer [] - Loading Kitchen Sink examples -5474 [Test worker] ERROR com.netflix.conductor.rest.startup.KitchenSinkInitializer [] - Error initializing kitchen sink -org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://localhost:8080/api/metadata/taskdefs": Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused; nested exception is 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.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:785) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:711) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.web.client.RestTemplate.postForEntity(RestTemplate.java:468) ~[spring-web-5.3.22.jar:5.3.22] - at com.netflix.conductor.rest.startup.KitchenSinkInitializer.createKitchenSink(KitchenSinkInitializer.java:95) ~[conductor-rest-3.14.0-SNAPSHOT.jar:3.14.0-SNAPSHOT] - at com.netflix.conductor.rest.startup.KitchenSinkInitializer.setupKitchenSink(KitchenSinkInitializer.java:75) ~[conductor-rest-3.14.0-SNAPSHOT.jar:3.14.0-SNAPSHOT] - at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] - at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] - at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] - at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] - at org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:344) ~[spring-context-5.3.22.jar:5.3.22] - at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:229) ~[spring-context-5.3.22.jar:5.3.22] - at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:166) ~[spring-context-5.3.22.jar:5.3.22] - at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176) ~[spring-context-5.3.22.jar:5.3.22] - at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169) ~[spring-context-5.3.22.jar:5.3.22] - at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143) ~[spring-context-5.3.22.jar:5.3.22] - at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421) ~[spring-context-5.3.22.jar:5.3.22] - at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378) ~[spring-context-5.3.22.jar:5.3.22] - at org.springframework.boot.context.event.EventPublishingRunListener.ready(EventPublishingRunListener.java:114) ~[spring-boot-2.7.3.jar:2.7.3] - at org.springframework.boot.SpringApplicationRunListeners.lambda$ready$6(SpringApplicationRunListeners.java:82) ~[spring-boot-2.7.3.jar:2.7.3] - at java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?] - at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:120) ~[spring-boot-2.7.3.jar:2.7.3] - at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:114) ~[spring-boot-2.7.3.jar:2.7.3] - at org.springframework.boot.SpringApplicationRunListeners.ready(SpringApplicationRunListeners.java:82) ~[spring-boot-2.7.3.jar:2.7.3] - at org.springframework.boot.SpringApplication.run(SpringApplication.java:323) ~[spring-boot-2.7.3.jar:2.7.3] - at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:132) ~[spring-boot-test-2.7.3.jar:2.7.3] - at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) ~[spring-test-5.3.22.jar:5.3.22] - at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ~[spring-test-5.3.22.jar:5.3.22] - at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) ~[spring-test-5.3.22.jar:5.3.22] - at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:118) ~[spring-test-5.3.22.jar:5.3.22] - at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83) ~[spring-test-5.3.22.jar:5.3.22] - at org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener.prepareTestInstance(SpringBootDependencyInjectionTestExecutionListener.java:43) ~[spring-boot-test-autoconfigure-2.7.3.jar:2.7.3] - at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248) ~[spring-test-5.3.22.jar:5.3.22] - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227) ~[spring-test-5.3.22.jar:5.3.22] - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) ~[spring-test-5.3.22.jar:5.3.22] - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) ~[junit-4.13.2.jar:4.13.2] - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) ~[spring-test-5.3.22.jar:5.3.22] - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246) ~[spring-test-5.3.22.jar:5.3.22] - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) ~[spring-test-5.3.22.jar:5.3.22] - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) ~[junit-4.13.2.jar:4.13.2] - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) ~[junit-4.13.2.jar:4.13.2] - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) ~[junit-4.13.2.jar:4.13.2] - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) ~[junit-4.13.2.jar:4.13.2] - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) ~[junit-4.13.2.jar:4.13.2] - at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) ~[spring-test-5.3.22.jar:5.3.22] - at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) ~[spring-test-5.3.22.jar:5.3.22] - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) ~[junit-4.13.2.jar:4.13.2] - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) ~[junit-4.13.2.jar:4.13.2] - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) ~[spring-test-5.3.22.jar:5.3.22] - at org.junit.runner.JUnitCore.run(JUnitCore.java:137) ~[junit-4.13.2.jar:4.13.2] - at org.junit.runner.JUnitCore.run(JUnitCore.java:115) ~[junit-4.13.2.jar:4.13.2] - at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) ~[junit-vintage-engine-5.8.2.jar:5.8.2] - at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) ~[junit-vintage-engine-5.8.2.jar:5.8.2] - at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) ~[junit-vintage-engine-5.8.2.jar:5.8.2] - 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.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53) ~[?:?] - at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:99) ~[?:?] - at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:79) ~[?:?] - at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:75) ~[?:?] - at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62) ~[?:?] - at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] - at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] - at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] - at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] - at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) ~[?:?] - at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) ~[?:?] - at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) ~[?:?] - at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94) ~[?:?] - at jdk.proxy1.$Proxy2.stop(Unknown Source) ~[?:?] - at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193) ~[?:?] - at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129) ~[?:?] - at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100) ~[?:?] - at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60) ~[?:?] - at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56) ~[?:?] - at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113) ~[?:?] - at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65) ~[?:?] - at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) ~[gradle-worker.jar:?] - at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) ~[gradle-worker.jar:?] -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) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) ~[httpclient-4.5.13.jar:4.5.13] - at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:109) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.boot.actuate.metrics.web.client.MetricsClientHttpRequestInterceptor.intercept(MetricsClientHttpRequestInterceptor.java:86) ~[spring-boot-actuator-2.7.3.jar:2.7.3] - at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:93) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:77) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:776) ~[spring-web-5.3.22.jar:5.3.22] - ... 83 more -Caused by: java.net.ConnectException: Connection refused - at sun.nio.ch.Net.connect0(Native Method) ~[?:?] - at sun.nio.ch.Net.connect(Net.java:579) ~[?:?] - at sun.nio.ch.Net.connect(Net.java:568) ~[?:?] - at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:593) ~[?:?] - at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) ~[?:?] - at java.net.Socket.connect(Socket.java:639) ~[?:?] - at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:75) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.13.jar:4.5.13] - at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) ~[httpclient-4.5.13.jar:4.5.13] - at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:109) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.boot.actuate.metrics.web.client.MetricsClientHttpRequestInterceptor.intercept(MetricsClientHttpRequestInterceptor.java:86) ~[spring-boot-actuator-2.7.3.jar:2.7.3] - at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:93) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:77) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66) ~[spring-web-5.3.22.jar:5.3.22] - at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:776) ~[spring-web-5.3.22.jar:5.3.22] - ... 83 more -5494 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorker [] - Started listening for task: JOIN in queue: JOIN -5495 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorker [] - Started listening for task: SUB_WORKFLOW in queue: SUB_WORKFLOW -5496 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorker [] - Started listening for task: START_WORKFLOW in queue: START_WORKFLOW -5496 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorker [] - Started listening for task: HTTP in queue: HTTP -5497 [Test worker] INFO com.netflix.conductor.core.execution.tasks.SystemTaskWorkerCoordinator [] - SystemTaskWorkerCoordinator initialized with 4 async tasks -5885 [scheduled-task-pool-2] INFO com.netflix.dyno.queues.redis.RedisDynoQueue [] - com.netflix.dyno.queues.redis.RedisDynoQueue is ready to serve _deciderQueue -6128 [SpringApplicationShutdownHook] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - WorkflowReconciler stopped. -6128 [SpringApplicationShutdownHook] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - SystemTaskWorker stopped. -6128 [SpringApplicationShutdownHook] INFO com.netflix.conductor.core.LifecycleAwareComponent [] - DefaultEventQueueManager stopped. -6133 [SpringApplicationShutdownHook] INFO com.netflix.conductor.core.dal.ExecutionDAOFacade [] - Gracefully shutdown executor service diff --git a/server/src/main/resources/log4j2.xml b/server/src/main/resources/log4j2.xml index cab346657d..533009eba0 100644 --- a/server/src/main/resources/log4j2.xml +++ b/server/src/main/resources/log4j2.xml @@ -21,11 +21,15 @@ + + + + From d0ae08483c920401c2bfd4851ccb34496068dd69 Mon Sep 17 00:00:00 2001 From: Alex May Date: Wed, 13 Sep 2023 10:52:11 -0600 Subject: [PATCH 12/14] fix github actions --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e0f5ade88f..cba05dd618 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,7 @@ jobs: cat conductor_tests.log - name: Publish server logs if: always() - uses: actions/upload-artifacts@v3 + uses: actions/upload-artifact@v3 with: name: server-logs path: conductor_tests.log From b76c659a34c3747f311ff1d8e7021523bd359fef Mon Sep 17 00:00:00 2001 From: Alex May Date: Wed, 13 Sep 2023 12:22:08 -0600 Subject: [PATCH 13/14] test logs again --- .../com/netflix/conductor/core/events/ScriptEvaluator.java | 4 ++++ server/src/main/resources/log4j2.xml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java b/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java index 6a8d68dcd3..a2d8816ae5 100644 --- a/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java +++ b/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java @@ -49,6 +49,10 @@ public static Object eval(String script, Object input) throws ScriptException { if (engine == null) { engine = new NashornScriptEngineFactory().getScriptEngine(); } + if (engine == null) { + throw new RuntimeException( + "missing nashorn engine. Ensure you are running supported JVM"); + } Bindings bindings = engine.createBindings(); bindings.put("$", input); return engine.eval(script, bindings); diff --git a/server/src/main/resources/log4j2.xml b/server/src/main/resources/log4j2.xml index 533009eba0..4cf6e9591b 100644 --- a/server/src/main/resources/log4j2.xml +++ b/server/src/main/resources/log4j2.xml @@ -21,7 +21,7 @@ - + From cfa1591729d1aed5c651a3746328603685228201 Mon Sep 17 00:00:00 2001 From: Alex May Date: Wed, 13 Sep 2023 13:33:35 -0600 Subject: [PATCH 14/14] use nashorn differently --- .../com/netflix/conductor/core/events/ScriptEvaluator.java | 5 ++--- .../conductor/sdk/workflow/def/tasks/Javascript.java | 6 +++--- server/src/main/resources/log4j2.xml | 4 ---- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java b/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java index a2d8816ae5..dc46354b0f 100644 --- a/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java +++ b/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java @@ -14,10 +14,9 @@ import javax.script.Bindings; import javax.script.ScriptEngine; +import javax.script.ScriptEngineManager; import javax.script.ScriptException; -import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory; - public class ScriptEvaluator { private static ScriptEngine engine; @@ -47,7 +46,7 @@ public static Boolean evalBool(String script, Object input) throws ScriptExcepti */ public static Object eval(String script, Object input) throws ScriptException { if (engine == null) { - engine = new NashornScriptEngineFactory().getScriptEngine(); + engine = new ScriptEngineManager().getEngineByName("Nashorn"); } if (engine == null) { throw new RuntimeException( diff --git a/java-sdk/src/main/java/com/netflix/conductor/sdk/workflow/def/tasks/Javascript.java b/java-sdk/src/main/java/com/netflix/conductor/sdk/workflow/def/tasks/Javascript.java index 0c88bf7614..cca0246f70 100644 --- a/java-sdk/src/main/java/com/netflix/conductor/sdk/workflow/def/tasks/Javascript.java +++ b/java-sdk/src/main/java/com/netflix/conductor/sdk/workflow/def/tasks/Javascript.java @@ -19,9 +19,9 @@ import javax.script.Bindings; import javax.script.ScriptEngine; +import javax.script.ScriptEngineManager; import javax.script.ScriptException; -import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -100,7 +100,7 @@ public String getExpression() { * @return */ public Javascript validate() { - ScriptEngine scriptEngine = new NashornScriptEngineFactory().getScriptEngine(); + ScriptEngine scriptEngine = new ScriptEngineManager().getEngineByName("Nashorn"); if (scriptEngine == null) { LOGGER.error("missing " + ENGINE + " engine. Ensure you are running supported JVM"); return this; @@ -128,7 +128,7 @@ public Javascript validate() { */ public Object test(Map input) { - ScriptEngine scriptEngine = new NashornScriptEngineFactory().getScriptEngine(); + ScriptEngine scriptEngine = new ScriptEngineManager().getEngineByName("Nashorn"); if (scriptEngine == null) { LOGGER.error("missing " + ENGINE + " engine. Ensure you are running supported JVM"); return this; diff --git a/server/src/main/resources/log4j2.xml b/server/src/main/resources/log4j2.xml index 4cf6e9591b..cab346657d 100644 --- a/server/src/main/resources/log4j2.xml +++ b/server/src/main/resources/log4j2.xml @@ -21,15 +21,11 @@ - - - -