Created
January 13, 2016 07:03
-
-
Save mgedmin/b006cb503d1a0f3aefc0 to your computer and use it in GitHub Desktop.
mvn test failure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mg@platonas: ~/src/embeddable-build-status-plugin [git:master $=] $ mvn test | |
[INFO] Scanning for projects... | |
[WARNING] The POM for org.jenkins-ci.tools:maven-hpi-plugin:jar:1.106 is missing, no dependency information available | |
[WARNING] Failed to build parent project for org.jenkins-ci.plugins:embeddable-build-status:hpi:1.9-SNAPSHOT | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building embeddable-build-status 1.9-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-hpi-plugin:1.106:validate (default-validate) @ embeddable-build-status --- | |
[INFO] | |
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-maven) @ embeddable-build-status --- | |
[INFO] | |
[INFO] --- maven-enforcer-plugin:1.0.1:display-info (display-info) @ embeddable-build-status --- | |
[INFO] Maven Version: 3.3.3 | |
[INFO] JDK Version: 1.7.0_91 normalized as: 1.7.0-91 | |
[INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 4.2.0-23-generic | |
[INFO] | |
[INFO] --- maven-localizer-plugin:1.14:generate (default) @ embeddable-build-status --- | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ embeddable-build-status --- | |
[debug] execute contextualize | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] Copying 9 resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:2.5:compile (default-compile) @ embeddable-build-status --- | |
[INFO] Nothing to compile - all classes are up to date | |
[INFO] | |
[INFO] --- access-modifier-checker:1.7:enforce (default-enforce) @ embeddable-build-status --- | |
[INFO] | |
[INFO] --- maven-hpi-plugin:1.106:insert-test (default-insert-test) @ embeddable-build-status --- | |
[INFO] | |
[INFO] --- gmaven-plugin:1.5-jenkins-1:generateTestStubs (test-in-groovy) @ embeddable-build-status --- | |
[INFO] No sources found for Java stub generation | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ embeddable-build-status --- | |
[debug] execute contextualize | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] skip non existing resourceDirectory /home/mg/src/embeddable-build-status-plugin/src/test/resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:2.5:testCompile (default-testCompile) @ embeddable-build-status --- | |
[INFO] Nothing to compile - all classes are up to date | |
[INFO] | |
[INFO] --- maven-hpi-plugin:1.106:test-hpl (default-test-hpl) @ embeddable-build-status --- | |
[INFO] Generating /home/mg/src/embeddable-build-status-plugin/target/test-classes/the.hpl | |
[INFO] | |
[INFO] --- maven-hpi-plugin:1.106:resolve-test-dependencies (default-resolve-test-dependencies) @ embeddable-build-status --- | |
[INFO] | |
[INFO] --- gmaven-plugin:1.5-jenkins-1:testCompile (test-in-groovy) @ embeddable-build-status --- | |
[INFO] No sources found to compile | |
[INFO] | |
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ embeddable-build-status --- | |
[INFO] Surefire report directory: /home/mg/src/embeddable-build-status-plugin/target/surefire-reports | |
------------------------------------------------------- | |
T E S T S | |
------------------------------------------------------- | |
------------------------------------------------------- | |
T E S T S | |
------------------------------------------------------- | |
Running org.jenkinsci.plugins.badge.PublicBadgeActionTest | |
Running org.jenkinsci.plugins.badge.WorkflowBadgeActionTest | |
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.496 sec <<< FAILURE! - in org.jenkinsci.plugins.badge.PublicBadgeActionTest | |
validAnonymousAccess(org.jenkinsci.plugins.badge.PublicBadgeActionTest) Time elapsed: 0.017 sec <<< ERROR! | |
java.lang.UnsatisfiedLinkError: Can't obtain static newInstance method for class com.sun.jna.Structure | |
at com.sun.jna.Native.initIDs(Native Method) | |
at com.sun.jna.Native.<clinit>(Native.java:122) | |
at hudson.util.jna.GNUCLibrary.<clinit>(GNUCLibrary.java:112) | |
at org.jvnet.hudson.test.JenkinsRule.<clinit>(JenkinsRule.java:2216) | |
at org.jenkinsci.plugins.badge.PublicBadgeActionTest.<init>(PublicBadgeActionTest.java:47) | |
authenticatedAccess(org.jenkinsci.plugins.badge.PublicBadgeActionTest) Time elapsed: 0 sec <<< ERROR! | |
java.lang.NoClassDefFoundError: Could not initialize class org.jvnet.hudson.test.JenkinsRule | |
at org.jenkinsci.plugins.badge.PublicBadgeActionTest.<init>(PublicBadgeActionTest.java:47) | |
invalidAnonymousAccess(org.jenkinsci.plugins.badge.PublicBadgeActionTest) Time elapsed: 0 sec <<< ERROR! | |
java.lang.NoClassDefFoundError: Could not initialize class org.jvnet.hudson.test.JenkinsRule | |
at org.jenkinsci.plugins.badge.PublicBadgeActionTest.<init>(PublicBadgeActionTest.java:47) | |
validAnonymousViewStatusAccess(org.jenkinsci.plugins.badge.PublicBadgeActionTest) Time elapsed: 0.001 sec <<< ERROR! | |
java.lang.NoClassDefFoundError: Could not initialize class org.jvnet.hudson.test.JenkinsRule | |
at org.jenkinsci.plugins.badge.PublicBadgeActionTest.<init>(PublicBadgeActionTest.java:47) | |
Running InjectedTest | |
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.504 sec <<< FAILURE! - in org.jenkinsci.plugins.badge.WorkflowBadgeActionTest | |
authenticatedAccess(org.jenkinsci.plugins.badge.WorkflowBadgeActionTest) Time elapsed: 0.011 sec <<< ERROR! | |
java.lang.UnsatisfiedLinkError: Can't obtain static newInstance method for class com.sun.jna.Structure | |
at com.sun.jna.Native.initIDs(Native Method) | |
at com.sun.jna.Native.<clinit>(Native.java:122) | |
at hudson.util.jna.GNUCLibrary.<clinit>(GNUCLibrary.java:112) | |
at org.jvnet.hudson.test.JenkinsRule.<clinit>(JenkinsRule.java:2216) | |
at org.jenkinsci.plugins.badge.WorkflowBadgeActionTest.<init>(WorkflowBadgeActionTest.java:19) | |
anonymousViewStatusAccess(org.jenkinsci.plugins.badge.WorkflowBadgeActionTest) Time elapsed: 0.001 sec <<< ERROR! | |
java.lang.NoClassDefFoundError: Could not initialize class org.jvnet.hudson.test.JenkinsRule | |
at org.jenkinsci.plugins.badge.WorkflowBadgeActionTest.<init>(WorkflowBadgeActionTest.java:19) | |
anonymousRead(org.jenkinsci.plugins.badge.WorkflowBadgeActionTest) Time elapsed: 0.001 sec <<< ERROR! | |
java.lang.NoClassDefFoundError: Could not initialize class org.jvnet.hudson.test.JenkinsRule | |
at org.jenkinsci.plugins.badge.WorkflowBadgeActionTest.<init>(WorkflowBadgeActionTest.java:19) | |
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.194 sec - in InjectedTest | |
Results : | |
Tests in error: | |
PublicBadgeActionTest.<init>:47 » UnsatisfiedLink Can't obtain static newInsta... | |
PublicBadgeActionTest.<init>:47 NoClassDefFound Could not initialize class org... | |
PublicBadgeActionTest.<init>:47 NoClassDefFound Could not initialize class org... | |
PublicBadgeActionTest.<init>:47 NoClassDefFound Could not initialize class org... | |
WorkflowBadgeActionTest.<init>:19 » UnsatisfiedLink Can't obtain static newIns... | |
WorkflowBadgeActionTest.<init>:19 NoClassDefFound Could not initialize class o... | |
WorkflowBadgeActionTest.<init>:19 NoClassDefFound Could not initialize class o... | |
Tests run: 10, Failures: 0, Errors: 7, Skipped: 0 | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 22.888 s | |
[INFO] Finished at: 2016-01-13T09:01:38+02:00 | |
[INFO] Final Memory: 33M/713M | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project embeddable-build-status: There are test failures. | |
[ERROR] | |
[ERROR] Please refer to /home/mg/src/embeddable-build-status-plugin/target/surefire-reports for the individual test results. | |
[ERROR] -> [Help 1] | |
[ERROR] | |
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. | |
[ERROR] Re-run Maven using the -X switch to enable full debug logging. | |
[ERROR] | |
[ERROR] For more information about the errors and possible solutions, please read the following articles: | |
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment