See <https://builds.apache.org/job/KafkaPreCommit/70/changes>
Changes: [junrao] kafka-2112; make overflowWheel volatile; patched by Yasuhiro Matsuda; reviewed by Jun Rao ------------------------------------------ [...truncated 1521 lines...] at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:734) at kafka.log.OffsetIndex.<init>(OffsetIndex.scala:74) at kafka.log.LogSegment.<init>(LogSegment.scala:57) at kafka.log.Log.loadSegments(Log.scala:186) at kafka.log.Log.<init>(Log.scala:83) at kafka.log.LogTest.testBogusIndexSegmentsAreRemoved(LogTest.scala:560) kafka.log.LogTest > testReopenThenTruncate FAILED java.io.IOException: Operation not permitted at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:734) at kafka.log.OffsetIndex.<init>(OffsetIndex.scala:74) at kafka.log.LogSegment.<init>(LogSegment.scala:57) at kafka.log.Log.loadSegments(Log.scala:186) at kafka.log.Log.<init>(Log.scala:83) at kafka.log.LogTest.testReopenThenTruncate(LogTest.scala:589) kafka.log.LogTest > testAsyncDelete FAILED java.io.IOException: Operation not permitted at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:734) at kafka.log.OffsetIndex.<init>(OffsetIndex.scala:74) at kafka.log.LogSegment.<init>(LogSegment.scala:57) at kafka.log.Log.loadSegments(Log.scala:186) at kafka.log.Log.<init>(Log.scala:83) at kafka.log.LogTest.testAsyncDelete(LogTest.scala:620) kafka.log.LogTest > testOpenDeletesObsoleteFiles FAILED java.io.IOException: Operation not permitted at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:734) at kafka.log.OffsetIndex.<init>(OffsetIndex.scala:74) at kafka.log.LogSegment.<init>(LogSegment.scala:57) at kafka.log.Log.loadSegments(Log.scala:186) at kafka.log.Log.<init>(Log.scala:83) at kafka.log.LogTest.testOpenDeletesObsoleteFiles(LogTest.scala:655) kafka.log.LogTest > testAppendMessageWithNullPayload PASSED kafka.log.LogTest > testCorruptLog FAILED kafka.common.KafkaStorageException: I/O exception in append to log 'kafka-915636' at kafka.log.Log.append(Log.scala:282) at kafka.log.LogTest$$anonfun$testCorruptLog$1$$anonfun$apply$mcVI$sp$4.apply(LogTest.scala:705) at kafka.log.LogTest$$anonfun$testCorruptLog$1$$anonfun$apply$mcVI$sp$4.apply(LogTest.scala:704) at scala.collection.immutable.Range.foreach(Range.scala:141) at kafka.log.LogTest$$anonfun$testCorruptLog$1.apply$mcVI$sp(LogTest.scala:704) at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:141) at kafka.log.LogTest.testCorruptLog(LogTest.scala:695) Caused by: java.io.IOException: Operation not permitted at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:734) at kafka.log.OffsetIndex$$anonfun$resize$1.apply(OffsetIndex.scala:286) at kafka.log.OffsetIndex$$anonfun$resize$1.apply(OffsetIndex.scala:276) at kafka.utils.CoreUtils$.inLock(CoreUtils.scala:298) at kafka.log.OffsetIndex.resize(OffsetIndex.scala:276) at kafka.log.OffsetIndex$$anonfun$trimToValidSize$1.apply$mcV$sp(OffsetIndex.scala:265) at kafka.log.OffsetIndex$$anonfun$trimToValidSize$1.apply(OffsetIndex.scala:265) at kafka.log.OffsetIndex$$anonfun$trimToValidSize$1.apply(OffsetIndex.scala:265) at kafka.utils.CoreUtils$.inLock(CoreUtils.scala:298) at kafka.log.OffsetIndex.trimToValidSize(OffsetIndex.scala:264) at kafka.log.Log.roll(Log.scala:572) at kafka.log.Log.maybeRoll(Log.scala:548) at kafka.log.Log.append(Log.scala:322) ... 6 more kafka.log.LogTest > testCleanShutdownFile FAILED kafka.common.KafkaStorageException: I/O exception in append to log 'kafka-389853' at kafka.log.Log.append(Log.scala:282) at kafka.log.LogTest$$anonfun$testCleanShutdownFile$1.apply(LogTest.scala:739) at kafka.log.LogTest$$anonfun$testCleanShutdownFile$1.apply(LogTest.scala:738) at scala.collection.immutable.Range.foreach(Range.scala:141) at kafka.log.LogTest.testCleanShutdownFile(LogTest.scala:738) Caused by: java.io.IOException: Operation not permitted at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:734) at kafka.log.OffsetIndex$$anonfun$resize$1.apply(OffsetIndex.scala:286) at kafka.log.OffsetIndex$$anonfun$resize$1.apply(OffsetIndex.scala:276) at kafka.utils.CoreUtils$.inLock(CoreUtils.scala:298) at kafka.log.OffsetIndex.resize(OffsetIndex.scala:276) at kafka.log.OffsetIndex$$anonfun$trimToValidSize$1.apply$mcV$sp(OffsetIndex.scala:265) at kafka.log.OffsetIndex$$anonfun$trimToValidSize$1.apply(OffsetIndex.scala:265) at kafka.log.OffsetIndex$$anonfun$trimToValidSize$1.apply(OffsetIndex.scala:265) at kafka.utils.CoreUtils$.inLock(CoreUtils.scala:298) at kafka.log.OffsetIndex.trimToValidSize(OffsetIndex.scala:264) at kafka.log.Log.roll(Log.scala:572) at kafka.log.Log.maybeRoll(Log.scala:548) at kafka.log.Log.append(Log.scala:322) ... 4 more kafka.log.LogTest > testParseTopicPartitionName PASSED kafka.log.LogTest > testParseTopicPartitionNameForEmptyName PASSED kafka.log.LogTest > testParseTopicPartitionNameForNull PASSED kafka.log.LogTest > testParseTopicPartitionNameForMissingSeparator PASSED kafka.log.LogTest > testParseTopicPartitionNameForMissingTopic PASSED kafka.log.LogTest > testParseTopicPartitionNameForMissingPartition PASSED kafka.log.LogConfigTest > testFromPropsDefaults PASSED kafka.log.LogConfigTest > testFromPropsEmpty PASSED kafka.log.LogConfigTest > testFromPropsToProps PASSED kafka.log.LogConfigTest > testFromPropsInvalid PASSED kafka.log.CleanerTest > testCleanSegments FAILED java.io.IOException: Operation not permitted at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:734) at kafka.log.OffsetIndex.<init>(OffsetIndex.scala:74) at kafka.log.LogSegment.<init>(LogSegment.scala:57) at kafka.log.Log.loadSegments(Log.scala:186) at kafka.log.Log.<init>(Log.scala:83) at kafka.log.CleanerTest.makeLog(CleanerTest.scala:279) at kafka.log.CleanerTest.testCleanSegments(CleanerTest.scala:53) kafka.log.CleanerTest > testCleaningWithDeletes FAILED java.io.IOException: Operation not permitted at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:734) at kafka.log.OffsetIndex.<init>(OffsetIndex.scala:74) at kafka.log.LogSegment.<init>(LogSegment.scala:57) at kafka.log.Log.loadSegments(Log.scala:186) at kafka.log.Log.<init>(Log.scala:83) at kafka.log.CleanerTest.makeLog(CleanerTest.scala:279) at kafka.log.CleanerTest.testCleaningWithDeletes(CleanerTest.scala:75) kafka.log.CleanerTest > testCleaningWithUnkeyedMessages FAILED java.io.IOException: Operation not permitted at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:734) at kafka.log.OffsetIndex.<init>(OffsetIndex.scala:74) at kafka.log.LogSegment.<init>(LogSegment.scala:57) at kafka.log.Log.loadSegments(Log.scala:186) at kafka.log.Log.<init>(Log.scala:83) at kafka.log.CleanerTest.makeLog(CleanerTest.scala:279) at kafka.log.CleanerTest.testCleaningWithUnkeyedMessages(CleanerTest.scala:101) kafka.log.CleanerTest > testCleanSegmentsWithAbort FAILED java.io.IOException: Operation not permitted at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:734) at kafka.log.OffsetIndex.<init>(OffsetIndex.scala:74) at kafka.log.LogSegment.<init>(LogSegment.scala:57) at kafka.log.Log.loadSegments(Log.scala:186) at kafka.log.Log.<init>(Log.scala:83) at kafka.log.CleanerTest.makeLog(CleanerTest.scala:279) at kafka.log.CleanerTest.testCleanSegmentsWithAbort(CleanerTest.scala:142) kafka.log.CleanerTest > testSegmentGrouping FAILED java.io.IOException: Operation not permitted at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:734) at kafka.log.OffsetIndex.<init>(OffsetIndex.scala:74) at kafka.log.LogSegment.<init>(LogSegment.scala:57) at kafka.log.Log.loadSegments(Log.scala:186) at kafka.log.Log.<init>(Log.scala:83) at kafka.log.CleanerTest.makeLog(CleanerTest.scala:279) at kafka.log.CleanerTest.testSegmentGrouping(CleanerTest.scala:162) kafka.log.CleanerTest > testSegmentGroupingWithSparseOffsets FAILED java.io.IOException: Operation not permitted at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:734) at kafka.log.OffsetIndex.<init>(OffsetIndex.scala:74) at kafka.log.LogSegment.<init>(LogSegment.scala:57) at kafka.log.Log.loadSegments(Log.scala:186) at kafka.log.Log.<init>(Log.scala:83) at kafka.log.CleanerTest.makeLog(CleanerTest.scala:279) at kafka.log.CleanerTest.testSegmentGroupingWithSparseOffsets(CleanerTest.scala:211) kafka.log.CleanerTest > testBuildOffsetMap FAILED java.io.IOException: Operation not permitted at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:734) at kafka.log.OffsetIndex.<init>(OffsetIndex.scala:74) at kafka.log.LogSegment.<init>(LogSegment.scala:57) at kafka.log.Log.loadSegments(Log.scala:186) at kafka.log.Log.<init>(Log.scala:83) at kafka.log.CleanerTest.makeLog(CleanerTest.scala:279) at kafka.log.CleanerTest.testBuildOffsetMap(CleanerTest.scala:258) kafka.log.OffsetIndexTest > truncate FAILED java.io.IOException: Operation not permitted at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:734) at kafka.log.OffsetIndex.<init>(OffsetIndex.scala:74) at kafka.log.OffsetIndexTest.setup(OffsetIndexTest.scala:37) kafka.log.OffsetIndexTest > randomLookupTest FAILED java.io.IOException: Operation not permitted at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:734) at kafka.log.OffsetIndex.<init>(OffsetIndex.scala:74) at kafka.log.OffsetIndexTest.setup(OffsetIndexTest.scala:37) kafka.log.OffsetIndexTest > lookupExtremeCases FAILED java.io.IOException: Operation not permitted at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:734) at kafka.log.OffsetIndex.<init>(OffsetIndex.scala:74) at kafka.log.OffsetIndexTest.setup(OffsetIndexTest.scala:37) kafka.log.OffsetIndexTest > appendTooMany FAILED java.io.IOException: Operation not permitted at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:734) at kafka.log.OffsetIndex.<init>(OffsetIndex.scala:74) at kafka.log.OffsetIndexTest.setup(OffsetIndexTest.scala:37) kafka.log.OffsetIndexTest > appendOutOfOrder FAILED java.io.IOException: Operation not permitted at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:734) at kafka.log.OffsetIndex.<init>(OffsetIndex.scala:74) at kafka.log.OffsetIndexTest.setup(OffsetIndexTest.scala:37) kafka.log.OffsetIndexTest > testReopen FAILED java.io.IOException: Operation not permitted at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:734) at kafka.log.OffsetIndex.<init>(OffsetIndex.scala:74) at kafka.log.OffsetIndexTest.setup(OffsetIndexTest.scala:37) 393 tests completed, 20 failed :core:test FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':core:test'. > There were failing tests. See the report at: > file://<https://builds.apache.org/job/KafkaPreCommit/ws/core/build/reports/tests/index.html> * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 9 mins 34.281 secs Build step 'Execute shell' marked build as failure Setting GRADLE_2_1_HOME=/jenkins/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1