Details
-
Bug
-
Status: In Progress
-
Minor
-
Resolution: Unresolved
-
3.0.0-alpha-1, 2.2.0, 2.1.5
-
None
-
None
-
Upgrade maven-surefire-plugin to 3.0.0-M6. Hope this could solve the partial xml report file problem.
Description
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]
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.
The specific XML file is not complete, however, the output file for the test contains stdout and stderr output.
<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[
Attachments
Attachments
Issue Links
- is related to
-
SUREFIRE-1821 Broken junit report when parallel and rerunFailingTestsCount configureation is used
- Closed
- links to
1.
|
Upgrade to surefire 2.22.2 | Resolved | Peter Somogyi | |
2.
|
Upgrade surefire plugin to 3.0.0-M4 | Resolved | Rabi Kumar K C | |
3.
|
Upgrade surefire plugin to 3.0.0-M6 | Resolved | Duo Zhang |