Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-39938

Error executing specific tests

XMLWordPrintable

      I'm having an error when trying to run specific tests.

      How to reproduce it:

      1. git clone git@github.com:jenkinsci/acceptance-test-harness.git
      2. cd acceptance-test-harness
      3. mvn clean test -Dtest=TaskScannerPluginTest#should_set_build_result_based_on_status_thresholds

      And that will result in:

      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 13.261 s
      [INFO] Finished at: 2016-11-22T13:47:34+01:00
      [INFO] Final Memory: 42M/466M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19:test (default-test) on project acceptance-test-harness: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19:test failed: There was an error in the forked process
      [ERROR] java.lang.NoClassDefFoundError: jacoco/test/target/classes/App (wrong name: App)
      [ERROR] at java.lang.ClassLoader.defineClass1(Native Method)
      [ERROR] at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
      [ERROR] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      [ERROR] at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
      [ERROR] at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
      ...
      
      

            mfranco Manuel Franco
            mfranco Manuel Franco
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: