Skip to content

Instantly share code, notes, and snippets.

@sid226
Created October 26, 2017 21:24
Show Gist options
  • Save sid226/2c6282943785562365a05df13567dd60 to your computer and use it in GitHub Desktop.
Save sid226/2c6282943785562365a05df13567dd60 to your computer and use it in GitHub Desktop.
/usr/lib/jvm/java-8-oracle/bin/java -Dmaven.multiModuleProjectDirectory=/home/siddesh/workspace/ksi-sdk-samples/java-sdk -Dmaven.home=/home/siddesh/Downloads/idea-IC-172.4343.14/plugins/maven/lib/maven3 -Dclassworlds.conf=/home/siddesh/Downloads/idea-IC-172.4343.14/plugins/maven/lib/maven3/bin/m2.conf -javaagent:/home/siddesh/Downloads/idea-IC-172.4343.14/lib/idea_rt.jar=37489:/home/siddesh/Downloads/idea-IC-172.4343.14/bin -Dfile.encoding=UTF-8 -classpath /home/siddesh/Downloads/idea-IC-172.4343.14/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar org.codehaus.classworlds.Launcher -Didea.version=2017.2.5 -Daggregator.url=http://tryout.guardtime.net:8080/gt-signingservice -Dextender.url=http://tryout-extender.guardtime.net:8081/gt-extendingservice -Dksi.login.id=ot.Jj5gzs -Dksi.login.key=jocmtzLGQVpV test
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ksi-sdk-samples 2.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ksi-sdk-samples ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/siddesh/workspace/ksi-sdk-samples/java-sdk/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ ksi-sdk-samples ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ ksi-sdk-samples ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 4 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ ksi-sdk-samples ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 5 source files to /home/siddesh/workspace/ksi-sdk-samples/java-sdk/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ ksi-sdk-samples ---
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.19.1/surefire-junit4-2.19.1.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.19.1/surefire-junit4-2.19.1.pom (4 KB at 2.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-providers/2.19.1/surefire-providers-2.19.1.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-providers/2.19.1/surefire-providers-2.19.1.pom (3 KB at 8.7 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.19.1/surefire-junit4-2.19.1.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.19.1/surefire-junit4-2.19.1.jar (74 KB at 85.7 KB/sec)
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.guardtime.ksi.samples.VerificationSamples
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.
verifyExtendedSignatureUsingPublicationsCode > signature valid
verifyExtendedSignatureUsingPublicationsFile > signature valid
verifyCalendarBasedUnextended > signature valid
verifyUsingCustomPublicationsFileAndTrustStore > signature valid
verifyKeyBased > signature valid
verifyExtendedSignatureUsingPublicationsCodeAutoExtend > signature valid
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.477 sec - in com.guardtime.ksi.samples.VerificationSamples
Running com.guardtime.ksi.samples.SignatureContentSamples
printSigningTime > Tue Feb 16 22:42:48 IST 2016
printAggregationHashChain > link count > 1
printAggregationHashChain > link count > 11
printAggregationHashChain > link count > 9
printAggregationHashChain > link count > 9
printAggregationHashChain > link count > 3
printCalendarHashChain > publication time > Tue Mar 15 05:30:00 IST 2016
printPublicationRecord > publication time >Tue Mar 15 05:30:00 IST 2016
GT :: GT :: rsyslog :: ot.mJcM1i
printCalendarAuthenticationRecord > signature type > 1.2.840.113549.1.1.11
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec - in com.guardtime.ksi.samples.SignatureContentSamples
Running com.guardtime.ksi.samples.ExtendingSamples
printPublicationInfo > publication reference > Financial Times, ISSN: 0307-1766, 2016-02-17
printPublicationInfo > publication reference > Äripäev, ISSN: 1406-2585, 17.02.2016
printPublicationInfo > publication reference > https://twitter.com/Guardtime/status/699919571084558336
extendToClosesPublication > extended to publication > Tue Mar 15 05:30:00 IST 2016
extendToGivenPublicationCode > signature extended to publication > Tue Mar 15 05:30:00 IST 2016
extendToGivenPublicationDate > trying to extend signature to publication > Tue Mar 15 05:30:00 IST 2016
extendToGivenPublicationDate > signature extended to publication > Tue Mar 15 05:30:00 IST 2016
checkExtended > signature not extended
reExtendToLatestPublication > signature extended to publication > Sun Oct 15 05:30:00 IST 2017
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.412 sec - in com.guardtime.ksi.samples.ExtendingSamples
Running com.guardtime.ksi.samples.SigningSamples
GT :: GT :: tryout :: ot.Jj5gzs :: john.smith
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.613 sec - in com.guardtime.ksi.samples.SigningSamples
Results :
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19.646 s
[INFO] Finished at: 2017-10-27T02:51:50+05:30
[INFO] Final Memory: 19M/151M
[INFO] ------------------------------------------------------------------------
Process finished with exit code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment