Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test assumes $HOME/tmp already exists #12

Open
jefferis opened this issue Feb 23, 2019 · 0 comments
Open

Test assumes $HOME/tmp already exists #12

jefferis opened this issue Feb 23, 2019 · 0 comments

Comments

@jefferis
Copy link
Contributor

Gregs-MBP-2:n5-utils jefferis$ ./install $HOME/bin osx
Installing into /Users/jefferis/bin
Assuming operating system osx
Picked up _JAVA_OPTIONS: -Djdk.net.URLClassPath.disableClassPathURLCheck=true
[INFO] Scanning for projects...
[INFO] 
[INFO] ----------------------< org.saalfeldlab:n5-utils >----------------------
[INFO] Building n5-utils 0.0.3-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ n5-utils ---
[INFO] Deleting /Users/jefferis/dev/Java/n5-utils/target
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-rules) @ n5-utils ---
[INFO] Skipping Rule Enforcement.
[INFO] 
[INFO] --- build-helper-maven-plugin:3.0.0:regex-property (sanitize-version) @ n5-utils ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ n5-utils ---
[INFO] Executing: /bin/sh -c cd '/Users/jefferis/dev/Java/n5-utils' && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: /Users/jefferis/dev/Java/n5-utils
[INFO] Storing buildNumber: 1dd1c637300cc494a8eb86433a43334a67cf1f40 at timestamp: 1550917422744
[INFO] Storing buildScmBranch: master
[INFO] 
[INFO] --- scijava-maven-plugin:1.1.0:set-rootdir (set-rootdir) @ n5-utils ---
[INFO] Setting rootdir: /Users/jefferis/dev/Java/n5-utils
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ n5-utils ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/jefferis/dev/Java/n5-utils/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ n5-utils ---
[INFO] Compiling 4 source files to /Users/jefferis/dev/Java/n5-utils/target/classes
[INFO] /Users/jefferis/dev/Java/n5-utils/src/main/java/org/saalfeldlab/Equals.java: Some input files use unchecked or unsafe operations.
[INFO] /Users/jefferis/dev/Java/n5-utils/src/main/java/org/saalfeldlab/Equals.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ n5-utils ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/jefferis/dev/Java/n5-utils/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ n5-utils ---
[INFO] Compiling 2 source files to /Users/jefferis/dev/Java/n5-utils/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.21.0:test (default-test) @ n5-utils ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.saalfeldlab.CopyTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.183 s <<< FAILURE! - in org.saalfeldlab.CopyTest
[ERROR] test(org.saalfeldlab.CopyTest)  Time elapsed: 0.122 s  <<< ERROR!
ncsa.hdf.hdf5lib.exceptions.HDF5FileNotFoundException: Directory does not exist. (/Users/jefferis/tmp)
	at org.saalfeldlab.CopyTest.test(CopyTest.java:70)

[INFO] Running org.saalfeldlab.MiscTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.saalfeldlab.MiscTest
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR]   CopyTest.test:70 » HDF5FileNotFound Directory does not exist. (/Users/jefferis...
[INFO] 
[ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  4.676 s
[INFO] Finished at: 2019-02-23T10:23:45Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test (default-test) on project n5-utils: There are test failures.
[ERROR] 
[ERROR] Please refer to /Users/jefferis/dev/Java/n5-utils/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
[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
[INFO] Scanning for projects...
[INFO] 
[INFO] ----------------------< org.saalfeldlab:n5-utils >----------------------
[INFO] Building n5-utils 0.0.3-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-dependency-plugin:3.1.1:build-classpath (default-cli) @ n5-utils ---
[INFO] Wrote classpath file '/Users/jefferis/dev/Java/n5-utils/cp.txt'.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.570 s
[INFO] Finished at: 2019-02-23T10:23:48Z
[INFO] ------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant