Skip to content

Instantly share code, notes, and snippets.

@eraly
Created July 28, 2016 19:26
Show Gist options
  • Save eraly/4f086697835db6cd13fc7a6809f2ef66 to your computer and use it in GitHub Desktop.
Save eraly/4f086697835db6cd13fc7a6809f2ef66 to your computer and use it in GitHub Desktop.
Susans-MacBook-Air:nd4j-native susaneraly$ mvn clean test -Dtest=Nd4jTestsC#testTADMMul*
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.nd4j:nd4j-native:jar:0.4.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ org.nd4j:nd4j:0.4.1-SNAPSHOT, /Users/susaneraly/Blueprint/engineer/SKYMIND/nd4j/pom.xml, line 328, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] Inspecting build with total of 1 modules...
[INFO] Not installing Nexus Staging features:
[INFO] * Preexisting staging related goal bindings found in 1 modules.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building nd4j-native 0.4.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ nd4j-native ---
[INFO] Deleting /Users/susaneraly/Blueprint/engineer/SKYMIND/nd4j/nd4j-backends/nd4j-backend-impls/nd4j-native/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ nd4j-native ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (libnd4j-checks) @ nd4j-native ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ nd4j-native ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 7 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ nd4j-native ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 16 source files to /Users/susaneraly/Blueprint/engineer/SKYMIND/nd4j/nd4j-backends/nd4j-backend-impls/nd4j-native/target/classes
[WARNING] /Users/susaneraly/Blueprint/engineer/SKYMIND/nd4j/nd4j-backends/nd4j-backend-impls/nd4j-native/src/main/java/org/nd4j/linalg/cpu/nativecpu/CpuNDArrayFactory.java: Some input files use unchecked or unsafe operations.
[WARNING] /Users/susaneraly/Blueprint/engineer/SKYMIND/nd4j/nd4j-backends/nd4j-backend-impls/nd4j-native/src/main/java/org/nd4j/linalg/cpu/nativecpu/CpuNDArrayFactory.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- javacpp:1.2.3-SNAPSHOT:build (process-classes) @ nd4j-native ---
[INFO] Detected platform "macosx-x86_64"
[INFO] Building for platform "macosx-x86_64"
[INFO] Generating /Users/susaneraly/Blueprint/engineer/SKYMIND/nd4j/nd4j-backends/nd4j-backend-impls/nd4j-native/target/classes/org/nd4j/nativeblas/macosx-x86_64/jnind4j.cpp
[INFO] Compiling /Users/susaneraly/Blueprint/engineer/SKYMIND/nd4j/nd4j-backends/nd4j-backend-impls/nd4j-native/target/classes/org/nd4j/nativeblas/macosx-x86_64/libjnind4j.dylib
[INFO] clang++ -I/Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blas -I/Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/include -I/Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/include/darwin /Users/susaneraly/Blueprint/engineer/SKYMIND/nd4j/nd4j-backends/nd4j-backend-impls/nd4j-native/target/classes/org/nd4j/nativeblas/macosx-x86_64/jnind4j.cpp -std=c++11 -std=c++11 -Wl,-rpath,@loader_path/. -march=x86-64 -m64 -Wall -O3 -fPIC -dynamiclib -undefined dynamic_lookup -o libjnind4j.dylib -L/Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blasbuild/cpu/blas -Wl,-rpath,/Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blasbuild/cpu/blas -lnd4j -framework JavaVM
[INFO] Deleting /Users/susaneraly/Blueprint/engineer/SKYMIND/nd4j/nd4j-backends/nd4j-backend-impls/nd4j-native/target/classes/org/nd4j/nativeblas/macosx-x86_64/jnind4j.cpp
[INFO] Copying /usr/local/lib/libiomp5.dylib
[INFO] Copying /Users/susaneraly/Blueprint/engineer/SKYMIND/libnd4j/blasbuild/cpu/blas/libnd4j.dylib
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ nd4j-native ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ nd4j-native ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 90 source files to /Users/susaneraly/Blueprint/engineer/SKYMIND/nd4j/nd4j-backends/nd4j-backend-impls/nd4j-native/target/test-classes
[WARNING] /Users/susaneraly/Blueprint/engineer/SKYMIND/nd4j/nd4j-backends/nd4j-tests/src/test/java/org/nd4j/linalg/dataset/StandardScalerTest.java: Some input files use or override a deprecated API.
[WARNING] /Users/susaneraly/Blueprint/engineer/SKYMIND/nd4j/nd4j-backends/nd4j-tests/src/test/java/org/nd4j/linalg/dataset/StandardScalerTest.java: Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ nd4j-native ---
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.nd4j.linalg.Nd4jTestsC
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: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 2.003 sec <<< FAILURE! - in org.nd4j.linalg.Nd4jTestsC
testTADMMulLeadingOne[0: backend(org.nd4j.linalg.cpu.nativecpu.CpuBackend)={1}](org.nd4j.linalg.Nd4jTestsC) Time elapsed: 1.365 sec <<< FAILURE!
java.lang.AssertionError
at org.nd4j.linalg.Nd4jTestsC.testTADMMulLeadingOne(Nd4jTestsC.java:1603)
testTADMMul[0: backend(org.nd4j.linalg.cpu.nativecpu.CpuBackend)={1}](org.nd4j.linalg.Nd4jTestsC) Time elapsed: 0.35 sec <<< FAILURE!
java.lang.AssertionError
at org.nd4j.linalg.Nd4jTestsC.testTADMMul(Nd4jTestsC.java:1570)
Results :
Failed tests:
Nd4jTestsC.testTADMMulLeadingOne:1603
Nd4jTestsC.testTADMMul:1570
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24.987 s
[INFO] Finished at: 2016-07-28T12:22:50-07:00
[INFO] Final Memory: 28M/336M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project nd4j-native: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/susaneraly/Blueprint/engineer/SKYMIND/nd4j/nd4j-backends/nd4j-backend-impls/nd4j-native/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