Skip to content

Instantly share code, notes, and snippets.

@memory
Created May 16, 2012 15:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save memory/2711504 to your computer and use it in GitHub Desktop.
Save memory/2711504 to your computer and use it in GitHub Desktop.
git-plugin test failures
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Jenkins GIT plugin
[INFO] task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [hpi:validate {execution: default-validate}]
[INFO] [enforcer:display-info {execution: default}]
[INFO] Maven Version: 2.2.1
[INFO] JDK Version: 1.6.0_31 normalized as: 1.6.0-31
[INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 2.6.32-344-ec2
[INFO] [localizer:generate {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 51 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [maven-license-plugin:process {execution: default}]
[INFO] Generated /home/harry/dev/git-plugin/target/git/WEB-INF/licenses.xml
[INFO] [access-modifier-checker:enforce {execution: default-enforce}]
[INFO] [bridge-method-injector:process {execution: default}]
[INFO] [hpi:insert-test {execution: default-insert-test}]
[INFO] [groovy:generateTestStubs {execution: test-in-groovy}]
[INFO] No sources found for Java stub generation
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [hpi:test-hpl {execution: default-test-hpl}]
[INFO] Generating /home/harry/dev/git-plugin/target/test-classes/the.hpl
[INFO] [hpi:resolve-test-dependencies {execution: default-resolve-test-dependencies}]
[INFO] [groovy:testCompile {execution: test-in-groovy}]
[INFO] No sources found to compile
[WARNING] DEPRECATED [systemProperties]: Use systemPropertyVariables instead.
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: /home/harry/dev/git-plugin/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running InjectedTest
java.lang.reflect.UndeclaredThrowableException
at $Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
... 4 more
Caused by: org.apache.maven.surefire.testset.TestSetFailedException: InjectedTest; nested exception is java.lang.Error: Failed to create temporary file for jnidispatch library: java.io.IOException: Permission denied
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:113)
at org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:108)
at org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:85)
... 9 more
Caused by: java.lang.Error: Failed to create temporary file for jnidispatch library: java.io.IOException: Permission denied
at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:735)
at com.sun.jna.Native.loadNativeLibrary(Native.java:674)
at com.sun.jna.Native.<clinit>(Native.java:115)
at hudson.util.jna.GNUCLibrary.<clinit>(GNUCLibrary.java:105)
at org.jvnet.hudson.test.HudsonTestCase.<clinit>(HudsonTestCase.java:1842)
at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.<init>(JellyTestSuiteBuilder.java:129)
at org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuite.<init>(JellyTestSuiteBuilder.java:128)
at org.jvnet.hudson.test.JellyTestSuiteBuilder.build(JellyTestSuiteBuilder.java:56)
at org.jvnet.hudson.test.PluginAutomaticTestBuilder.build(PluginAutomaticTestBuilder.java:54)
at InjectedTest.suite(InjectedTest.java:15)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.common.junit3.JUnit3Reflector.createInstanceFromSuiteMethod(JUnit3Reflector.java:158)
at org.apache.maven.surefire.common.junit3.JUnit3Reflector.constructTestObject(JUnit3Reflector.java:123)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:82)
... 11 more
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment