[ https://issues.apache.org/jira/browse/KAFKA-2541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14742782#comment-14742782 ]
Bobby Tang commented on KAFKA-2541: ----------------------------------- It turns out to be a DNS hijacking issue by ISP provider(Verizon). {code:title=default DNS server by Verizon} bobbymac:kafka bobbytang$ nslookup some.invalid.hostname.foo.bar Server: 192.168.1.1 Address: 192.168.1.1#53 Non-authoritative answer: Name: some.invalid.hostname.foo.bar Address: 92.242.140.21 {code} {code:title=opted out DNS servers which has NXDOMAIN redirection services turned} bobbymac:kafka bobbytang$ nslookup some.invalid.hostname.foo.bar Server: 192.168.1.1 Address: 192.168.1.1#53 ** server can't find some.invalid.hostname.foo.bar: NXDOMAIN {code} For anyone who comes across same issue... {code:title=opt out Verizon NXDOMAIN redirection services} "This is expected bahavior. The Verizon Online DNS resolvers have NXDOMAIN redirection services that redirect any unknown host to a sponsored search page. You can opt out of this by changing your resolver from .12 to .14." {code} see details from https://forums.verizon.com/t5/FiOS-Internet/FIOS-DNS-Hack-Directed-to-unallocated-barefruit-co-uk92-242-140/td-p/723697 > Consistent failure of unit test cases > -------------------------------------- > > Key: KAFKA-2541 > URL: https://issues.apache.org/jira/browse/KAFKA-2541 > Project: Kafka > Issue Type: Bug > Components: consumer > Environment: Environments: Mac OSX and Ubuntu > Reporter: Bobby Tang > Assignee: Neha Narkhede > Priority: Minor > > Env > {code:title=Mac OSX} > $ sw_vers > ProductName: Mac OS X > ProductVersion: 10.10.5 > BuildVersion: 14F27 > {code} > {code:title=Ubuntu} > ~/opensource/kafka$ lsb_release -a > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 12.04.5 LTS > Release: 12.04 > Codename: precise > {code} > {code:title=Failure test cases on Mac OS X} > $ ./gradlew test > org.apache.kafka.common.utils.AbstractIteratorTest > testIterator PASSED > 376 tests completed, 3 failed > :clients:test FAILED > FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':clients:test'. > > There were failing tests. See the report at: > > file:///Users/bobbytang/opensource/kafka/clients/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 > KafkaConsumerTest. testConstructorClose > KafkaProducerTest. testConstructorFailureCloseResource > SelectorTest. testNoRouteToHost > {code} > {code:title=Failure test cases on Ubuntu} > $ ./gradlew test > 376 tests completed, 3 failed > :clients:test FAILED > FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':clients:test'. > > There were failing tests. See the report at: > > file:///home/opensource/kafka/clients/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: 2 mins 24.664 secs > KafkaConsumerTest. testConstructorClose > KafkaProducerTest. testConstructorFailureCloseResource > SelectorTest. testNoRouteToHost > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)