Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-8193

junitxml_prune_notrun.py fails on Centos6 passing xml_declaration=True to ElementTree

    XMLWordPrintableJSON

Details

    • ghx-label-1

    Description

      I assume this fails because the version of python on Centos6 is old.

      [==========] 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'

      Attachments

        Activity

          People

            joemcdonnell Joe McDonnell
            asherman Andrew Sherman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: