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

Private branch build compile error: GC overhead limit exceeded

    Details

    • Fix Priority:
      5

      Description

      Step to reproduce:

      1. There is a compile error on 7.1.x-private.
        [exec] * What went wrong:
             [exec] Execution failed for task ':private:apps:portal-reports-engine-console:portal-reports-engine-console-jasper:jar'.
             [exec] > GC overhead limit exceeded
             [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 ':private:apps:portal-reports-engine-console:portal-reports-engine-console-jasper:jar'.
             [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: java.lang.OutOfMemoryError: GC overhead limit exceeded
             [exec] 	at aQute.bnd.osgi.Clazz.referTo(Clazz.java:1707)
             [exec] 	at aQute.bnd.osgi.Clazz.parseReference(Clazz.java:1814)
             [exec] 	at aQute.bnd.osgi.Clazz.parseReferences(Clazz.java:1774)
             [exec] 	at aQute.bnd.osgi.Clazz.parseDescriptor(Clazz.java:1759)
             [exec] 	at aQute.bnd.osgi.Clazz.referTo(Clazz.java:1727)
             [exec] 	at aQute.bnd.osgi.Clazz.parseClassFileData(Clazz.java:620)
             [exec] 	at aQute.bnd.osgi.Clazz.parseClassFileData(Clazz.java:509)
             [exec] 	at aQute.bnd.osgi.Clazz.parseClassFileWithCollector(Clazz.java:494)
             [exec] 	at aQute.bnd.osgi.ClassDataCollectors.parse(ClassDataCollectors.java:32)
             [exec] 	at aQute.bnd.osgi.Analyzer.analyze(Analyzer.java:239)
             [exec] 	at aQute.bnd.osgi.Builder.analyze(Builder.java:387)
             [exec] 	at aQute.bnd.osgi.Analyzer.calcManifest(Analyzer.java:694)
             [exec] 	at aQute.bnd.osgi.Builder.build(Builder.java:108)
             [exec] 	at aQute.bnd.osgi.Builder$build$5.call(Unknown Source)
             [exec] 	at aQute.bnd.gradle.BundleTaskConvention$_buildBundle_closure6_closure7.doCall(BundleTaskConvention.groovy:312)
             [exec] 
             [exec] ==============================================================================
             [exec] 
             [exec] 2: Task failed with an exception.
             [exec] -----------
             [exec] * What went wrong:
             [exec] GC overhead limit exceeded
             [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] java.lang.OutOfMemoryError: GC overhead limit exceeded
             [exec] 	at sun.nio.fs.UnixSecureDirectoryStream.<init>(UnixSecureDirectoryStream.java:53)
             [exec] 	at sun.nio.fs.UnixFileSystemProvider.newDirectoryStream(UnixFileSystemProvider.java:429)
             [exec] 	at java.nio.file.Files.newDirectoryStream(Files.java:457)
             [exec] 	at java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:300)
             [exec] 	at java.nio.file.FileTreeWalker.next(FileTreeWalker.java:372)
             [exec] 	at java.nio.file.Files.walkFileTree(Files.java:2706)
             [exec] 	at org.gradle.api.internal.changedetection.state.mirror.MirrorUpdatingDirectoryWalker.walkDir(MirrorUpdatingDirectoryWalker.java:76)
             [exec] 	at org.gradle.api.internal.changedetection.state.DefaultFileSystemSnapshotter.snapshot(DefaultFileSystemSnapshotter.java:181)
             [exec] 	at org.gradle.api.internal.changedetection.state.DefaultFileSystemSnapshotter.snapshotAndCache(DefaultFileSystemSnapshotter.java:165)
             [exec] 	at org.gradle.api.internal.changedetection.state.DefaultFileSystemSnapshotter.snapshotAndCache(DefaultFileSystemSnapshotter.java:149)
             [exec] 	at org.gradle.api.internal.changedetection.state.DefaultFileSystemSnapshotter.access$200(DefaultFileSystemSnapshotter.java:65)
             [exec] 	at org.gradle.api.internal.changedetection.state.DefaultFileSystemSnapshotter$2.create(DefaultFileSystemSnapshotter.java:132)
             [exec] 	at org.gradle.api.internal.changedetection.state.DefaultFileSystemSnapshotter$2.create(DefaultFileSystemSnapshotter.java:129)
             [exec] 	at org.gradle.cache.internal.ProducerGuard$StripedProducerGuard.guardByKey(ProducerGuard.java:115)
             [exec] 	at org.gradle.api.internal.changedetection.state.DefaultFileSystemSnapshotter.snapshot(DefaultFileSystemSnapshotter.java:129)
             [exec] 	at org.gradle.api.internal.changedetection.state.DefaultFileSystemSnapshotter$FileCollectionVisitorImpl.visitCollection(DefaultFileSystemSnapshotter.java:258)
             [exec] 	at org.gradle.api.internal.file.AbstractFileCollection.visitRootElements(AbstractFileCollection.java:282)
             [exec] 	at org.gradle.api.internal.file.CompositeFileCollection.visitRootElements(CompositeFileCollection.java:206)
             [exec] 	at org.gradle.api.internal.changedetection.state.DefaultFileSystemSnapshotter.snapshot(DefaultFileSystemSnapshotter.java:142)
             [exec] 	at org.gradle.internal.fingerprint.impl.AbstractFileCollectionFingerprinter.fingerprint(AbstractFileCollectionFingerprinter.java:54)
             [exec] 	at org.gradle.internal.fingerprint.impl.AbstractPathOnlyFileCollectionFingerprinter.fingerprint(AbstractPathOnlyFileCollectionFingerprinter.java:37)
             [exec] 	at org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository.fingerprintTaskFiles(CacheBackedTaskHistoryRepository.java:358)
             [exec] 	at org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository.updateExecution(CacheBackedTaskHistoryRepository.java:182)
             [exec] 	at org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository.access$200(CacheBackedTaskHistoryRepository.java:76)
             [exec] 	at org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository$1.updateCurrentExecution(CacheBackedTaskHistoryRepository.java:130)
             [exec] 	at org.gradle.api.internal.changedetection.changes.DefaultTaskArtifactStateRepository$TaskArtifactStateImpl.snapshotAfterTaskExecution(DefaultTaskArtifactStateRepository.java:172)
             [exec] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:85)
             [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] 
             [exec] ==============================================================================
             [exec] 
             [exec] * Get more help at https://help.gradle.org
             [exec] 
             [exec] BUILD FAILED in 41m 30s
             [exec] 
             [exec] > Task :private:apps:portal-reports-engine-console:portal-reports-engine-console-jasper:jar FAILED
             [exec] > Task :private:apps:portal-mobile-device-detection-fiftyonedegrees-enterprise:portal-mobile-device-detection-fiftyonedegrees-enterprise:autoUpdateXml SKIPPED
             [exec] 4315 actionable tasks: 4249 executed, 66 up-to-date
             [exec] Gradle build finished at 2019-05-18 01:31:41.213.
        [beanshell] Executing commands: cat /tmp/1722252601.txt | mail -v -s "Upstream failure notification (7.1.x-private)" -r "Upstream_failure_notification(Upstream failure notification)" "beck.liu@liferay.com,brian.chan@liferay.com,brian.wulbern@liferay.com,felix.zhang@liferay.com,harry.chai@liferay.com,hong.zhao@liferay.com,jason.pince@liferay.com,john.co@liferay.com,joyce.wang@liferay.com,linda.sui@liferay.com,lu.liu@liferay.com,maria.kispal@liferay.com,melody.wu@liferay.com,peter.yoo@liferay.com,raven.song@liferay.com,sharry.shi@liferay.com,sylvia.luan@liferay.com,victor.ware@liferay.com,yunlin.sun@liferay.com,yvonne.han@liferay.com"
        [beanshell] Executing commands: cat /tmp/-1296186444.txt | mail -v -s "CI Failure has occurred" -r "ci_failure_notification" "qa-slave-verify-fail@liferay.com"
        
        BUILD FAILED
        

      Failed Link:
      https://test-1-1.liferay.com/job/test-portal-acceptance-upstream(7.1.x-private)/737/consoleFull
      https://test-1-4.liferay.com/job/test-portal-acceptance-pullrequest(7.1.x-private)/30/consoleFull

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                29 weeks, 5 days ago

                Packages

                Version Package