Details

    • Fix Priority:
      5

      Description

      Steps to reproduce:

      1. Switch to OpenJDK 8
      2. Run ant all

      Console log:

      [exec] BUILD FAILED
           [exec] 
           [exec] Total time: 41.778 secs
           [exec] Gradle build finished at 2017-12-06 22:50:49.531.
           [exec] 
           [exec] FAILURE: Build failed with an exception.
           [exec] 
           [exec] * Where:
           [exec] Build file '/opt/dev/projects/github/liferay-portal-7.0.x-private/modules/apps/foundation/frontend-editor/frontend-editor-ckeditor-web/build.gradle' line: 62
           [exec] 
           [exec] * What went wrong:
           [exec] Could not determine the dependencies of task ':apps:foundation:frontend-editor:frontend-editor-ckeditor-web:buildCKEditorScayt'.
           [exec] > javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
           [exec] 
           [exec] * Try:
           [exec] Run with --info or --debug option to get more log output.
           [exec] 
           [exec] * Exception is:
           [exec] org.gradle.api.GradleException: Could not determine the dependencies of task ':apps:foundation:frontend-editor:frontend-editor-ckeditor-web:buildCKEditorScayt'.
           [exec] 	at org.gradle.api.internal.tasks.CachingTaskDependencyResolveContext.resolve(CachingTaskDependencyResolveContext.java:67)
           [exec] 	at org.gradle.api.internal.tasks.CachingTaskDependencyResolveContext.getDependencies(CachingTaskDependencyResolveContext.java:55)
           [exec] 	at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.addToTaskGraph(DefaultTaskExecutionPlan.java:139)
           [exec] 	at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.addTasks(DefaultTaskGraphExecuter.java:101)
           [exec] 	at org.gradle.execution.TaskNameResolvingBuildConfigurationAction.configure(TaskNameResolvingBuildConfigurationAction.java:47)
           [exec] 	at org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:48)
           [exec] 	at org.gradle.execution.DefaultBuildConfigurationActionExecuter.access$000(DefaultBuildConfigurationActionExecuter.java:25)
           [exec] 	at org.gradle.execution.DefaultBuildConfigurationActionExecuter$1.proceed(DefaultBuildConfigurationActionExecuter.java:54)
           [exec] 	at org.gradle.execution.DefaultTasksBuildExecutionAction.configure(DefaultTasksBuildExecutionAction.java:44)
           [exec] 	at org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:48)
           [exec] 	at org.gradle.execution.DefaultBuildConfigurationActionExecuter.access$000(DefaultBuildConfigurationActionExecuter.java:25)
           [exec] 	at org.gradle.execution.DefaultBuildConfigurationActionExecuter$1.proceed(DefaultBuildConfigurationActionExecuter.java:54)
           [exec] 	at org.gradle.execution.ExcludedTaskFilteringBuildConfigurationAction.configure(ExcludedTaskFilteringBuildConfigurationAction.java:47)
           [exec] 	at org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:48)
           [exec] 	at org.gradle.execution.DefaultBuildConfigurationActionExecuter.select(DefaultBuildConfigurationActionExecuter.java:36)
           [exec] 	at org.gradle.initialization.DefaultGradleLauncher$2.execute(DefaultGradleLauncher.java:185)
           [exec] 	at org.gradle.initialization.DefaultGradleLauncher$2.execute(DefaultGradleLauncher.java:182)
           [exec] 	at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
           [exec] 	at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
           [exec] 	at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:56)
           [exec] 	at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:182)
           [exec] 	at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:119)
           [exec] 	at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:102)
           [exec] 	at org.gradle.launcher.exec.GradleBuildController.run(GradleBuildController.java:71)
           [exec] 	at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
           [exec] 	at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
           [exec] 	at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41)
           [exec] 	at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
           [exec] 	at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:75)
           [exec] 	at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:49)
           [exec] 	at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:44)
           [exec] 	at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:29)
           [exec] 	at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:51)
           [exec] 	at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:173)
           [exec] 	at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:244)
           [exec] 	at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:217)
           [exec] 	at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:33)
           [exec] 	at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
           [exec] 	at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
           [exec] 	at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
           [exec] 	at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:210)
           [exec] 	at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:174)
           [exec] 	at org.gradle.launcher.Main.doAction(Main.java:33)
           [exec] 	at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
           [exec] 	at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:60)
           [exec] 	at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:37)
           [exec] 	at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
           [exec] 	at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:31)
           [exec] 	at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:108)
           [exec] 	at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
           [exec] Caused by: : javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
           [exec] 	at org.apache.tools.ant.taskdefs.Get.execute(Get.java:151)
           [exec] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
           [exec] 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           [exec] 	at org.gradle.api.internal.project.ant.BasicAntBuilder.nodeCompleted(BasicAntBuilder.java:78)
           [exec] 	at org.gradle.api.internal.project.ant.BasicAntBuilder.doInvokeMethod(BasicAntBuilder.java:103)
           [exec] 	at com.liferay.gradle.util.FileUtil$2.doCall(FileUtil.java:499)
           [exec] 	at org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:70)
           [exec] 	at org.gradle.util.ConfigureUtil.configureTarget(ConfigureUtil.java:154)
           [exec] 	at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:106)
           [exec] 	at org.gradle.api.internal.project.DefaultProject.ant(DefaultProject.java:967)
           [exec] 	at com.liferay.gradle.util.FileUtil._get(FileUtil.java:504)
           [exec] 	at com.liferay.gradle.util.FileUtil.get(FileUtil.java:152)
           [exec] 	at com.liferay.gradle.util.FileUtil.get(FileUtil.java:118)
           [exec] 	at com.liferay.gradle.util.FileUtil.get(FileUtil.java:110)
           [exec] 	at com.liferay.gradle.util.FileUtil.get(FileUtil.java:104)
           [exec] 	at com.liferay.gradle.util.FileUtil$get$0.call(Unknown Source)
           [exec] 	at build_1r6x6qlqb8kcfyde0gxqoohbc$_run_closure3$_closure12.doCall(/opt/dev/projects/github/liferay-portal-7.0.x-private/modules/apps/foundation/frontend-editor/frontend-editor-ckeditor-web/build.gradle:62)
           [exec] 	at build_1r6x6qlqb8kcfyde0gxqoohbc$_run_closure3$_closure12.doCall(/opt/dev/projects/github/liferay-portal-7.0.x-private/modules/apps/foundation/frontend-editor/frontend-editor-ckeditor-web/build.gradle)
           [exec] 	at org.gradle.api.internal.file.collections.BuildDependenciesOnlyFileCollectionResolveContext.add(BuildDependenciesOnlyFileCollectionResolveContext.java:66)
           [exec] 	at org.gradle.api.internal.file.collections.BuildDependenciesOnlyFileCollectionResolveContext.add(BuildDependenciesOnlyFileCollectionResolveContext.java:79)
           [exec] 	at org.gradle.api.internal.file.collections.BuildDependenciesOnlyFileCollectionResolveContext.add(BuildDependenciesOnlyFileCollectionResolveContext.java:79)
           [exec] 	at org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection.visitContents(DefaultConfigurableFileCollection.java:91)
           [exec] 	at org.gradle.api.internal.file.CompositeFileCollection.visitDependencies(CompositeFileCollection.java:166)
           [exec] 	at org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection.visitDependencies(DefaultConfigurableFileCollection.java:97)
           [exec] 	at org.gradle.api.internal.file.CompositeFileCollection$1.visitDependencies(CompositeFileCollection.java:116)
           [exec] 	at org.gradle.api.internal.file.CompositeFileTree$FilteredFileTree.visitDependencies(CompositeFileTree.java:120)
           [exec] 	at org.gradle.api.internal.tasks.CachingTaskDependencyResolveContext$TaskGraphImpl.getNodeValues(CachingTaskDependencyResolveContext.java:88)
           [exec] 	at org.gradle.internal.graph.CachingDirectedGraphWalker$GraphWithEmpyEdges.getNodeValues(CachingDirectedGraphWalker.java:202)
           [exec] 	at org.gradle.internal.graph.CachingDirectedGraphWalker.doSearch(CachingDirectedGraphWalker.java:112)
           [exec] 	at org.gradle.internal.graph.CachingDirectedGraphWalker.findValues(CachingDirectedGraphWalker.java:64)
           [exec] 	at org.gradle.api.internal.tasks.CachingTaskDependencyResolveContext.doResolve(CachingTaskDependencyResolveContext.java:76)
           [exec] 	at org.gradle.api.internal.tasks.CachingTaskDependencyResolveContext.resolve(CachingTaskDependencyResolveContext.java:65)
           [exec] 	... 49 more
           [exec] Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
           [exec] 	at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:728)
           [exec] 	at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:748)
           [exec] 	at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:641)
           [exec] 	at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:631)
           [exec] Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
           [exec] 	... 4 more
           [exec] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
           [exec] 	... 4 more
           [exec] 
           [exec] 
           [echo] The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal-7.0.x-private/build-dist.xml:539: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal-7.0.x-private/build.xml:350: The following error occurred while executing this line:
           [echo] /opt/dev/projects/github/liferay-portal-7.0.x-private/build-common.xml:611: /opt/dev/projects/github/liferay-portal-7.0.x-private/build-common.xml:613: exec returned: 1
      

      Reproduced on:
      Tomcat 8.0.32 + MySQL 5.7.20
      Portal master Git SHA: 68a18298b9c23ba330bec992752bbf17848c9c47
      Portal 7.0.x Git SHA: 96b15078df0d7d1bc550c354c011deadf274fbb6

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 30 weeks ago

                Packages

                Version Package