Skip to content

Instantly share code, notes, and snippets.

@dgboy2000
Created October 22, 2015 01:20
Show Gist options
  • Save dgboy2000/4788502ff74355569eea to your computer and use it in GitHub Desktop.
Save dgboy2000/4788502ff74355569eea to your computer and use it in GitHub Desktop.
nd4j build failure on master branch
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.nd4j.linalg.Nd4jTestSuite
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.231 sec <<< FAILURE!
initializationError(org.nd4j.linalg.Nd4jTestSuite) Time elapsed: 0.007 sec <<< ERROR!
java.lang.NoSuchMethodException: org.nd4j.linalg.util.TestArrayUtils.<init>(java.lang.String, org.nd4j.linalg.factory.Nd4jBackend)
at java.lang.Class.getConstructor0(Class.java:3082)
at java.lang.Class.getConstructor(Class.java:1825)
at org.nd4j.linalg.Nd4jTestSuite.suite(Nd4jTestSuite.java:151)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.junit.internal.runners.SuiteMethod.testFromSuiteMethod(SuiteMethod.java:35)
at org.junit.internal.runners.SuiteMethod.<init>(SuiteMethod.java:24)
at org.junit.runners.AllTests.<init>(AllTests.java:25)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:250)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Results :
Tests in error:
initializationError(org.nd4j.linalg.Nd4jTestSuite): org.nd4j.linalg.util.TestArrayUtils.<init>(java.lang.String, org.nd4j.linalg.factory.Nd4jBackend)
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] nd4j ............................................... SUCCESS [ 0.653 s]
[INFO] nd4j-bytebuddy ..................................... SUCCESS [ 2.303 s]
[INFO] nd4j-api ........................................... SUCCESS [ 0.263 s]
[INFO] nd4j-jblas ......................................... FAILURE [ 7.366 s]
[INFO] nd4j-jdbc .......................................... SKIPPED
[INFO] nd4j-jdbc-api ...................................... SKIPPED
[INFO] nd4j-jdbc-mysql .................................... SKIPPED
[INFO] nd4j-netlib-blas ................................... SKIPPED
[INFO] nd4j-jcublas-parent ................................ SKIPPED
[INFO] nd4j-jcublas-common ................................ SKIPPED
[INFO] nd4j-jcublas-6.5 ................................... SKIPPED
[INFO] nd4j-jcublas-5.5 ................................... SKIPPED
[INFO] nd4j-jcublas-6.0 ................................... SKIPPED
[INFO] nd4j-jcublas-7.0 ................................... SKIPPED
[INFO] nd4j-jcublas-kernels ............................... SKIPPED
[INFO] nd4j-jcublas-7.5 ................................... SKIPPED
[INFO] nd4j-instrumentation ............................... SKIPPED
[INFO] nd4j-java .......................................... SKIPPED
[INFO] nd4j-jocl-parent ................................... SKIPPED
[INFO] nd4j-jocl-1.9 ...................................... SKIPPED
[INFO] nd4j-jocl-common ................................... SKIPPED
[INFO] nd4j-cpu ........................................... SKIPPED
[INFO] nd4j-tests ......................................... SKIPPED
[INFO] nd4j-perf .......................................... SKIPPED
[INFO] nd4j-serde ......................................... SKIPPED
[INFO] nd4j-jackson ....................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.244 s
[INFO] Finished at: 2015-10-21T18:17:23-07:00
[INFO] Final Memory: 27M/480M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project nd4j-jblas: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/danny/Documents/code/test/nd4j/nd4j-jblas/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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :nd4j-jblas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment