Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-21573

Tests failing with run-tests.py SyntaxError occasionally in Jenkins

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3.0
    • 2.3.0
    • Tests
    • None

    Description

      It looks default python in the path at few places such as ./dev/run-tests use Python 2.6 in Jenkins and it fails to execute run-tests.py:

      python2.6 run-tests.py
        File "run-tests.py", line 124
          {m: set(m.dependencies).intersection(modules_to_test) for m in modules_to_test}, sort=True)
                                                                  ^
      SyntaxError: invalid syntax
      

      It looks there are quite some places to fix to support Python 2.6 in run-tests.py and related Python scripts.
      We might just try to set Python 2.7 in few other scripts running this if available.

      Please also see http://apache-spark-developers-list.1001551.n3.nabble.com/Tests-failing-with-run-tests-py-SyntaxError-td22030.html

      Attachments

        Activity

          People

            shaneknapp Shane Knapp
            gurwls223 Hyukjin Kwon
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: