[
https://issues.jboss.org/browse/WFLY-11121?page=com.atlassian.jira.plugin...
]
Kabir Khan edited comment on WFLY-11121 at 10/5/18 6:25 AM:
------------------------------------------------------------
THe -X doesn't yield anything super-useful:
{code}
[01:48:35] : [Step 2/3] Caused by: org.jboss.galleon.ProvisioningException: Forked
embedded process has failed
[01:48:35] : [Step 2/3] at org.wildfly.galleon.plugin.server.ForkedEmbeddedUtil.fork
(ForkedEmbeddedUtil.java:148)
[01:48:35] : [Step 2/3] at
org.wildfly.galleon.plugin.featurespec.generator.FeatureSpecGenerator.doGenerate
(FeatureSpecGenerator.java:175)
[01:48:35] : [Step 2/3] at
org.wildfly.galleon.plugin.featurespec.generator.FeatureSpecGenerator.generateSpecs
(FeatureSpecGenerator.java:143)
[01:48:35] : [Step 2/3] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0
(Native Method)
[01:48:35] : [Step 2/3] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
[01:48:35] : [Step 2/3] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
[01:48:35] : [Step 2/3] at java.lang.reflect.Method.invoke (Method.java:566)
[01:48:35] : [Step 2/3] at
org.wildfly.galleon.maven.FeatureSpecGeneratorInvoker.generateSpecs
(FeatureSpecGeneratorInvoker.java:46)
[01:48:35] : [Step 2/3] at org.wildfly.galleon.maven.WfFeatureSpecBuildMojo.doExecute
(WfFeatureSpecBuildMojo.java:294)
[01:48:35] : [Step 2/3] at org.wildfly.galleon.maven.WfFeatureSpecBuildMojo.execute
(WfFeatureSpecBuildMojo.java:191)
[01:48:35] : [Step 2/3] at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
(DefaultBuildPluginManager.java:137)
[01:48:35] : [Step 2/3] at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:208)
[01:48:35] : [Step 2/3] at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:154)
[01:48:35] : [Step 2/3] at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:146)
[01:48:35] : [Step 2/3] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:117)
[01:48:35] : [Step 2/3] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:81)
[01:48:35] : [Step 2/3] at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:56)
[01:48:35] : [Step 2/3] at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[01:48:35] : [Step 2/3] at org.apache.maven.DefaultMaven.doExecute
(DefaultMaven.java:305)
[01:48:35] : [Step 2/3] at org.apache.maven.DefaultMaven.doExecute
(DefaultMaven.java:192)
[01:48:35] : [Step 2/3] at org.apache.maven.DefaultMaven.execute
(DefaultMaven.java:105)
[01:48:35] : [Step 2/3] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
[01:48:35] : [Step 2/3] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
[01:48:35] : [Step 2/3] at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
[01:48:35] : [Step 2/3] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0
(Native Method)
[01:48:35] : [Step 2/3] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
[01:48:35] : [Step 2/3] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
[01:48:35] : [Step 2/3] at java.lang.reflect.Method.invoke (Method.java:566)
[01:48:35] : [Step 2/3] at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
[01:48:35] : [Step 2/3] at org.codehaus.plexus.classworlds.launcher.Launcher.launch
(Launcher.java:229)
[01:48:35] : [Step 2/3] at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
[01:48:35] : [Step 2/3] at org.codehaus.plexus.classworlds.launcher.Launcher.main
(Launcher.java:356)
{code}
Looking in the [fork
method|https://github.com/wildfly/galleon-plugins/blob/2.0.0.Final/galleo...]
it seems to add the --add-modules=java.se stuff:
{code}
if (getJavaVersion() >= 11) {
argsList.add("--add-modules");
argsList.add("java.se");
}
{code}
But does this end up as {code}--add-modules=java.se{code} or {code}--add-modules
java.se{code}?
From
https://github.com/wildfly/wildfly-core/pull/3461/files#diff-28c7f1830623...
it looks like the equals sign is needed. Also, could it be that we need the
{code}--add-exports{code} ones from this PR too?
CC [~ropalka]
was (Author: kabirkhan):
THe -X doesn't yield anything super-useful:
{code}
[01:48:35] : [Step 2/3] Caused by: org.jboss.galleon.ProvisioningException: Forked
embedded process has failed
[01:48:35] : [Step 2/3] at org.wildfly.galleon.plugin.server.ForkedEmbeddedUtil.fork
(ForkedEmbeddedUtil.java:148)
[01:48:35] : [Step 2/3] at
org.wildfly.galleon.plugin.featurespec.generator.FeatureSpecGenerator.doGenerate
(FeatureSpecGenerator.java:175)
[01:48:35] : [Step 2/3] at
org.wildfly.galleon.plugin.featurespec.generator.FeatureSpecGenerator.generateSpecs
(FeatureSpecGenerator.java:143)
[01:48:35] : [Step 2/3] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0
(Native Method)
[01:48:35] : [Step 2/3] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
[01:48:35] : [Step 2/3] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
[01:48:35] : [Step 2/3] at java.lang.reflect.Method.invoke (Method.java:566)
[01:48:35] : [Step 2/3] at
org.wildfly.galleon.maven.FeatureSpecGeneratorInvoker.generateSpecs
(FeatureSpecGeneratorInvoker.java:46)
[01:48:35] : [Step 2/3] at org.wildfly.galleon.maven.WfFeatureSpecBuildMojo.doExecute
(WfFeatureSpecBuildMojo.java:294)
[01:48:35] : [Step 2/3] at org.wildfly.galleon.maven.WfFeatureSpecBuildMojo.execute
(WfFeatureSpecBuildMojo.java:191)
[01:48:35] : [Step 2/3] at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
(DefaultBuildPluginManager.java:137)
[01:48:35] : [Step 2/3] at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:208)
[01:48:35] : [Step 2/3] at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:154)
[01:48:35] : [Step 2/3] at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:146)
[01:48:35] : [Step 2/3] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:117)
[01:48:35] : [Step 2/3] at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:81)
[01:48:35] : [Step 2/3] at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:56)
[01:48:35] : [Step 2/3] at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[01:48:35] : [Step 2/3] at org.apache.maven.DefaultMaven.doExecute
(DefaultMaven.java:305)
[01:48:35] : [Step 2/3] at org.apache.maven.DefaultMaven.doExecute
(DefaultMaven.java:192)
[01:48:35] : [Step 2/3] at org.apache.maven.DefaultMaven.execute
(DefaultMaven.java:105)
[01:48:35] : [Step 2/3] at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
[01:48:35] : [Step 2/3] at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
[01:48:35] : [Step 2/3] at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
[01:48:35] : [Step 2/3] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0
(Native Method)
[01:48:35] : [Step 2/3] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
[01:48:35] : [Step 2/3] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
[01:48:35] : [Step 2/3] at java.lang.reflect.Method.invoke (Method.java:566)
[01:48:35] : [Step 2/3] at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
[01:48:35] : [Step 2/3] at org.codehaus.plexus.classworlds.launcher.Launcher.launch
(Launcher.java:229)
[01:48:35] : [Step 2/3] at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
[01:48:35] : [Step 2/3] at org.codehaus.plexus.classworlds.launcher.Launcher.main
(Launcher.java:356)
{code}
Looking in the [fork
method|https://github.com/wildfly/galleon-plugins/blob/2.0.0.Final/galleo...]
it seems to add the --add-modules=java.se stuff:
{code}
if (getJavaVersion() >= 11) {
argsList.add("--add-modules");
argsList.add("java.se");
}
{code}
But does this end up as {code}`--add-modules=java.se`{code} or {code}`--add-modules
java.se`{code}?
From
https://github.com/wildfly/wildfly-core/pull/3461/files#diff-28c7f1830623...
it looks like the equals sign is needed. Also, could it be that we need the
{code}--add-exports{code} ones from this PR too?
CC [~ropalka]
CI - Master linux JDK 11 job - compilation fails - forked embedded
process has failed
--------------------------------------------------------------------------------------
Key: WFLY-11121
URL:
https://issues.jboss.org/browse/WFLY-11121
Project: WildFly
Issue Type: Bug
Reporter: Rostislav Svoboda
Assignee: Ken Wills
Priority: Blocker
Labels: Java11
Compilation of Master linux JDK 11 job fails - forked embedded process has failed.
https://ci.wildfly.org/viewType.html?buildTypeId=WF_MasterLinuxJdk11
{code}
[Step 2/3] [ERROR] Failed to execute goal
org.wildfly.galleon-plugins:wildfly-galleon-maven-plugin:
2.0.0.Final:generate-feature-specs (feature-spec-build) on project
wildfly-servlet-galleon-pack:
Feature spec generator failed: Forked embedded process has failed -> [Help 1]
{code}
My local machine runs are passing for me, using {{java version "11" 2018-09-25
(build 11+28)}}
This fail can be related to VMs setup on TeamCity, another option can be galleon related
issue.
CCing also [~aloubyansky]
We need to have valid Java 11 runs on upstream to guard proper functionality of WildFly.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)