Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-106451

yarnInstallModules FAILED due to org.gradle.api.UncheckedIOException

    Details

    • Fix Priority:
      3

      Description

      Occurred on 71 acceptance  CI tester:

      [exec] * What went wrong:
       [exec] Execution failed for task ':yarnInstallModules'.
       [exec] > java.io.IOException: Process '[/opt/dev/projects/github/liferay-portal-7.1.x/build/node/bin/node, /opt/dev/projects/github/liferay-portal-7.1.x/modules/yarn-1.13.0.js, --production, false, --registry, 
       http://mirrors.lax.liferay.com:4873
       , install, --frozen-lockfile]' finished with non-zero exit value 1
       [exec] 
       [exec] * Try:
       [exec] Run with --info or --debug option to get more log output. Run with --scan to get full insights.
       [exec] 
       [exec] * Exception is:
       [exec] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':yarnInstallModules'.
       [exec] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.accept(ExecuteActionsTaskExecuter.java:166)
       [exec] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.accept(ExecuteActionsTaskExecuter.java:163)
       [exec] at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:191)
       [exec] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:156)
       [exec] at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:62)
       [exec] at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:108)
       [exec] at org.gradle.api.internal.tasks.execution.ResolveBeforeExecutionOutputsTaskExecuter.execute(ResolveBeforeExecutionOutputsTaskExecuter.java:67)
       [exec] at org.gradle.api.internal.tasks.execution.ResolveAfterPreviousExecutionStateTaskExecuter.execute(ResolveAfterPreviousExecutionStateTaskExecuter.java:46)
       [exec] at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:94)
       [exec] at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
       [exec] at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:95)
       [exec] at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
       [exec] at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
       [exec] at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
       [exec] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
       [exec] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
       [exec] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
       [exec] at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
       [exec] at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
       [exec] at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
       [exec] at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
       [exec] at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
       [exec] at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
       [exec] at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
       [exec] at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
       [exec] at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:43)
       [exec] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:355)
       [exec] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:343)
       [exec] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:336)
       [exec] at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:322)
       [exec] at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker$1.execute(DefaultPlanExecutor.java:134)
       [exec] at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker$1.execute(DefaultPlanExecutor.java:129)
       [exec] at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:202)
       [exec] at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:193)
       [exec] at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:129)
       [exec] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
       [exec] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
       [exec] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
       [exec] Caused by: org.gradle.api.UncheckedIOException: java.io.IOException: Process '[/opt/dev/projects/github/liferay-portal-7.1.x/build/node/bin/node, /opt/dev/projects/github/liferay-portal-7.1.x/modules/yarn-1.13.0.js, --production, false, --registry, 
       http://mirrors.lax.liferay.com:4873
       , install, --frozen-lockfile]' finished with non-zero exit value 1
       [exec] at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:61)
       [exec] at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:41)
       [exec] at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:106)
       [exec] at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:49)
       [exec] at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:42)
       [exec] at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:28)
       [exec] at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:717)
       [exec] at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:684)
       [exec] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$5.run(ExecuteActionsTaskExecuter.java:476)
       [exec] at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:402)
       [exec] at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:394)
       [exec] at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
       [exec] at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
       [exec] at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
       [exec] at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:92)
       [exec] at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
       [exec] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:461)
       [exec] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:444)
       [exec] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.access$200(ExecuteActionsTaskExecuter.java:93)
       [exec] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.execute(ExecuteActionsTaskExecuter.java:237)
       [exec] at org.gradle.internal.execution.steps.ExecuteStep.lambda$execute$1(ExecuteStep.java:33)
       [exec] at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:33)
       [exec] at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:26)
       [exec] at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:58)
       [exec] at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:35)
       [exec] at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:48)
       [exec] at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:33)
       [exec] at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:39)
       [exec] at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:73)
       [exec] at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:54)
       [exec] at org.gradle.internal.execution.steps.CatchExceptionStep.execute(CatchExceptionStep.java:35)
       [exec] at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:51)
       [exec] at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:45)
       [exec] at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:31)
       [exec] at org.gradle.internal.execution.steps.CacheStep.executeWithoutCache(CacheStep.java:208)
       [exec] at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:70)
       [exec] at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:45)
       [exec] at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:49)
       [exec] at org.gradle.internal.execution.steps.StoreSnapshotsStep.execute(StoreSnapshotsStep.java:43)
       [exec] at org.gradle.internal.execution.steps.StoreSnapshotsStep.execute(StoreSnapshotsStep.java:32)
       [exec] at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:38)
       [exec] at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:24)
       [exec] at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:96)
       [exec] at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$0(SkipUpToDateStep.java:89)
       [exec] at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:54)
       [exec] at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:38)
       [exec] at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:76)
       [exec] at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:37)
       [exec] at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:36)
       [exec] at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:26)
       [exec] at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:90)
       [exec] at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:48)
       [exec] at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:69)
       [exec] at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:47)
       [exec] at org.gradle.internal.execution.impl.DefaultWorkExecutor.execute(DefaultWorkExecutor.java:33)
       [exec] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:140)
       [exec] ... 34 more
       [exec] Caused by: java.io.IOException: Process '[/opt/dev/projects/github/liferay-portal-7.1.x/build/node/bin/node, /opt/dev/projects/github/liferay-portal-7.1.x/modules/yarn-1.13.0.js, --production, false, --registry, 
       http://mirrors.lax.liferay.com:4873
       , install, --frozen-lockfile]' finished with non-zero exit value 1
       [exec] at com.liferay.gradle.plugins.node.internal.NodeExecutor._executeProcessBuilder(NodeExecutor.java:216)
       [exec] at com.liferay.gradle.plugins.node.internal.NodeExecutor.execute(NodeExecutor.java:89)
       [exec] at com.liferay.gradle.plugins.node.tasks.ExecuteNodeTask.executeNode(ExecuteNodeTask.java:77)
       [exec] at com.liferay.gradle.plugins.node.tasks.ExecuteNodeScriptTask.executeNode(ExecuteNodeScriptTask.java:40)
       [exec] at com.liferay.gradle.plugins.node.tasks.ExecutePackageManagerTask.executeNode(ExecutePackageManagerTask.java:90)
       [exec] at com.liferay.gradle.plugins.node.tasks.YarnInstallTask.executeNode(YarnInstallTask.java:39)
       [exec] at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:103)
       [exec] ... 87 more
       [exec] 
       [exec] 
       [exec] * Get more help at 
       https://help.gradle.org
       [exec] 
       [exec] BUILD FAILED in 10m 56s

      Full console log:

      https://test-1-17.liferay.com/job/test-portal-acceptance-pullrequest(7.1.x)/388/consoleFull

        Attachments

          Activity

            People

            • Assignee:
              della.wang Della Wang
              Reporter:
              della.wang Della Wang
              Participants of an Issue:
              Recent user:
              Brian Wulbern
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                32 weeks, 1 day ago

                Packages

                Version Package
                7.1.X