You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Mingliang Liu (JIRA)" <ji...@apache.org> on 2016/05/05 19:00:15 UTC

[jira] [Commented] (HADOOP-13101) TestDNS.testDefaultDnsServer failed intermittently.

    [ https://issues.apache.org/jira/browse/HADOOP-13101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15272851#comment-15272851 ] 

Mingliang Liu commented on HADOOP-13101:
----------------------------------------

Thanks for filing this. I see {{TestDNS#testNullDnsServer}} is also failing (e.g.[PreCommit-HADOOP-Build/9285|https://builds.apache.org/job/PreCommit-HADOOP-Build/9285/testReport/org.apache.hadoop.net/TestDNS/testNullDnsServer/]), and seems related. Hope we can fix them together.

Error Message
{code}
Expected: is "localhost"
     but: was "8b7e00deed59"
{code}

Stacktrace
{code}
java.lang.AssertionError: 
Expected: is "localhost"
     but: was "8b7e00deed59"
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.junit.Assert.assertThat(Assert.java:865)
	at org.junit.Assert.assertThat(Assert.java:832)
	at org.apache.hadoop.net.TestDNS.testNullDnsServer(TestDNS.java:124)
{code}
Standard Output
{code}
2016-05-05 06:36:16,013 WARN  net.DNS (DNS.java:getHosts(268)) - Unable to determine hostname for interface lo
{code}

> TestDNS.testDefaultDnsServer failed intermittently.
> ---------------------------------------------------
>
>                 Key: HADOOP-13101
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13101
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: test
>            Reporter: Xiaoyu Yao
>
> The test failed intermittently on [Jenkins|https://builds.apache.org/job/PreCommit-HDFS-Build/15366/artifact/patchprocess/patch-unit-hadoop-common-project_hadoop-common-jdk1.8.0_91.txt] with the following error.
> {code}
> Failed tests: 
>   TestDNS.testDefaultDnsServer:134 
> Expected: is "dd12a7999c74"
>      but: was "localhost"
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org