Closed peterzhuamazon closed 6 months ago
The continue-on-error was designed to ignore the errors. If we raise, the program will error out. It won't continue. For opensearch we can see the failed logs in the build.sh step of jenkins. Example:
``` 2024-04-10 02:26:28 INFO Building skills 2024-04-10 02:26:28 INFO Executing "git init" in /tmp/tmpoyz5wnmg/skills 2024-04-10 02:26:28 INFO Executing "git remote add origin https://github.com/opensearch-project/skills.git" in /tmp/tmpoyz5wnmg/skills 2024-04-10 02:26:28 INFO Executing "git fetch --depth 1 origin 2.x" in /tmp/tmpoyz5wnmg/skills 2024-04-10 02:26:29 INFO Executing "git checkout FETCH_HEAD" in /tmp/tmpoyz5wnmg/skills 2024-04-10 02:26:29 INFO Executing "git rev-parse HEAD" in /tmp/tmpoyz5wnmg/skills 2024-04-10 02:26:29 INFO Checked out https://github.com/opensearch-project/skills.git@2.x into /tmp/tmpoyz5wnmg/skills at 9f1bd35857e109644088211e9305e16fdcb7dae1 2024-04-10 02:26:29 INFO Executing "bash /tmp/tmpoyz5wnmg/skills/scripts/build.sh -v 2.14.0 -p linux -a x64 -s false -o builds" in /tmp/tmpoyz5wnmg/skills + getopts :h:v:q:s:o:p:a: arg + case $arg in + VERSION=2.14.0 + getopts :h:v:q:s:o:p:a: arg + case $arg in + PLATFORM=linux + getopts :h:v:q:s:o:p:a: arg + case $arg in + ARCHITECTURE=x64 + getopts :h:v:q:s:o:p:a: arg + case $arg in + SNAPSHOT=false + getopts :h:v:q:s:o:p:a: arg + case $arg in + OUTPUT=builds + getopts :h:v:q:s:o:p:a: arg + '[' -z 2.14.0 ']' + [[ ! -z '' ]] + [[ false == \t\r\u\e ]] + '[' -z builds ']' + ./gradlew assemble -x test -Dopensearch.version=2.14.0 -Dbuild.snapshot=false -Dbuild.version_qualifier= > Configure project : Invalid Java installation found at '/usr/lib/jvm/temurin-8-jdk-amd64' (Java home). It will be re-checked in the next build. This might have performance impact if it keeps failing. Run the 'javaToolchains' task for more details. Invalid Java installation found at '/usr/lib/jvm/temurin-11-jdk-amd64' (Java home). It will be re-checked in the next build. This might have performance impact if it keeps failing. Run the 'javaToolchains' task for more details. Invalid Java installation found at '/usr/lib/jvm/adoptopenjdk-14-amd64' (Java home). It will be re-checked in the next build. This might have performance impact if it keeps failing. Run the 'javaToolchains' task for more details. ======================================= OpenSearch Build Hamster says Hello! Gradle Version : 8.4 OS Info : Linux 6.1.49-70.116.amzn2023.x86_64 (amd64) JDK Version : 21 (Eclipse Temurin JDK) JAVA_HOME : /opt/java/openjdk-21 Random Testing Seed : 165642BF097A636D In FIPS 140 mode : false ======================================= > Task :generateNotice > Task :extractAdJar > Task :extractJsJar > Task :extractSqlJar > Task :addJarsToClasspath > Task :processResources > Task :copyPluginPropertiesTemplate > Task :pluginProperties > Task :generatePomFileForNebulaPublication > Task :generatePomFileForPluginZipPublication > Task :generatePom > Task :sourcesJar > Task :generateEffectiveLombokConfig > Task :delombok /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/SearchMonitorsTool.java:55: warning: Not generating getType(): A method with that name already exists @Getter ^ /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/PPLTool.java:81: warning: Not generating getName(): A method with that name already exists @Getter ^ /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/SearchAlertsTool.java:44: warning: Not generating getType(): A method with that name already exists @Getter ^ /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/SearchAnomalyDetectorsTool.java:21: error: package org.opensearch.ad.client does not exist import org.opensearch.ad.client.AnomalyDetectionNodeClient; ^ /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/SearchAnomalyDetectorsTool.java:22: error: package org.opensearch.ad.model does not exist import org.opensearch.ad.model.ADTask; ^ /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/SearchAnomalyDetectorsTool.java:23: error: package org.opensearch.ad.transport does not exist import org.opensearch.ad.transport.GetAnomalyDetectorRequest; ^ /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/SearchAnomalyDetectorsTool.java:24: error: package org.opensearch.ad.transport does not exist import org.opensearch.ad.transport.GetAnomalyDetectorResponse; ^ /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/SearchAnomalyDetectorsTool.java:68: error: cannot find symbol private AnomalyDetectionNodeClient adClient; ^ symbol: class AnomalyDetectionNodeClient location: class org.opensearch.agent.tools.SearchAnomalyDetectorsTool /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/SearchAnomalyDetectorsTool.java:281: error: cannot find symbol private AnomalyDetectionNodeClient adClient; ^ symbol: class AnomalyDetectionNodeClient location: class org.opensearch.agent.tools.SearchAnomalyDetectorsTool.Factory /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/SearchAnomalyResultsTool.java:15: error: package org.opensearch.ad.client does not exist import org.opensearch.ad.client.AnomalyDetectionNodeClient; ^ /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/SearchAnomalyResultsTool.java:58: error: cannot find symbol private AnomalyDetectionNodeClient adClient; ^ symbol: class AnomalyDetectionNodeClient location: class org.opensearch.agent.tools.SearchAnomalyResultsTool /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/SearchAnomalyResultsTool.java:196: error: cannot find symbol private AnomalyDetectionNodeClient adClient; ^ symbol: class AnomalyDetectionNodeClient location: class org.opensearch.agent.tools.SearchAnomalyResultsTool.Factory > Task :compileJava /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/SearchAlertsTool.java:44: warning: Not generating getType(): A method with that name already exists @Getter ^ /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/PPLTool.java:81: warning: Not generating getName(): A method with that name already exists @Getter ^ /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/SearchMonitorsTool.java:55: warning: Not generating getType(): A method with that name already exists @Getter ^ /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/SearchAnomalyDetectorsTool.java:21: error: package org.opensearch.ad.client does not exist import org.opensearch.ad.client.AnomalyDetectionNodeClient; ^ /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/SearchAnomalyDetectorsTool.java:22: error: package org.opensearch.ad.model does not exist import org.opensearch.ad.model.ADTask; ^ /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/SearchAnomalyDetectorsTool.java:23: error: package org.opensearch.ad.transport does not exist import org.opensearch.ad.transport.GetAnomalyDetectorRequest; ^ /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/SearchAnomalyDetectorsTool.java:24: error: package org.opensearch.ad.transport does not exist import org.opensearch.ad.transport.GetAnomalyDetectorResponse; ^ /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/SearchAnomalyDetectorsTool.java:68: error: cannot find symbol private AnomalyDetectionNodeClient adClient; ^ symbol: class AnomalyDetectionNodeClient location: class SearchAnomalyDetectorsTool /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/SearchAnomalyDetectorsTool.java:281: error: cannot find symbol private AnomalyDetectionNodeClient adClient; ^ symbol: class AnomalyDetectionNodeClient location: class Factory /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/SearchAnomalyResultsTool.java:15: error: package org.opensearch.ad.client does not exist import org.opensearch.ad.client.AnomalyDetectionNodeClient; ^ /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/SearchAnomalyResultsTool.java:58: error: cannot find symbol private AnomalyDetectionNodeClient adClient; ^ symbol: class AnomalyDetectionNodeClient location: class SearchAnomalyResultsTool /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/SearchAnomalyResultsTool.java:196: error: cannot find symbol private AnomalyDetectionNodeClient adClient; ^ symbol: class AnomalyDetectionNodeClient location: class Factory Note: /tmp/tmpoyz5wnmg/skills/src/main/java/org/opensearch/agent/tools/RAGTool.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 9 errors 3 warnings > Task :compileJava FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileJava'. > Compilation failed; see the compiler error output for details. * Try: > Run with --scan to get full insights. * Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':compileJava'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:148) at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:146) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:134) at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46) at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51) at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57) at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74) at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36) at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77) at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55) at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52) at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204) at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199) at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53) at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:78) at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52) at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:42) at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:331) at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:318) at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.lambda$execute$0(DefaultTaskExecutionGraph.java:314) at org.gradle.internal.operations.CurrentBuildOperationRef.with(CurrentBuildOperationRef.java:80) at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:314) at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:303) at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:463) at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:380) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47) Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details. at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:57) at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:39) at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:98) at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:52) at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:38) at org.gradle.api.internal.tasks.compile.AnnotationProcessorDiscoveringCompiler.execute(AnnotationProcessorDiscoveringCompiler.java:51) at org.gradle.api.internal.tasks.compile.AnnotationProcessorDiscoveringCompiler.execute(AnnotationProcessorDiscoveringCompiler.java:37) at org.gradle.api.internal.tasks.compile.ModuleApplicationNameWritingCompiler.execute(ModuleApplicationNameWritingCompiler.java:46) at org.gradle.api.internal.tasks.compile.ModuleApplicationNameWritingCompiler.execute(ModuleApplicationNameWritingCompiler.java:36) at org.gradle.jvm.toolchain.internal.DefaultToolchainJavaCompiler.execute(DefaultToolchainJavaCompiler.java:57) at org.gradle.api.tasks.compile.JavaCompile.lambda$createToolchainCompiler$3(JavaCompile.java:202) at org.gradle.api.internal.tasks.compile.CleaningJavaCompiler.execute(CleaningJavaCompiler.java:53) at org.gradle.api.internal.tasks.compile.incremental.IncrementalCompilerFactory.lambda$createRebuildAllCompiler$0(IncrementalCompilerFactory.java:52) at org.gradle.api.internal.tasks.compile.incremental.SelectiveCompiler.execute(SelectiveCompiler.java:70) at org.gradle.api.internal.tasks.compile.incremental.SelectiveCompiler.execute(SelectiveCompiler.java:44) at org.gradle.api.internal.tasks.compile.incremental.IncrementalResultStoringCompiler.execute(IncrementalResultStoringCompiler.java:66) at org.gradle.api.internal.tasks.compile.incremental.IncrementalResultStoringCompiler.execute(IncrementalResultStoringCompiler.java:52) at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler$1.call(CompileJavaBuildOperationReportingCompiler.java:64) at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler$1.call(CompileJavaBuildOperationReportingCompiler.java:48) at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204) at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199) at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53) at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:78) at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler.execute(CompileJavaBuildOperationReportingCompiler.java:48) at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:220) at org.gradle.api.tasks.compile.JavaCompile.performIncrementalCompilation(JavaCompile.java:161) at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:146) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:125) at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:45) at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51) at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.execute(IncrementalTaskAction.java:26) at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29) at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:248) at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29) at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26) at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47) at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:73) at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:233) at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:216) at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:199) at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:166) at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:105) at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:44) at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:59) at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:56) at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204) at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199) at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53) at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:78) at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:56) at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:44) at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:67) at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:37) at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:41) at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:74) at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:55) at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:50) at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:28) at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.executeDelegateBroadcastingChanges(CaptureStateAfterExecutionStep.java:100) at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:72) at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:50) at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:40) at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:29) at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:179) at org.gradle.internal.execution.steps.BuildCacheStep.lambda$execute$1(BuildCacheStep.java:70) at org.gradle.internal.Either$Right.fold(Either.java:175) at org.gradle.internal.execution.caching.CachingState.fold(CachingState.java:59) at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:68) at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:46) at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:36) at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:25) at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:36) at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:22) at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:91) at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$2(SkipUpToDateStep.java:55) at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:55) at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:37) at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:65) at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:36) at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:37) at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:27) at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:77) at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:38) at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:108) at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:55) at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:71) at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:45) at org.gradle.internal.execution.steps.SkipEmptyWorkStep.executeWithNonEmptySources(SkipEmptyWorkStep.java:177) at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:86) at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:53) at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:32) at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:21) at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38) at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:36) at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:23) at org.gradle.internal.execution.steps.CleanupStaleOutputsStep.execute(CleanupStaleOutputsStep.java:75) at org.gradle.internal.execution.steps.CleanupStaleOutputsStep.execute(CleanupStaleOutputsStep.java:41) at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.lambda$execute$2(ExecuteWorkBuildOperationFiringStep.java:66) at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.execute(ExecuteWorkBuildOperationFiringStep.java:66) at org.gradle.internal.execution.steps.ExecuteWorkBuildOperationFiringStep.execute(ExecuteWorkBuildOperationFiringStep.java:38) at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:32) at org.gradle.api.internal.tasks.execution.TaskExecution$4.withWorkspace(TaskExecution.java:293) at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:30) at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:21) at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:37) at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:27) at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:47) at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:34) at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:64) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:145) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:134) at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46) at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51) at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57) at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74) at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36) at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77) at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55) at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52) at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204) at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199) at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53) at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:78) at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52) at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:42) at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:331) at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:318) at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.lambda$execute$0(DefaultTaskExecutionGraph.java:314) at org.gradle.internal.operations.CurrentBuildOperationRef.with(CurrentBuildOperationRef.java:80) at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:314) at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:303) at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:463) at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:380) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47) Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. For more on this, please refer to https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 12s 14 actionable tasks: 14 executed 2024-04-10 02:26:42 ERROR Error building skills, retry with: ./build.sh manifests/2.14.0/opensearch-2.14.0.yml --component skills ```
However looking for failure logs in opensearch-dashboards, I don't see any for observability dashboards. Do we need to set some flag to hide warnings from npm side and show actual error?
``` 2024-04-10 01:28:54 INFO Building observabilityDashboards 2024-04-10 01:28:54 INFO Executing "git init" in /tmp/tmpgl478uwl/observabilityDashboards 2024-04-10 01:28:54 INFO Executing "git remote add origin https://github.com/opensearch-project/dashboards-observability.git" in /tmp/tmpgl478uwl/observabilityDashboards 2024-04-10 01:28:54 INFO Executing "git fetch --depth 1 origin 2.x" in /tmp/tmpgl478uwl/observabilityDashboards 2024-04-10 01:28:55 INFO Executing "git checkout FETCH_HEAD" in /tmp/tmpgl478uwl/observabilityDashboards 2024-04-10 01:28:55 INFO Executing "git rev-parse HEAD" in /tmp/tmpgl478uwl/observabilityDashboards 2024-04-10 01:28:55 INFO Checked out https://github.com/opensearch-project/dashboards-observability.git@2.x into /tmp/tmpgl478uwl/observabilityDashboards at 55cbffdd422b6bec85cf4a066379d6b265717ed1 2024-04-10 01:28:55 INFO Executing "bash /var/jenkins/workspace/distribution-build-opensearch-dashboards@2/scripts/default/opensearch-dashboards/build.sh -v 2.14.0 -p linux -a x64 -s false -o builds" in /tmp/tmpgl478uwl/observabilityDashboards +++ realpath /var/jenkins/workspace/distribution-build-opensearch-dashboards@2/scripts/default/opensearch-dashboards/build.sh ++ dirname /var/jenkins/workspace/distribution-build-opensearch-dashboards@2/scripts/default/opensearch-dashboards/build.sh + SCRIPT_DIR=/var/jenkins/workspace/distribution-build-opensearch-dashboards@2/scripts/default/opensearch-dashboards + . /var/jenkins/workspace/distribution-build-opensearch-dashboards@2/scripts/default/opensearch-dashboards/../../../lib/shell/file_management.sh ++ set -m ++ TRAP_SIG_LIST='TERM INT EXIT CHLD' ++ TRAP_SIG_LIST_NO_SIGCHLD='TERM INT EXIT' ++ basename /tmp/tmpgl478uwl/observabilityDashboards + PLUGIN_NAME=observabilityDashboards ++ realpath ../OpenSearch-Dashboards/plugins/observabilityDashboards + PLUGIN_PATH=/tmp/tmpgl478uwl/OpenSearch-Dashboards/plugins/observabilityDashboards + trap cleanup_all TERM INT EXIT + getopts :h:v:q:s:o:p:a: arg + case $arg in + VERSION=2.14.0 + getopts :h:v:q:s:o:p:a: arg + case $arg in + PLATFORM=linux + getopts :h:v:q:s:o:p:a: arg + case $arg in + ARCHITECTURE=x64 + getopts :h:v:q:s:o:p:a: arg + case $arg in + SNAPSHOT=false + getopts :h:v:q:s:o:p:a: arg + case $arg in + OUTPUT=builds + getopts :h:v:q:s:o:p:a: arg + '[' -z 2.14.0 ']' + '[' -z builds ']' + '[' '!' -z '' ']' + NVM_CMD='source /home/ci-runner/.nvm/nvm.sh && nvm use' + '[' linux = windows ']' ++ jq -r .scripts.plugin_helpers package.json + HELPER_CMD=null + '[' null '!=' null ']' + HELPER_STRING=plugin-helpers + mkdir -p builds/plugins + cp -r ../observabilityDashboards/ ../OpenSearch-Dashboards/plugins + echo 'BUILD MODULES FOR observabilityDashboards' BUILD MODULES FOR observabilityDashboards ++ pwd + CURR_DIR=/tmp/tmpgl478uwl/observabilityDashboards + cd ../OpenSearch-Dashboards + eval source /home/ci-runner/.nvm/nvm.sh '&&' nvm use ++ source /home/ci-runner/.nvm/nvm.sh +++ NVM_SCRIPT_SOURCE=../OpenSearch-Dashboards +++ '[' -z '' ']' +++ export NVM_CD_FLAGS= +++ NVM_CD_FLAGS= +++ nvm_is_zsh +++ '[' -n '' ']' +++ '[' -z /home/ci-runner/.nvm ']' +++ case $NVM_DIR in +++ unset NVM_SCRIPT_SOURCE +++ nvm_process_parameters -v 2.14.0 -p linux -a x64 -s false -o builds +++ local NVM_AUTO_MODE +++ NVM_AUTO_MODE=use +++ '[' 10 -ne 0 ']' +++ case "$1" in +++ shift +++ '[' 9 -ne 0 ']' +++ case "$1" in +++ shift +++ '[' 8 -ne 0 ']' +++ case "$1" in +++ shift +++ '[' 7 -ne 0 ']' +++ case "$1" in +++ shift +++ '[' 6 -ne 0 ']' +++ case "$1" in +++ shift +++ '[' 5 -ne 0 ']' +++ case "$1" in +++ shift +++ '[' 4 -ne 0 ']' +++ case "$1" in +++ shift +++ '[' 3 -ne 0 ']' +++ case "$1" in +++ shift +++ '[' 2 -ne 0 ']' +++ case "$1" in +++ shift +++ '[' 1 -ne 0 ']' +++ case "$1" in +++ shift +++ '[' 0 -ne 0 ']' +++ nvm_auto use +++ local NVM_MODE +++ NVM_MODE=use +++ local VERSION +++ local NVM_CURRENT +++ '[' _use = _install ']' +++ '[' _use = _use ']' ++++ nvm_ls_current ++++ local NVM_LS_CURRENT_NODE_PATH +++++ command which node ++++ NVM_LS_CURRENT_NODE_PATH=/home/ci-runner/.nvm/versions/node/v10.24.1/bin/node +++++ nvm_version_dir iojs +++++ local NVM_WHICH_DIR +++++ NVM_WHICH_DIR=iojs +++++ '[' -z iojs ']' +++++ '[' iojs = new ']' +++++ '[' _iojs = _iojs ']' +++++ nvm_echo /home/ci-runner/.nvm/versions/io.js +++++ command printf '%s\n' /home/ci-runner/.nvm/versions/io.js ++++ nvm_tree_contains_path /home/ci-runner/.nvm/versions/io.js /home/ci-runner/.nvm/versions/node/v10.24.1/bin/node ++++ local tree ++++ tree=/home/ci-runner/.nvm/versions/io.js ++++ local node_path ++++ node_path=/home/ci-runner/.nvm/versions/node/v10.24.1/bin/node ++++ '[' @/home/ci-runner/.nvm/versions/io.js@ = @@ ']' ++++ '[' @/home/ci-runner/.nvm/versions/node/v10.24.1/bin/node@ = @@ ']' ++++ local pathdir +++++ dirname /home/ci-runner/.nvm/versions/node/v10.24.1/bin/node ++++ pathdir=/home/ci-runner/.nvm/versions/node/v10.24.1/bin ++++ '[' /home/ci-runner/.nvm/versions/node/v10.24.1/bin '!=' '' ']' ++++ '[' /home/ci-runner/.nvm/versions/node/v10.24.1/bin '!=' . ']' ++++ '[' /home/ci-runner/.nvm/versions/node/v10.24.1/bin '!=' / ']' ++++ '[' /home/ci-runner/.nvm/versions/node/v10.24.1/bin '!=' /home/ci-runner/.nvm/versions/io.js ']' +++++ dirname /home/ci-runner/.nvm/versions/node/v10.24.1/bin ++++ pathdir=/home/ci-runner/.nvm/versions/node/v10.24.1 ++++ '[' /home/ci-runner/.nvm/versions/node/v10.24.1 '!=' '' ']' ++++ '[' /home/ci-runner/.nvm/versions/node/v10.24.1 '!=' . ']' ++++ '[' /home/ci-runner/.nvm/versions/node/v10.24.1 '!=' / ']' ++++ '[' /home/ci-runner/.nvm/versions/node/v10.24.1 '!=' /home/ci-runner/.nvm/versions/io.js ']' +++++ dirname /home/ci-runner/.nvm/versions/node/v10.24.1 ++++ pathdir=/home/ci-runner/.nvm/versions/node ++++ '[' /home/ci-runner/.nvm/versions/node '!=' '' ']' ++++ '[' /home/ci-runner/.nvm/versions/node '!=' . ']' ++++ '[' /home/ci-runner/.nvm/versions/node '!=' / ']' ++++ '[' /home/ci-runner/.nvm/versions/node '!=' /home/ci-runner/.nvm/versions/io.js ']' +++++ dirname /home/ci-runner/.nvm/versions/node ++++ pathdir=/home/ci-runner/.nvm/versions ++++ '[' /home/ci-runner/.nvm/versions '!=' '' ']' ++++ '[' /home/ci-runner/.nvm/versions '!=' . ']' ++++ '[' /home/ci-runner/.nvm/versions '!=' / ']' ++++ '[' /home/ci-runner/.nvm/versions '!=' /home/ci-runner/.nvm/versions/io.js ']' +++++ dirname /home/ci-runner/.nvm/versions ++++ pathdir=/home/ci-runner/.nvm ++++ '[' /home/ci-runner/.nvm '!=' '' ']' ++++ '[' /home/ci-runner/.nvm '!=' . ']' ++++ '[' /home/ci-runner/.nvm '!=' / ']' ++++ '[' /home/ci-runner/.nvm '!=' /home/ci-runner/.nvm/versions/io.js ']' +++++ dirname /home/ci-runner/.nvm ++++ pathdir=/home/ci-runner ++++ '[' /home/ci-runner '!=' '' ']' ++++ '[' /home/ci-runner '!=' . ']' ++++ '[' /home/ci-runner '!=' / ']' ++++ '[' /home/ci-runner '!=' /home/ci-runner/.nvm/versions/io.js ']' +++++ dirname /home/ci-runner ++++ pathdir=/home ++++ '[' /home '!=' '' ']' ++++ '[' /home '!=' . ']' ++++ '[' /home '!=' / ']' ++++ '[' /home '!=' /home/ci-runner/.nvm/versions/io.js ']' +++++ dirname /home ++++ pathdir=/ ++++ '[' / '!=' '' ']' ++++ '[' / '!=' . ']' ++++ '[' / '!=' / ']' ++++ '[' / = /home/ci-runner/.nvm/versions/io.js ']' ++++ nvm_tree_contains_path /home/ci-runner/.nvm /home/ci-runner/.nvm/versions/node/v10.24.1/bin/node ++++ local tree ++++ tree=/home/ci-runner/.nvm ++++ local node_path ++++ node_path=/home/ci-runner/.nvm/versions/node/v10.24.1/bin/node ++++ '[' @/home/ci-runner/.nvm@ = @@ ']' ++++ '[' @/home/ci-runner/.nvm/versions/node/v10.24.1/bin/node@ = @@ ']' ++++ local pathdir +++++ dirname /home/ci-runner/.nvm/versions/node/v10.24.1/bin/node ++++ pathdir=/home/ci-runner/.nvm/versions/node/v10.24.1/bin ++++ '[' /home/ci-runner/.nvm/versions/node/v10.24.1/bin '!=' '' ']' ++++ '[' /home/ci-runner/.nvm/versions/node/v10.24.1/bin '!=' . ']' ++++ '[' /home/ci-runner/.nvm/versions/node/v10.24.1/bin '!=' / ']' ++++ '[' /home/ci-runner/.nvm/versions/node/v10.24.1/bin '!=' /home/ci-runner/.nvm ']' +++++ dirname /home/ci-runner/.nvm/versions/node/v10.24.1/bin ++++ pathdir=/home/ci-runner/.nvm/versions/node/v10.24.1 ++++ '[' /home/ci-runner/.nvm/versions/node/v10.24.1 '!=' '' ']' ++++ '[' /home/ci-runner/.nvm/versions/node/v10.24.1 '!=' . ']' ++++ '[' /home/ci-runner/.nvm/versions/node/v10.24.1 '!=' / ']' ++++ '[' /home/ci-runner/.nvm/versions/node/v10.24.1 '!=' /home/ci-runner/.nvm ']' +++++ dirname /home/ci-runner/.nvm/versions/node/v10.24.1 ++++ pathdir=/home/ci-runner/.nvm/versions/node ++++ '[' /home/ci-runner/.nvm/versions/node '!=' '' ']' ++++ '[' /home/ci-runner/.nvm/versions/node '!=' . ']' ++++ '[' /home/ci-runner/.nvm/versions/node '!=' / ']' ++++ '[' /home/ci-runner/.nvm/versions/node '!=' /home/ci-runner/.nvm ']' +++++ dirname /home/ci-runner/.nvm/versions/node ++++ pathdir=/home/ci-runner/.nvm/versions ++++ '[' /home/ci-runner/.nvm/versions '!=' '' ']' ++++ '[' /home/ci-runner/.nvm/versions '!=' . ']' ++++ '[' /home/ci-runner/.nvm/versions '!=' / ']' ++++ '[' /home/ci-runner/.nvm/versions '!=' /home/ci-runner/.nvm ']' +++++ dirname /home/ci-runner/.nvm/versions ++++ pathdir=/home/ci-runner/.nvm ++++ '[' /home/ci-runner/.nvm '!=' '' ']' ++++ '[' /home/ci-runner/.nvm '!=' . ']' ++++ '[' /home/ci-runner/.nvm '!=' / ']' ++++ '[' /home/ci-runner/.nvm '!=' /home/ci-runner/.nvm ']' ++++ '[' /home/ci-runner/.nvm = /home/ci-runner/.nvm ']' ++++ local VERSION +++++ node --version ++++ VERSION=v10.24.1 ++++ '[' v10.24.1 = v0.6.21-pre ']' ++++ nvm_echo v10.24.1 ++++ command printf '%s\n' v10.24.1 +++ NVM_CURRENT=v10.24.1 +++ '[' _v10.24.1 = _none ']' +++ '[' _v10.24.1 = _system ']' +++ nvm use --silent v10.24.1 +++ '[' 3 -lt 1 ']' +++ local DEFAULT_IFS ++++ nvm_echo t ++++ command printf '%s\n' t ++++ command tr t '\t' ++++ tr t '\t' +++ DEFAULT_IFS=' ' +++ '[' hmxB '!=' ehmxB ']' +++ set +e +++ local EXIT_CODE +++ IFS=' ' +++ nvm use --silent v10.24.1 +++ '[' 3 -lt 1 ']' +++ local DEFAULT_IFS ++++ nvm_echo t ++++ command printf '%s\n' t ++++ command tr t '\t' ++++ tr t '\t' +++ DEFAULT_IFS=' ' +++ '[' hmxB '!=' hmxB ']' +++ '[' ' ' '!=' ' ' ']' +++ local i +++ for i in "$@" +++ case $i in +++ for i in "$@" +++ case $i in +++ for i in "$@" +++ case $i in +++ local COMMAND +++ COMMAND=use +++ shift +++ local VERSION +++ local ADDITIONAL_PARAMETERS +++ case $COMMAND in +++ local PROVIDED_VERSION +++ local NVM_SILENT +++ local NVM_SILENT_ARG +++ local NVM_DELETE_PREFIX +++ NVM_DELETE_PREFIX=0 +++ local NVM_LTS +++ '[' 2 -ne 0 ']' +++ case "$1" in +++ NVM_SILENT=1 +++ NVM_SILENT_ARG=--silent +++ shift +++ '[' 1 -ne 0 ']' +++ case "$1" in +++ '[' -n v10.24.1 ']' +++ PROVIDED_VERSION=v10.24.1 +++ shift +++ '[' 0 -ne 0 ']' +++ '[' -n '' ']' +++ '[' -z v10.24.1 ']' ++++ nvm_match_version v10.24.1 ++++ local NVM_IOJS_PREFIX +++++ nvm_iojs_prefix +++++ nvm_echo iojs +++++ command printf '%s\n' iojs ++++ NVM_IOJS_PREFIX=iojs ++++ local PROVIDED_VERSION ++++ PROVIDED_VERSION=v10.24.1 ++++ case "_${PROVIDED_VERSION}" in ++++ nvm_version v10.24.1 ++++ local PATTERN ++++ PATTERN=v10.24.1 ++++ local VERSION ++++ '[' -z v10.24.1 ']' ++++ '[' v10.24.1 = current ']' ++++ local NVM_NODE_PREFIX +++++ nvm_node_prefix +++++ nvm_echo node +++++ command printf '%s\n' node ++++ NVM_NODE_PREFIX=node ++++ case "_${PATTERN}" in +++++ nvm_ls v10.24.1 +++++ command tail -1 +++++ local PATTERN +++++ PATTERN=v10.24.1 +++++ local VERSIONS +++++ VERSIONS= +++++ tail -1 +++++ '[' v10.24.1 = current ']' +++++ local NVM_IOJS_PREFIX ++++++ nvm_iojs_prefix ++++++ nvm_echo iojs ++++++ command printf '%s\n' iojs +++++ NVM_IOJS_PREFIX=iojs +++++ local NVM_NODE_PREFIX ++++++ nvm_node_prefix ++++++ nvm_echo node ++++++ command printf '%s\n' node +++++ NVM_NODE_PREFIX=node +++++ local NVM_VERSION_DIR_IOJS ++++++ nvm_version_dir iojs ++++++ local NVM_WHICH_DIR ++++++ NVM_WHICH_DIR=iojs ++++++ '[' -z iojs ']' ++++++ '[' iojs = new ']' ++++++ '[' _iojs = _iojs ']' ++++++ nvm_echo /home/ci-runner/.nvm/versions/io.js ++++++ command printf '%s\n' /home/ci-runner/.nvm/versions/io.js +++++ NVM_VERSION_DIR_IOJS=/home/ci-runner/.nvm/versions/io.js +++++ local NVM_VERSION_DIR_NEW ++++++ nvm_version_dir new ++++++ local NVM_WHICH_DIR ++++++ NVM_WHICH_DIR=new ++++++ '[' -z new ']' ++++++ '[' new = new ']' ++++++ nvm_echo /home/ci-runner/.nvm/versions/node ++++++ command printf '%s\n' /home/ci-runner/.nvm/versions/node +++++ NVM_VERSION_DIR_NEW=/home/ci-runner/.nvm/versions/node +++++ local NVM_VERSION_DIR_OLD ++++++ nvm_version_dir old ++++++ local NVM_WHICH_DIR ++++++ NVM_WHICH_DIR=old ++++++ '[' -z old ']' ++++++ '[' old = new ']' ++++++ '[' _old = _iojs ']' ++++++ '[' _old = _old ']' ++++++ nvm_echo /home/ci-runner/.nvm ++++++ command printf '%s\n' /home/ci-runner/.nvm +++++ NVM_VERSION_DIR_OLD=/home/ci-runner/.nvm +++++ case "${PATTERN}" in +++++ nvm_resolve_local_alias v10.24.1 +++++ '[' -z v10.24.1 ']' +++++ local VERSION +++++ local EXIT_CODE ++++++ nvm_resolve_alias v10.24.1 ++++++ '[' -z v10.24.1 ']' ++++++ local PATTERN ++++++ PATTERN=v10.24.1 ++++++ local ALIAS ++++++ ALIAS=v10.24.1 ++++++ local ALIAS_TEMP ++++++ local SEEN_ALIASES ++++++ SEEN_ALIASES=v10.24.1 ++++++ true +++++++ nvm_alias v10.24.1 +++++++ nvm_echo +++++++ command printf '%s\n' '' ++++++ ALIAS_TEMP= ++++++ '[' -z '' ']' ++++++ break ++++++ '[' -n v10.24.1 ']' ++++++ '[' _v10.24.1 '!=' _v10.24.1 ']' ++++++ nvm_validate_implicit_alias v10.24.1 ++++++ return 2 +++++ VERSION= +++++ EXIT_CODE=2 +++++ '[' -z '' ']' +++++ return 2 ++++++ nvm_ensure_version_prefix v10.24.1 ++++++ local NVM_VERSION +++++++ nvm_strip_iojs_prefix v10.24.1 +++++++ local NVM_IOJS_PREFIX +++++++ command sed -e 's/^\([0-9]\)/v\1/g' +++++++ sed -e 's/^\([0-9]\)/v\1/g' ++++++++ nvm_iojs_prefix ++++++++ nvm_echo iojs ++++++++ command printf '%s\n' iojs +++++++ NVM_IOJS_PREFIX=iojs +++++++ '[' v10.24.1 = iojs ']' +++++++ nvm_echo v10.24.1 +++++++ command printf '%s\n' v10.24.1 ++++++ NVM_VERSION=v10.24.1 ++++++ nvm_is_iojs_version v10.24.1 ++++++ case "${1-}" in ++++++ return 1 ++++++ nvm_echo v10.24.1 ++++++ command printf '%s\n' v10.24.1 +++++ PATTERN=v10.24.1 +++++ '[' v10.24.1 = N/A ']' +++++ local NVM_PATTERN_STARTS_WITH_V +++++ case $PATTERN in +++++ NVM_PATTERN_STARTS_WITH_V=true +++++ '[' true = true ']' ++++++ nvm_num_version_groups v10.24.1 ++++++ local VERSION ++++++ VERSION=v10.24.1 ++++++ VERSION=10.24.1 ++++++ VERSION=10.24.1 ++++++ '[' -z 10.24.1 ']' ++++++ local NVM_NUM_DOTS +++++++ nvm_echo 10.24.1 +++++++ command printf '%s\n' 10.24.1 +++++++ command sed -e 's/[^\.]//g' +++++++ sed -e 's/[^\.]//g' ++++++ NVM_NUM_DOTS=.. ++++++ local NVM_NUM_GROUPS ++++++ NVM_NUM_GROUPS=... ++++++ nvm_echo 3 ++++++ command printf '%s\n' 3 +++++ '[' _3 = _3 ']' +++++ nvm_is_version_installed v10.24.1 +++++ '[' -n v10.24.1 ']' ++++++ nvm_version_path v10.24.1 +++++ '[' -x /home/ci-runner/.nvm/versions/node/v10.24.1/bin/node ']' +++++ VERSIONS=v10.24.1 +++++ '[' '' = true ']' +++++ '[' -z v10.24.1 ']' +++++ nvm_echo v10.24.1 +++++ command printf '%s\n' v10.24.1 ++++ VERSION=v10.24.1 ++++ '[' -z v10.24.1 ']' ++++ '[' _v10.24.1 = _N/A ']' ++++ nvm_echo v10.24.1 ++++ command printf '%s\n' v10.24.1 +++ VERSION=v10.24.1 +++ '[' -z v10.24.1 ']' +++ '[' _v10.24.1 = _system ']' +++ '[' _v10.24.1 = _β ']' +++ '[' v10.24.1 = N/A ']' +++ nvm_ensure_version_installed v10.24.1 +++ local PROVIDED_VERSION +++ PROVIDED_VERSION=v10.24.1 +++ '[' v10.24.1 = system ']' +++ local LOCAL_VERSION +++ local EXIT_CODE ++++ nvm_version v10.24.1 ++++ local PATTERN ++++ PATTERN=v10.24.1 ++++ local VERSION ++++ '[' -z v10.24.1 ']' ++++ '[' v10.24.1 = current ']' ++++ local NVM_NODE_PREFIX +++++ nvm_node_prefix +++++ nvm_echo node +++++ command printf '%s\n' node ++++ NVM_NODE_PREFIX=node ++++ case "_${PATTERN}" in +++++ nvm_ls v10.24.1 +++++ command tail -1 +++++ local PATTERN +++++ PATTERN=v10.24.1 +++++ local VERSIONS +++++ tail -1 +++++ VERSIONS= +++++ '[' v10.24.1 = current ']' +++++ local NVM_IOJS_PREFIX ++++++ nvm_iojs_prefix ++++++ nvm_echo iojs ++++++ command printf '%s\n' iojs +++++ NVM_IOJS_PREFIX=iojs +++++ local NVM_NODE_PREFIX ++++++ nvm_node_prefix ++++++ nvm_echo node ++++++ command printf '%s\n' node +++++ NVM_NODE_PREFIX=node +++++ local NVM_VERSION_DIR_IOJS ++++++ nvm_version_dir iojs ++++++ local NVM_WHICH_DIR ++++++ NVM_WHICH_DIR=iojs ++++++ '[' -z iojs ']' ++++++ '[' iojs = new ']' ++++++ '[' _iojs = _iojs ']' ++++++ nvm_echo /home/ci-runner/.nvm/versions/io.js ++++++ command printf '%s\n' /home/ci-runner/.nvm/versions/io.js +++++ NVM_VERSION_DIR_IOJS=/home/ci-runner/.nvm/versions/io.js +++++ local NVM_VERSION_DIR_NEW ++++++ nvm_version_dir new ++++++ local NVM_WHICH_DIR ++++++ NVM_WHICH_DIR=new ++++++ '[' -z new ']' ++++++ '[' new = new ']' ++++++ nvm_echo /home/ci-runner/.nvm/versions/node ++++++ command printf '%s\n' /home/ci-runner/.nvm/versions/node +++++ NVM_VERSION_DIR_NEW=/home/ci-runner/.nvm/versions/node +++++ local NVM_VERSION_DIR_OLD ++++++ nvm_version_dir old ++++++ local NVM_WHICH_DIR ++++++ NVM_WHICH_DIR=old ++++++ '[' -z old ']' ++++++ '[' old = new ']' ++++++ '[' _old = _iojs ']' ++++++ '[' _old = _old ']' ++++++ nvm_echo /home/ci-runner/.nvm ++++++ command printf '%s\n' /home/ci-runner/.nvm +++++ NVM_VERSION_DIR_OLD=/home/ci-runner/.nvm +++++ case "${PATTERN}" in +++++ nvm_resolve_local_alias v10.24.1 +++++ '[' -z v10.24.1 ']' +++++ local VERSION +++++ local EXIT_CODE ++++++ nvm_resolve_alias v10.24.1 ++++++ '[' -z v10.24.1 ']' ++++++ local PATTERN ++++++ PATTERN=v10.24.1 ++++++ local ALIAS ++++++ ALIAS=v10.24.1 ++++++ local ALIAS_TEMP ++++++ local SEEN_ALIASES ++++++ SEEN_ALIASES=v10.24.1 ++++++ true +++++++ nvm_alias v10.24.1 +++++++ nvm_echo +++++++ command printf '%s\n' '' ++++++ ALIAS_TEMP= ++++++ '[' -z '' ']' ++++++ break ++++++ '[' -n v10.24.1 ']' ++++++ '[' _v10.24.1 '!=' _v10.24.1 ']' ++++++ nvm_validate_implicit_alias v10.24.1 ++++++ return 2 +++++ VERSION= +++++ EXIT_CODE=2 +++++ '[' -z '' ']' +++++ return 2 ++++++ nvm_ensure_version_prefix v10.24.1 ++++++ local NVM_VERSION +++++++ nvm_strip_iojs_prefix v10.24.1 +++++++ local NVM_IOJS_PREFIX +++++++ command sed -e 's/^\([0-9]\)/v\1/g' +++++++ sed -e 's/^\([0-9]\)/v\1/g' ++++++++ nvm_iojs_prefix ++++++++ nvm_echo iojs ++++++++ command printf '%s\n' iojs +++++++ NVM_IOJS_PREFIX=iojs +++++++ '[' v10.24.1 = iojs ']' +++++++ nvm_echo v10.24.1 +++++++ command printf '%s\n' v10.24.1 ++++++ NVM_VERSION=v10.24.1 ++++++ nvm_is_iojs_version v10.24.1 ++++++ case "${1-}" in ++++++ return 1 ++++++ nvm_echo v10.24.1 ++++++ command printf '%s\n' v10.24.1 +++++ PATTERN=v10.24.1 +++++ '[' v10.24.1 = N/A ']' +++++ local NVM_PATTERN_STARTS_WITH_V +++++ case $PATTERN in +++++ NVM_PATTERN_STARTS_WITH_V=true +++++ '[' true = true ']' ++++++ nvm_num_version_groups v10.24.1 ++++++ local VERSION ++++++ VERSION=v10.24.1 ++++++ VERSION=10.24.1 ++++++ VERSION=10.24.1 ++++++ '[' -z 10.24.1 ']' ++++++ local NVM_NUM_DOTS +++++++ nvm_echo 10.24.1 +++++++ command printf '%s\n' 10.24.1 +++++++ command sed -e 's/[^\.]//g' +++++++ sed -e 's/[^\.]//g' ++++++ NVM_NUM_DOTS=.. ++++++ local NVM_NUM_GROUPS ++++++ NVM_NUM_GROUPS=... ++++++ nvm_echo 3 ++++++ command printf '%s\n' 3 +++++ '[' _3 = _3 ']' +++++ nvm_is_version_installed v10.24.1 +++++ '[' -n v10.24.1 ']' ++++++ nvm_version_path v10.24.1 +++++ '[' -x /home/ci-runner/.nvm/versions/node/v10.24.1/bin/node ']' +++++ VERSIONS=v10.24.1 +++++ '[' '' = true ']' +++++ '[' -z v10.24.1 ']' +++++ nvm_echo v10.24.1 +++++ command printf '%s\n' v10.24.1 ++++ VERSION=v10.24.1 ++++ '[' -z v10.24.1 ']' ++++ '[' _v10.24.1 = _N/A ']' ++++ nvm_echo v10.24.1 ++++ command printf '%s\n' v10.24.1 +++ LOCAL_VERSION=v10.24.1 +++ EXIT_CODE=0 +++ local NVM_VERSION_DIR +++ '[' 0 '!=' 0 ']' +++ nvm_is_version_installed v10.24.1 +++ '[' -n v10.24.1 ']' ++++ nvm_version_path v10.24.1 +++ '[' -x /home/ci-runner/.nvm/versions/node/v10.24.1/bin/node ']' +++ local NVM_VERSION_DIR ++++ nvm_version_path v10.24.1 ++++ local VERSION ++++ VERSION=v10.24.1 ++++ '[' -z v10.24.1 ']' ++++ nvm_is_iojs_version v10.24.1 ++++ case "${1-}" in ++++ return 1 ++++ nvm_version_greater 0.12.0 v10.24.1 ++++ command awk 'BEGIN { if (ARGV[1] == "" || ARGV[2] == "") exit(1) split(ARGV[1], a, /\./); split(ARGV[2], b, /\./); for (i=1; i<=3; i++) { if (a[i] && a[i] !~ /^[0-9]+$/) exit(2); if (b[i] && b[i] !~ /^[0-9]+$/) { exit(0); } if (a[i] < b[i]) exit(3); else if (a[i] > b[i]) exit(0); } exit(4) }' 0.12.0 10.24.1 ++++ awk 'BEGIN { if (ARGV[1] == "" || ARGV[2] == "") exit(1) split(ARGV[1], a, /\./); split(ARGV[2], b, /\./); for (i=1; i<=3; i++) { if (a[i] && a[i] !~ /^[0-9]+$/) exit(2); if (b[i] && b[i] !~ /^[0-9]+$/) { exit(0); } if (a[i] < b[i]) exit(3); else if (a[i] > b[i]) exit(0); } exit(4) }' 0.12.0 10.24.1 +++++ nvm_version_dir new +++++ local NVM_WHICH_DIR +++++ NVM_WHICH_DIR=new +++++ '[' -z new ']' +++++ '[' new = new ']' +++++ nvm_echo /home/ci-runner/.nvm/versions/node +++++ command printf '%s\n' /home/ci-runner/.nvm/versions/node ++++ nvm_echo /home/ci-runner/.nvm/versions/node/v10.24.1 ++++ command printf '%s\n' /home/ci-runner/.nvm/versions/node/v10.24.1 +++ NVM_VERSION_DIR=/home/ci-runner/.nvm/versions/node/v10.24.1 ++++ nvm_change_path /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /bin /home/ci-runner/.nvm/versions/node/v10.24.1 ++++ '[' -z /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ']' ++++ nvm_echo /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ++++ command printf '%s\n' /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ++++ nvm_grep -q '/home/ci-runner/.nvm/[^/]*/bin' ++++ GREP_OPTIONS= ++++ command grep -q '/home/ci-runner/.nvm/[^/]*/bin' ++++ grep -q '/home/ci-runner/.nvm/[^/]*/bin' ++++ nvm_grep -q '/home/ci-runner/.nvm/versions/[^/]*/[^/]*/bin' ++++ nvm_echo /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ++++ GREP_OPTIONS= ++++ command grep -q '/home/ci-runner/.nvm/versions/[^/]*/[^/]*/bin' ++++ grep -q '/home/ci-runner/.nvm/versions/[^/]*/[^/]*/bin' ++++ command printf '%s\n' /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ++++ nvm_grep -Eq '(^|:)(/usr(/local)?)?/bin:.*/home/ci-runner/.nvm/[^/]*/bin' ++++ nvm_echo /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ++++ GREP_OPTIONS= ++++ command grep -Eq '(^|:)(/usr(/local)?)?/bin:.*/home/ci-runner/.nvm/[^/]*/bin' ++++ command printf '%s\n' /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ++++ grep -Eq '(^|:)(/usr(/local)?)?/bin:.*/home/ci-runner/.nvm/[^/]*/bin' ++++ nvm_grep -Eq '(^|:)(/usr(/local)?)?/bin:.*/home/ci-runner/.nvm/versions/[^/]*/[^/]*/bin' ++++ nvm_echo /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ++++ GREP_OPTIONS= ++++ command grep -Eq '(^|:)(/usr(/local)?)?/bin:.*/home/ci-runner/.nvm/versions/[^/]*/[^/]*/bin' ++++ grep -Eq '(^|:)(/usr(/local)?)?/bin:.*/home/ci-runner/.nvm/versions/[^/]*/[^/]*/bin' ++++ command printf '%s\n' /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ++++ nvm_echo /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ++++ command sed -e 's#/home/ci-runner/.nvm/[^/]*/bin[^:]*#/home/ci-runner/.nvm/versions/node/v10.24.1/bin#' -e 's#/home/ci-runner/.nvm/versions/[^/]*/[^/]*/bin[^:]*#/home/ci-runner/.nvm/versions/node/v10.24.1/bin#' ++++ sed -e 's#/home/ci-runner/.nvm/[^/]*/bin[^:]*#/home/ci-runner/.nvm/versions/node/v10.24.1/bin#' -e 's#/home/ci-runner/.nvm/versions/[^/]*/[^/]*/bin[^:]*#/home/ci-runner/.nvm/versions/node/v10.24.1/bin#' ++++ command printf '%s\n' /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +++ PATH=/home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +++ nvm_has manpath +++ type manpath +++ export PATH +++ hash -r +++ export NVM_BIN=/home/ci-runner/.nvm/versions/node/v10.24.1/bin +++ NVM_BIN=/home/ci-runner/.nvm/versions/node/v10.24.1/bin +++ export NVM_INC=/home/ci-runner/.nvm/versions/node/v10.24.1/include/node +++ NVM_INC=/home/ci-runner/.nvm/versions/node/v10.24.1/include/node +++ '[' '' = true ']' +++ local NVM_USE_OUTPUT +++ NVM_USE_OUTPUT= +++ '[' 1 -ne 1 ']' +++ '[' _v10.24.1 '!=' _system ']' +++ local NVM_USE_CMD +++ NVM_USE_CMD='nvm use --delete-prefix' +++ '[' -n v10.24.1 ']' +++ NVM_USE_CMD='nvm use --delete-prefix v10.24.1' +++ '[' 1 -eq 1 ']' +++ NVM_USE_CMD='nvm use --delete-prefix v10.24.1 --silent' +++ nvm_die_on_prefix 0 'nvm use --delete-prefix v10.24.1 --silent' /home/ci-runner/.nvm/versions/node/v10.24.1 +++ local NVM_DELETE_PREFIX +++ NVM_DELETE_PREFIX=0 +++ case "${NVM_DELETE_PREFIX}" in +++ local NVM_COMMAND +++ NVM_COMMAND='nvm use --delete-prefix v10.24.1 --silent' +++ local NVM_VERSION_DIR +++ NVM_VERSION_DIR=/home/ci-runner/.nvm/versions/node/v10.24.1 +++ '[' -z 'nvm use --delete-prefix v10.24.1 --silent' ']' +++ '[' -z /home/ci-runner/.nvm/versions/node/v10.24.1 ']' +++ '[' -n '' ']' +++ local NVM_NPM_CONFIG_PREFIX_ENV ++++ command env ++++ env ++++ nvm_grep -i NPM_CONFIG_PREFIX ++++ GREP_OPTIONS= ++++ command grep -i NPM_CONFIG_PREFIX ++++ grep -i NPM_CONFIG_PREFIX ++++ command tail -1 ++++ tail -1 ++++ command awk -F = '{print $1}' ++++ awk -F = '{print $1}' +++ NVM_NPM_CONFIG_PREFIX_ENV= +++ '[' -n '' ']' +++ local NVM_NPM_BUILTIN_NPMRC +++ NVM_NPM_BUILTIN_NPMRC=/home/ci-runner/.nvm/versions/node/v10.24.1/lib/node_modules/npm/npmrc +++ nvm_npmrc_bad_news_bears /home/ci-runner/.nvm/versions/node/v10.24.1/lib/node_modules/npm/npmrc +++ local NVM_NPMRC +++ NVM_NPMRC=/home/ci-runner/.nvm/versions/node/v10.24.1/lib/node_modules/npm/npmrc +++ '[' -n /home/ci-runner/.nvm/versions/node/v10.24.1/lib/node_modules/npm/npmrc ']' +++ '[' -f /home/ci-runner/.nvm/versions/node/v10.24.1/lib/node_modules/npm/npmrc ']' +++ return 1 +++ local NVM_NPM_GLOBAL_NPMRC +++ NVM_NPM_GLOBAL_NPMRC=/home/ci-runner/.nvm/versions/node/v10.24.1/etc/npmrc +++ nvm_npmrc_bad_news_bears /home/ci-runner/.nvm/versions/node/v10.24.1/etc/npmrc +++ local NVM_NPMRC +++ NVM_NPMRC=/home/ci-runner/.nvm/versions/node/v10.24.1/etc/npmrc +++ '[' -n /home/ci-runner/.nvm/versions/node/v10.24.1/etc/npmrc ']' +++ '[' -f /home/ci-runner/.nvm/versions/node/v10.24.1/etc/npmrc ']' +++ return 1 +++ local NVM_NPM_USER_NPMRC +++ NVM_NPM_USER_NPMRC=/home/ci-runner/.npmrc +++ nvm_npmrc_bad_news_bears /home/ci-runner/.npmrc +++ local NVM_NPMRC +++ NVM_NPMRC=/home/ci-runner/.npmrc +++ '[' -n /home/ci-runner/.npmrc ']' +++ '[' -f /home/ci-runner/.npmrc ']' +++ return 1 +++ local NVM_NPM_PROJECT_NPMRC ++++ nvm_find_project_dir ++++ local path_ ++++ path_=/tmp/tmpgl478uwl/OpenSearch-Dashboards ++++ '[' /tmp/tmpgl478uwl/OpenSearch-Dashboards '!=' '' ']' ++++ '[' '!' -f /tmp/tmpgl478uwl/OpenSearch-Dashboards/package.json ']' ++++ nvm_echo /tmp/tmpgl478uwl/OpenSearch-Dashboards ++++ command printf '%s\n' /tmp/tmpgl478uwl/OpenSearch-Dashboards +++ NVM_NPM_PROJECT_NPMRC=/tmp/tmpgl478uwl/OpenSearch-Dashboards/.npmrc +++ nvm_npmrc_bad_news_bears /tmp/tmpgl478uwl/OpenSearch-Dashboards/.npmrc +++ local NVM_NPMRC +++ NVM_NPMRC=/tmp/tmpgl478uwl/OpenSearch-Dashboards/.npmrc +++ '[' -n /tmp/tmpgl478uwl/OpenSearch-Dashboards/.npmrc ']' +++ '[' -f /tmp/tmpgl478uwl/OpenSearch-Dashboards/.npmrc ']' +++ return 1 +++ '[' -n '' ']' +++ EXIT_CODE=0 +++ set -e +++ return 0 ++ nvm use ++ '[' 1 -lt 1 ']' ++ local DEFAULT_IFS +++ nvm_echo t +++ command printf '%s\n' t +++ command tr t '\t' +++ tr t '\t' ++ DEFAULT_IFS=' ' ++ '[' hmxB '!=' ehmxB ']' ++ set +e ++ local EXIT_CODE ++ IFS=' ' ++ nvm use ++ '[' 1 -lt 1 ']' ++ local DEFAULT_IFS +++ nvm_echo t +++ command printf '%s\n' t +++ command tr t '\t' +++ tr t '\t' ++ DEFAULT_IFS=' ' ++ '[' hmxB '!=' hmxB ']' ++ '[' ' ' '!=' ' ' ']' ++ local i ++ for i in "$@" ++ case $i in ++ local COMMAND ++ COMMAND=use ++ shift ++ local VERSION ++ local ADDITIONAL_PARAMETERS ++ case $COMMAND in ++ local PROVIDED_VERSION ++ local NVM_SILENT ++ local NVM_SILENT_ARG ++ local NVM_DELETE_PREFIX ++ NVM_DELETE_PREFIX=0 ++ local NVM_LTS ++ '[' 0 -ne 0 ']' ++ '[' -n '' ']' ++ '[' -z '' ']' ++ NVM_SILENT=0 ++ nvm_rc_version ++ export NVM_RC_VERSION= ++ NVM_RC_VERSION= ++ local NVMRC_PATH +++ nvm_find_nvmrc +++ local dir ++++ nvm_find_up .nvmrc ++++ local path_ ++++ path_=/tmp/tmpgl478uwl/OpenSearch-Dashboards ++++ '[' /tmp/tmpgl478uwl/OpenSearch-Dashboards '!=' '' ']' ++++ '[' '!' -f /tmp/tmpgl478uwl/OpenSearch-Dashboards/.nvmrc ']' ++++ nvm_echo /tmp/tmpgl478uwl/OpenSearch-Dashboards ++++ command printf '%s\n' /tmp/tmpgl478uwl/OpenSearch-Dashboards +++ dir=/tmp/tmpgl478uwl/OpenSearch-Dashboards +++ '[' -e /tmp/tmpgl478uwl/OpenSearch-Dashboards/.nvmrc ']' +++ nvm_echo /tmp/tmpgl478uwl/OpenSearch-Dashboards/.nvmrc +++ command printf '%s\n' /tmp/tmpgl478uwl/OpenSearch-Dashboards/.nvmrc ++ NVMRC_PATH=/tmp/tmpgl478uwl/OpenSearch-Dashboards/.nvmrc ++ '[' '!' -e /tmp/tmpgl478uwl/OpenSearch-Dashboards/.nvmrc ']' +++ command head -n 1 /tmp/tmpgl478uwl/OpenSearch-Dashboards/.nvmrc +++ head -n 1 /tmp/tmpgl478uwl/OpenSearch-Dashboards/.nvmrc +++ command tr -d '\r' +++ tr -d '\r' ++ NVM_RC_VERSION=18.19.0 ++ '[' -z 18.19.0 ']' ++ '[' 0 -ne 1 ']' ++ nvm_echo 'Found '\''/tmp/tmpgl478uwl/OpenSearch-Dashboards/.nvmrc'\'' with version <18.19.0>' ++ command printf '%s\n' 'Found '\''/tmp/tmpgl478uwl/OpenSearch-Dashboards/.nvmrc'\'' with version <18.19.0>' Found '/tmp/tmpgl478uwl/OpenSearch-Dashboards/.nvmrc' with version <18.19.0> ++ '[' -n 18.19.0 ']' ++ PROVIDED_VERSION=18.19.0 +++ nvm_version 18.19.0 +++ local PATTERN +++ PATTERN=18.19.0 +++ local VERSION +++ '[' -z 18.19.0 ']' +++ '[' 18.19.0 = current ']' +++ local NVM_NODE_PREFIX ++++ nvm_node_prefix ++++ nvm_echo node ++++ command printf '%s\n' node +++ NVM_NODE_PREFIX=node +++ case "_${PATTERN}" in ++++ nvm_ls 18.19.0 ++++ command tail -1 ++++ local PATTERN ++++ tail -1 ++++ PATTERN=18.19.0 ++++ local VERSIONS ++++ VERSIONS= ++++ '[' 18.19.0 = current ']' ++++ local NVM_IOJS_PREFIX +++++ nvm_iojs_prefix +++++ nvm_echo iojs +++++ command printf '%s\n' iojs ++++ NVM_IOJS_PREFIX=iojs ++++ local NVM_NODE_PREFIX +++++ nvm_node_prefix +++++ nvm_echo node +++++ command printf '%s\n' node ++++ NVM_NODE_PREFIX=node ++++ local NVM_VERSION_DIR_IOJS +++++ nvm_version_dir iojs +++++ local NVM_WHICH_DIR +++++ NVM_WHICH_DIR=iojs +++++ '[' -z iojs ']' +++++ '[' iojs = new ']' +++++ '[' _iojs = _iojs ']' +++++ nvm_echo /home/ci-runner/.nvm/versions/io.js +++++ command printf '%s\n' /home/ci-runner/.nvm/versions/io.js ++++ NVM_VERSION_DIR_IOJS=/home/ci-runner/.nvm/versions/io.js ++++ local NVM_VERSION_DIR_NEW +++++ nvm_version_dir new +++++ local NVM_WHICH_DIR +++++ NVM_WHICH_DIR=new +++++ '[' -z new ']' +++++ '[' new = new ']' +++++ nvm_echo /home/ci-runner/.nvm/versions/node +++++ command printf '%s\n' /home/ci-runner/.nvm/versions/node ++++ NVM_VERSION_DIR_NEW=/home/ci-runner/.nvm/versions/node ++++ local NVM_VERSION_DIR_OLD +++++ nvm_version_dir old +++++ local NVM_WHICH_DIR +++++ NVM_WHICH_DIR=old +++++ '[' -z old ']' +++++ '[' old = new ']' +++++ '[' _old = _iojs ']' +++++ '[' _old = _old ']' +++++ nvm_echo /home/ci-runner/.nvm +++++ command printf '%s\n' /home/ci-runner/.nvm ++++ NVM_VERSION_DIR_OLD=/home/ci-runner/.nvm ++++ case "${PATTERN}" in ++++ nvm_resolve_local_alias 18.19.0 ++++ '[' -z 18.19.0 ']' ++++ local VERSION ++++ local EXIT_CODE +++++ nvm_resolve_alias 18.19.0 +++++ '[' -z 18.19.0 ']' +++++ local PATTERN +++++ PATTERN=18.19.0 +++++ local ALIAS +++++ ALIAS=18.19.0 +++++ local ALIAS_TEMP +++++ local SEEN_ALIASES +++++ SEEN_ALIASES=18.19.0 +++++ true ++++++ nvm_alias 18.19.0 ++++++ nvm_echo ++++++ command printf '%s\n' '' +++++ ALIAS_TEMP= +++++ '[' -z '' ']' +++++ break +++++ '[' -n 18.19.0 ']' +++++ '[' _18.19.0 '!=' _18.19.0 ']' +++++ nvm_validate_implicit_alias 18.19.0 +++++ return 2 ++++ VERSION= ++++ EXIT_CODE=2 ++++ '[' -z '' ']' ++++ return 2 +++++ nvm_ensure_version_prefix 18.19.0 +++++ local NVM_VERSION ++++++ nvm_strip_iojs_prefix 18.19.0 ++++++ local NVM_IOJS_PREFIX ++++++ command sed -e 's/^\([0-9]\)/v\1/g' ++++++ sed -e 's/^\([0-9]\)/v\1/g' +++++++ nvm_iojs_prefix +++++++ nvm_echo iojs +++++++ command printf '%s\n' iojs ++++++ NVM_IOJS_PREFIX=iojs ++++++ '[' 18.19.0 = iojs ']' ++++++ nvm_echo 18.19.0 ++++++ command printf '%s\n' 18.19.0 +++++ NVM_VERSION=v18.19.0 +++++ nvm_is_iojs_version 18.19.0 +++++ case "${1-}" in +++++ return 1 +++++ nvm_echo v18.19.0 +++++ command printf '%s\n' v18.19.0 ++++ PATTERN=v18.19.0 ++++ '[' v18.19.0 = N/A ']' ++++ local NVM_PATTERN_STARTS_WITH_V ++++ case $PATTERN in ++++ NVM_PATTERN_STARTS_WITH_V=true ++++ '[' true = true ']' +++++ nvm_num_version_groups v18.19.0 +++++ local VERSION +++++ VERSION=v18.19.0 +++++ VERSION=18.19.0 +++++ VERSION=18.19.0 +++++ '[' -z 18.19.0 ']' +++++ local NVM_NUM_DOTS ++++++ nvm_echo 18.19.0 ++++++ command printf '%s\n' 18.19.0 ++++++ command sed -e 's/[^\.]//g' ++++++ sed -e 's/[^\.]//g' +++++ NVM_NUM_DOTS=.. +++++ local NVM_NUM_GROUPS +++++ NVM_NUM_GROUPS=... +++++ nvm_echo 3 +++++ command printf '%s\n' 3 ++++ '[' _3 = _3 ']' ++++ nvm_is_version_installed v18.19.0 ++++ '[' -n v18.19.0 ']' +++++ nvm_version_path v18.19.0 ++++ '[' -x /home/ci-runner/.nvm/versions/node/v18.19.0/bin/node ']' ++++ VERSIONS=v18.19.0 ++++ '[' '' = true ']' ++++ '[' -z v18.19.0 ']' ++++ nvm_echo v18.19.0 ++++ command printf '%s\n' v18.19.0 +++ VERSION=v18.19.0 +++ '[' -z v18.19.0 ']' +++ '[' _v18.19.0 = _N/A ']' +++ nvm_echo v18.19.0 +++ command printf '%s\n' v18.19.0 ++ VERSION=v18.19.0 ++ unset NVM_RC_VERSION ++ '[' -z v18.19.0 ']' ++ '[' -z v18.19.0 ']' ++ '[' _v18.19.0 = _system ']' ++ '[' _v18.19.0 = _β ']' ++ '[' v18.19.0 = N/A ']' ++ nvm_ensure_version_installed v18.19.0 ++ local PROVIDED_VERSION ++ PROVIDED_VERSION=v18.19.0 ++ '[' v18.19.0 = system ']' ++ local LOCAL_VERSION ++ local EXIT_CODE +++ nvm_version v18.19.0 +++ local PATTERN +++ PATTERN=v18.19.0 +++ local VERSION +++ '[' -z v18.19.0 ']' +++ '[' v18.19.0 = current ']' +++ local NVM_NODE_PREFIX ++++ nvm_node_prefix ++++ nvm_echo node ++++ command printf '%s\n' node +++ NVM_NODE_PREFIX=node +++ case "_${PATTERN}" in ++++ nvm_ls v18.19.0 ++++ command tail -1 ++++ local PATTERN ++++ tail -1 ++++ PATTERN=v18.19.0 ++++ local VERSIONS ++++ VERSIONS= ++++ '[' v18.19.0 = current ']' ++++ local NVM_IOJS_PREFIX +++++ nvm_iojs_prefix +++++ nvm_echo iojs +++++ command printf '%s\n' iojs ++++ NVM_IOJS_PREFIX=iojs ++++ local NVM_NODE_PREFIX +++++ nvm_node_prefix +++++ nvm_echo node +++++ command printf '%s\n' node ++++ NVM_NODE_PREFIX=node ++++ local NVM_VERSION_DIR_IOJS +++++ nvm_version_dir iojs +++++ local NVM_WHICH_DIR +++++ NVM_WHICH_DIR=iojs +++++ '[' -z iojs ']' +++++ '[' iojs = new ']' +++++ '[' _iojs = _iojs ']' +++++ nvm_echo /home/ci-runner/.nvm/versions/io.js +++++ command printf '%s\n' /home/ci-runner/.nvm/versions/io.js ++++ NVM_VERSION_DIR_IOJS=/home/ci-runner/.nvm/versions/io.js ++++ local NVM_VERSION_DIR_NEW +++++ nvm_version_dir new +++++ local NVM_WHICH_DIR +++++ NVM_WHICH_DIR=new +++++ '[' -z new ']' +++++ '[' new = new ']' +++++ nvm_echo /home/ci-runner/.nvm/versions/node +++++ command printf '%s\n' /home/ci-runner/.nvm/versions/node ++++ NVM_VERSION_DIR_NEW=/home/ci-runner/.nvm/versions/node ++++ local NVM_VERSION_DIR_OLD +++++ nvm_version_dir old +++++ local NVM_WHICH_DIR +++++ NVM_WHICH_DIR=old +++++ '[' -z old ']' +++++ '[' old = new ']' +++++ '[' _old = _iojs ']' +++++ '[' _old = _old ']' +++++ nvm_echo /home/ci-runner/.nvm +++++ command printf '%s\n' /home/ci-runner/.nvm ++++ NVM_VERSION_DIR_OLD=/home/ci-runner/.nvm ++++ case "${PATTERN}" in ++++ nvm_resolve_local_alias v18.19.0 ++++ '[' -z v18.19.0 ']' ++++ local VERSION ++++ local EXIT_CODE +++++ nvm_resolve_alias v18.19.0 +++++ '[' -z v18.19.0 ']' +++++ local PATTERN +++++ PATTERN=v18.19.0 +++++ local ALIAS +++++ ALIAS=v18.19.0 +++++ local ALIAS_TEMP +++++ local SEEN_ALIASES +++++ SEEN_ALIASES=v18.19.0 +++++ true ++++++ nvm_alias v18.19.0 ++++++ nvm_echo ++++++ command printf '%s\n' '' +++++ ALIAS_TEMP= +++++ '[' -z '' ']' +++++ break +++++ '[' -n v18.19.0 ']' +++++ '[' _v18.19.0 '!=' _v18.19.0 ']' +++++ nvm_validate_implicit_alias v18.19.0 +++++ return 2 ++++ VERSION= ++++ EXIT_CODE=2 ++++ '[' -z '' ']' ++++ return 2 +++++ nvm_ensure_version_prefix v18.19.0 +++++ local NVM_VERSION ++++++ nvm_strip_iojs_prefix v18.19.0 ++++++ local NVM_IOJS_PREFIX ++++++ command sed -e 's/^\([0-9]\)/v\1/g' ++++++ sed -e 's/^\([0-9]\)/v\1/g' +++++++ nvm_iojs_prefix +++++++ nvm_echo iojs +++++++ command printf '%s\n' iojs ++++++ NVM_IOJS_PREFIX=iojs ++++++ '[' v18.19.0 = iojs ']' ++++++ nvm_echo v18.19.0 ++++++ command printf '%s\n' v18.19.0 +++++ NVM_VERSION=v18.19.0 +++++ nvm_is_iojs_version v18.19.0 +++++ case "${1-}" in +++++ return 1 +++++ nvm_echo v18.19.0 +++++ command printf '%s\n' v18.19.0 ++++ PATTERN=v18.19.0 ++++ '[' v18.19.0 = N/A ']' ++++ local NVM_PATTERN_STARTS_WITH_V ++++ case $PATTERN in ++++ NVM_PATTERN_STARTS_WITH_V=true ++++ '[' true = true ']' +++++ nvm_num_version_groups v18.19.0 +++++ local VERSION +++++ VERSION=v18.19.0 +++++ VERSION=18.19.0 +++++ VERSION=18.19.0 +++++ '[' -z 18.19.0 ']' +++++ local NVM_NUM_DOTS ++++++ nvm_echo 18.19.0 ++++++ command printf '%s\n' 18.19.0 ++++++ command sed -e 's/[^\.]//g' ++++++ sed -e 's/[^\.]//g' +++++ NVM_NUM_DOTS=.. +++++ local NVM_NUM_GROUPS +++++ NVM_NUM_GROUPS=... +++++ nvm_echo 3 +++++ command printf '%s\n' 3 ++++ '[' _3 = _3 ']' ++++ nvm_is_version_installed v18.19.0 ++++ '[' -n v18.19.0 ']' +++++ nvm_version_path v18.19.0 ++++ '[' -x /home/ci-runner/.nvm/versions/node/v18.19.0/bin/node ']' ++++ VERSIONS=v18.19.0 ++++ '[' '' = true ']' ++++ '[' -z v18.19.0 ']' ++++ nvm_echo v18.19.0 ++++ command printf '%s\n' v18.19.0 +++ VERSION=v18.19.0 +++ '[' -z v18.19.0 ']' +++ '[' _v18.19.0 = _N/A ']' +++ nvm_echo v18.19.0 +++ command printf '%s\n' v18.19.0 ++ LOCAL_VERSION=v18.19.0 ++ EXIT_CODE=0 ++ local NVM_VERSION_DIR ++ '[' 0 '!=' 0 ']' ++ nvm_is_version_installed v18.19.0 ++ '[' -n v18.19.0 ']' +++ nvm_version_path v18.19.0 ++ '[' -x /home/ci-runner/.nvm/versions/node/v18.19.0/bin/node ']' ++ local NVM_VERSION_DIR +++ nvm_version_path v18.19.0 +++ local VERSION +++ VERSION=v18.19.0 +++ '[' -z v18.19.0 ']' +++ nvm_is_iojs_version v18.19.0 +++ case "${1-}" in +++ return 1 +++ nvm_version_greater 0.12.0 v18.19.0 +++ command awk 'BEGIN { if (ARGV[1] == "" || ARGV[2] == "") exit(1) split(ARGV[1], a, /\./); split(ARGV[2], b, /\./); for (i=1; i<=3; i++) { if (a[i] && a[i] !~ /^[0-9]+$/) exit(2); if (b[i] && b[i] !~ /^[0-9]+$/) { exit(0); } if (a[i] < b[i]) exit(3); else if (a[i] > b[i]) exit(0); } exit(4) }' 0.12.0 18.19.0 +++ awk 'BEGIN { if (ARGV[1] == "" || ARGV[2] == "") exit(1) split(ARGV[1], a, /\./); split(ARGV[2], b, /\./); for (i=1; i<=3; i++) { if (a[i] && a[i] !~ /^[0-9]+$/) exit(2); if (b[i] && b[i] !~ /^[0-9]+$/) { exit(0); } if (a[i] < b[i]) exit(3); else if (a[i] > b[i]) exit(0); } exit(4) }' 0.12.0 18.19.0 ++++ nvm_version_dir new ++++ local NVM_WHICH_DIR ++++ NVM_WHICH_DIR=new ++++ '[' -z new ']' ++++ '[' new = new ']' ++++ nvm_echo /home/ci-runner/.nvm/versions/node ++++ command printf '%s\n' /home/ci-runner/.nvm/versions/node +++ nvm_echo /home/ci-runner/.nvm/versions/node/v18.19.0 +++ command printf '%s\n' /home/ci-runner/.nvm/versions/node/v18.19.0 ++ NVM_VERSION_DIR=/home/ci-runner/.nvm/versions/node/v18.19.0 +++ nvm_change_path /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /bin /home/ci-runner/.nvm/versions/node/v18.19.0 +++ '[' -z /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ']' +++ nvm_echo /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +++ command printf '%s\n' /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +++ nvm_grep -q '/home/ci-runner/.nvm/[^/]*/bin' +++ GREP_OPTIONS= +++ command grep -q '/home/ci-runner/.nvm/[^/]*/bin' +++ grep -q '/home/ci-runner/.nvm/[^/]*/bin' +++ nvm_grep -q '/home/ci-runner/.nvm/versions/[^/]*/[^/]*/bin' +++ nvm_echo /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +++ GREP_OPTIONS= +++ command grep -q '/home/ci-runner/.nvm/versions/[^/]*/[^/]*/bin' +++ command printf '%s\n' /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +++ grep -q '/home/ci-runner/.nvm/versions/[^/]*/[^/]*/bin' +++ nvm_grep -Eq '(^|:)(/usr(/local)?)?/bin:.*/home/ci-runner/.nvm/[^/]*/bin' +++ nvm_echo /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +++ GREP_OPTIONS= +++ command grep -Eq '(^|:)(/usr(/local)?)?/bin:.*/home/ci-runner/.nvm/[^/]*/bin' +++ grep -Eq '(^|:)(/usr(/local)?)?/bin:.*/home/ci-runner/.nvm/[^/]*/bin' +++ command printf '%s\n' /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +++ nvm_grep -Eq '(^|:)(/usr(/local)?)?/bin:.*/home/ci-runner/.nvm/versions/[^/]*/[^/]*/bin' +++ nvm_echo /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +++ GREP_OPTIONS= +++ command grep -Eq '(^|:)(/usr(/local)?)?/bin:.*/home/ci-runner/.nvm/versions/[^/]*/[^/]*/bin' +++ grep -Eq '(^|:)(/usr(/local)?)?/bin:.*/home/ci-runner/.nvm/versions/[^/]*/[^/]*/bin' +++ command printf '%s\n' /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +++ nvm_echo /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +++ command sed -e 's#/home/ci-runner/.nvm/[^/]*/bin[^:]*#/home/ci-runner/.nvm/versions/node/v18.19.0/bin#' -e 's#/home/ci-runner/.nvm/versions/[^/]*/[^/]*/bin[^:]*#/home/ci-runner/.nvm/versions/node/v18.19.0/bin#' +++ sed -e 's#/home/ci-runner/.nvm/[^/]*/bin[^:]*#/home/ci-runner/.nvm/versions/node/v18.19.0/bin#' -e 's#/home/ci-runner/.nvm/versions/[^/]*/[^/]*/bin[^:]*#/home/ci-runner/.nvm/versions/node/v18.19.0/bin#' +++ command printf '%s\n' /home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v10.24.1/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ++ PATH=/home/ci-runner/.local/share/virtualenvs/distribution-build-opensearch-dashboards_2-dmuUZYhU/bin:/home/ci-runner/.nvm/versions/node/v18.19.0/bin:/home/ci-runner/.gem/gems/fpm-1.14.2/bin:/usr/local/rvm/rubies/ruby-2.6.0/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ++ nvm_has manpath ++ type manpath ++ export PATH ++ hash -r ++ export NVM_BIN=/home/ci-runner/.nvm/versions/node/v18.19.0/bin ++ NVM_BIN=/home/ci-runner/.nvm/versions/node/v18.19.0/bin ++ export NVM_INC=/home/ci-runner/.nvm/versions/node/v18.19.0/include/node ++ NVM_INC=/home/ci-runner/.nvm/versions/node/v18.19.0/include/node ++ '[' '' = true ']' ++ local NVM_USE_OUTPUT ++ NVM_USE_OUTPUT= ++ '[' 0 -ne 1 ']' ++ nvm_is_iojs_version v18.19.0 ++ case "${1-}" in ++ return 1 +++ nvm_print_npm_version +++ nvm_has npm +++ type npm ++++ npm --version +++ command printf ' (npm v10.2.3)' +++ printf ' (npm v10.2.3)' ++ NVM_USE_OUTPUT='Now using node v18.19.0 (npm v10.2.3)' ++ '[' _v18.19.0 '!=' _system ']' ++ local NVM_USE_CMD ++ NVM_USE_CMD='nvm use --delete-prefix' ++ '[' -n 18.19.0 ']' ++ NVM_USE_CMD='nvm use --delete-prefix v18.19.0' ++ '[' 0 -eq 1 ']' ++ nvm_die_on_prefix 0 'nvm use --delete-prefix v18.19.0' /home/ci-runner/.nvm/versions/node/v18.19.0 ++ local NVM_DELETE_PREFIX ++ NVM_DELETE_PREFIX=0 ++ case "${NVM_DELETE_PREFIX}" in ++ local NVM_COMMAND ++ NVM_COMMAND='nvm use --delete-prefix v18.19.0' ++ local NVM_VERSION_DIR ++ NVM_VERSION_DIR=/home/ci-runner/.nvm/versions/node/v18.19.0 ++ '[' -z 'nvm use --delete-prefix v18.19.0' ']' ++ '[' -z /home/ci-runner/.nvm/versions/node/v18.19.0 ']' ++ '[' -n '' ']' ++ local NVM_NPM_CONFIG_PREFIX_ENV +++ command env +++ env +++ nvm_grep -i NPM_CONFIG_PREFIX +++ GREP_OPTIONS= +++ command grep -i NPM_CONFIG_PREFIX +++ grep -i NPM_CONFIG_PREFIX +++ command tail -1 +++ tail -1 +++ command awk -F = '{print $1}' +++ awk -F = '{print $1}' ++ NVM_NPM_CONFIG_PREFIX_ENV= ++ '[' -n '' ']' ++ local NVM_NPM_BUILTIN_NPMRC ++ NVM_NPM_BUILTIN_NPMRC=/home/ci-runner/.nvm/versions/node/v18.19.0/lib/node_modules/npm/npmrc ++ nvm_npmrc_bad_news_bears /home/ci-runner/.nvm/versions/node/v18.19.0/lib/node_modules/npm/npmrc ++ local NVM_NPMRC ++ NVM_NPMRC=/home/ci-runner/.nvm/versions/node/v18.19.0/lib/node_modules/npm/npmrc ++ '[' -n /home/ci-runner/.nvm/versions/node/v18.19.0/lib/node_modules/npm/npmrc ']' ++ '[' -f /home/ci-runner/.nvm/versions/node/v18.19.0/lib/node_modules/npm/npmrc ']' ++ return 1 ++ local NVM_NPM_GLOBAL_NPMRC ++ NVM_NPM_GLOBAL_NPMRC=/home/ci-runner/.nvm/versions/node/v18.19.0/etc/npmrc ++ nvm_npmrc_bad_news_bears /home/ci-runner/.nvm/versions/node/v18.19.0/etc/npmrc ++ local NVM_NPMRC ++ NVM_NPMRC=/home/ci-runner/.nvm/versions/node/v18.19.0/etc/npmrc ++ '[' -n /home/ci-runner/.nvm/versions/node/v18.19.0/etc/npmrc ']' ++ '[' -f /home/ci-runner/.nvm/versions/node/v18.19.0/etc/npmrc ']' ++ return 1 ++ local NVM_NPM_USER_NPMRC ++ NVM_NPM_USER_NPMRC=/home/ci-runner/.npmrc ++ nvm_npmrc_bad_news_bears /home/ci-runner/.npmrc ++ local NVM_NPMRC ++ NVM_NPMRC=/home/ci-runner/.npmrc ++ '[' -n /home/ci-runner/.npmrc ']' ++ '[' -f /home/ci-runner/.npmrc ']' ++ return 1 ++ local NVM_NPM_PROJECT_NPMRC +++ nvm_find_project_dir +++ local path_ +++ path_=/tmp/tmpgl478uwl/OpenSearch-Dashboards +++ '[' /tmp/tmpgl478uwl/OpenSearch-Dashboards '!=' '' ']' +++ '[' '!' -f /tmp/tmpgl478uwl/OpenSearch-Dashboards/package.json ']' +++ nvm_echo /tmp/tmpgl478uwl/OpenSearch-Dashboards +++ command printf '%s\n' /tmp/tmpgl478uwl/OpenSearch-Dashboards ++ NVM_NPM_PROJECT_NPMRC=/tmp/tmpgl478uwl/OpenSearch-Dashboards/.npmrc ++ nvm_npmrc_bad_news_bears /tmp/tmpgl478uwl/OpenSearch-Dashboards/.npmrc ++ local NVM_NPMRC ++ NVM_NPMRC=/tmp/tmpgl478uwl/OpenSearch-Dashboards/.npmrc ++ '[' -n /tmp/tmpgl478uwl/OpenSearch-Dashboards/.npmrc ']' ++ '[' -f /tmp/tmpgl478uwl/OpenSearch-Dashboards/.npmrc ']' ++ return 1 ++ '[' -n 'Now using node v18.19.0 (npm v10.2.3)' ']' ++ '[' 0 -ne 1 ']' ++ nvm_echo 'Now using node v18.19.0 (npm v10.2.3)' ++ command printf '%s\n' 'Now using node v18.19.0 (npm v10.2.3)' Now using node v18.19.0 (npm v10.2.3) ++ EXIT_CODE=0 ++ set -e ++ return 0 + yarn osd bootstrap yarn run v1.22.21 $ scripts/use_node scripts/osd bootstrap info [opensearch-dashboards] running yarn $ scripts/use_node ./preinstall_check [1/5] Validating package.json... [2/5] Resolving packages... warning Resolution field "typescript@4.0.2" is incompatible with requested version "typescript@~4.5.2" success Already up-to-date. $ scripts/use_node scripts/postinstall Patching node_modules/font-awesome/scss/_variables.scss Patching node_modules/@elastic/charts/dist/theme.scss Patching node_modules/rison-node/js/rison.js Patching node_modules/axios/index.d.ts info [observability-dashboards] running yarn [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... warning " > react-syntax-highlighter@15.5.0" has unmet peer dependency "react@>= 0.14.0". warning "@algolia/autocomplete-core > @algolia/autocomplete-plugin-algolia-insights@1.11.0" has unmet peer dependency "search-insights@>= 1 < 3". warning "@algolia/autocomplete-core > @algolia/autocomplete-shared@1.11.0" has unmet peer dependency "@algolia/client-search@>= 4.9.1 < 6". warning "@algolia/autocomplete-core > @algolia/autocomplete-shared@1.11.0" has unmet peer dependency "algoliasearch@>= 4.9.1 < 6". warning " > @nteract/outputs@3.0.11" has unmet peer dependency "react@^16.3.2". warning " > @nteract/outputs@3.0.11" has unmet peer dependency "styled-components@>= 4". warning "@nteract/outputs > @nteract/markdown@4.6.2" has unmet peer dependency "react@^16.11.0". warning "@nteract/outputs > @nteract/markdown@4.6.2" has unmet peer dependency "react-dom@^16.3.2". warning "@nteract/outputs > @nteract/mathjax@4.0.16" has unmet peer dependency "react@^16.13.0 || ^17.0.0". warning "@nteract/outputs > @nteract/mathjax@4.0.16" has unmet peer dependency "react-dom@^16.13.0 || ^17.0.0". warning "@nteract/outputs > ansi-to-react@6.1.6" has unmet peer dependency "react@^16.3.2 || ^17.0.0". warning "@nteract/outputs > ansi-to-react@6.1.6" has unmet peer dependency "react-dom@^16.3.2 || ^17.0.0". warning "@nteract/outputs > react-json-tree@0.12.1" has unmet peer dependency "react@^16.3.0". warning "@nteract/outputs > react-json-tree@0.12.1" has unmet peer dependency "react-dom@^16.3.0". warning " > @nteract/presentational-components@3.4.12" has unmet peer dependency "react@^16.3.2". warning " > @nteract/presentational-components@3.4.12" has unmet peer dependency "styled-components@>= 5.0.1". warning "@nteract/outputs > @nteract/markdown > react-markdown@4.3.1" has unmet peer dependency "react@^15.0.0 || ^16.0.0". warning "@nteract/outputs > @nteract/markdown > @nteract/presentational-components > @blueprintjs/core@3.54.0" has unmet peer dependency "react@^15.3.0 || 16 || 17". warning "@nteract/outputs > @nteract/markdown > @nteract/presentational-components > @blueprintjs/core@3.54.0" has unmet peer dependency "react-dom@^15.3.0 || 16 || 17". warning "@nteract/outputs > @nteract/markdown > @nteract/presentational-components > @blueprintjs/select@3.19.1" has unmet peer dependency "react@^15.3.0 || 16 || 17". warning "@nteract/outputs > @nteract/markdown > @nteract/presentational-components > @blueprintjs/select@3.19.1" has unmet peer dependency "react-dom@^15.3.0 || 16 || 17". warning "@nteract/outputs > @nteract/markdown > @nteract/presentational-components > re-resizable@6.9.11" has unmet peer dependency "react@^16.13.1 || ^17.0.0 || ^18.0.0". warning "@nteract/outputs > @nteract/markdown > @nteract/presentational-components > re-resizable@6.9.11" has unmet peer dependency "react-dom@^16.13.1 || ^17.0.0 || ^18.0.0". warning "@nteract/outputs > @nteract/markdown > @nteract/presentational-components > react-toggle@4.1.3" has unmet peer dependency "prop-types@>= 15.3.0 < 19". warning "@nteract/outputs > @nteract/markdown > @nteract/presentational-components > react-toggle@4.1.3" has unmet peer dependency "react@>= 15.3.0 < 19". warning "@nteract/outputs > @nteract/markdown > @nteract/presentational-components > react-toggle@4.1.3" has unmet peer dependency "react-dom@>= 15.3.0 < 19". warning "@nteract/outputs > @nteract/markdown > react-markdown > html-to-react@1.6.0" has unmet peer dependency "react@^0.13.0 || ^0.14.0 || >=15". warning "@nteract/outputs > @nteract/markdown > @nteract/presentational-components > @blueprintjs/core > react-popper@1.3.11" has unmet peer dependency "react@0.14.x || ^15.0.0 || ^16.0.0 || ^17.0.0". warning "@nteract/outputs > @nteract/markdown > @nteract/presentational-components > @blueprintjs/core > react-transition-group@2.9.0" has unmet peer dependency "react@>=15.0.0". warning "@nteract/outputs > @nteract/markdown > @nteract/presentational-components > @blueprintjs/core > react-transition-group@2.9.0" has unmet peer dependency "react-dom@>=15.0.0". warning "@nteract/outputs > @nteract/markdown > @nteract/presentational-components > @blueprintjs/core > react-popper > @hypnosphi/create-react-context@0.3.1" has unmet peer dependency "react@>=0.14.0". warning " > ag-grid-react@31.2.0" has unmet peer dependency "react@^16.3.0 || ^17.0.0 || ^18.0.0". warning " > ag-grid-react@31.2.0" has unmet peer dependency "react-dom@^16.3.0 || ^17.0.0 || ^18.0.0". warning " > react-graph-vis@1.0.7" has unmet peer dependency "react@*". warning "react-graph-vis > vis-data@7.1.6" has incorrect peer dependency "uuid@^3.4.0 || ^7.0.0 || ^8.0.0 || ^9.0.0". warning "react-graph-vis > vis-data@7.1.6" has unmet peer dependency "vis-util@^5.0.1". warning "react-graph-vis > vis-network@9.1.6" has unmet peer dependency "@egjs/hammerjs@^2.0.0". warning "react-graph-vis > vis-network@9.1.6" has unmet peer dependency "component-emitter@^1.3.0". warning "react-graph-vis > vis-network@9.1.6" has unmet peer dependency "keycharm@^0.2.0 || ^0.3.0 || ^0.4.0". warning "react-graph-vis > vis-network@9.1.6" has unmet peer dependency "timsort@^0.3.0". warning "react-graph-vis > vis-network@9.1.6" has incorrect peer dependency "uuid@^3.4.0 || ^7.0.0 || ^8.0.0 || ^9.0.0". warning "react-graph-vis > vis-network@9.1.6" has unmet peer dependency "vis-util@^5.0.1". warning " > react-paginate@8.2.0" has unmet peer dependency "react@^16 || ^17 || ^18". warning " > react-plotly.js@2.6.0" has unmet peer dependency "plotly.js@>1.34.0". warning " > react-plotly.js@2.6.0" has unmet peer dependency "react@>0.13.0". warning " > redux-persist@6.0.0" has unmet peer dependency "redux@>4.0.0". warning " > @testing-library/user-event@14.5.1" has unmet peer dependency "@testing-library/dom@>=7.21.4". [4/4] Building fresh packages... $ husky install husky - Git hooks installed succ yarn.lock analysis completed without any issues warn yarn.lock file is out of date, please run `yarn osd bootstrap` to re-enable caching succ 11 bootstrap builds are cached info [@osd/cross-platform] running [osd:bootstrap] script succ [@osd/cross-platform] bootstrap complete info [@osd/config-schema] running [osd:bootstrap] script info [@osd/std] running [osd:bootstrap] build targets succ [@osd/config-schema] bootstrap complete succ [@osd/std] bootstrap complete info [@osd/logging] running [osd:bootstrap] script info [@osd/utils] running [osd:bootstrap] script succ [@osd/utils] bootstrap complete succ [@osd/logging] bootstrap complete info [@osd/apm-config-loader] running [osd:bootstrap] script succ [@osd/apm-config-loader] bootstrap complete info [@osd/ace] running [osd:bootstrap] build targets info [@osd/analytics] running [osd:bootstrap] script info [@osd/config] running [osd:bootstrap] script info [@osd/i18n] running [osd:bootstrap] build targets succ [@osd/config] bootstrap complete info [@osd/monaco] running [osd:bootstrap] script succ [@osd/analytics] bootstrap complete succ [@osd/ace] bootstrap complete succ [@osd/i18n] bootstrap complete succ [@osd/monaco] bootstrap complete info [@osd/interpreter] running [osd:bootstrap] script info [@osd/ui-shared-deps] running [osd:bootstrap] script succ [@osd/interpreter] bootstrap complete succ [@osd/ui-shared-deps] bootstrap complete info [opensearch-dashboards] running [osd:bootstrap] script succ [opensearch-dashboards] bootstrap complete Done in 59.27s. + echo 'BUILD RELEASE ZIP FOR observabilityDashboards' BUILD RELEASE ZIP FOR observabilityDashboards + cd plugins/observabilityDashboards + yarn plugin-helpers build --opensearch-dashboards-version=2.14.0 yarn run v1.22.21 $ node ../../scripts/plugin_helpers build --opensearch-dashboards-version=2.14.0 info deleting the build and target directories info running @osd/optimizer β info initialized, 0 bundles cached β info starting worker [1 bundle] β succ 1 bundles compiled successfully after 108.9 sec info copying assets from `public/assets` to build info copying server source into the build and converting with babel info running yarn to install dependencies info compressing plugin into [observabilityDashboards-2.14.0.zip] info cleaning up compression temporary artifacts Done in 130.10s. + cd /tmp/tmpgl478uwl/observabilityDashboards + echo 'COPY observabilityDashboards.zip' COPY observabilityDashboards.zip + cp -r ../OpenSearch-Dashboards/plugins/observabilityDashboards/build/observabilityDashboards-2.14.0.zip builds/plugins/ + cleanup_all + File_Delete /tmp/tmpgl478uwl/OpenSearch-Dashboards/plugins/observabilityDashboards + FILE_NAME=/tmp/tmpgl478uwl/OpenSearch-Dashboards/plugins/observabilityDashboards + echo Attempt to rm /tmp/tmpgl478uwl/OpenSearch-Dashboards/plugins/observabilityDashboards Attempt to rm /tmp/tmpgl478uwl/OpenSearch-Dashboards/plugins/observabilityDashboards + '[' -z /tmp/tmpgl478uwl/OpenSearch-Dashboards/plugins/observabilityDashboards ']' + echo 'Removing /tmp/tmpgl478uwl/OpenSearch-Dashboards/plugins/observabilityDashboards' Removing /tmp/tmpgl478uwl/OpenSearch-Dashboards/plugins/observabilityDashboards + rm -rf -- /tmp/tmpgl478uwl/OpenSearch-Dashboards/plugins/observabilityDashboards 2024-04-10 01:32:06 INFO Appended observabilityDashboards component in build manifest. 2024-04-10 01:32:06 INFO Recording plugins artifact for observabilityDashboards: plugins/observabilityDashboards-2.14.0.zip (from /tmp/tmpgl478uwl/observabilityDashboards/builds/plugins/observabilityDashboards-2.14.0.zip) 2024-04-10 01:32:06 ERROR Error building observabilityDashboards, retry with: ./build.sh manifests/2.14.0/opensearch-dashboards-2.14.0.yml --component observabilityDashboards ```
cc: @rishabh6788
Error shows:
2024-04-10 22:16:03 WARNING Removing try count: 1/3 for C:\Users\ContainerAdministrator\tmpelsqs4g1\reportsDashboards\.git\objects\pack\pack-b1feb8dcb12ca7ec1e9646fd784c20a54d422b71.rev
Traceback (most recent call last):
File "C:\Users\Administrator\jenkins\workspace\distribution-build-opensearch-dashboards\src\build_workflow\opensearch_dashboards\build_artifact_check_plugin.py", line 36, in check
config.check_value_in("version", self.target.compatible_component_versions)
File "C:\Users\Administrator\jenkins\workspace\distribution-build-opensearch-dashboards\src\system\config_file.py", line 67, in check_value_in
raise ConfigFile.UnexpectedKeyValuesError(key, expected, value)
system.config_file.ConfigFile.UnexpectedKeyValuesError: Expected to have version=any of ['2.14.0.0'], but was '2.13.0.0'.
So our check still runs fine, just continue-on-error omit the error stack trace.
We should find a way to actually print the error logs without raising and fail directly.
Thanks.
Added a fix:
2024-04-11 18:53:10 INFO Appended reportsDashboards component in build manifest.
2024-04-11 18:53:10 INFO Recording plugins artifact for reportsDashboards: plugins/reportsDashboards-2.14.0.zip (from /tmp/tmp_bc3eo_2/reportsDashboards/builds/plugins/reportsDashboards-2.14.0.zip)
2024-04-11 18:53:10 ERROR ERROR: Artifact reportsDashboards-2.14.0.zip is invalid. Expected to have version=any of ['2.14.0.0'], but was '2.13.0.0'.
2024-04-11 18:53:10 ERROR Error building reportsDashboards, retry with: ./build.sh manifests/2.14.0/opensearch-dashboards-2.14.0.yml --component reportsDashboards
[BUG] Plugin Check failed when building all plugins on Jenkins and continue-on-error omit failure logs
Hi,
When enabling continue-on-error and run all the plugin build for OSD on Jenkins for 2.14.0:
In https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/7564/ we can see these plugins failed:
However, directly check in the log with
observabilityDashboards
as example, build is success, but check failed. https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/7564/yarn plugin-helpers build --opensearch-dashboards-version=2.14.0 yarn run v1.22.21 $ node ../../scripts/plugin_helpers build --opensearch-dashboards-version=2.14.0 info deleting the build and target directories info running @osd/optimizer β info initialized, 0 bundles cached β info starting worker [1 bundle] β succ 1 bundles compiled successfully after 108.9 sec info copying assets from
public/assets
to build info copying server source into the build and converting with babel info running yarn to install dependencies info compressing plugin into [observabilityDashboards-2.14.0.zip] info cleaning up compression temporary artifacts Done in 130.10s.cd /tmp/tmpgl478uwl/observabilityDashboards
echo 'COPY observabilityDashboards.zip' COPY observabilityDashboards.zip
cp -r ../OpenSearch-Dashboards/plugins/observabilityDashboards/build/observabilityDashboards-2.14.0.zip builds/plugins/
cleanup_all
File_Delete /tmp/tmpgl478uwl/OpenSearch-Dashboards/plugins/observabilityDashboards
FILE_NAME=/tmp/tmpgl478uwl/OpenSearch-Dashboards/plugins/observabilityDashboards
echo Attempt to rm /tmp/tmpgl478uwl/OpenSearch-Dashboards/plugins/observabilityDashboards Attempt to rm /tmp/tmpgl478uwl/OpenSearch-Dashboards/plugins/observabilityDashboards
'[' -z /tmp/tmpgl478uwl/OpenSearch-Dashboards/plugins/observabilityDashboards ']'
echo 'Removing /tmp/tmpgl478uwl/OpenSearch-Dashboards/plugins/observabilityDashboards' Removing /tmp/tmpgl478uwl/OpenSearch-Dashboards/plugins/observabilityDashboards
rm -rf -- /tmp/tmpgl478uwl/OpenSearch-Dashboards/plugins/observabilityDashboards 2024-04-10 01:32:06 INFO Appended observabilityDashboards component in build manifest. 2024-04-10 01:32:06 INFO Recording plugins artifact for observabilityDashboards: plugins/observabilityDashboards-2.14.0.zip (from /tmp/tmpgl478uwl/observabilityDashboards/builds/plugins/observabilityDashboards-2.14.0.zip) 2024-04-10 01:32:06 ERROR Error building observabilityDashboards, retry with: ./build.sh manifests/2.14.0/opensearch-dashboards-2.14.0.yml --component observabilityDashboards
However, if you build
observabilityDashboards
by itself it goes to success: https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/7566/yarn plugin-helpers build --opensearch-dashboards-version=2.14.0 yarn run v1.22.21 $ node ../../scripts/plugin_helpers build --opensearch-dashboards-version=2.14.0 info deleting the build and target directories info running @osd/optimizer β info initialized, 0 bundles cached β info starting worker [1 bundle] β succ 1 bundles compiled successfully after 81.2 sec info copying assets from
public/assets
to build info copying server source into the build and converting with babel info running yarn to install dependencies info compressing plugin into [observabilityDashboards-2.14.0.zip] info cleaning up compression temporary artifacts Done in 101.86s.cd /tmp/tmpfn5tcu5g/observabilityDashboards
echo 'COPY observabilityDashboards.zip' COPY observabilityDashboards.zip
cp -r ../OpenSearch-Dashboards/plugins/observabilityDashboards/build/observabilityDashboards-2.14.0.zip builds/plugins/
cleanup_all
File_Delete /tmp/tmpfn5tcu5g/OpenSearch-Dashboards/plugins/observabilityDashboards
FILE_NAME=/tmp/tmpfn5tcu5g/OpenSearch-Dashboards/plugins/observabilityDashboards
echo Attempt to rm /tmp/tmpfn5tcu5g/OpenSearch-Dashboards/plugins/observabilityDashboards Attempt to rm /tmp/tmpfn5tcu5g/OpenSearch-Dashboards/plugins/observabilityDashboards
'[' -z /tmp/tmpfn5tcu5g/OpenSearch-Dashboards/plugins/observabilityDashboards ']'
echo 'Removing /tmp/tmpfn5tcu5g/OpenSearch-Dashboards/plugins/observabilityDashboards' Removing /tmp/tmpfn5tcu5g/OpenSearch-Dashboards/plugins/observabilityDashboards
rm -rf -- /tmp/tmpfn5tcu5g/OpenSearch-Dashboards/plugins/observabilityDashboards 2024-04-10 18:55:11 INFO Appended observabilityDashboards component in build manifest. 2024-04-10 18:55:11 INFO Recording plugins artifact for observabilityDashboards: plugins/observabilityDashboards-2.14.0.zip (from /tmp/tmpfn5tcu5g/observabilityDashboards/builds/plugins/observabilityDashboards-2.14.0.zip) 2024-04-10 18:55:11 INFO Checked /tmp/tmpfn5tcu5g/observabilityDashboards/builds/plugins/observabilityDashboards-2.14.0.zip (2.14.0.0) 2024-04-10 18:55:11 INFO Successfully built observabilityDashboards
So I re-trigger everything again with continue-on-error and it failed again, this time is is
reportDashboards
with the same issue: https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/7569/New rebuild without continue-on-error: https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/7570/
Still monitoring, the error code is somewhere within this:
Also, the continue-on-error code is actually omitting the failure stacktrace by ignore the
raise
, suggesting still print out the trace but continue after:Thanks.