Skip to content

Instantly share code, notes, and snippets.

@ogt
Last active December 15, 2015 11:49
Show Gist options
  • Save ogt/5256211 to your computer and use it in GitHub Desktop.
Save ogt/5256211 to your computer and use it in GitHub Desktop.
Test transcript for pull request
ithaca:projects odysseas$ hub clone contractor-recommendations
Cloning into contractor-recommendations...
remote: Counting objects: 192, done.
remote: Compressing objects: 100% (148/148), done.
remote: Total 192 (delta 47), reused 173 (delta 28)
Receiving objects: 100% (192/192), 7.60 MiB | 1.24 MiB/s, done.
Resolving deltas: 100% (47/47), done.

ithaca:projects odysseas$ cd !$
cd contractor-recommendations
ithaca:contractor-recommendations odysseas$ heroku create
Creating floating-taiga-6009... done, stack is cedar
http://floating-taiga-6009.herokuapp.com/ | git@heroku.com:floating-taiga-6009.git
Git remote heroku added

ithaca:contractor-recommendations odysseas$ git push heroku master
Counting objects: 192, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (129/129), done.
Writing objects: 100% (192/192), 7.60 MiB | 738 KiB/s, done.
Total 192 (delta 47), reused 192 (delta 47)

-----> Java app detected
-----> Installing OpenJDK 1.6...done
-----> Installing Maven 3.0.3... done
-----> Installing settings.xml... done
-----> executing /app/tmp/repo.git/.cache/.maven/bin/mvn -B -Duser.home=/tmp/build_216xymewlrmkq -Dmaven.repo.local=/app/tmp/repo.git/.cache/.m2/repository -s /app/tmp/repo.git/.cache/.m2/settings.xml -DskipTests=true clean install
       [INFO] Scanning for projects...
       [INFO]                                                                         
       [INFO] ------------------------------------------------------------------------
       [INFO] Building HerokuDemoApp 0.0.1-SNAPSHOT
       [INFO] ------------------------------------------------------------------------
       Downloading: http://s3pository.heroku.com/jvm/org/apache/maven/plugins/maven-dependency-plugin/2.4/maven-dependency-plugin-2.4.pom
       Downloaded: http://s3pository.heroku.com/jvm/org/apache/maven/plugins/maven-dependency-plugin/2.4/maven-dependency-plugin-2.4.pom (11 KB at 39.9 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/org/apache/maven/plugins/maven-dependency-plugin/2.4/maven-dependency-plugin-2.4.jar
       Downloaded: http://s3pository.heroku.com/jvm/org/apache/maven/plugins/maven-dependency-plugin/2.4/maven-dependency-plugin-2.4.jar (132 KB at 544.3 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/commons-io/commons-io/2.4/commons-io-2.4.pom
       Downloaded: http://s3pository.heroku.com/jvm/commons-io/commons-io/2.4/commons-io-2.4.pom (10 KB at 69.4 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/org/apache/commons/commons-parent/25/commons-parent-25.pom
       Downloaded: http://s3pository.heroku.com/jvm/org/apache/commons/commons-parent/25/commons-parent-25.pom (48 KB at 268.0 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3.pom
       Downloaded: http://s3pository.heroku.com/jvm/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3.pom (11 KB at 75.9 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/org/apache/commons/commons-parent/14/commons-parent-14.pom
       Downloaded: http://s3pository.heroku.com/jvm/org/apache/commons/commons-parent/14/commons-parent-14.pom (31 KB at 333.2 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom
       Downloaded: http://s3pository.heroku.com/jvm/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom (18 KB at 183.0 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/org/apache/commons/commons-parent/5/commons-parent-5.pom
       Downloaded: http://s3pository.heroku.com/jvm/org/apache/commons/commons-parent/5/commons-parent-5.pom (16 KB at 133.9 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.pom
       Downloaded: http://s3pository.heroku.com/jvm/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.pom (17 KB at 152.5 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/org/apache/commons/commons-parent/22/commons-parent-22.pom
       Downloaded: http://s3pository.heroku.com/jvm/org/apache/commons/commons-parent/22/commons-parent-22.pom (41 KB at 286.3 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/xerces/xercesImpl/2.9.0/xercesImpl-2.9.0.pom
       Downloaded: http://s3pository.heroku.com/jvm/xerces/xercesImpl/2.9.0/xercesImpl-2.9.0.pom (2 KB at 6.9 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.pom
       Downloaded: http://s3pository.heroku.com/jvm/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.pom (2 KB at 7.9 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/tw/edu/ntu/csie/libsvm/3.1/libsvm-3.1.pom
       Downloaded: http://s3pository.heroku.com/jvm/tw/edu/ntu/csie/libsvm/3.1/libsvm-3.1.pom (2 KB at 13.0 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/de/bwaldvogel/liblinear/1.92/liblinear-1.92.pom
       Downloaded: http://s3pository.heroku.com/jvm/de/bwaldvogel/liblinear/1.92/liblinear-1.92.pom (5 KB at 54.7 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/org/sonatype/oss/oss-parent/6/oss-parent-6.pom
       Downloaded: http://s3pository.heroku.com/jvm/org/sonatype/oss/oss-parent/6/oss-parent-6.pom (5 KB at 23.1 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/commons-logging/commons-logging/1.1.2/commons-logging-1.1.2.pom
       Downloaded: http://s3pository.heroku.com/jvm/commons-logging/commons-logging/1.1.2/commons-logging-1.1.2.pom (18 KB at 132.0 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/org/apache/commons/commons-parent/28/commons-parent-28.pom
       Downloaded: http://s3pository.heroku.com/jvm/org/apache/commons/commons-parent/28/commons-parent-28.pom (49 KB at 504.9 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/org/apache/apache/13/apache-13.pom
       Downloaded: http://s3pository.heroku.com/jvm/org/apache/apache/13/apache-13.pom (14 KB at 160.5 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/commons-io/commons-io/2.4/commons-io-2.4.jar
       Downloading: http://s3pository.heroku.com/jvm/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar
       Downloading: http://s3pository.heroku.com/jvm/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3.jar
       Downloading: http://s3pository.heroku.com/jvm/xerces/xercesImpl/2.9.0/xercesImpl-2.9.0.jar
       Downloading: http://s3pository.heroku.com/jvm/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar
       Downloaded: http://s3pository.heroku.com/jvm/commons-io/commons-io/2.4/commons-io-2.4.jar (181 KB at 641.1 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/tw/edu/ntu/csie/libsvm/3.1/libsvm-3.1.jar
       Downloaded: http://s3pository.heroku.com/jvm/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3.jar (227 KB at 692.9 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/de/bwaldvogel/liblinear/1.92/liblinear-1.92.jar
       Downloaded: http://s3pository.heroku.com/jvm/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar (309 KB at 891.3 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/commons-logging/commons-logging/1.1.2/commons-logging-1.1.2.jar
       Downloaded: http://s3pository.heroku.com/jvm/tw/edu/ntu/csie/libsvm/3.1/libsvm-3.1.jar (58 KB at 706.3 KB/sec)
       Downloaded: http://s3pository.heroku.com/jvm/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar (190 KB at 632.7 KB/sec)
       Downloaded: http://s3pository.heroku.com/jvm/xerces/xercesImpl/2.9.0/xercesImpl-2.9.0.jar (1196 KB at 2818.8 KB/sec)
       Downloaded: http://s3pository.heroku.com/jvm/commons-logging/commons-logging/1.1.2/commons-logging-1.1.2.jar (61 KB at 336.6 KB/sec)
       Downloaded: http://s3pository.heroku.com/jvm/de/bwaldvogel/liblinear/1.92/liblinear-1.92.jar (59 KB at 219.1 KB/sec)
       [INFO] 
       [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ HerokuDemoApp ---
       [INFO] 
       [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ HerokuDemoApp ---
       [INFO] Using 'UTF-8' encoding to copy filtered resources.
       [INFO] Copying 1 resource
       [INFO] 
       [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ HerokuDemoApp ---
       [INFO] Compiling 25 source files to /tmp/build_216xymewlrmkq/target/classes
       [INFO] 
       [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ HerokuDemoApp ---
       [INFO] Using 'UTF-8' encoding to copy filtered resources.
       [INFO] skip non existing resourceDirectory /tmp/build_216xymewlrmkq/src/test/resources
       [INFO] 
       [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ HerokuDemoApp ---
       [INFO] No sources to compile
       [INFO] 
       [INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ HerokuDemoApp ---
       [INFO] Tests are skipped.
       [INFO] 
       [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ HerokuDemoApp ---
       [INFO] Building jar: /tmp/build_216xymewlrmkq/target/HerokuDemoApp-0.0.1-SNAPSHOT.jar
       [INFO] 
       [INFO] --- maven-dependency-plugin:2.4:copy-dependencies (copy-dependencies) @ HerokuDemoApp ---
       Downloading: http://s3pository.heroku.com/jvm/org/codehaus/plexus/plexus-io/2.0.1/plexus-io-2.0.1.pom
       Downloaded: http://s3pository.heroku.com/jvm/org/codehaus/plexus/plexus-io/2.0.1/plexus-io-2.0.1.pom (2 KB at 13.9 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/org/codehaus/plexus/plexus-components/1.1.19/plexus-components-1.1.19.pom
       Downloaded: http://s3pository.heroku.com/jvm/org/codehaus/plexus/plexus-components/1.1.19/plexus-components-1.1.19.pom (3 KB at 34.2 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/org/codehaus/plexus/plexus/3.0.1/plexus-3.0.1.pom
       Downloaded: http://s3pository.heroku.com/jvm/org/codehaus/plexus/plexus/3.0.1/plexus-3.0.1.pom (19 KB at 233.0 KB/sec)
       Downloading: http://s3pository.heroku.com/jvm/org/codehaus/plexus/plexus-io/2.0.1/plexus-io-2.0.1.jar
       Downloaded: http://s3pository.heroku.com/jvm/org/codehaus/plexus/plexus-io/2.0.1/plexus-io-2.0.1.jar (57 KB at 295.5 KB/sec)
       [INFO] Copying xercesImpl-2.9.0.jar to /tmp/build_216xymewlrmkq/target/dependency/xercesImpl-2.9.0.jar
       [INFO] Copying commons-lang3-3.1.jar to /tmp/build_216xymewlrmkq/target/dependency/commons-lang3-3.1.jar
       [INFO] Copying commons-beanutils-1.8.3.jar to /tmp/build_216xymewlrmkq/target/dependency/commons-beanutils-1.8.3.jar
       [INFO] Copying commons-logging-1.1.2.jar to /tmp/build_216xymewlrmkq/target/dependency/commons-logging-1.1.2.jar
       [INFO] Copying xml-apis-1.3.04.jar to /tmp/build_216xymewlrmkq/target/dependency/xml-apis-1.3.04.jar
       [INFO] Copying commons-io-2.4.jar to /tmp/build_216xymewlrmkq/target/dependency/commons-io-2.4.jar
       [INFO] Copying libsvm-3.1.jar to /tmp/build_216xymewlrmkq/target/dependency/libsvm-3.1.jar
       [INFO] Copying liblinear-1.92.jar to /tmp/build_216xymewlrmkq/target/dependency/liblinear-1.92.jar
       [INFO] 
       [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ HerokuDemoApp ---
       [INFO] Installing /tmp/build_216xymewlrmkq/target/HerokuDemoApp-0.0.1-SNAPSHOT.jar to /app/tmp/repo.git/.cache/.m2/repository/odesk/demo/HerokuDemoApp/0.0.1-SNAPSHOT/HerokuDemoApp-0.0.1-SNAPSHOT.jar
       [INFO] Installing /tmp/build_216xymewlrmkq/pom.xml to /app/tmp/repo.git/.cache/.m2/repository/odesk/demo/HerokuDemoApp/0.0.1-SNAPSHOT/HerokuDemoApp-0.0.1-SNAPSHOT.pom
       [INFO] ------------------------------------------------------------------------
       [INFO] BUILD SUCCESS
       [INFO] ------------------------------------------------------------------------
       [INFO] Total time: 10.821s
       [INFO] Finished at: Wed Mar 27 17:07:34 UTC 2013
       [INFO] Final Memory: 13M/490M
       [INFO] ------------------------------------------------------------------------
-----> Discovering process types

-----> Compiled slug size: 50.5MB
-----> Launching... done, v6
       http://floating-taiga-6009.herokuapp.com deployed to Heroku

To git@heroku.com:floating-taiga-6009.git
 * [new branch]      master -> master


ithaca:contractor-recommendations odysseas$ heroku run "java -cp target/classes:target/dependency/* ContractorRecommendationsTraining"
Running `java -cp target/classes:target/dependency/* ContractorRecommendationsTraining` attached to terminal... up, run.7834
Mar 27, 2013 5:08:27 PM ContractorRecommendationsTraining <init>
INFO: bound params {outputPath=data/test/output/, inputPath=data/test/, tmpPath=/tmp/}
Mar 27, 2013 5:08:27 PM ContractorRecommendationsTraining doTask
INFO: Training...
Mar 27, 2013 5:08:27 PM ContractorRecommendationsTraining iterateTrainingExamples
INFO: Iterating over all available positive training examples all available negative training examples.
Mar 27, 2013 5:08:27 PM ContractorRecommendationsTraining iteratePositiveTrainingExamplesFromFile
INFO: Reading positive training examples from file data/test/positive.csv ...
Mar 27, 2013 5:08:27 PM util.UnicodeReader init
INFO: UnicodeReader: encoding = null
Mar 27, 2013 5:08:27 PM ContractorRecommendationsTraining iteratePositiveTrainingExamplesFromFile
INFO: Done reading positive training examples.
Mar 27, 2013 5:08:27 PM ContractorRecommendationsTraining iterateNegativeTrainingExamplesFromFile
INFO: Reading negative training examples from file data/test/negative.csv ...
Mar 27, 2013 5:08:27 PM util.UnicodeReader init
INFO: UnicodeReader: encoding = null
Mar 27, 2013 5:08:27 PM ContractorRecommendationsTraining iterateNegativeTrainingExamplesFromFile
INFO: Done reading negative training examples.
Mar 27, 2013 5:08:27 PM ContractorRecommendationsTraining iterateTrainingExamples
INFO: Done iterating over training examples.
Mar 27, 2013 5:08:27 PM ContractorRecommendationsTraining printPositiveExamples
INFO: ready to print 2positive examples
Mar 27, 2013 5:08:27 PM ContractorRecommendationsTraining printNegativeExamples
INFO: ready to print 2negative examples
Mar 27, 2013 5:08:27 PM ContractorRecommendationsTraining doTask
INFO: Memory Usage = 8MB ( JVM memory = 524MB, Free memory = 516MB)
Mar 27, 2013 5:08:27 PM ContractorRecommendationsTraining doTask
INFO: Cleaning up memory
Mar 27, 2013 5:08:27 PM ContractorRecommendationsTraining doTask
INFO: Memory Usage = 3MB ( JVM memory = 524MB, Free memory = 521MB)
Mar 27, 2013 5:08:27 PM ContractorRecommendationsTraining doTask
INFO: Scaling training data...
Mar 27, 2013 5:08:27 PM ContractorRecommendationsTraining doTask
INFO: Memory Usage = 3MB ( JVM memory = 524MB, Free memory = 521MB)
WARNING: original #nonzeros 28
         new      #nonzeros 44
Use -l 0 if many original feature values are zeros
Mar 27, 2013 5:08:27 PM ContractorRecommendationsTraining doTask
INFO: Finished scaling training data...
Mar 27, 2013 5:08:27 PM ContractorRecommendationsTraining doTask
INFO: Running liblinear scaling...
Mar 27, 2013 5:08:27 PM ContractorRecommendationsTraining doTask
INFO: Memory Usage = 6MB ( JVM memory = 524MB, Free memory = 518MB)
iter   1  #CD cycles 1
iter   2  #CD cycles 1
iter   3  #CD cycles 2
iter   4  #CD cycles 1
iter   5  #CD cycles 2
iter   6  #CD cycles 3
iter   7  #CD cycles 1
iter   8  #CD cycles 3
=========================
optimization finished, #iter = 8
Objective value = 250.304
#nonzeros/#features = 11/13
iter   1  #CD cycles 1
iter   2  #CD cycles 1
iter   3  #CD cycles 1
iter   4  #CD cycles 1
iter   5  #CD cycles 1
=========================
optimization finished, #iter = 5
Objective value = 7.02975
#nonzeros/#features = 4/13
iter   1  #CD cycles 1
iter   2  #CD cycles 1
iter   3  #CD cycles 1
iter   4  #CD cycles 2
iter   5  #CD cycles 1
iter   6  #CD cycles 5
iter   7  #CD cycles 1
iter   8  #CD cycles 8
=========================
optimization finished, #iter = 8
Objective value = 183.297
#nonzeros/#features = 11/13
iter   1  #CD cycles 1
iter   2  #CD cycles 1
=========================
optimization finished, #iter = 2
Objective value = 245.109
#nonzeros/#features = 2/13
iter   1  #CD cycles 1
iter   2  #CD cycles 1
iter   3  #CD cycles 2
iter   4  #CD cycles 1
iter   5  #CD cycles 2
iter   6  #CD cycles 1
iter   7  #CD cycles 3
iter   8  #CD cycles 1
=========================
optimization finished, #iter = 8
Objective value = 183.316
#nonzeros/#features = 11/13
time: 27 ms
correct: 0
Cross Validation Accuracy = 0.00000%
Mar 27, 2013 5:08:27 PM ContractorRecommendationsTraining doTask
INFO: Finished running liblinear scaling...
Mar 27, 2013 5:08:27 PM ContractorRecommendationsTraining doTask
INFO: Done training in ~ 0 minutes.

ithaca:contractor-recommendations odysseas$ heroku destroy -a floating-taiga-6009

 !    WARNING: Potentially Destructive Action
 !    This command will destroy floating-taiga-6009 (including all add-ons).
 !    To proceed, type "floating-taiga-6009" or re-run this command with --confirm floating-taiga-6009

> floating-taiga-6009
Destroying floating-taiga-6009 (including all add-ons)... done

ithaca:contractor-recommendations odysseas$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment