See <https://builds.apache.org/job/kafka-2.0-jdk8/257/display/redirect?page=changes>
Changes: [jason] KAFKA-8066; Always close the sensors in Selector.close() (#6402) ------------------------------------------ [...truncated 425.91 KB...] kafka.controller.PartitionStateMachineTest > testNewPartitionToOnlinePartitionTransitionZkUtilsExceptionFromCreateStates STARTED kafka.controller.PartitionStateMachineTest > testNewPartitionToOnlinePartitionTransitionZkUtilsExceptionFromCreateStates PASSED kafka.controller.PartitionStateMachineTest > testInvalidNewPartitionToNonexistentPartitionTransition STARTED kafka.controller.PartitionStateMachineTest > testInvalidNewPartitionToNonexistentPartitionTransition PASSED kafka.controller.PartitionStateMachineTest > testNewPartitionToOnlinePartitionTransition STARTED kafka.controller.PartitionStateMachineTest > testNewPartitionToOnlinePartitionTransition PASSED kafka.controller.PartitionStateMachineTest > testInvalidOnlinePartitionToNewPartitionTransition STARTED kafka.controller.PartitionStateMachineTest > testInvalidOnlinePartitionToNewPartitionTransition PASSED kafka.controller.PartitionStateMachineTest > testOfflinePartitionToOnlinePartitionTransitionErrorCodeFromStateLookup STARTED kafka.controller.PartitionStateMachineTest > testOfflinePartitionToOnlinePartitionTransitionErrorCodeFromStateLookup PASSED kafka.controller.PartitionStateMachineTest > testOnlinePartitionToOnlineTransitionForControlledShutdown STARTED kafka.controller.PartitionStateMachineTest > testOnlinePartitionToOnlineTransitionForControlledShutdown PASSED kafka.controller.PartitionStateMachineTest > testOfflinePartitionToOnlinePartitionTransitionZkUtilsExceptionFromStateLookup STARTED kafka.controller.PartitionStateMachineTest > testOfflinePartitionToOnlinePartitionTransitionZkUtilsExceptionFromStateLookup PASSED kafka.controller.PartitionStateMachineTest > testInvalidOnlinePartitionToNonexistentPartitionTransition STARTED kafka.controller.PartitionStateMachineTest > testInvalidOnlinePartitionToNonexistentPartitionTransition PASSED kafka.controller.PartitionStateMachineTest > testInvalidOfflinePartitionToNewPartitionTransition STARTED kafka.controller.PartitionStateMachineTest > testInvalidOfflinePartitionToNewPartitionTransition PASSED kafka.controller.PartitionStateMachineTest > testOfflinePartitionToOnlinePartitionTransition STARTED kafka.controller.PartitionStateMachineTest > testOfflinePartitionToOnlinePartitionTransition PASSED kafka.controller.ControllerEventManagerTest > testEventThatThrowsException STARTED kafka.controller.ControllerEventManagerTest > testEventThatThrowsException PASSED kafka.controller.ControllerEventManagerTest > testSuccessfulEvent STARTED kafka.controller.ControllerEventManagerTest > testSuccessfulEvent PASSED kafka.controller.ControllerFailoverTest > classMethod STARTED kafka.controller.ControllerFailoverTest > classMethod FAILED java.lang.AssertionError: Found unexpected threads during @BeforeClass, allThreads=Set(Thread-1301-EventThread, metrics-meter-tick-thread-2, Signal Dispatcher, admin-client-network-thread, /0:0:0:0:0:0:0:1:53492 to /0:0:0:0:0:0:0:1:39941 workers Thread 2, main, Reference Handler, ExpirationReaper-0-Produce, /0:0:0:0:0:0:0:1:53492 to /0:0:0:0:0:0:0:1:39941 workers Thread 3, ExpirationReaper-0-DeleteRecords, ThrottledChannelReaper-Produce, ThrottledChannelReaper-Request, Test worker, Test worker-SendThread(localhost:45365), ForkJoinPool-1-worker-5, Thread-1301-SendThread(localhost:45233), Test worker-EventThread, ExpirationReaper-0-Fetch, Finalizer, ThrottledChannelReaper-Fetch, kafka-admin-client-thread | adminclient-48, metrics-meter-tick-thread-1), unexpected=Set(kafka-admin-client-thread | adminclient-48) kafka.controller.ControllerFailoverTest > classMethod STARTED kafka.controller.ControllerFailoverTest > classMethod FAILED java.lang.AssertionError: Found unexpected threads during @AfterClass, allThreads=Set(Thread-1301-EventThread, metrics-meter-tick-thread-2, Signal Dispatcher, admin-client-network-thread, /0:0:0:0:0:0:0:1:53492 to /0:0:0:0:0:0:0:1:39941 workers Thread 2, main, Reference Handler, ExpirationReaper-0-Produce, /0:0:0:0:0:0:0:1:53492 to /0:0:0:0:0:0:0:1:39941 workers Thread 3, ExpirationReaper-0-DeleteRecords, ThrottledChannelReaper-Produce, ThrottledChannelReaper-Request, Test worker, Test worker-SendThread(localhost:45365), ForkJoinPool-1-worker-5, Thread-1301-SendThread(localhost:45233), Test worker-EventThread, ExpirationReaper-0-Fetch, Finalizer, ThrottledChannelReaper-Fetch, kafka-admin-client-thread | adminclient-48, metrics-meter-tick-thread-1), unexpected=Set(kafka-admin-client-thread | adminclient-48) kafka.network.SocketServerTest > testGracefulClose STARTED kafka.network.SocketServerTest > testGracefulClose PASSED kafka.network.SocketServerTest > testSendActionResponseWithThrottledChannelWhereThrottlingAlreadyDone STARTED kafka.network.SocketServerTest > testSendActionResponseWithThrottledChannelWhereThrottlingAlreadyDone PASSED kafka.network.SocketServerTest > controlThrowable STARTED kafka.network.SocketServerTest > controlThrowable PASSED kafka.network.SocketServerTest > testRequestMetricsAfterStop STARTED kafka.network.SocketServerTest > testRequestMetricsAfterStop PASSED kafka.network.SocketServerTest > testConnectionIdReuse STARTED kafka.network.SocketServerTest > testConnectionIdReuse PASSED kafka.network.SocketServerTest > testClientDisconnectionUpdatesRequestMetrics STARTED kafka.network.SocketServerTest > testClientDisconnectionUpdatesRequestMetrics PASSED kafka.network.SocketServerTest > testProcessorMetricsTags STARTED kafka.network.SocketServerTest > testProcessorMetricsTags PASSED kafka.network.SocketServerTest > testMaxConnectionsPerIp STARTED kafka.network.SocketServerTest > testMaxConnectionsPerIp PASSED kafka.network.SocketServerTest > testConnectionId STARTED kafka.network.SocketServerTest > testConnectionId PASSED kafka.network.SocketServerTest > testBrokerSendAfterChannelClosedUpdatesRequestMetrics STARTED kafka.network.SocketServerTest > testBrokerSendAfterChannelClosedUpdatesRequestMetrics PASSED kafka.network.SocketServerTest > testNoOpAction STARTED kafka.network.SocketServerTest > testNoOpAction PASSED kafka.network.SocketServerTest > simpleRequest STARTED kafka.network.SocketServerTest > simpleRequest PASSED kafka.network.SocketServerTest > closingChannelException STARTED kafka.network.SocketServerTest > closingChannelException PASSED kafka.network.SocketServerTest > testSendActionResponseWithThrottledChannelWhereThrottlingInProgress STARTED kafka.network.SocketServerTest > testSendActionResponseWithThrottledChannelWhereThrottlingInProgress PASSED kafka.network.SocketServerTest > testIdleConnection STARTED kafka.network.SocketServerTest > testIdleConnection PASSED kafka.network.SocketServerTest > testClientDisconnectionWithStagedReceivesFullyProcessed STARTED kafka.network.SocketServerTest > testClientDisconnectionWithStagedReceivesFullyProcessed PASSED kafka.network.SocketServerTest > testZeroMaxConnectionsPerIp STARTED kafka.network.SocketServerTest > testZeroMaxConnectionsPerIp PASSED kafka.network.SocketServerTest > testMetricCollectionAfterShutdown STARTED kafka.network.SocketServerTest > testMetricCollectionAfterShutdown PASSED kafka.network.SocketServerTest > testSessionPrincipal STARTED kafka.network.SocketServerTest > testSessionPrincipal PASSED kafka.network.SocketServerTest > configureNewConnectionException STARTED kafka.network.SocketServerTest > configureNewConnectionException PASSED kafka.network.SocketServerTest > testMaxConnectionsPerIpOverrides STARTED kafka.network.SocketServerTest > testMaxConnectionsPerIpOverrides PASSED kafka.network.SocketServerTest > processNewResponseException STARTED kafka.network.SocketServerTest > processNewResponseException PASSED kafka.network.SocketServerTest > processCompletedSendException STARTED kafka.network.SocketServerTest > processCompletedSendException PASSED kafka.network.SocketServerTest > processDisconnectedException STARTED kafka.network.SocketServerTest > processDisconnectedException PASSED kafka.network.SocketServerTest > sendCancelledKeyException STARTED kafka.network.SocketServerTest > sendCancelledKeyException PASSED kafka.network.SocketServerTest > processCompletedReceiveException STARTED kafka.network.SocketServerTest > processCompletedReceiveException PASSED kafka.network.SocketServerTest > testSocketsCloseOnShutdown STARTED kafka.network.SocketServerTest > testSocketsCloseOnShutdown PASSED kafka.network.SocketServerTest > testNoOpActionResponseWithThrottledChannelWhereThrottlingAlreadyDone STARTED kafka.network.SocketServerTest > testNoOpActionResponseWithThrottledChannelWhereThrottlingAlreadyDone PASSED kafka.network.SocketServerTest > pollException STARTED kafka.network.SocketServerTest > pollException PASSED kafka.network.SocketServerTest > testSslSocketServer STARTED kafka.network.SocketServerTest > testSslSocketServer PASSED kafka.network.SocketServerTest > tooBigRequestIsRejected STARTED kafka.network.SocketServerTest > tooBigRequestIsRejected PASSED kafka.network.SocketServerTest > testNoOpActionResponseWithThrottledChannelWhereThrottlingInProgress STARTED kafka.network.SocketServerTest > testNoOpActionResponseWithThrottledChannelWhereThrottlingInProgress PASSED kafka.integration.MetricsDuringTopicCreationDeletionTest > classMethod STARTED kafka.integration.MetricsDuringTopicCreationDeletionTest > classMethod FAILED java.lang.AssertionError: Found unexpected threads during @BeforeClass, allThreads=Set(Thread-1301-EventThread, metrics-meter-tick-thread-2, Signal Dispatcher, admin-client-network-thread, /0:0:0:0:0:0:0:1:53492 to /0:0:0:0:0:0:0:1:39941 workers Thread 2, main, Reference Handler, ExpirationReaper-0-Produce, /0:0:0:0:0:0:0:1:53492 to /0:0:0:0:0:0:0:1:39941 workers Thread 3, ExpirationReaper-0-DeleteRecords, ThrottledChannelReaper-Produce, ThrottledChannelReaper-Request, Test worker, Test worker-SendThread(localhost:45365), ForkJoinPool-1-worker-5, Thread-1301-SendThread(localhost:45233), Test worker-EventThread, ExpirationReaper-0-Fetch, Finalizer, ThrottledChannelReaper-Fetch, kafka-admin-client-thread | adminclient-48, metrics-meter-tick-thread-1), unexpected=Set(kafka-admin-client-thread | adminclient-48) kafka.integration.MetricsDuringTopicCreationDeletionTest > classMethod STARTED kafka.integration.MetricsDuringTopicCreationDeletionTest > classMethod FAILED java.lang.AssertionError: Found unexpected threads during @AfterClass, allThreads=Set(Thread-1301-EventThread, metrics-meter-tick-thread-2, Signal Dispatcher, admin-client-network-thread, /0:0:0:0:0:0:0:1:53492 to /0:0:0:0:0:0:0:1:39941 workers Thread 2, main, Reference Handler, ExpirationReaper-0-Produce, /0:0:0:0:0:0:0:1:53492 to /0:0:0:0:0:0:0:1:39941 workers Thread 3, ExpirationReaper-0-DeleteRecords, ThrottledChannelReaper-Produce, ThrottledChannelReaper-Request, Test worker, Test worker-SendThread(localhost:45365), ForkJoinPool-1-worker-5, Thread-1301-SendThread(localhost:45233), Test worker-EventThread, ExpirationReaper-0-Fetch, Finalizer, ThrottledChannelReaper-Fetch, kafka-admin-client-thread | adminclient-48, metrics-meter-tick-thread-1), unexpected=Set(kafka-admin-client-thread | adminclient-48) kafka.integration.UncleanLeaderElectionTest > classMethod STARTED kafka.integration.UncleanLeaderElectionTest > classMethod FAILED java.lang.AssertionError: Found unexpected threads during @BeforeClass, allThreads=Set(Thread-1301-EventThread, metrics-meter-tick-thread-2, Signal Dispatcher, admin-client-network-thread, /0:0:0:0:0:0:0:1:53492 to /0:0:0:0:0:0:0:1:39941 workers Thread 2, main, Reference Handler, ExpirationReaper-0-Produce, /0:0:0:0:0:0:0:1:53492 to /0:0:0:0:0:0:0:1:39941 workers Thread 3, ExpirationReaper-0-DeleteRecords, ThrottledChannelReaper-Produce, ThrottledChannelReaper-Request, Test worker, Test worker-SendThread(localhost:45365), ForkJoinPool-1-worker-5, Thread-1301-SendThread(localhost:45233), Test worker-EventThread, ExpirationReaper-0-Fetch, Finalizer, ThrottledChannelReaper-Fetch, kafka-admin-client-thread | adminclient-48, metrics-meter-tick-thread-1), unexpected=Set(kafka-admin-client-thread | adminclient-48) kafka.integration.UncleanLeaderElectionTest > classMethod STARTED kafka.integration.UncleanLeaderElectionTest > classMethod FAILED java.lang.AssertionError: Found unexpected threads during @AfterClass, allThreads=Set(Thread-1301-EventThread, metrics-meter-tick-thread-2, Signal Dispatcher, admin-client-network-thread, /0:0:0:0:0:0:0:1:53492 to /0:0:0:0:0:0:0:1:39941 workers Thread 2, main, Reference Handler, ExpirationReaper-0-Produce, /0:0:0:0:0:0:0:1:53492 to /0:0:0:0:0:0:0:1:39941 workers Thread 3, ExpirationReaper-0-DeleteRecords, ThrottledChannelReaper-Produce, ThrottledChannelReaper-Request, Test worker, Test worker-SendThread(localhost:45365), ForkJoinPool-1-worker-5, Thread-1301-SendThread(localhost:45233), Test worker-EventThread, ExpirationReaper-0-Fetch, Finalizer, ThrottledChannelReaper-Fetch, kafka-admin-client-thread | adminclient-48, metrics-meter-tick-thread-1), unexpected=Set(kafka-admin-client-thread | adminclient-48) kafka.integration.MinIsrConfigTest > classMethod STARTED kafka.integration.MinIsrConfigTest > classMethod FAILED java.lang.AssertionError: Found unexpected threads during @BeforeClass, allThreads=Set(Thread-1301-EventThread, metrics-meter-tick-thread-2, Signal Dispatcher, admin-client-network-thread, /0:0:0:0:0:0:0:1:53492 to /0:0:0:0:0:0:0:1:39941 workers Thread 2, main, Reference Handler, ExpirationReaper-0-Produce, /0:0:0:0:0:0:0:1:53492 to /0:0:0:0:0:0:0:1:39941 workers Thread 3, ExpirationReaper-0-DeleteRecords, ThrottledChannelReaper-Produce, ThrottledChannelReaper-Request, Test worker, Test worker-SendThread(localhost:45365), ForkJoinPool-1-worker-5, Thread-1301-SendThread(localhost:45233), Test worker-EventThread, ExpirationReaper-0-Fetch, Finalizer, ThrottledChannelReaper-Fetch, kafka-admin-client-thread | adminclient-48, metrics-meter-tick-thread-1), unexpected=Set(kafka-admin-client-thread | adminclient-48) kafka.integration.MinIsrConfigTest > classMethod STARTED kafka.integration.MinIsrConfigTest > classMethod FAILED java.lang.AssertionError: Found unexpected threads during @AfterClass, allThreads=Set(Thread-1301-EventThread, metrics-meter-tick-thread-2, Signal Dispatcher, admin-client-network-thread, /0:0:0:0:0:0:0:1:53492 to /0:0:0:0:0:0:0:1:39941 workers Thread 2, main, Reference Handler, ExpirationReaper-0-Produce, /0:0:0:0:0:0:0:1:53492 to /0:0:0:0:0:0:0:1:39941 workers Thread 3, ExpirationReaper-0-DeleteRecords, ThrottledChannelReaper-Produce, ThrottledChannelReaper-Request, Test worker, Test worker-SendThread(localhost:45365), ForkJoinPool-1-worker-5, Thread-1301-SendThread(localhost:45233), Test worker-EventThread, ExpirationReaper-0-Fetch, Finalizer, ThrottledChannelReaper-Fetch, kafka-admin-client-thread | adminclient-48, metrics-meter-tick-thread-1), unexpected=Set(kafka-admin-client-thread | adminclient-48) 1761 tests completed, 56 failed, 2 skipped > Task :kafka-2.0-jdk8:core:test FAILED > Task :testScala_2_11 FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':kafka-2.0-jdk8:core:test'. > There were failing tests. See the report at: > file://<https://builds.apache.org/job/kafka-2.0-jdk8/ws/core/build/reports/tests/test/index.html> * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 58m 29s 25 actionable tasks: 3 executed, 22 up-to-date Build step 'Execute shell' marked build as failure [FINDBUGS] Collecting findbugs analysis files... Setting GRADLE_4_8_1_HOME=/home/jenkins/tools/gradle/4.8.1 [FINDBUGS] Searching for all files in <https://builds.apache.org/job/kafka-2.0-jdk8/ws/> that match the pattern **/build/reports/findbugs/*.xml [FINDBUGS] Parsing 1 file in <https://builds.apache.org/job/kafka-2.0-jdk8/ws/> [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/kafka-2.0-jdk8/ws/core/build/reports/findbugs/main.xml> with 0 unique warnings and 0 duplicates. Setting GRADLE_4_8_1_HOME=/home/jenkins/tools/gradle/4.8.1 No credentials specified Setting GRADLE_4_8_1_HOME=/home/jenkins/tools/gradle/4.8.1 <Git Blamer> Using GitBlamer to create author and commit information for all warnings. <Git Blamer> GIT_COMMIT=25c634aab9ce9383e960323eb088cc81f45cc1bc, workspace=<https://builds.apache.org/job/kafka-2.0-jdk8/ws/> [FINDBUGS] Computing warning deltas based on reference build #256 Recording test results Setting GRADLE_4_8_1_HOME=/home/jenkins/tools/gradle/4.8.1 Setting GRADLE_4_8_1_HOME=/home/jenkins/tools/gradle/4.8.1