Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-16541

Integration - Basic fail in latest IBM JDK due to "-iiop is an invalid option or argument"

XMLWordPrintable

    • Hide

      Inside testsuite, run mvn clean install -Dts.noSmoke -Dts.basic

      Show
      Inside testsuite, run mvn clean install -Dts.noSmoke -Dts.basic
    • ---
    • ---

      WildFly Test Suite: Integration - Basic fail on latest IBM JDK (IBM Semeru Runtime Certified Edition 11.0.15.0):

      [INFO] --- exec-maven-plugin:3.0.0:exec (ibmjdk.iiop.stub-creation) @ wildfly-ts-integ-basic ---
      -iiop is an invalid option or argument.
      Usage: rmic <options> <class names>
      
      where <options> includes:
        -keep          Do not delete intermediate generated source files
        -keepgenerated (same as "-keep")
        -v1.1          Create stubs/skeletons for 1.1 stub protocol version (deprecated)
        -vcompat       Create stubs/skeletons compatible with both
                                 1.1 and 1.2 stub protocol versions (deprecated)
        -v1.2          (default) Create stubs for 1.2 stub protocol version only (deprecated)
        -g             Generate debugging info
        -nowarn        Generate no warnings
        -nowrite       Do not write compiled classes to the file system
        -verbose       Output messages about what the compiler is doing
        -classpath <path>      Specify where to find input class files
        -bootclasspath <path>  Override location of bootstrap class files
        -d <directory>         Specify where to place generated class files
        -J<runtime flag>       Pass argument to the java interpreter
      
      [ERROR] Command execution failed.
      org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
          at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404)
          at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166)
          at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:982)
          at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:929)
          at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:457)
          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
          at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
          at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
          at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
          at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
          at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
          at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
          at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke (Method.java:566)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary for WildFly Test Suite: Aggregator 27.0.0.Alpha2-SNAPSHOT:
      [INFO] 
      [INFO] WildFly Test Suite: Aggregator ..................... SUCCESS [  1.458 s]
      [INFO] WildFly Test Suite: Integration (parent) ........... SUCCESS [  1.574 s]
      [INFO] WildFly Test Suite: Integration - WS ............... SUCCESS [ 57.423 s]
      [INFO] WildFly Test Suite: Integration - Basic ............ FAILURE [ 31.399 s]
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  01:32 min
      

      This has been revealed since the IBM JDK change from Java version: 11.0.14.1, vendor: International Business Machines Corporation to Java version: 11.0.15, vendor: IBM Corporation, which triggers this https://github.com/wildfly/wildfly/blob/27.0.0.Alpha1/testsuite/integration/basic/pom.xml#L1414

            tadamski@redhat.com Tomasz Adamski
            chaowan@redhat.com Chao Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: