Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AUTOCUT] OS Distribution Build Failed for job-scheduler-3.0.0 #249

Closed
opensearch-ci-bot opened this issue Oct 6, 2022 · 8 comments
Closed
Assignees

Comments

@opensearch-ci-bot
Copy link
Collaborator

Received Error: Error building job-scheduler, retry with: ./build.sh manifests/3.0.0/opensearch-3.0.0.yml --component job-scheduler --snapshot.
The distribution build for job-scheduler has failed.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch/6124/consoleFull

@peterzhuamazon
Copy link
Member

Everything success except JS on Windows.
Even success on linux so not sure what happened.

https://build.ci.opensearch.org/blue/organizations/jenkins/distribution-build-opensearch/detail/distribution-build-opensearch/6258/pipeline

Thanks.

@peterzhuamazon
Copy link
Member

Errors:

> Task :integTest


=== Standard output of node `node{::integTest-0}` ===


»    ? errors and warnings from C:\Users\Administrator\AppData\Local\Temp\tmp_bi21mst\job-scheduler\build\testclusters\integTest-0\logs\opensearch.stdout.log ?

» ERROR][o.o.b.OpenSearchUncaughtExceptionHandler] [integTest-0] uncaught exception in thread [main]

»  org.opensearch.bootstrap.StartupException: java.lang.RuntimeException: can not run opensearch as root

»  	at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:184) ~[opensearch-3.0.0.jar:3.0.0]

»  	at org.opensearch.bootstrap.OpenSearch.execute(OpenSearch.java:171) ~[opensearch-3.0.0.jar:3.0.0]

»  	at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:104) ~[opensearch-3.0.0.jar:3.0.0]

»  	at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138) ~[opensearch-cli-3.0.0.jar:3.0.0]

»  	at org.opensearch.cli.Command.main(Command.java:101) ~[opensearch-cli-3.0.0.jar:3.0.0]

»  	at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:137) ~[opensearch-3.0.0.jar:3.0.0]

»  	at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:103) ~[opensearch-3.0.0.jar:3.0.0]

»  Caused by: java.lang.RuntimeException: can not run opensearch as root

»  	at org.opensearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:124) ~[opensearch-3.0.0.jar:3.0.0]

»  	at org.opensearch.bootstrap.Bootstrap.setup(Bootstrap.java:191) ~[opensearch-3.0.0.jar:3.0.0]

»  	at org.opensearch.bootstrap.Bootstrap.init(Bootstrap.java:404) ~[opensearch-3.0.0.jar:3.0.0]

»  	at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:180) ~[opensearch-3.0.0.jar:3.0.0]

»  	... 6 more

»   ? last 40 non error or warning messages from C:\Users\Administrator\AppData\Local\Temp\tmp_bi21mst\job-scheduler\build\testclusters\integTest-0\logs\opensearch.stdout.log ?

» [2022-10-24T21:15:34.967020500Z] [BUILD] Configuring custom cluster specific distro directory: C:\Users\Administrator\AppData\Local\Temp\tmp_bi21mst\job-scheduler\build\testclusters\integTest-0\distro\3.0.0-INTEG_TEST

» [2022-10-24T21:15:35.009020200Z] [BUILD] Copying additional config files from distro [C:\Users\Administrator\AppData\Local\Temp\tmp_bi21mst\job-scheduler\build\testclusters\integTest-0\distro\3.0.0-INTEG_TEST\config\jvm.options, C:\Users\Administrator\AppData\Local\Temp\tmp_bi21mst\job-scheduler\build\testclusters\integTest-0\distro\3.0.0-INTEG_TEST\config\jvm.options.d, C:\Users\Administrator\AppData\Local\Temp\tmp_bi21mst\job-scheduler\build\testclusters\integTest-0\distro\3.0.0-INTEG_TEST\config\log4j2.properties, C:\Users\Administrator\AppData\Local\Temp\tmp_bi21mst\job-scheduler\build\testclusters\integTest-0\distro\3.0.0-INTEG_TEST\config\opensearch.yml]

» [2022-10-24T21:15:35.021023200Z] [BUILD] installing 1 plugins in a single transaction

» [2022-10-24T21:15:44.159162100Z] [BUILD] installed plugins

» [2022-10-24T21:15:44.160165300Z] [BUILD] Creating opensearch keystore with password set to []

» [2022-10-24T21:15:53.020654500Z] [BUILD] Installing 0modules

» [2022-10-24T21:15:53.021639700Z] [BUILD] Starting OpenSearch process

» [2022-10-24T21:16:03.569134600Z] [BUILD] Stopping node


=== Standard error of node `node{::integTest-0}` ===

»   ? last 40 non error or warning messages from C:\Users\Administrator\AppData\Local\Temp\tmp_bi21mst\job-scheduler\build\testclusters\integTest-0\logs\opensearch.stderr.log ?

» "warning: no-jdk distributions that do not bundle a JDK are deprecated and will be removed in a future release" 

»  "warning: no-jdk distributions that do not bundle a JDK are deprecated and will be removed in a future release" 

»  WARNING: A terminally deprecated method in java.lang.System has been called

»  WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.OpenSearch (file:/C:/Users/Administrator/AppData/Local/Temp/tmp_bi21mst/job-scheduler/build/testclusters/integTest-0/distro/3.0.0-INTEG_TEST/lib/opensearch-3.0.0.jar)

»  WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.OpenSearch

»  WARNING: System::setSecurityManager will be removed in a future release

»  uncaught exception in thread [main]

»  java.lang.RuntimeException: can not run opensearch as root

»  	at org.opensearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:124)

»  	at org.opensearch.bootstrap.Bootstrap.setup(Bootstrap.java:191)

»  	at org.opensearch.bootstrap.Bootstrap.init(Bootstrap.java:404)

»  	at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:180)

»  	at org.opensearch.bootstrap.OpenSearch.execute(OpenSearch.java:171)

»  	at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:104)

»  	at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138)

»  	at org.opensearch.cli.Command.main(Command.java:101)

»  	at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:137)

»  	at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:103)

»  For complete error details, refer to the log at C:\Users\Administrator\AppData\Local\Temp\tmp_bi21mst\job-scheduler\build\testclusters\integTest-0\logs\integTest.log


> Task :integTest FAILED


FAILURE: Build failed with an exception.


* Where:

Build file 'C:\Users\Administrator\AppData\Local\Temp\tmp_bi21mst\job-scheduler\build.gradle' line: 185


* What went wrong:

Execution failed for task ':integTest'.

> process was found dead while waiting for ports files, node{::integTest-0}


* Try:

> Run with --scan to get full insights.


* Exception is:

org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':integTest'.

	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:142)

	at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282)

	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:140)

	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:128)

	at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77)

	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:56)

	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:73)

	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)

	at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:69)

	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:327)

	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:314)

	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:307)

	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:293)

	at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:420)

	at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:342)

	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)

	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)

Caused by: org.opensearch.gradle.testclusters.TestClustersException: process was found dead while waiting for ports files, node{::integTest-0}

	at org.opensearch.gradle.testclusters.TestClusterConfiguration.lambda$waitForConditions$0(TestClusterConfiguration.java:148)

	at org.opensearch.gradle.testclusters.TestClusterConfiguration.waitForConditions(TestClusterConfiguration.java:142)

	at org.opensearch.gradle.testclusters.OpenSearchNode.waitForAllConditions(OpenSearchNode.java:1487)

	at org.opensearch.gradle.testclusters.OpenSearchNode.getAllTransportPortURI(OpenSearchNode.java:950)

	at org.opensearch.gradle.testclusters.OpenSearchCluster.lambda$writeUnicastHostsFiles$36(OpenSearchCluster.java:474)

	at org.opensearch.gradle.testclusters.OpenSearchCluster.writeUnicastHostsFiles(OpenSearchCluster.java:474)

	at org.opensearch.gradle.testclusters.OpenSearchCluster.waitForAllConditions(OpenSearchCluster.java:525)

	at org.opensearch.gradle.testclusters.OpenSearchCluster$waitForAllConditions.call(Unknown Source)

	at build_5np9i2dvsdlrx84ug30ldxic2$_run_closure12$_closure32$_closure33.doCall(C:\Users\Administrator\AppData\Local\Temp\tmp_bi21mst\job-scheduler\build.gradle:185)

	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)

	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

	at jdk.proxy2/jdk.proxy2.$Proxy85.accept(Unknown Source)

	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)

	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

	at build_5np9i2dvsdlrx84ug30ldxic2$_run_closure12$_closure32.doCall(C:\Users\Administrator\AppData\Local\Temp\tmp_bi21mst\job-scheduler\build.gradle:184)

	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)

	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

	at org.gradle.api.internal.AbstractTask$ClosureTaskAction.doExecute(AbstractTask.java:744)

	at org.gradle.api.internal.AbstractTask$ClosureTaskAction.lambda$execute$0(AbstractTask.java:731)

	at org.gradle.configuration.internal.DefaultUserCodeApplicationContext$CurrentApplication.reapply(DefaultUserCodeApplicationContext.java:98)

	at org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:731)

	at org.gradle.api.internal.AbstractTask$ClosureTaskAction.execute(AbstractTask.java:706)

	at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:236)

	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:68)

	at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:221)

	at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:204)

	at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:187)

	at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:165)

	at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:89)

	at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:40)

	at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:53)

	at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:50)

	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:73)

	at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:50)

	at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:40)

	at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:68)

	at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:38)

	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:51)

	at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:29)

	at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.executeDelegateBroadcastingChanges(CaptureStateAfterExecutionStep.java:124)

	at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:80)

	at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:58)

	at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:48)

	at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:36)

	at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:181)

	at org.gradle.internal.execution.steps.BuildCacheStep.lambda$execute$1(BuildCacheStep.java:71)

	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:69)

	at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:47)

	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:110)

	at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$2(SkipUpToDateStep.java:56)

	at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:56)

	at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:38)

	at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:73)

	at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:44)

	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:89)

	at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:50)

	at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:114)

	at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:57)

	at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:76)

	at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:50)

	at org.gradle.internal.execution.steps.SkipEmptyWorkStep.executeWithNoEmptySources(SkipEmptyWorkStep.java:254)

	at org.gradle.internal.execution.steps.SkipEmptyWorkStep.executeWithNoEmptySources(SkipEmptyWorkStep.java:209)

	at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:88)

	at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:56)

	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:43)

	at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:31)

	at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:40)

	at org.gradle.api.internal.tasks.execution.TaskExecution$4.withWorkspace(TaskExecution.java:281)

	at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:40)

	at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:30)

	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:44)

	at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:33)

	at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:76)

	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:139)

	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:128)

	at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77)

	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:56)

	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:73)

	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)

	at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:69)

	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:327)

	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:314)

	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:307)

	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:293)

	at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:420)

	at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:342)

	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)

	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)



* Get more help at https://help.gradle.org/


Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.


You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.


See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings


BUILD FAILED in 1m 20s

@saratvemulapalli
Copy link
Member

saratvemulapalli commented Oct 25, 2022

»  Caused by: java.lang.RuntimeException: can not run opensearch as root

»  	at org.opensearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:124) ~[opensearch-3.0.0.jar:3.0.0]

»  	at org.opensearch.bootstrap.Bootstrap.setup(Bootstrap.java:191) ~[opensearch-3.0.0.jar:3.0.0]

»  	at org.opensearch.bootstrap.Bootstrap.init(Bootstrap.java:404) ~[opensearch-3.0.0.jar:3.0.0]

»  	at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:180) ~[opensearch-3.0.0.jar:3.0.0]

»  	... 6 more

@peterzhuamazon looks like you are running as a root user (Admin) user. You should run it with non-admin user and it should work.Windows for OpenSearch saw similar problems[1].

[1] opensearch-project/OpenSearch#1448 (comment)

@peterzhuamazon
Copy link
Member

peterzhuamazon commented Oct 25, 2022

Thanks @saratvemulapalli

Seems like gradle assemble somehow is running integTest which it shouldnt.
This does not seem to be the case last week.
The integTest is trying to start a cluster while on Jenkins we have to use an admin account to connect agents, thus this issue.

I think we can try to use -x integtest to ignore it but not sure why assemble can trigger integTest.

@cliu123
Copy link
Member

cliu123 commented Oct 25, 2022

Build has passed now. Thanks for helping!

@minalsha
Copy link

@peterzhuamazon can we close this issue since the build is passing now?

@peterzhuamazon
Copy link
Member

peterzhuamazon commented Oct 25, 2022

@minalsha Is there a PR fixing for windows JS?
The reason it passed for @cliu123 is because I disabled windows for 3.0 for now.
Will keep it disabled until we have the fix ready and tested on Jenkins.

Thanks.

@peterzhuamazon
Copy link
Member

Resolved after opensearch-project/OpenSearch#4949 merged which removed the restricted setups for windows.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants