hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohith Sharma K S (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5213) TestLogsCLI#testFetchApplictionLogs fails intermittently
Date Mon, 18 Jul 2016 10:40:20 GMT

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

Rohith Sharma K S commented on YARN-5213:
-----------------------------------------

Expected ByteArrayStream
{noformat}
Container: container_0_0001_01_000003 on localhost_12341468825226852
====================================================================
Container: container_0_0001_01_000003 on localhost_12341468825227186
====================================================================
Container: container_0_0001_01_000003 on localhost_12341468825227197
====================================================================
Container: container_0_0001_01_000003 on localhost_12341468825227236
====================================================================
Container: container_0_0001_01_000003 on localhost_12341468825227248
====================================================================
LogType:stdout
Log Upload Time:Mon Jul 18 12:30:27 +0530 2016
LogLength:43
Log Contents:
Hello
End of LogType:stdout


{noformat}

But actual ByteArrayStream is 
{noformat}
Container: container_0_0001_01_000003 on localhost_12341468824484792
====================================================================
Container: container_0_0001_01_000003 on localhost_12341468824484591
====================================================================
Container: container_0_0001_01_000003 on localhost_12341468824485086
====================================================================
LogType:stdout
Log Upload Time:Mon Jul 18 12:18:05 +0530 2016
LogLength:43
Log Contents:
Hello container_0_0001_01_000003 in stdout!
End of LogType:stdout

Container: container_0_0001_01_000003 on localhost_12341468824484822
====================================================================
Container: container_0_0001_01_000003 on localhost_12341468824485037
====================================================================
{noformat}

> TestLogsCLI#testFetchApplictionLogs fails intermittently
> --------------------------------------------------------
>
>                 Key: YARN-5213
>                 URL: https://issues.apache.org/jira/browse/YARN-5213
>             Project: Hadoop YARN
>          Issue Type: Test
>          Components: test
>            Reporter: Rohith Sharma K S
>            Assignee: Rohith Sharma K S
>
> TestLogsCLI fails intermittently on build [link|https://builds.apache.org/job/PreCommit-YARN-Build/11910/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-client.txt]
> {noformat}
> Running org.apache.hadoop.yarn.client.cli.TestLogsCLI
> Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.708 sec <<<
FAILURE! - in org.apache.hadoop.yarn.client.cli.TestLogsCLI
> testFetchApplictionLogs(org.apache.hadoop.yarn.client.cli.TestLogsCLI)  Time elapsed:
0.176 sec  <<< FAILURE!
> org.junit.ComparisonFailure: expected:<[Hello]> but was:<[=====]>
> 	at org.junit.Assert.assertEquals(Assert.java:115)
> 	at org.junit.Assert.assertEquals(Assert.java:144)
> 	at org.apache.hadoop.yarn.client.cli.TestLogsCLI.testFetchApplictionLogs(TestLogsCLI.java:389)
> {noformat}



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

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


Mime
View raw message