[ https://issues.apache.org/jira/browse/HIVE-10768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14552687#comment-14552687 ]
Hive QA commented on HIVE-10768: -------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12734084/HIVE-10768.1.patch {color:red}ERROR:{color} -1 due to 13 failed/errored test(s), 5369 tests executed *Failed tests:* {noformat} TestHBaseCliDriver-hbase_binary_map_queries.q - did not produce a TEST-*.xml file TestHBaseCliDriver-hbase_binary_map_queries_prefix.q-hbase_stats.q-ppd_key_ranges.q - did not produce a TEST-*.xml file TestHBaseCliDriver-hbase_binary_storage_queries.q - did not produce a TEST-*.xml file TestHBaseCliDriver-hbase_handler_bulk.q-hbase_binary_external_table_queries.q - did not produce a TEST-*.xml file TestHBaseCliDriver-hbase_handler_snapshot.q-hbase_stats3.q-hbase_custom_key3.q - did not produce a TEST-*.xml file TestHBaseCliDriver-hbase_joins.q - did not produce a TEST-*.xml file TestHBaseCliDriver-hbase_ppd_key_range.q-hbase_custom_key.q-hbase_pushdown.q - did not produce a TEST-*.xml file TestHBaseCliDriver-hbase_queries.q - did not produce a TEST-*.xml file TestHBaseCliDriver-hbase_stats2.q-hbase_custom_key2.q-hbase_timestamp.q - did not produce a TEST-*.xml file TestHBaseCliDriver-hbase_stats_empty_partition.q-external_table_ppd.q-hbase_ppd_join.q - did not produce a TEST-*.xml file TestHBaseCliDriver-hbase_timestamp_format.q-hbase_scan_params.q-hbase_single_sourced_multi_insert.q - did not produce a TEST-*.xml file TestHBaseMinimrCliDriver - did not produce a TEST-*.xml file TestHBaseNegativeCliDriver - did not produce a TEST-*.xml file {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3961/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3961/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-3961/ Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 13 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12734084 - PreCommit-HIVE-TRUNK-Build > In QTestGenTask.execute() we should not throw an exception right away if we > are unable to clean any old files > ------------------------------------------------------------------------------------------------------------- > > Key: HIVE-10768 > URL: https://issues.apache.org/jira/browse/HIVE-10768 > Project: Hive > Issue Type: Bug > Components: Testing Infrastructure > Reporter: Hari Sankar Sivarama Subramaniyan > Assignee: Hari Sankar Sivarama Subramaniyan > Attachments: HIVE-10768.1.patch > > > Currently in QTestGenTask.execute(), we have code like : > {code} > if (logFile != null) { > File lf = new File(logFile); > if (lf.exists()) { > if (!lf.delete()) { > throw new Exception("Could not delete log file " + > lf.getCanonicalPath()); > } > {code} > If the log file gets locked due to some other process, it throws the above > exception and short circuits the entire test suite. We should provide a > mechanism to generate alternative new log files/temporary files whenever > possible to avoid unit test failures. -- This message was sent by Atlassian JIRA (v6.3.4#6332)