See <https://builds.apache.org/job/Cassandra/1355/changes>
Changes: [jbellis] Introduce MessageOut class, which wraps an object to be sent in the "payload" field. The old Header class is inlined into the "parameters" map. [jbellis] Automated refactor: rename Message to MessageIn [jbellis] Automated refactor: move StorageService.Verb into MessagingService [jbellis] Rewrite IncomingTcpConnection to deserialize w/o extra copies to byte[]. MessageIn now has a payload field, and uses the Verb to look up the correct deserializer. REQUEST_RESPONSE deserializer is not uniquely determined by Verb, so we look those up by their callback instead. [jbellis] Automated refactor: rename Message out of class names that aren't MessageIn, MessageOut, or related [jbellis] serializedSize implementations, part 1 (gossip and streaming packages) [jbellis] add serializedSize (part 2) and fix unit tests [jbellis] cleanup CallbackInfo and mark deprecated Verbs [jbellis] serialier() -> serializer and some clean up [jbellis] remove unnecessary class [jbellis] rename DBTypeSizes -> TypeSizes ------------------------------------------ [...truncated 1243 lines...] [junit] Testsuite: org.apache.cassandra.io.compress.CompressedRandomAccessReaderTest [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.013 sec [junit] [junit] ------------- Standard Error ----------------- [junit] WARN 21:05:43,504 open(null, O_RDONLY) failed, errno (14). [junit] ------------- ---------------- --------------- [junit] Testsuite: org.apache.cassandra.io.sstable.DescriptorTest [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.06 sec [junit] [junit] Testsuite: org.apache.cassandra.io.sstable.IndexHelperTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.059 sec [junit] [junit] Testsuite: org.apache.cassandra.io.sstable.LegacySSTableTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 7.258 sec [junit] [junit] Testsuite: org.apache.cassandra.io.sstable.SSTableMetadataSerializerTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.135 sec [junit] [junit] Testsuite: org.apache.cassandra.io.sstable.SSTableReaderTest [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 6.747 sec [junit] [junit] Testsuite: org.apache.cassandra.io.sstable.SSTableSimpleWriterTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.361 sec [junit] [junit] Testsuite: org.apache.cassandra.io.sstable.SSTableTest [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 6.801 sec [junit] [junit] Testsuite: org.apache.cassandra.io.util.BufferedRandomAccessFileTest [junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 1.032 sec [junit] [junit] Testsuite: org.apache.cassandra.locator.DynamicEndpointSnitchTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.96 sec [junit] [junit] Testsuite: org.apache.cassandra.locator.EC2SnitchTest [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.637 sec [junit] [junit] Testsuite: org.apache.cassandra.locator.NetworkTopologyStrategyTest [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.663 sec [junit] [junit] Testsuite: org.apache.cassandra.locator.OldNetworkTopologyStrategyTest [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 6.406 sec [junit] [junit] ------------- Standard Output --------------- [junit] toStream : [(158873535527910577765226390751398592512,0], (0,34028236692093846346337460743176821145]] [junit] toFetch : [(127605887595351923798765477786913079296,148873535527910577765226390751398592512]] [junit] toStreamExpected : [(158873535527910577765226390751398592512,0], (0,34028236692093846346337460743176821145]] [junit] toFetchExpected : [(127605887595351923798765477786913079296,148873535527910577765226390751398592512]] [junit] ------------- ---------------- --------------- [junit] Testsuite: org.apache.cassandra.locator.ReplicationStrategyEndpointCacheTest [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 6.571 sec [junit] [junit] Testsuite: org.apache.cassandra.locator.SimpleStrategyTest [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 6.82 sec [junit] [junit] Testsuite: org.apache.cassandra.locator.TokenMetadataTest [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.637 sec [junit] [junit] Testsuite: org.apache.cassandra.service.AntiEntropyServiceCounterTest [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 8.551 sec [junit] [junit] ------------- Standard Error ----------------- [junit] WARN 21:06:53,532 No host ID found, created dd2289bc-f9a8-4c6e-9dc9-919018891b7e (Note: This should happen exactly once per node). [junit] WARN 21:06:53,720 Generated random token Token(bytes[2619a989c896f96bfdd2e734b70f8192]). Random tokens will result in an unbalanced ring; see http://wiki.apache.org/cassandra/Operations [junit] ------------- ---------------- --------------- [junit] Testsuite: org.apache.cassandra.service.AntiEntropyServiceStandardTest [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 8.158 sec [junit] [junit] ------------- Standard Error ----------------- [junit] WARN 21:07:03,084 No host ID found, created 5909e07c-bc4d-4c44-9971-a0a3f04a9ad1 (Note: This should happen exactly once per node). [junit] WARN 21:07:03,284 Generated random token Token(bytes[ff92c6d5dfb47f11f438b83a17e63a2b]). Random tokens will result in an unbalanced ring; see http://wiki.apache.org/cassandra/Operations [junit] ------------- ---------------- --------------- [junit] Testsuite: org.apache.cassandra.service.CassandraServerTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.365 sec [junit] [junit] Testsuite: org.apache.cassandra.service.EmbeddedCassandraServiceTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 7.204 sec [junit] [junit] ------------- Standard Error ----------------- [junit] WARN 21:07:19,649 Unable to lock JVM memory (ENOMEM). This can result in part of the JVM being swapped out, especially with mmapped I/O enabled. Increase RLIMIT_MEMLOCK or run Cassandra as root. [junit] WARN 21:07:20,114 No host ID found, created 90e1e0ee-7b4e-48b2-b25a-7159335e309f (Note: This should happen exactly once per node). [junit] WARN 21:07:20,280 Generated random token Token(bytes[2da16ee98cbb0ddcb4b6e74d6a496e80]). Random tokens will result in an unbalanced ring; see http://wiki.apache.org/cassandra/Operations [junit] ------------- ---------------- --------------- [junit] Testsuite: org.apache.cassandra.service.InitClientTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.22 sec [junit] [junit] Testsuite: org.apache.cassandra.service.LeaveAndBootstrapTest [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 9.371 sec [junit] [junit] ------------- Standard Error ----------------- [junit] WARN 21:07:33,215 Node /127.0.0.3 'leaving' token mismatch. Long network partition? [junit] ERROR 21:07:33,867 Fatal exception in thread Thread[CompactionExecutor:5,1,main] [junit] java.lang.ClassCastException: org.apache.cassandra.dht.Token$KeyBound cannot be cast to org.apache.cassandra.dht.Token [junit] at org.apache.cassandra.dht.BigIntegerToken.compareTo(BigIntegerToken.java:22) [junit] at org.apache.cassandra.dht.Range$1.compare(Range.java:386) [junit] at org.apache.cassandra.dht.Range$1.compare(Range.java:383) [junit] at java.util.Arrays.mergeSort(Arrays.java:1270) [junit] at java.util.Arrays.sort(Arrays.java:1210) [junit] at java.util.Collections.sort(Collections.java:159) [junit] at org.apache.cassandra.dht.Range.normalize(Range.java:382) [junit] at org.apache.cassandra.io.sstable.SSTableReader.getSampleIndexesForRanges(SSTableReader.java:548) [junit] at org.apache.cassandra.io.sstable.SSTableReader.estimatedKeysForRanges(SSTableReader.java:527) [junit] at org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy.getNextBackgroundTask(SizeTieredCompactionStrategy.java:110) [junit] at org.apache.cassandra.db.compaction.CompactionManager$1.runMayThrow(CompactionManager.java:123) [junit] at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:26) [junit] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [junit] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [junit] at java.util.concurrent.FutureTask.run(FutureTask.java:138) [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [junit] at java.lang.Thread.run(Thread.java:662) [junit] ------------- ---------------- --------------- [junit] Testsuite: org.apache.cassandra.service.MoveTest [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 8.252 sec [junit] [junit] Testsuite: org.apache.cassandra.service.RemoveTest [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 10.254 sec [junit] [junit] ------------- Standard Error ----------------- [junit] ERROR 21:07:51,712 Stream failed because /127.0.0.6 died or was restarted/removed (streams may still be active in background, but further streams won't be started) [junit] WARN 21:07:51,713 Streaming from /127.0.0.6 failed [junit] ERROR 21:07:51,713 Stream failed because /127.0.0.6 died or was restarted/removed (streams may still be active in background, but further streams won't be started) [junit] WARN 21:07:51,714 Streaming from /127.0.0.6 failed [junit] ERROR 21:07:51,714 Stream failed because /127.0.0.6 died or was restarted/removed (streams may still be active in background, but further streams won't be started) [junit] WARN 21:07:51,714 Streaming from /127.0.0.6 failed [junit] ERROR 21:07:51,714 Stream failed because /127.0.0.6 died or was restarted/removed (streams may still be active in background, but further streams won't be started) [junit] WARN 21:07:51,714 Streaming from /127.0.0.6 failed [junit] ERROR 21:07:51,714 Stream failed because /127.0.0.6 died or was restarted/removed (streams may still be active in background, but further streams won't be started) [junit] WARN 21:07:51,715 Streaming from /127.0.0.6 failed [junit] ERROR 21:07:51,715 Stream failed because /127.0.0.6 died or was restarted/removed (streams may still be active in background, but further streams won't be started) [junit] WARN 21:07:51,715 Streaming from /127.0.0.6 failed [junit] ------------- ---------------- --------------- [junit] Testsuite: org.apache.cassandra.service.RowResolverTest [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 6.274 sec [junit] [junit] Testsuite: org.apache.cassandra.service.SerializationsTest [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 6.047 sec [junit] [junit] Testsuite: org.apache.cassandra.service.StorageProxyTest [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 6.341 sec [junit] [junit] Testsuite: org.apache.cassandra.service.StorageServiceClientTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.839 sec [junit] [junit] Testsuite: org.apache.cassandra.service.StorageServiceServerTest [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 3.176 sec [junit] [junit] ------------- Standard Error ----------------- [junit] WARN 21:08:21,677 No host ID found, created 4cc210e8-e2fb-4fa7-9ac7-3f56a33e71e3 (Note: This should happen exactly once per node). [junit] WARN 21:08:21,984 Generated random token Token(bytes[e9cb655bd7f32f76d59a003b4040600f]). Random tokens will result in an unbalanced ring; see http://wiki.apache.org/cassandra/Operations [junit] ------------- ---------------- --------------- [junit] Testsuite: org.apache.cassandra.streaming.BootstrapTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.198 sec [junit] [junit] Testsuite: org.apache.cassandra.streaming.SerializationsTest [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 6.292 sec [junit] [junit] Testsuite: org.apache.cassandra.streaming.StreamingTransferTest [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 6.956 sec [junit] [junit] ------------- Standard Error ----------------- [junit] WARN 21:08:44,389 No host ID found, created dee4e76e-54f1-4654-8995-b4b98fe3b435 (Note: This should happen exactly once per node). [junit] WARN 21:08:44,557 Generated random token Token(bytes[50f6a1df75f93595686b1b91b007ae8f]). Random tokens will result in an unbalanced ring; see http://wiki.apache.org/cassandra/Operations [junit] ------------- ---------------- --------------- [junit] Testsuite: org.apache.cassandra.thrift.ThriftValidationTest [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 6.218 sec [junit] [junit] Testsuite: org.apache.cassandra.tools.SSTableExportTest [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 6.603 sec [junit] [junit] ------------- Standard Output --------------- [junit] Importing 1 keys... [junit] 1 keys imported successfully. [junit] ------------- ---------------- --------------- [junit] Testsuite: org.apache.cassandra.tools.SSTableImportTest [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 6.732 sec [junit] [junit] ------------- Standard Output --------------- [junit] Importing 2 keys... [junit] 2 keys imported successfully. [junit] Importing 2 keys... [junit] 2 keys imported successfully. [junit] Importing 2 keys... [junit] 2 keys imported successfully. [junit] Importing 3 keys... [junit] Importing 3 keys... [junit] 1 keys imported successfully. [junit] ------------- ---------------- --------------- [junit] ------------- Standard Error ----------------- [junit] Line 2: Key 303630 is greater than previous, collection is not sorted properly. Aborting import. You might need to delete SSTables manually. [junit] ------------- ---------------- --------------- [junit] Testsuite: org.apache.cassandra.utils.BloomFilterTest [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.538 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.BoundedStatsDequeTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.057 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.ByteBufferUtilTest [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.074 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.BytesReadTrackerTest [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.059 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.EncodedStreamsTest [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 6.27 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.EstimatedHistogramTest [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.061 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.FBUtilitiesTest [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.06 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.HexTest [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.062 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.IntervalTest [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.053 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.IntervalTreeTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.148 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.LegacyBloomFilterTest [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.446 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.MergeIteratorTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.073 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.MerkleTreeTest [junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 0.634 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.SemanticVersionTest [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.06 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.SerializationsTest [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 7.739 sec [junit] [junit] Testsuite: org.apache.cassandra.utils.StreamingHistogramTest [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.061 sec [junit] BUILD FAILED <https://builds.apache.org/job/Cassandra/ws/build.xml>:1086: The following error occurred while executing this line: <https://builds.apache.org/job/Cassandra/ws/build.xml>:1048: Some unit test(s) failed. Total time: 33 minutes 10 seconds Build step 'Invoke Ant' marked build as failure [TASKS] Skipping publisher since build result is FAILURE Archiving artifacts Recording test results Publishing Javadoc