Benjamins-MacBook-Air:nxt-private benjamin$ ./run-tests.sh
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
JUnit version 4.11
....
Time: 0.217
OK (4 tests)
JUnit version 4.11
.
Time: 0.012
OK (1 test)
JUnit version 4.11
....Initializing Nxt server version 1.4.7
2015-01-07 15:14:51 INFO: nxt.enableStackTraces = "true"
2015-01-07 15:14:51 INFO: nxt.enableLogTraceback = "false"
2015-01-07 15:14:51 INFO: logging enabled
2015-01-07 15:14:51 INFO: nxt.maxRollback = "1440"
2015-01-07 15:14:51 INFO: nxt.isTestnet = "false"
2015-01-07 15:14:51 INFO: nxt.isOffline = "false"
2015-01-07 15:14:51 INFO: nxt.trimDerivedTables = "true"
2015-01-07 15:14:51 INFO: nxt.numberOfForkConfirmations = "5"
2015-01-07 15:14:51 INFO: nxt.disableGetMoreBlocksThread not defined, assuming false
2015-01-07 15:14:51 INFO: nxt.dbCacheKB = "0"
2015-01-07 15:14:51 INFO: nxt.dbUrl = "jdbc:h2:nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE"
2015-01-07 15:14:51 INFO: nxt.maxDbConnections = "30"
2015-01-07 15:14:51 INFO: nxt.dbLoginTimeout = "70"
2015-01-07 15:14:51 INFO: nxt.dbDefaultLockTimeout = "60"
...
Time: 0.384
OK (7 tests)
JUnit version 4.11
.Initializing Nxt server version 1.4.7
2015-01-07 15:14:51 INFO: nxt.enableStackTraces = "true"
2015-01-07 15:14:51 INFO: nxt.enableLogTraceback = "false"
2015-01-07 15:14:51 INFO: logging enabled
2015-01-07 15:14:51 INFO: nxt.maxRollback = "1440"
2015-01-07 15:14:51 INFO: nxt.isTestnet = "false"
2015-01-07 15:14:51 INFO: nxt.isOffline = "false"
.....
Time: 0.404
OK (6 tests)
JUnit version 4.11
Initializing Nxt server version 1.4.7
2015-01-07 15:14:52 INFO: nxt.enableStackTraces = "true"
2015-01-07 15:14:52 INFO: nxt.enableLogTraceback = "false"
2015-01-07 15:14:52 INFO: logging enabled
2015-01-07 15:14:52 INFO: nxt.maxRollback = "1440"
2015-01-07 15:14:52 INFO: nxt.isTestnet = "false"
2015-01-07 15:14:52 INFO: nxt.isOffline = "false"
.2015-01-07 15:14:52 FINE: java.version = 1.8.0_25
2015-01-07 15:14:52 FINE: java.vm.version = 25.25-b02
2015-01-07 15:14:52 FINE: java.vm.name = Java HotSpot(TM) 64-Bit Server VM
2015-01-07 15:14:52 FINE: java.vendor = Oracle Corporation
2015-01-07 15:14:52 FINE: java.vm.vendor = Oracle Corporation
2015-01-07 15:14:52 FINE: java.home = /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre
2015-01-07 15:14:52 FINE: java.library.path = /Users/benjamin/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
2015-01-07 15:14:52 FINE: java.class.path = conf/:classes/:lib/bcprov-jdk15on-151.jar:lib/h2-1.3.176.jar:lib/jetty-continuation-9.2.6.v20141205.jar:lib/jetty-http-9.2.6.v20141205.jar:lib/jetty-io-9.2.6.v20141205.jar:lib/jetty-security-9.2.6.v20141205.jar:lib/jetty-server-9.2.6.v20141205.jar:lib/jetty-servlet-9.2.6.v20141205.jar:lib/jetty-servlets-9.2.6.v20141205.jar:lib/jetty-util-9.2.6.v20141205.jar:lib/json-simple-1.1.1.jar:lib/lucene-core-3.6.2.jar:lib/servlet-api-3.1.jar:lib/slf4j-api-1.7.7.jar:lib/slf4j-jdk14-1.7.7.jar:testlib/hamcrest-core-1.3.jar:testlib/junit-4.11.jar:testlib/mockito-all-1.9.5.jar
2015-01-07 15:14:52 FINE: os.arch = x86_64
2015-01-07 15:14:52 FINE: sun.arch.data.model = 64
2015-01-07 15:14:52 FINE: os.name = Mac OS X
2015-01-07 15:14:52 FINE: file.encoding = UTF-8
2015-01-07 15:14:52 FINE: availableProcessors = 4
2015-01-07 15:14:52 FINE: maxMemory = 954728448
2015-01-07 15:14:52 INFO: nxt.dbCacheKB = "0"
2015-01-07 15:14:52 INFO: nxt.dbUrl = "jdbc:h2:nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE"
2015-01-07 15:14:52 INFO: nxt.maxDbConnections = "30"
2015-01-07 15:14:52 INFO: nxt.dbLoginTimeout = "70"
2015-01-07 15:14:52 INFO: nxt.dbDefaultLockTimeout = "60"
2015-01-07 15:14:52 FINE: Database jdbc url set to: jdbc:h2:nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;CACHE_SIZE=262144
2015-01-07 15:14:57 FINE: Database connection pool current size: 1
2015-01-07 15:14:57 INFO: Database update may take a while if needed, current db version 192...
2015-01-07 15:14:57 INFO: nxt.enableTransactionRebroadcasting = "true"
2015-01-07 15:14:57 INFO: nxt.testUnconfirmedTransactions = "true"
2015-01-07 15:14:57 INFO: nxt.trimDerivedTables = "true"
2015-01-07 15:14:57 INFO: nxt.numberOfForkConfirmations = "0"
2015-01-07 15:14:57 INFO: nxt.disableGetMoreBlocksThread not defined, assuming false
2015-01-07 15:14:57 INFO: nxt.disableProcessTransactionsThread not defined, assuming false
2015-01-07 15:14:57 INFO: nxt.disableRemoveUnconfirmedTransactionsThread not defined, assuming false
2015-01-07 15:14:57 INFO: nxt.disableRebroadcastTransactionsThread not defined, assuming false
2015-01-07 15:14:58 INFO: nxt.myPlatform = "PC"
2015-01-07 15:14:58 INFO: nxt.myAddress not defined
2015-01-07 15:14:58 INFO: nxt.peerServerPort = "7874"
2015-01-07 15:14:58 INFO: nxt.shareMyAddress = "false"
2015-01-07 15:14:58 INFO: nxt.myHallmark not defined
2015-01-07 15:14:58 FINE: My peer info:
{"application":"NRS","version":"1.4.7","platform":"PC","shareAddress":false}
2015-01-07 15:14:58 INFO: nxt.wellKnownPeers not defined
2015-01-07 15:14:58 INFO: nxt.knownBlacklistedPeers not defined
2015-01-07 15:14:58 INFO: nxt.maxNumberOfConnectedPublicPeers = "20"
2015-01-07 15:14:58 INFO: nxt.connectTimeout = "4000"
2015-01-07 15:14:58 INFO: nxt.readTimeout = "8000"
2015-01-07 15:14:58 INFO: nxt.enableHallmarkProtection = "true"
2015-01-07 15:14:58 INFO: nxt.pushThreshold = "0"
2015-01-07 15:14:58 INFO: nxt.pullThreshold = "0"
2015-01-07 15:14:58 INFO: nxt.blacklistingPeriod = "600000"
2015-01-07 15:14:58 INFO: nxt.communicationLoggingMask = "0"
2015-01-07 15:14:58 INFO: nxt.sendToPeersLimit = "10"
2015-01-07 15:14:58 INFO: nxt.usePeersDb = "true"
2015-01-07 15:14:58 INFO: nxt.savePeers = "false"
2015-01-07 15:14:58 INFO: nxt.getMorePeers = "true"
2015-01-07 15:14:58 INFO: nxt.dumpPeersVersion not defined
2015-01-07 15:14:58 INFO: nxt.disablePeerConnectingThread not defined, assuming false
2015-01-07 15:14:58 INFO: nxt.disablePeerUnBlacklistingThread not defined, assuming false
2015-01-07 15:14:58 INFO: nxt.disableGetMorePeersThread not defined, assuming false
2015-01-07 15:14:58 INFO: shareMyAddress is disabled, will not start peer networking server
2015-01-07 15:14:58 INFO: nxt.enableFakeForging = "true"
2015-01-07 15:14:58 INFO: nxt.fakeForgingAccount not defined
2015-01-07 15:14:58 INFO: nxt.disableGenerateBlocksThread = "false"
2015-01-07 15:14:58 INFO: nxt.enableDebugAPI = "false"
2015-01-07 15:14:58 INFO: nxt.allowedBotHosts = "127.0.0.1; localhost; [0:0:0:0:0:0:0:1];"
2015-01-07 15:14:58 INFO: nxt.enableAPIServer = "true"
2015-01-07 15:14:58 INFO: nxt.apiServerPort = "7876"
2015-01-07 15:14:58 INFO: nxt.apiServerHost = "127.0.0.1"
2015-01-07 15:14:58 INFO: nxt.apiSSL = "false"
2015-01-07 15:14:58 INFO: nxt.apiServerIdleTimeout = "30000"
2015-01-07 15:14:58 INFO: nxt.apiResourceBase = "html/ui"
2015-01-07 15:14:58 INFO: nxt.apiWelcomeFile = "index.html"
2015-01-07 15:14:58 INFO: nxt.javadocResourceBase = "html/doc"
2015-01-07 15:14:58 INFO: nxt.enableAPIServerGZIPFilter = "false"
2015-01-07 15:14:58 INFO: nxt.apiServerCORS = "false"
2015-01-07 15:14:58 INFO: nxt.allowedUserHosts = "127.0.0.1; localhost; [0:0:0:0:0:0:0:1];"
2015-01-07 15:14:58 INFO: nxt.enableUIServer = "false"
2015-01-07 15:14:58 INFO: User interface server not enabled
2015-01-07 15:14:58 INFO: nxt.debugTraceQuote = """
2015-01-07 15:14:58 INFO: nxt.debugTraceSeparator = " "
2015-01-07 15:14:58 INFO: nxt.debugLogUnconfirmed = "false"
2015-01-07 15:14:58 INFO: nxt.debugTraceAccounts not defined
2015-01-07 15:14:58 INFO: nxt.debugTraceLog = "nxt-trace.csv"
2015-01-07 15:14:58 FINE: Running 2 tasks...
2015-01-07 15:14:58 FINE: Loading known peers from the database...
2015-01-07 15:14:58 INFO: Genesis block already in database
2015-01-07 15:14:58 FINE: Database connection pool current size: 2
2015-01-07 15:14:58 INFO: Last block height: 0
2015-01-07 15:14:58 INFO: nxt.forceScan = "false"
2015-01-07 15:14:58 FINE: Running 1 final tasks...
2015-01-07 15:14:58 INFO: Started API server at 127.0.0.1:7876
2015-01-07 15:14:58 FINE: Starting 8 background jobs
2015-01-07 15:14:58 FINE: Starting 2 delayed tasks
2015-01-07 15:14:58 INFO: Initialization took 6 seconds
2015-01-07 15:14:58 INFO: Nxt server 1.4.7 started successfully.
2015-01-07 15:14:58 FINE: Scheduled scan starting from height 0
2015-01-07 15:14:58 INFO: Deleting blockchain...
2015-01-07 15:14:58 INFO: Genesis block not in database, starting from scratch
2015-01-07 15:14:58 FINE: Scheduled scan starting from height 0
2015-01-07 15:14:58 INFO: Scanning blockchain starting from height 0...
2015-01-07 15:14:59 INFO: processed block 0
2015-01-07 15:14:59 INFO: ...done at height 0
E
Time: 6.81
There was 1 failure:
1) fakeForgingTest(nxt.FakeForgingTest)
java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertTrue(Assert.java:52)
at nxt.AbstractForgingTest.init(AbstractForgingTest.java:23)
at nxt.FakeForgingTest.init(FakeForgingTest.java:18)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
at org.junit.runner.JUnitCore.runMain(JUnitCore.java:96)
at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:47)
at org.junit.runner.JUnitCore.main(JUnitCore.java:40)
FAILURES!!!
Tests run: 1, Failures: 1
JUnit version 4.11
Initializing Nxt server version 1.4.7
2015-01-07 15:14:59 INFO: nxt.enableStackTraces = "true"
2015-01-07 15:14:59 INFO: nxt.enableLogTraceback = "false"
2015-01-07 15:14:59 INFO: logging enabled
2015-01-07 15:14:59 INFO: nxt.maxRollback = "1440"
2015-01-07 15:14:59 INFO: nxt.isTestnet = "false"
2015-01-07 15:14:59 INFO: nxt.isOffline = "false"
.2015-01-07 15:14:59 FINE: java.version = 1.8.0_25
2015-01-07 15:14:59 FINE: java.vm.version = 25.25-b02
2015-01-07 15:14:59 FINE: java.vm.name = Java HotSpot(TM) 64-Bit Server VM
2015-01-07 15:14:59 FINE: java.vendor = Oracle Corporation
2015-01-07 15:14:59 FINE: java.vm.vendor = Oracle Corporation
2015-01-07 15:14:59 FINE: java.home = /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre
2015-01-07 15:14:59 FINE: java.library.path = /Users/benjamin/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
2015-01-07 15:14:59 FINE: java.class.path = conf/:classes/:lib/bcprov-jdk15on-151.jar:lib/h2-1.3.176.jar:lib/jetty-continuation-9.2.6.v20141205.jar:lib/jetty-http-9.2.6.v20141205.jar:lib/jetty-io-9.2.6.v20141205.jar:lib/jetty-security-9.2.6.v20141205.jar:lib/jetty-server-9.2.6.v20141205.jar:lib/jetty-servlet-9.2.6.v20141205.jar:lib/jetty-servlets-9.2.6.v20141205.jar:lib/jetty-util-9.2.6.v20141205.jar:lib/json-simple-1.1.1.jar:lib/lucene-core-3.6.2.jar:lib/servlet-api-3.1.jar:lib/slf4j-api-1.7.7.jar:lib/slf4j-jdk14-1.7.7.jar:testlib/hamcrest-core-1.3.jar:testlib/junit-4.11.jar:testlib/mockito-all-1.9.5.jar
2015-01-07 15:14:59 FINE: os.arch = x86_64
2015-01-07 15:14:59 FINE: sun.arch.data.model = 64
2015-01-07 15:14:59 FINE: os.name = Mac OS X
2015-01-07 15:14:59 FINE: file.encoding = UTF-8
2015-01-07 15:14:59 FINE: availableProcessors = 4
2015-01-07 15:14:59 FINE: maxMemory = 954728448
2015-01-07 15:14:59 INFO: nxt.dbCacheKB = "0"
2015-01-07 15:14:59 INFO: nxt.dbUrl = "jdbc:h2:nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE"
2015-01-07 15:14:59 INFO: nxt.maxDbConnections = "30"
2015-01-07 15:14:59 INFO: nxt.dbLoginTimeout = "70"
2015-01-07 15:14:59 INFO: nxt.dbDefaultLockTimeout = "60"
2015-01-07 15:14:59 FINE: Database jdbc url set to: jdbc:h2:nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;CACHE_SIZE=262144
2015-01-07 15:15:05 FINE: Database connection pool current size: 1
2015-01-07 15:15:05 INFO: Database update may take a while if needed, current db version 192...
2015-01-07 15:15:05 INFO: nxt.enableTransactionRebroadcasting = "true"
2015-01-07 15:15:05 INFO: nxt.testUnconfirmedTransactions = "true"
2015-01-07 15:15:05 INFO: nxt.trimDerivedTables = "true"
2015-01-07 15:15:05 INFO: nxt.numberOfForkConfirmations = "0"
2015-01-07 15:15:05 INFO: nxt.disableGetMoreBlocksThread not defined, assuming false
2015-01-07 15:15:05 INFO: nxt.disableProcessTransactionsThread not defined, assuming false
2015-01-07 15:15:05 INFO: nxt.disableRemoveUnconfirmedTransactionsThread not defined, assuming false
2015-01-07 15:15:05 INFO: nxt.disableRebroadcastTransactionsThread not defined, assuming false
2015-01-07 15:15:05 INFO: nxt.myPlatform = "PC"
2015-01-07 15:15:05 INFO: nxt.myAddress not defined
2015-01-07 15:15:05 INFO: nxt.peerServerPort = "7874"
2015-01-07 15:15:05 INFO: nxt.shareMyAddress = "false"
2015-01-07 15:15:05 INFO: nxt.myHallmark not defined
2015-01-07 15:15:05 FINE: My peer info:
{"application":"NRS","version":"1.4.7","platform":"PC","shareAddress":false}
2015-01-07 15:15:05 INFO: nxt.wellKnownPeers not defined
2015-01-07 15:15:05 INFO: nxt.knownBlacklistedPeers not defined
2015-01-07 15:15:05 INFO: nxt.maxNumberOfConnectedPublicPeers = "20"
2015-01-07 15:15:05 INFO: nxt.connectTimeout = "4000"
2015-01-07 15:15:05 INFO: nxt.readTimeout = "8000"
2015-01-07 15:15:05 INFO: nxt.enableHallmarkProtection = "true"
2015-01-07 15:15:05 INFO: nxt.pushThreshold = "0"
2015-01-07 15:15:05 INFO: nxt.pullThreshold = "0"
2015-01-07 15:15:05 INFO: nxt.blacklistingPeriod = "600000"
2015-01-07 15:15:05 INFO: nxt.communicationLoggingMask = "0"
2015-01-07 15:15:05 INFO: nxt.sendToPeersLimit = "10"
2015-01-07 15:15:05 INFO: nxt.usePeersDb = "true"
2015-01-07 15:15:05 INFO: nxt.savePeers = "false"
2015-01-07 15:15:05 INFO: nxt.getMorePeers = "true"
2015-01-07 15:15:05 INFO: nxt.dumpPeersVersion not defined
2015-01-07 15:15:05 INFO: nxt.disablePeerConnectingThread not defined, assuming false
2015-01-07 15:15:05 INFO: nxt.disablePeerUnBlacklistingThread not defined, assuming false
2015-01-07 15:15:05 INFO: nxt.disableGetMorePeersThread not defined, assuming false
2015-01-07 15:15:05 INFO: shareMyAddress is disabled, will not start peer networking server
2015-01-07 15:15:05 INFO: nxt.enableFakeForging = "false"
2015-01-07 15:15:05 INFO: nxt.disableGenerateBlocksThread = "false"
2015-01-07 15:15:05 INFO: nxt.enableDebugAPI = "false"
2015-01-07 15:15:05 INFO: nxt.allowedBotHosts = "127.0.0.1; localhost; [0:0:0:0:0:0:0:1];"
2015-01-07 15:15:05 INFO: nxt.enableAPIServer = "true"
2015-01-07 15:15:05 INFO: nxt.apiServerPort = "7876"
2015-01-07 15:15:05 INFO: nxt.apiServerHost = "127.0.0.1"
2015-01-07 15:15:05 INFO: nxt.apiSSL = "false"
2015-01-07 15:15:05 INFO: nxt.apiServerIdleTimeout = "30000"
2015-01-07 15:15:05 INFO: nxt.apiResourceBase = "html/ui"
2015-01-07 15:15:05 INFO: nxt.apiWelcomeFile = "index.html"
2015-01-07 15:15:05 INFO: nxt.javadocResourceBase = "html/doc"
2015-01-07 15:15:05 INFO: nxt.enableAPIServerGZIPFilter = "false"
2015-01-07 15:15:05 INFO: nxt.apiServerCORS = "false"
2015-01-07 15:15:05 INFO: nxt.allowedUserHosts = "127.0.0.1; localhost; [0:0:0:0:0:0:0:1];"
2015-01-07 15:15:05 INFO: nxt.enableUIServer = "false"
2015-01-07 15:15:05 INFO: User interface server not enabled
2015-01-07 15:15:05 INFO: nxt.debugTraceQuote = """
2015-01-07 15:15:05 INFO: nxt.debugTraceSeparator = " "
2015-01-07 15:15:05 INFO: nxt.debugLogUnconfirmed = "false"
2015-01-07 15:15:05 INFO: nxt.debugTraceAccounts not defined
2015-01-07 15:15:05 INFO: nxt.debugTraceLog = "nxt-trace.csv"
2015-01-07 15:15:05 FINE: Running 2 tasks...
2015-01-07 15:15:05 FINE: Loading known peers from the database...
2015-01-07 15:15:05 FINE: Database connection pool current size: 2
2015-01-07 15:15:05 INFO: Genesis block already in database
2015-01-07 15:15:05 INFO: Last block height: 0
2015-01-07 15:15:05 INFO: nxt.forceScan = "false"
2015-01-07 15:15:05 FINE: Running 1 final tasks...
2015-01-07 15:15:05 INFO: Started API server at 127.0.0.1:7876
2015-01-07 15:15:05 FINE: Starting 8 background jobs
2015-01-07 15:15:05 FINE: Starting 2 delayed tasks
2015-01-07 15:15:05 INFO: Initialization took 6 seconds
2015-01-07 15:15:05 INFO: Nxt server 1.4.7 started successfully.
E
Time: 6.135
There was 1 failure:
1) fastForgingTest(nxt.FastForgingTest)
java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertTrue(Assert.java:52)
at nxt.AbstractForgingTest.init(AbstractForgingTest.java:23)
at nxt.FastForgingTest.fastForgingTest(FastForgingTest.java:15)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
at org.junit.runner.JUnitCore.runMain(JUnitCore.java:96)
at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:47)
at org.junit.runner.JUnitCore.main(JUnitCore.java:40)
FAILURES!!!
Tests run: 1, Failures: 1
JUnit version 4.11
Initializing Nxt server version 1.4.7
2015-01-07 15:15:06 INFO: nxt.enableStackTraces = "true"
2015-01-07 15:15:06 INFO: nxt.enableLogTraceback = "false"
2015-01-07 15:15:06 INFO: logging enabled
2015-01-07 15:15:06 INFO: nxt.maxRollback = "1440"
2015-01-07 15:15:06 INFO: nxt.isTestnet = "false"
2015-01-07 15:15:06 INFO: nxt.isOffline = "false"
.2015-01-07 15:15:06 FINE: java.version = 1.8.0_25
2015-01-07 15:15:06 FINE: java.vm.version = 25.25-b02
2015-01-07 15:15:06 FINE: java.vm.name = Java HotSpot(TM) 64-Bit Server VM
2015-01-07 15:15:06 FINE: java.vendor = Oracle Corporation
2015-01-07 15:15:06 FINE: java.vm.vendor = Oracle Corporation
2015-01-07 15:15:06 FINE: java.home = /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre
2015-01-07 15:15:06 FINE: java.library.path = /Users/benjamin/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
2015-01-07 15:15:06 FINE: java.class.path = conf/:classes/:lib/bcprov-jdk15on-151.jar:lib/h2-1.3.176.jar:lib/jetty-continuation-9.2.6.v20141205.jar:lib/jetty-http-9.2.6.v20141205.jar:lib/jetty-io-9.2.6.v20141205.jar:lib/jetty-security-9.2.6.v20141205.jar:lib/jetty-server-9.2.6.v20141205.jar:lib/jetty-servlet-9.2.6.v20141205.jar:lib/jetty-servlets-9.2.6.v20141205.jar:lib/jetty-util-9.2.6.v20141205.jar:lib/json-simple-1.1.1.jar:lib/lucene-core-3.6.2.jar:lib/servlet-api-3.1.jar:lib/slf4j-api-1.7.7.jar:lib/slf4j-jdk14-1.7.7.jar:testlib/hamcrest-core-1.3.jar:testlib/junit-4.11.jar:testlib/mockito-all-1.9.5.jar
2015-01-07 15:15:06 FINE: os.arch = x86_64
2015-01-07 15:15:06 FINE: sun.arch.data.model = 64
2015-01-07 15:15:06 FINE: os.name = Mac OS X
2015-01-07 15:15:06 FINE: file.encoding = UTF-8
2015-01-07 15:15:06 FINE: availableProcessors = 4
2015-01-07 15:15:06 FINE: maxMemory = 954728448
2015-01-07 15:15:06 INFO: nxt.dbCacheKB = "0"
2015-01-07 15:15:06 INFO: nxt.dbUrl = "jdbc:h2:nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE"
2015-01-07 15:15:06 INFO: nxt.maxDbConnections = "30"
2015-01-07 15:15:06 INFO: nxt.dbLoginTimeout = "70"
2015-01-07 15:15:06 INFO: nxt.dbDefaultLockTimeout = "60"
2015-01-07 15:15:06 FINE: Database jdbc url set to: jdbc:h2:nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;CACHE_SIZE=262144
2015-01-07 15:15:12 FINE: Database connection pool current size: 1
2015-01-07 15:15:12 INFO: Database update may take a while if needed, current db version 192...
2015-01-07 15:15:12 INFO: nxt.enableTransactionRebroadcasting = "true"
2015-01-07 15:15:12 INFO: nxt.testUnconfirmedTransactions = "true"
2015-01-07 15:15:12 INFO: nxt.trimDerivedTables = "true"
2015-01-07 15:15:12 INFO: nxt.numberOfForkConfirmations = "0"
2015-01-07 15:15:12 INFO: nxt.disableGetMoreBlocksThread not defined, assuming false
2015-01-07 15:15:12 INFO: nxt.disableProcessTransactionsThread not defined, assuming false
2015-01-07 15:15:12 INFO: nxt.disableRemoveUnconfirmedTransactionsThread not defined, assuming false
2015-01-07 15:15:12 INFO: nxt.disableRebroadcastTransactionsThread not defined, assuming false
2015-01-07 15:15:12 INFO: nxt.myPlatform = "PC"
2015-01-07 15:15:12 INFO: nxt.myAddress not defined
2015-01-07 15:15:12 INFO: nxt.peerServerPort = "7874"
2015-01-07 15:15:12 INFO: nxt.shareMyAddress = "false"
2015-01-07 15:15:12 INFO: nxt.myHallmark not defined
2015-01-07 15:15:12 FINE: My peer info:
{"application":"NRS","version":"1.4.7","platform":"PC","shareAddress":false}
2015-01-07 15:15:12 INFO: nxt.wellKnownPeers not defined
2015-01-07 15:15:12 INFO: nxt.knownBlacklistedPeers not defined
2015-01-07 15:15:12 INFO: nxt.maxNumberOfConnectedPublicPeers = "20"
2015-01-07 15:15:12 INFO: nxt.connectTimeout = "4000"
2015-01-07 15:15:12 INFO: nxt.readTimeout = "8000"
2015-01-07 15:15:12 INFO: nxt.enableHallmarkProtection = "true"
2015-01-07 15:15:12 INFO: nxt.pushThreshold = "0"
2015-01-07 15:15:12 INFO: nxt.pullThreshold = "0"
2015-01-07 15:15:12 INFO: nxt.blacklistingPeriod = "600000"
2015-01-07 15:15:12 INFO: nxt.communicationLoggingMask = "0"
2015-01-07 15:15:12 INFO: nxt.sendToPeersLimit = "10"
2015-01-07 15:15:12 INFO: nxt.usePeersDb = "true"
2015-01-07 15:15:12 INFO: nxt.savePeers = "false"
2015-01-07 15:15:12 INFO: nxt.getMorePeers = "true"
2015-01-07 15:15:12 INFO: nxt.dumpPeersVersion not defined
2015-01-07 15:15:12 INFO: nxt.disablePeerConnectingThread not defined, assuming false
2015-01-07 15:15:12 INFO: nxt.disablePeerUnBlacklistingThread not defined, assuming false
2015-01-07 15:15:12 INFO: nxt.disableGetMorePeersThread not defined, assuming false
2015-01-07 15:15:12 INFO: shareMyAddress is disabled, will not start peer networking server
2015-01-07 15:15:12 INFO: nxt.enableFakeForging = "true"
2015-01-07 15:15:12 INFO: nxt.fakeForgingAccount not defined
2015-01-07 15:15:12 INFO: nxt.disableGenerateBlocksThread = "true"
2015-01-07 15:15:12 INFO: Will not run GenerateBlocks thread
2015-01-07 15:15:12 INFO: nxt.enableDebugAPI = "false"
2015-01-07 15:15:12 INFO: nxt.allowedBotHosts = "127.0.0.1; localhost; [0:0:0:0:0:0:0:1];"
2015-01-07 15:15:12 INFO: nxt.enableAPIServer = "true"
2015-01-07 15:15:12 INFO: nxt.apiServerPort = "7876"
2015-01-07 15:15:12 INFO: nxt.apiServerHost = "127.0.0.1"
2015-01-07 15:15:12 INFO: nxt.apiSSL = "false"
2015-01-07 15:15:12 INFO: nxt.apiServerIdleTimeout = "30000"
2015-01-07 15:15:12 INFO: nxt.apiResourceBase = "html/ui"
2015-01-07 15:15:12 INFO: nxt.apiWelcomeFile = "index.html"
2015-01-07 15:15:12 INFO: nxt.javadocResourceBase = "html/doc"
2015-01-07 15:15:12 INFO: nxt.enableAPIServerGZIPFilter = "false"
2015-01-07 15:15:12 INFO: nxt.apiServerCORS = "false"
2015-01-07 15:15:12 INFO: nxt.allowedUserHosts = "127.0.0.1; localhost; [0:0:0:0:0:0:0:1];"
2015-01-07 15:15:12 INFO: nxt.enableUIServer = "false"
2015-01-07 15:15:12 INFO: User interface server not enabled
2015-01-07 15:15:12 INFO: nxt.debugTraceQuote = """
2015-01-07 15:15:12 INFO: nxt.debugTraceSeparator = " "
2015-01-07 15:15:12 INFO: nxt.debugLogUnconfirmed = "false"
2015-01-07 15:15:12 INFO: nxt.debugTraceAccounts not defined
2015-01-07 15:15:12 INFO: nxt.debugTraceLog = "nxt-trace.csv"
2015-01-07 15:15:12 FINE: Running 2 tasks...
2015-01-07 15:15:12 FINE: Loading known peers from the database...
2015-01-07 15:15:12 FINE: Database connection pool current size: 2
2015-01-07 15:15:12 INFO: Genesis block already in database
2015-01-07 15:15:12 INFO: Last block height: 0
2015-01-07 15:15:12 INFO: nxt.forceScan = "false"
2015-01-07 15:15:12 FINE: Running 1 final tasks...
2015-01-07 15:15:12 INFO: Started API server at 127.0.0.1:7876
2015-01-07 15:15:12 FINE: Starting 7 background jobs
2015-01-07 15:15:12 FINE: Starting 2 delayed tasks
2015-01-07 15:15:12 INFO: Initialization took 5 seconds
2015-01-07 15:15:12 INFO: Nxt server 1.4.7 started successfully.
E
2015-01-07 15:15:12 FINE: Known peers: 144
Time: 5.982
There was 1 failure:
1) manualForgingTest(nxt.ManualForgingTest)
java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertTrue(Assert.java:52)
at nxt.AbstractForgingTest.init(AbstractForgingTest.java:23)
at nxt.ManualForgingTest.manualForgingTest(ManualForgingTest.java:17)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
at org.junit.runner.JUnitCore.runMain(JUnitCore.java:96)
at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:47)
at org.junit.runner.JUnitCore.main(JUnitCore.java:40)
FAILURES!!!
Tests run: 1, Failures: 1
Benjamins-MacBook-Air:nxt-private benjamin$