[ https://issues.apache.org/jira/browse/BEAM-8229?focusedWorklogId=312271&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-312271 ]
ASF GitHub Bot logged work on BEAM-8229: ---------------------------------------- Author: ASF GitHub Bot Created on: 13/Sep/19 18:59 Start Date: 13/Sep/19 18:59 Worklog Time Spent: 10m Work Description: chadrik commented on issue #9570: [BEAM-8229] Exclude python 3-specific test files from running in post-commit URL: https://github.com/apache/beam/pull/9570#issuecomment-531353542 R: @aaltay R: @robertwb Here's a quick fix if you want to use this instead of reverting and resubmitting #9098. It would be good if we could preemptively run post-commit test, since running the integration tests on my laptop seems like a bit of a non-starter. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 312271) Time Spent: 20m (was: 10m) > Python postcommit 2.7 tests are failing since we try to run a test with > Python 3.6+ syntax on Python 2. > ------------------------------------------------------------------------------------------------------- > > Key: BEAM-8229 > URL: https://issues.apache.org/jira/browse/BEAM-8229 > Project: Beam > Issue Type: Bug > Components: sdk-py-core > Reporter: Ahmet Altay > Assignee: Udi Meiri > Priority: Blocker > Time Spent: 20m > Remaining Estimate: 0h > > 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) -- This message was sent by Atlassian Jira (v8.3.2#803003)