Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-8229

Python postcommit 2.7 tests are failing since we try to run a test with Python 3.6+ syntax on Python 2.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P0
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Not applicable
    • Component/s: sdk-py-core
    • Labels:
      None

      Description

      Root cause: https://github.com/apache/beam/pull/9098

      20:12:14 Traceback (most recent call last):
      20:12:14 File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2_PR/src/build/gradleenv/-194514014/local/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
      20:12:14 addr.filename, addr.module)
      20:12:14 File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2_PR/src/build/gradleenv/-194514014/local/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
      20:12:14 return self.importFromDir(dir_path, fqname)
      20:12:14 File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2_PR/src/build/gradleenv/-194514014/local/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
      20:12:14 mod = load_module(part_fqname, fh, filename, desc)
      20:12:14 SyntaxError: invalid syntax (external_test_py37.py, line 46)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chadrik Chad Dombrova
                Reporter:
                altay Ahmet Altay
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m