2 Replies Latest reply on May 9, 2013 11:33 AM by rhusar

    Failed tests:   testSSL(org.jboss.as.modcluster.ModClusterSubsystemTestCase)

    zhouyaguo

      Hi:

            when i build jboss as 7 (7.2.0.Final-testsuite-fix) behind my own nexus mirror, the following error occured:

       

      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running org.jboss.as.modcluster.ModClusterSubsystemTestCase
      
      Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.616 sec <<< FAILURE!
      
      
      Results :
      
      
      Failed tests:   testSSL(org.jboss.as.modcluster.ModClusterSubsystemTestCase): expected:<[undefined]> but was:<[/home/rhusar/client-keystore.jks]>
      
      
      Tests run: 7, Failures: 1, Errors: 0, Skipped: 0
      
      

       

      But it' wired that i build it successfully on my workstation:

       

      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running org.jboss.as.modcluster.ModClusterSubsystemTestCase
      Resolving artifact org.jboss.as:jboss-as-modcluster:jar:7.1.2.Final
      Resolved artifact org.jboss.as:jboss-as-modcluster:jar:7.1.2.Final from /home/zyg/.m2/repository (enhanced)
      /home/zyg/.m2/repository/org/jboss/as/jboss-as-modcluster/7.1.2.Final/jboss-as-modcluster-7.1.2.Final.jar
      Resolving artifact org.jboss.as:jboss-as-modcluster:jar:7.1.3.Final
      Resolved artifact org.jboss.as:jboss-as-modcluster:jar:7.1.3.Final from /home/zyg/.m2/repository (enhanced)
      /home/zyg/.m2/repository/org/jboss/as/jboss-as-modcluster/7.1.3.Final/jboss-as-modcluster-7.1.3.Final.jar
      Resolving artifact org.jboss.as:jboss-as-modcluster:jar:7.1.2.Final
      Resolved artifact org.jboss.as:jboss-as-modcluster:jar:7.1.2.Final from /home/zyg/.m2/repository (enhanced)
      /home/zyg/.m2/repository/org/jboss/as/jboss-as-modcluster/7.1.2.Final/jboss-as-modcluster-7.1.2.Final.jar
      Resolving artifact org.jboss.as:jboss-as-modcluster:jar:7.1.2.Final
      Resolved artifact org.jboss.as:jboss-as-modcluster:jar:7.1.2.Final from /home/zyg/.m2/repository (enhanced)
      /home/zyg/.m2/repository/org/jboss/as/jboss-as-modcluster/7.1.2.Final/jboss-as-modcluster-7.1.2.Final.jar
      Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.121 sec
      
      
      Results :
      
      
      Tests run: 7, Failures: 0, Errors: 0, Skipped: 0
      
      

       

      any ideas?

       

      Regards

      Yaguo

        • 1. Re: Failed tests:   testSSL(org.jboss.as.modcluster.ModClusterSubsystemTestCase)
          rhusar

          Let me try it, but you can always skip the tests using a skip flag like (if skipping would be what you are after):

           

          ./build.sh clean install -DskipTests

          • 2. Re: Failed tests:   testSSL(org.jboss.as.modcluster.ModClusterSubsystemTestCase)
            rhusar

            Passed with flying colors!

             

             

             

            -------------------------------------------------------
             T E S T S
            -------------------------------------------------------
            Running org.jboss.as.modcluster.ModClusterSubsystemTestCase
            Resolving artifact org.jboss.as:jboss-as-modcluster:jar:7.1.3.Final
            Resolved artifact org.jboss.as:jboss-as-modcluster:jar:7.1.3.Final from /home/rhusar/.m2/repository (enhanced)
            /home/rhusar/.m2/repository/org/jboss/as/jboss-as-modcluster/7.1.3.Final/jboss-as-modcluster-7.1.3.Final.jar
            Resolving artifact org.jboss.as:jboss-as-modcluster:jar:7.1.2.Final
            Resolved artifact org.jboss.as:jboss-as-modcluster:jar:7.1.2.Final from jboss-developer (http://repository.jboss.org/nexus/content/groups/developer/, releases+snapshots)
            /home/rhusar/.m2/repository/org/jboss/as/jboss-as-modcluster/7.1.2.Final/jboss-as-modcluster-7.1.2.Final.jar
            Resolving artifact org.jboss.as:jboss-as-modcluster:jar:7.1.2.Final
            Resolved artifact org.jboss.as:jboss-as-modcluster:jar:7.1.2.Final from jboss-developer (http://repository.jboss.org/nexus/content/groups/developer/, releases+snapshots)
            /home/rhusar/.m2/repository/org/jboss/as/jboss-as-modcluster/7.1.2.Final/jboss-as-modcluster-7.1.2.Final.jar
            Resolving artifact org.jboss.as:jboss-as-modcluster:jar:7.1.2.Final
            Resolved artifact org.jboss.as:jboss-as-modcluster:jar:7.1.2.Final from jboss-developer (http://repository.jboss.org/nexus/content/groups/developer/, releases+snapshots)
            /home/rhusar/.m2/repository/org/jboss/as/jboss-as-modcluster/7.1.2.Final/jboss-as-modcluster-7.1.2.Final.jar
            Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.173 sec
            
            
            Results :
            
            
            Tests run: 7, Failures: 0, Errors: 0, Skipped: 0
            

             

            whole build..

             

            [INFO] ------------------------------------------------------------------------
            [INFO] BUILD SUCCESS
            [INFO] ------------------------------------------------------------------------
            [INFO] Total time: 8:31.480s
            [INFO] Finished at: Thu May 09 17:27:31 CEST 2013
            [INFO] Final Memory: 381M/1002M
            [INFO] ------------------------------------------------------------------------
            

             

            here are the versions im using to build

             

            [rhusar@x220 as]$ mvn -version
            Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100)
            Maven home: /home/rhusar/tools/maven3
            Java version: 1.7.0_21, vendor: Oracle Corporation
            Java home: /usr/java/jdk1.7.0_21/jre
            Default locale: en_US, platform encoding: UTF-8
            OS name: "linux", version: "3.8.11-100.fc17.x86_64", arch: "amd64", family: "unix"
            [rhusar@x220 as]$ java -version
            java version "1.7.0_21"
            Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
            Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)