Skip to content

Instantly share code, notes, and snippets.

@pferrel
Created August 8, 2017 15:53
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 pferrel/e016b350758a349bcdaacf1cc53de536 to your computer and use it in GitHub Desktop.
Save pferrel/e016b350758a349bcdaacf1cc53de536 to your computer and use it in GitHub Desktop.
building vw JNI wrapper--odd test logs that say error but aren't counted as errors
Maclaurin:java pat$ mvn install
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Vowpal Wabbit JNI Layer 8.4.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.1:enforce (enforce-ban-duplicate-classes) @ vw-jni ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.1:enforce (enforce-ban-version-downgrades) @ vw-jni ---
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ vw-jni ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/pat/vw/java/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ vw-jni ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 22 source files to /Users/pat/vw/java/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ vw-jni ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ vw-jni ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ vw-jni ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 10 source files to /Users/pat/vw/java/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ vw-jni ---
[INFO] Surefire report directory: /Users/pat/vw/java/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running vowpalWabbit.ClosingTest
cache has possibly incompatible version, rebuilding
cache has possibly incompatible version, rebuilding
cache has possibly incompatible version, rebuilding
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.988 sec - in vowpalWabbit.ClosingTest
Running vowpalWabbit.learner.VWActionProbsLearnerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.088 sec - in vowpalWabbit.learner.VWActionProbsLearnerTest
Running vowpalWabbit.learner.VWActionScoresLearnerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.097 sec - in vowpalWabbit.learner.VWActionScoresLearnerTest
Running vowpalWabbit.learner.VWLearnersTest
Error: unrecognised option '--BAD_FEATURE___ounq24tjnasdf8h'
Error: Model content is corrupted, weight vector index 1347768914 must be less than total vector length 262144
Error: bad model format!
Tests run: 8, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 2.573 sec - in vowpalWabbit.learner.VWLearnersTest
Running vowpalWabbit.learner.VWMulticlassLearnerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.089 sec - in vowpalWabbit.learner.VWMulticlassLearnerTest
Running vowpalWabbit.learner.VWMultilabelsLearnerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.083 sec - in vowpalWabbit.learner.VWMultilabelsLearnerTest
Running vowpalWabbit.learner.VWProbLearnerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.07 sec - in vowpalWabbit.learner.VWProbLearnerTest
Running vowpalWabbit.learner.VWScalarLearnerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.184 sec - in vowpalWabbit.learner.VWScalarLearnerTest
Running vowpalWabbit.learner.VWScalarsLearnerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.087 sec - in vowpalWabbit.learner.VWScalarsLearnerTest
Results :
Tests run: 33, Failures: 0, Errors: 0, Skipped: 1
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (surefire-test) @ vw-jni ---
[INFO] Skipping execution of surefire because it has already been run for this configuration
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ vw-jni ---
[INFO] Building jar: /Users/pat/vw/java/target/vw-jni-8.4.1-SNAPSHOT.jar
[INFO]
[INFO] --- maven-javadoc-plugin:2.8.1:jar (attach-javadocs) @ vw-jni ---
[INFO]
Loading source files for package vowpalWabbit.learner...
Loading source files for package vowpalWabbit...
Loading source files for package vowpalWabbit.responses...
Constructing Javadoc information...
Standard Doclet version 1.8.0_102
Building tree for all the packages and classes...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/VWActionProbsLearner.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/VWActionScoresLearner.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/VWLearner.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/VWLearners.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/VWMulticlassLearner.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/VWMultilabelsLearner.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/VWProbLearner.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/VWScalarLearner.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/VWScalarsLearner.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/VWTypedLearner.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/VW.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/responses/ActionProb.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/responses/ActionProbs.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/responses/ActionScore.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/responses/ActionScores.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/responses/Multilabels.html...
Generating /Users/pat/vw/java/target/apidocs/overview-frame.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/package-frame.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/package-summary.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/package-tree.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/package-frame.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/package-summary.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/package-tree.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/responses/package-frame.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/responses/package-summary.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/responses/package-tree.html...
Generating /Users/pat/vw/java/target/apidocs/constant-values.html...
Generating /Users/pat/vw/java/target/apidocs/serialized-form.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/class-use/VWTypedLearner.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/class-use/VWScalarsLearner.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/class-use/VWScalarLearner.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/class-use/VWProbLearner.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/class-use/VWMultilabelsLearner.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/class-use/VWMulticlassLearner.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/class-use/VWLearners.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/class-use/VWLearner.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/class-use/VWActionScoresLearner.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/class-use/VWActionProbsLearner.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/class-use/VW.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/responses/class-use/Multilabels.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/responses/class-use/ActionScores.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/responses/class-use/ActionScore.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/responses/class-use/ActionProbs.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/responses/class-use/ActionProb.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/package-use.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/learner/package-use.html...
Generating /Users/pat/vw/java/target/apidocs/vowpalWabbit/responses/package-use.html...
Building index for all the packages and classes...
Generating /Users/pat/vw/java/target/apidocs/overview-tree.html...
Generating /Users/pat/vw/java/target/apidocs/index-all.html...
Generating /Users/pat/vw/java/target/apidocs/deprecated-list.html...
Building index for all classes...
Generating /Users/pat/vw/java/target/apidocs/allclasses-frame.html...
Generating /Users/pat/vw/java/target/apidocs/allclasses-noframe.html...
Generating /Users/pat/vw/java/target/apidocs/index.html...
Generating /Users/pat/vw/java/target/apidocs/overview-summary.html...
Generating /Users/pat/vw/java/target/apidocs/help-doc.html...
[INFO] Building jar: /Users/pat/vw/java/target/vw-jni-8.4.1-SNAPSHOT-javadoc.jar
[INFO]
[INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ vw-jni >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.1:enforce (enforce-ban-duplicate-classes) @ vw-jni ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.1:enforce (enforce-ban-version-downgrades) @ vw-jni ---
[INFO]
[INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ vw-jni <<<
[INFO]
[INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ vw-jni ---
[INFO] Building jar: /Users/pat/vw/java/target/vw-jni-8.4.1-SNAPSHOT-sources.jar
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ vw-jni ---
[INFO] Installing /Users/pat/vw/java/target/vw-jni-8.4.1-SNAPSHOT.jar to /Users/pat/.m2/repository/com/github/johnlangford/vw-jni/8.4.1-SNAPSHOT/vw-jni-8.4.1-SNAPSHOT.jar
[INFO] Installing /Users/pat/vw/java/pom.xml to /Users/pat/.m2/repository/com/github/johnlangford/vw-jni/8.4.1-SNAPSHOT/vw-jni-8.4.1-SNAPSHOT.pom
[INFO] Installing /Users/pat/vw/java/target/vw-jni-8.4.1-SNAPSHOT-javadoc.jar to /Users/pat/.m2/repository/com/github/johnlangford/vw-jni/8.4.1-SNAPSHOT/vw-jni-8.4.1-SNAPSHOT-javadoc.jar
[INFO] Installing /Users/pat/vw/java/target/vw-jni-8.4.1-SNAPSHOT-sources.jar to /Users/pat/.m2/repository/com/github/johnlangford/vw-jni/8.4.1-SNAPSHOT/vw-jni-8.4.1-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.451 s
[INFO] Finished at: 2017-08-08T08:48:51-07:00
[INFO] Final Memory: 28M/312M
[INFO] ------------------------------------------------------------------------
Maclaurin:java pat$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment