Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-4159

WildFly Core Test Suite: Standalone Integration Tests doesn't compile on JDKs other than Oracle Java 1.8

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.0.0.Alpha4, 7.0.0.Final
    • 7.0.0.Alpha4, 7.0.0.Final
    • Test Suite
    • None
    • Hide

      mvn install -B -DreuseForks=false -Dmaven.repo.local=/home/hudson/hudson_workspace/workspace/eap-7.x-as-testsuite-core-rhel/07816b0f/maven-repo-local -fae -s /home/hudson/hudson_workspace/workspace/eap-7.x-as-testsuite-core-rhel/07816b0f/tools/maven/conf/settings.xml -Dmaven.test.failure.ignore=true -llr -DallTests

      Show
      mvn install -B -DreuseForks=false -Dmaven.repo.local=/home/hudson/hudson_workspace/workspace/eap-7.x-as-testsuite-core-rhel/07816b0f/maven-repo-local -fae -s /home/hudson/hudson_workspace/workspace/eap-7.x-as-testsuite-core-rhel/07816b0f/tools/maven/conf/settings.xml -Dmaven.test.failure.ignore=true -llr -DallTests

    Description

      Running the testsuite in on JDKs other than Oracle Java 1.8 causes Maven to run into a compilation error with the following message:

      ...
      00:20:08 [INFO] WildFly Core Test Suite: Shared .................... SUCCESS [ 1.555 s]
      00:20:08 [INFO] WildFly: Vault Test Feature Pack ................... SUCCESS [ 0.203 s]
      00:20:08 [INFO] WildFly Core Test Suite: Aggregator ................ SUCCESS [ 0.599 s]
      00:20:08 [INFO] WildFly Core Test Suite: Standalone Integration Tests FAILURE [ 4.565 s]
      00:20:08 [INFO] WildFly Core Test Suite: Elytron Integration Tests . SUCCESS [01:54 min]
      00:20:08 [INFO] WildFly Core Test Suite: Embedded Integration Tests SUCCESS [ 31.858 s]
      00:20:08 [INFO] wildfly-script-tests ............................... SUCCESS [ 17.741 s]
      00:20:08 [INFO] WildFly Core Test Suite: Role Based Access Control . SUCCESS [02:51 min]
      00:20:08 [INFO] WildFly Core Test Suite: Domain Mode Integration Tests SUCCESS [26:36 min]
      00:20:08 [INFO] WildFly Core Test Suite: Manual Mode Tests ......... SUCCESS [11:26 min]
      00:20:08 [INFO] WildFly Core Test Suite: Patching 7.0.0.Alpha3-SNAPSHOT SUCCESS [14:21 min]
      00:20:08 [INFO] ------------------------------------------------------------------------
      00:20:08 [INFO] BUILD FAILURE
      00:20:08 [INFO] ------------------------------------------------------------------------
      00:20:08 [INFO] Total time: 01:14 h
      00:20:08 [INFO] Finished at: 2018-10-09T00:20:07Z
      00:20:08 [INFO] ------------------------------------------------------------------------
      00:20:08 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile (default-testCompile) on project wildfly-core-testsuite-standalone: Compilation failure: Compilation failure:
      00:20:08 [ERROR] /home/hudson/hudson_workspace/workspace/eap-7.x-as-testsuite-core-rhel/28995480/testsuite/standalone/src/test/java/org/jboss/as/test/integration/management/cli/LongOutputTestCase.java:[3,27] package com.sun.javafx.util does not exist
      00:20:08 [ERROR] /home/hudson/hudson_workspace/workspace/eap-7.x-as-testsuite-core-rhel/28995480/testsuite/standalone/src/test/java/org/jboss/as/test/integration/management/cli/LongOutputTestCase.java:[240,13] cannot find symbol
      00:20:08 [ERROR] symbol: variable Utils
      00:20:08 [ERROR] location: class org.jboss.as.test.integration.management.cli.LongOutputTestCase
      ...

      Probably caused by a change in WFCORE-4096.

      Attachments

        Issue Links

          Activity

            People

              jdenise@redhat.com Jean Francois Denise
              vobratil1 Vilém Obrátil
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: