Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9779E1767E for ; Wed, 4 Feb 2015 19:49:35 +0000 (UTC) Received: (qmail 77802 invoked by uid 500); 4 Feb 2015 19:49:35 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 77763 invoked by uid 500); 4 Feb 2015 19:49:35 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 77750 invoked by uid 99); 4 Feb 2015 19:49:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2015 19:49:35 +0000 Date: Wed, 4 Feb 2015 19:49:35 +0000 (UTC) From: "Yongjun Zhang (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-11549) flaky test detection tool failed to handle special control characters in test result MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-11549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yongjun Zhang updated HADOOP-11549: ----------------------------------- Attachment: HADOOP-11549.001.patch > 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 > 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 below: > ===>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 (v6.3.4#6332)