Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-821

org.infinispan.all.remote.RemoteAllTest fails to run on all environments

    XMLWordPrintable

Details

    Description

      The test org.infinispan.all.remote.RemoteAllTest fails to run on all environments with the following message:

      Running org.infinispan.all.remote.RemoteAllTest
      Configuring TestNG with: TestNG652Configurator
      Listener org.infinispan.commons.test.JUnitTestListener@6aceb1a5 must be one of ITestListener, ISuiteListener, IReporter,  IAnnotationTransformer, IMethodInterceptor or IInvokedMethodListener
      Usage: <main class&gt; [options] The XML suite files to run
        Options:
          -configfailurepolicy               Configuration failure policy (skip or
                                             continue)
          -d                                 Output directory
          -dataproviderthreadcount           Number of threads to use when running
                                             data providers
          -excludegroups                     Comma-separated list of group names to 
                                             exclude
          -groups                            Comma-separated list of group names to be
                                             run
          -junit                             JUnit mode
                                             Default: false
          -listener                          List of .class files or list of class
                                             names implementing ITestListener or
                                             ISuiteListener
          -methods                           Comma separated of test methods
                                             Default: []
          -methodselectors                   List of .class files or list of class
                                             names implementing IMethodSelector
          -mixed                             Mixed mode - autodetect the type of
                                             current test and run it with appropriate runner
                                             Default: false
          -objectfactory                     List of .class files or list of class
                                             names implementing ITestRunnerFactory
          -parallel                          Parallel mode (methods, tests or classes)
          -port                              The port
          -reporter                          Extended configuration for custom report
                                             listener
          -suitename                         Default name of test suite, if not
                                             specified in suite definition file or source code
          -suitethreadpoolsize               Size of the thread pool to use to run
                                             suites
                                             Default: 1
          -testclass                         The list of test classes
          -testjar                           A jar file containing the tests
          -testname                          Default name of test, if not specified in
                                             suitedefinition file or source code
          -testnames                         The list of test names to run
          -testrunfactory, -testRunFactory   The factory used to create tests
          -threadcount                       Number of threads to use when running
                                             tests in parallel
          -usedefaultlisteners               Whether to use the default listeners
                                             Default: true
          -log, -verbose                     Level of verbosity
          -xmlpathinjar                      The full path to the xml file inside the
                                             jar file (only valid if -testjar was
                                             specified)
                                             Default: testng.xml
      
      
      Results :
      
      Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
      

      The message in the end of mvn build command is:

      Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project infinispan-remote-it: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
      [ERROR] Command was /bin/sh -c cd /home/jenkins/workspace/jdg-7.x-func-ispn-testsuite-rhel-os/724bf9e0/infinispan/integrationtests/all-remote-it && /qa/tools/opt/x86_64/jdk1.8.0_111/jre/bin/java -Xmx2G -Dsun.nio.ch.bugLevel -jar /home/jenkins/workspace/jdg-7.x-func-ispn-testsuite-rhel-os/724bf9e0/infinispan/integrationtests/all-remote-it/target/surefire/surefirebooter3140803415344443350.jar /home/jenkins/workspace/jdg-7.x-func-ispn-testsuite-rhel-os/724bf9e0/infinispan/integrationtests/all-remote-it/target/surefire/surefire4174528788818533972tmp /home/jenkins/workspace/jdg-7.x-func-ispn-testsuite-rhel-os/724bf9e0/infinispan/integrationtests/all-remote-it/target/surefire/surefire_421082065258850945602tmp
      

      Seems that this happens only in product, as I have checked the TeamCity logs for ISPN build, and the test runs properly.

      Attachments

        Activity

          People

            rhn-support-afield Alan Field
            amanukya@redhat.com Anna Manukyan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: