hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11549) flaky test detection tool failed to handle special control characters in test result
Date Wed, 04 Feb 2015 20:23:38 GMT

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

Hadoop QA commented on HADOOP-11549:

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  against trunk revision 9175105.

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new Findbugs (version
2.0.3) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/5586//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/5586//console

This message is automatically generated.

> flaky test detection tool failed to handle special control characters in test result
> ------------------------------------------------------------------------------------
>                 Key: HADOOP-11549
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11549
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 2.7.0
>            Reporter: Yongjun Zhang
>            Assignee: Yongjun Zhang
>         Attachments: HADOOP-11549.001.patch
> When running the tool from HADOOP-11045 on latest Hadoop-hdfs-trunk job, I'm seeing a
problem here:
> {code}
> [yzhang@localhost jenkinsftf]$ ./determine-flaky-tests-hadoop.py -j Hadoop-hdfs-trunk

> ****Recently FAILED builds in url: https://builds.apache.org/job/Hadoop-hdfs-trunk
>     THERE ARE 5 builds (out of 6) that have failed tests in the past 14 days, as listed
> ===>https://builds.apache.org/job/Hadoop-hdfs-trunk/2026/testReport (2015-02-04 03:30:00)
>     Could not open testReport, check https://builds.apache.org/job/Hadoop-hdfs-trunk/2026/Console
for why it was reported failed
> ...
> {code}
> I saw that the testReport can actually be opened from browser. After looking, I found
that HDFS-7287 fix added the following test code:
> {code}
> //Create a directory whose name should be escaped in XML
> Path invalidXMLDir = new Path("/dirContainingInvalidXMLChar\u0000here");
> hdfs.mkdirs(invalidXMLDir);
> ...
> {code}
> And the output from this code caused the tool to choke. 
> I found a solution here and I'm attaching a patch.

This message was sent by Atlassian JIRA

View raw message