[JIRA] (JENKINS-39938) Error executing specific tests

7 views
Skip to first unread message

mfranco@cloudbees.com (JIRA)

unread,
Nov 22, 2016, 7:57:01 AM11/22/16
to jenkinsc...@googlegroups.com
Manuel Franco created an issue
 
Jenkins / Improvement JENKINS-39938
Error executing specific tests
Issue Type: Improvement Improvement
Assignee: Oliver Gondža
Components: acceptance-test-harness
Created: 2016/Nov/22 12:56 PM
Priority: Minor Minor
Reporter: Manuel Franco

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

How to reproduce it:

  1. git clone g...@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)
...

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

mfranco@cloudbees.com (JIRA)

unread,
Nov 22, 2016, 9:52:03 AM11/22/16
to jenkinsc...@googlegroups.com
Manuel Franco started work on Improvement JENKINS-39938
 
Change By: Manuel Franco
Status: Open In Progress

mfranco@cloudbees.com (JIRA)

unread,
Nov 22, 2016, 9:52:03 AM11/22/16
to jenkinsc...@googlegroups.com
Manuel Franco assigned an issue to Manuel Franco
Change By: Manuel Franco
Assignee: Oliver Gondža Manuel Franco

mfranco@cloudbees.com (JIRA)

unread,
Nov 22, 2016, 10:27:01 AM11/22/16
to jenkinsc...@googlegroups.com
Manuel Franco updated an issue
 
Jenkins / Bug JENKINS-39938
Error executing specific tests
Change By: Manuel Franco
Issue Type: Improvement Bug

mfranco@cloudbees.com (JIRA)

unread,
Nov 22, 2016, 10:29:01 AM11/22/16
to jenkinsc...@googlegroups.com
Manuel Franco updated an issue
Change By: Manuel Franco
Priority: Minor Major

mfranco@cloudbees.com (JIRA)

unread,
Nov 22, 2016, 10:51:01 AM11/22/16
to jenkinsc...@googlegroups.com
Manuel Franco commented on Bug JENKINS-39938
 
Re: Error executing specific tests

The error goes away if the directory "src/test/resources/jacoco" is removed. But still can't see the real cause ...

mfranco@cloudbees.com (JIRA)

unread,
Nov 22, 2016, 12:34:01 PM11/22/16
to jenkinsc...@googlegroups.com
Manuel Franco resolved as Fixed
Change By: Manuel Franco
Status: In Progress Resolved
Resolution: Fixed
Reply all
Reply to author
Forward
0 new messages