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

Recent change to run-tests.py broke build on python2.6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Infrastructure
    • None
    • ghx-label-3

    Description

      Commit IMPALA-5886 & IMPALA-4812 Update run-tests.py to handle exit_code 5 introduced set literal syntax, which doesn't work with older pythons. The error you get is:

      13:25:40 /data/jenkins/workspace/impala-asf-master-core-data-load/repos/Impala
      13:25:40   File "/data/jenkins/workspace/impala-asf-master-core-data-load/repos/Impala/tests/run-tests.py", line 83
      13:25:40     self.tests_collected.update({item.nodeid})
      13:25:40                                             ^
      13:25:40 SyntaxError: invalid syntax
      

      Attachments

        Issue Links

          Activity

            People

              philip Philip Martin
              philip Philip Martin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: