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

Build fails on frontend-taglib-clay on CentOS 7

    Details

    • Fix Priority:
      5

      Description

      The ant all is failing on frontend-taglib-clay npmRunBuild task.

       [exec] > Task :apps:frontend-taglib:frontend-taglib-clay:npmRunBuild FAILED
           [exec] yarn run v1.13.0
           [exec] $ liferay-npm-scripts build
           [exec] Compiling soy
           [exec] events.js:174
           [exec]       throw er; // Unhandled 'error' event
           [exec]       ^
           [exec] 
           [exec] Error: spawn java ENOENT
           [exec]     at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
           [exec]     at onErrorNT (internal/child_process.js:415:16)
           [exec]     at process._tickCallback (internal/process/next_tick.js:63:19)
           [exec] Emitted 'error' event at:
           [exec]     at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
           [exec]     at onErrorNT (internal/child_process.js:415:16)
           [exec]     at process._tickCallback (internal/process/next_tick.js:63:19)
           [exec] /workspace/liferay-portal/modules/node_modules/liferay-npm-scripts/src/utils/spawnSync.js:35
           [exec] 		throw new Error(
           [exec] 		^
           [exec] 
           [exec] Error: Command /workspace/liferay-portal/modules/node_modules/liferay-npm-scripts/node_modules/.bin/metalsoy --soyDeps {/workspace/liferay-portal/modules/node_modules/clay-alert,/workspace/liferay-portal/modules/node_modules/clay-autocomplete,/workspace/liferay-portal/modules/node_modules/clay-badge,/workspace/liferay-portal/modules/node_modules/clay-button,/workspace/liferay-portal/modules/node_modules/clay-card,/workspace/liferay-portal/modules/node_modules/clay-card-grid,/workspace/liferay-portal/modules/node_modules/clay-checkbox,/workspace/liferay-portal/modules/node_modules/clay-collapse,/workspace/liferay-portal/modules/node_modules/clay-component,/workspace/liferay-portal/modules/node_modules/clay-data-provider,/workspace/liferay-portal/modules/node_modules/clay-dataset-display,/workspace/liferay-portal/modules/node_modules/clay-dropdown,/workspace/liferay-portal/modules/node_modules/clay-icon,/workspace/liferay-portal/modules/node_modules/clay-label,/workspace/liferay-portal/modules/node_modules/clay-link,/workspace/liferay-portal/modules/node_modules/clay-list,/workspace/liferay-portal/modules/node_modules/clay-loading-indicator,/workspace/liferay-portal/modules/node_modules/clay-management-toolbar,/workspace/liferay-portal/modules/node_modules/clay-modal,/workspace/liferay-portal/modules/node_modules/clay-multi-select,/workspace/liferay-portal/modules/node_modules/clay-navigation-bar,/workspace/liferay-portal/modules/node_modules/clay-pagination,/workspace/liferay-portal/modules/node_modules/clay-pagination-bar,/workspace/liferay-portal/modules/node_modules/clay-portal,/workspace/liferay-portal/modules/node_modules/clay-progress-bar,/workspace/liferay-portal/modules/node_modules/clay-radio,/workspace/liferay-portal/modules/node_modules/clay-select,/workspace/liferay-portal/modules/node_modules/clay-sticker,/workspace/liferay-portal/modules/node_modules/clay-table,/workspace/liferay-portal/modules/node_modules/clay-tooltip,/workspace/liferay-portal/modules/apps/frontend-js/frontend-js-metal-web,/workspace/liferay-portal/modules/apps/frontend-js/frontend-js-web,/workspace/liferay-portal/modules/apps/frontend-taglib/frontend-taglib,/workspace/liferay-portal/modules/apps/hello-soy/hello-soy-web,/workspace/liferay-portal/modules/node_modules/metal,/workspace/liferay-portal/modules/node_modules/metal-affix,/workspace/liferay-portal/modules/node_modules/metal-ajax,/workspace/liferay-portal/modules/node_modules/metal-anim,/workspace/liferay-portal/modules/node_modules/metal-aop,/workspace/liferay-portal/modules/node_modules/metal-assertions,/workspace/liferay-portal/modules/node_modules/metal-clipboard,/workspace/liferay-portal/modules/node_modules/metal-component,/workspace/liferay-portal/modules/node_modules/metal-debounce,/workspace/liferay-portal/modules/node_modules/metal-dom,/workspace/liferay-portal/modules/node_modules/metal-drag-drop,/workspace/liferay-portal/modules/node_modules/metal-events,/workspace/liferay-portal/modules/node_modules/metal-incremental-dom,/workspace/liferay-portal/modules/node_modules/metal-jsx,/workspace/liferay-portal/modules/node_modules/metal-key,/workspace/liferay-portal/modules/node_modules/metal-keyboard-focus,/workspace/liferay-portal/modules/node_modules/metal-multimap,/workspace/liferay-portal/modules/node_modules/metal-pagination,/workspace/liferay-portal/modules/node_modules/metal-path-parser,/workspace/liferay-portal/modules/node_modules/metal-position,/workspace/liferay-portal/modules/node_modules/metal-promise,/workspace/liferay-portal/modules/node_modules/metal-router,/workspace/liferay-portal/modules/node_modules/metal-scrollspy,/workspace/liferay-portal/modules/node_modules/metal-soy,/workspace/liferay-portal/modules/node_modules/metal-soy-bundle,/workspace/liferay-portal/modules/node_modules/metal-state,/workspace/liferay-portal/modules/node_modules/metal-storage,/workspace/liferay-portal/modules/node_modules/metal-structs,/workspace/liferay-portal/modules/node_modules/metal-throttle,/workspace/liferay-portal/modules/node_modules/metal-toggler,/workspace/liferay-portal/modules/node_modules/metal-uri,/workspace/liferay-portal/modules/node_modules/metal-useragent,/workspace/liferay-portal/modules/node_modules/metal-web-component}/src/**/*.soy --externalMsgFormat Liferay.Language.get('$2') exited with code 1
           [exec]     at module.exports (/workspace/liferay-portal/modules/node_modules/liferay-npm-scripts/src/utils/spawnSync.js:35:9)
           [exec]     at exports.buildSoy (/workspace/liferay-portal/modules/node_modules/liferay-npm-scripts/src/utils/soy.js:27:2)
           [exec]     at module.exports (/workspace/liferay-portal/modules/node_modules/liferay-npm-scripts/src/scripts/build.js:83:3)
           [exec]     at module.exports (/workspace/liferay-portal/modules/node_modules/liferay-npm-scripts/src/index.js:34:30)
           [exec]     at Object.<anonymous> (/workspace/liferay-portal/modules/node_modules/liferay-npm-scripts/bin/liferay-npm-scripts.js:9:24)
           [exec]     at Module._compile (internal/modules/cjs/loader.js:689:30)
           [exec]     at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
           [exec]     at Module.load (internal/modules/cjs/loader.js:599:32)
           [exec]     at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
           [exec]     at Function.Module._load (internal/modules/cjs/loader.js:530:3)
           [exec] error Command failed with exit code 1.
           [exec] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
           [exec] 
           [exec] > Task :apps:adaptive-media:adaptive-media-image-content-transformer-backwards-compatibility:autoUpdateXml SKIPPED
           [exec] > Task :apps:adaptive-media:adaptive-media-image-content-transformer-backwards-compatibility:jar
           [exec] Note: Some input files use or override a deprecated API.
           [exec] Note: Recompile with -Xlint:deprecation for details.
           [exec] Note: Some input files use unchecked or unsafe operations.
           [exec] Note: Recompile with -Xlint:unchecked for details.
           [exec] 
           [exec] > Task :apps:dynamic-data-mapping:dynamic-data-mapping-api:compileJava
      
           [exec] 
           [exec] > Task :core:portal-bootstrap:buildSystemPackagesExtraManifest
           [exec] warning: Export org.aspectj.lang,  has 1,  private references [org.aspectj.runtime.internal], 
           [exec] warning: Export org.springframework.aop.aspectj,  has 1,  private references [org.aspectj.runtime.internal], 
           [exec] warning: Export org.springframework.cache.aspectj,  has 1,  private references [org.aspectj.runtime.internal], 
           [exec] warning: Export org.springframework.cglib.core,  has 1,  private references [org.springframework.cglib.core.internal], 
           [exec] warning: Export org.springframework.mock.staticmock,  has 1,  private references [org.aspectj.runtime.internal], 
           [exec] warning: Export org.springframework.scheduling.aspectj,  has 1,  private references [org.aspectj.runtime.internal], 
           [exec] warning: Export org.springframework.transaction.aspectj,  has 1,  private references [org.aspectj.runtime.internal], 
           [exec] 
           [exec] FAILURE: Build failed with an exception.
           [exec] 
           [exec] * What went wrong:
           [exec] Execution failed for task ':apps:frontend-taglib:frontend-taglib-clay:npmRunBuild'.
           [exec] > java.io.IOException: Process '[/workspace/liferay-portal/build/node/bin/node, /workspace/liferay-portal/modules/yarn-1.13.0.js, --production, false, run, build]' 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 ':apps:frontend-taglib:frontend-taglib-clay:npmRunBuild'.
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
           [exec] 	at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
           [exec] 	at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
           [exec] 	at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
           [exec] 	at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
           [exec] 	at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
           [exec] 	at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
           [exec] 	at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
           [exec] 	at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
           [exec] 	at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
           [exec] 	at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
           [exec] 	at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
           [exec] 	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.run(EventFiringTaskExecuter.java:51)
           [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
           [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
           [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
           [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
           [exec] 	at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
           [exec] 	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
           [exec] 	at org.gradle.execution.taskgraph.LocalTaskInfoExecutor.execute(LocalTaskInfoExecutor.java:42)
           [exec] 	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:277)
           [exec] 	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:262)
           [exec] 	at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:135)
           [exec] 	at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)
           [exec] 	at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)
           [exec] 	at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)
           [exec] 	at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
           [exec] 	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
           [exec] 	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
           [exec] 	at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
           [exec] Caused by: org.gradle.api.UncheckedIOException: java.io.IOException: Process '[/workspace/liferay-portal/build/node/bin/node, /workspace/liferay-portal/modules/yarn-1.13.0.js, --production, false, run, build]' finished with non-zero exit value 1
           [exec] 	at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:57)
           [exec] 	at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:40)
           [exec] 	at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:76)
           [exec] 	at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:46)
           [exec] 	at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
           [exec] 	at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
           [exec] 	at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:801)
           [exec] 	at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:768)
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:131)
           [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
           [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
           [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
           [exec] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
           [exec] 	at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:120)
           [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:99)
           [exec] 	... 31 more
           [exec] Caused by: java.io.IOException: Process '[/workspace/liferay-portal/build/node/bin/node, /workspace/liferay-portal/modules/yarn-1.13.0.js, --production, false, run, build]' 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.ExecuteNpmTask.executeNode(ExecuteNpmTask.java:108)
           [exec] 	at com.liferay.gradle.plugins.node.tasks.BaseNpmCommandTask.executeNode(BaseNpmCommandTask.java:82)
           [exec] 	at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
           [exec] 	... 44 more
           [exec] 
           [exec] 
           [exec] * Get more help at https://help.gradle.org
           [exec] 
           [exec] BUILD FAILED in 1m 3s
           [exec] 
           [exec] 189 actionable tasks: 140 executed, 49 up-to-date
           [exec] Gradle build finished at 2019-05-23 13:56:12.001.
           [exec] 
           [exec] See the profiling report at: file:///workspace/liferay-portal/build/reports/profile/profile-2019-05-23-13-55-09.html
           [exec] A fine-grained performance profile is available: use the --scan option.
      

      Full log: here

      Git hash: ca5e6c97a19b3bb456d2f3174494b44c5ac88839

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                28 weeks, 3 days ago

                Packages

                Version Package