Andrew Sherman created IMPALA-8193:
--------------------------------------
Summary: junitxml_prune_notrun.py fails on Centos6 passing
xml_declaration=True to ElementTree
Key: IMPALA-8193
URL: https://issues.apache.org/jira/browse/IMPALA-8193
Project: IMPALA
Issue Type: Bug
Reporter: Andrew Sherman
Assignee: Joe McDonnell
I assume this fails because the version of python on Centos6 is old.
{quote}
[==========] Running 5 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 5 tests from Bitmap
[ RUN ] Bitmap.SetupTest
[ OK ] Bitmap.SetupTest (0 ms)
[ RUN ] Bitmap.SetAllTest
[ OK ] Bitmap.SetAllTest (0 ms)
[ RUN ] Bitmap.SetGetTest
[ OK ] Bitmap.SetGetTest (1 ms)
[ RUN ] Bitmap.OverflowTest
[ OK ] Bitmap.OverflowTest (0 ms)
[ RUN ] Bitmap.MemUsage
[ OK ] Bitmap.MemUsage (0 ms)
[----------] 5 tests from Bitmap (1 ms total)
[----------] Global test environment tear-down
[==========] 5 tests from 1 test case ran. (1 ms total)
[ PASSED ] 5 tests.
YOU HAVE 1 DISABLED TEST
19/02/11 15:53:03 INFO util.JvmPauseMonitor: Starting JVM pause monitor
Traceback (most recent call last):
File
"/data/jenkins/workspace/impala-cdh6.x-exhaustive-centos6/repos/Impala/bin/junitxml_prune_notrun.py",
line 65, in <module>
if __name__ == "__main__": main()
File
"/data/jenkins/workspace/impala-cdh6.x-exhaustive-centos6/repos/Impala/bin/junitxml_prune_notrun.py",
line 62, in main
junitxml_prune_notrun(options.filename)
File
"/data/jenkins/workspace/impala-cdh6.x-exhaustive-centos6/repos/Impala/bin/junitxml_prune_notrun.py",
line 55, in junitxml_prune_notrun
tree.write(junitxml_filename, encoding="utf-8", xml_declaration=True)
TypeError: write() got an unexpected keyword argument 'xml_declaration'
{quote}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]