You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Peter Somogyi (JIRA)" <ji...@apache.org> on 2019/05/25 08:03:00 UTC

[jira] [Created] (HBASE-22470) Corrupt Surefire test reports

Peter Somogyi created HBASE-22470:
-------------------------------------

             Summary: Corrupt Surefire test reports
                 Key: HBASE-22470
                 URL: https://issues.apache.org/jira/browse/HBASE-22470
             Project: HBase
          Issue Type: Bug
          Components: test
    Affects Versions: 3.0.0, 2.2.0, 2.1.5
            Reporter: Peter Somogyi
            Assignee: Peter Somogyi


Jenkins is not able to read surefire test reports occasionally because the generated XML file is corrupted. In this case Jenkins shows the following error message:

TEST-org.apache.hadoop.hbase.replication.TestMasterReplication.xml.[failed-to-read]

https://builds.apache.org/view/H-L/view/HBase/job/HBase%20Nightly/job/branch-2.1/1176/testReport/junit/TEST-org.apache.hadoop.hbase.replication.TestMasterReplication/xml/_failed_to_read_/

{noformat}
Failed to read test report file /home/jenkins/jenkins-slave/workspace/HBase_Nightly_branch-2.1/output-jdk8-hadoop3/archiver/hbase-server/target/surefire-reports/TEST-org.apache.hadoop.hbase.replication.TestMasterReplication.xml
org.dom4j.DocumentException: Error on line 86 of document  : XML document structures must start and end within the same entity. Nested exception: XML document structures must start and end within the same entity.{noformat}
The specific XML file is not complete, however, the output file for the test contains stdout and stderr output.
{noformat}
<testcase name="testHFileReplicationForConfiguredTableCfs" classname="org.apache.hadoop.hbase.replication.TestMasterReplication" time="95.334"/>
<testcase name="testHFileCyclicReplication" classname="org.apache.hadoop.hbase.replication.TestMasterReplication" time="26.5"/>
<testcase name="testCyclicReplication1" classname="org.apache.hadoop.hbase.replication.TestMasterReplication" time="27.244"/>
<testcase name="testCyclicReplication2" classname="org.apache.hadoop.hbase.replication.TestMasterReplication" time="46.921"/>
<testcase name="testCyclicReplication3" classname="org.apache.hadoop.hbase.replication.TestMasterReplication" time="43.147"/>
<testcase name="testLoopedReplication" classname="org.apache.hadoop.hbase.replication.TestMasterReplication" time="11.119"/>
<testcase name="testHFileMultiSlaveReplication" classname="org.apache.hadoop.hbase.replication.TestMasterReplication" time="44.022">
<flakyFailure message="Waited too much time for bulkloaded data replication. Current count=200, expected count=600" type="java.lang.AssertionError">java.lang.AssertionError: Waited too much time for bulkloaded data replication. Current count=200, expected count=600
at org.apache.hadoop.hbase.replication.TestMasterReplication.wait(TestMasterReplication.java:641)
at org.apache.hadoop.hbase.replication.TestMasterReplication.loadAndValidateHFileReplication(TestMasterReplication.java:631)
at org.apache.hadoop.hbase.replication.TestMasterReplication.testHFileMultiSlaveReplication(TestMasterReplication.java:371)

<system-out><![CDATA[Formatting using clusterid: testClusterID
Formatting using clusterid: testClusterID
Formatting using clusterid: testClusterID
]]></system-out>
<system-err><![CDATA[{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)