Python 2 isn't the reason the test is failing, that's just a warning. The actual error is at the very end of the log (it looks familiar to me, though I don't see a JIRA for it):
<_Rendezvous of RPC that terminated with: status = StatusCode.UNIMPLEMENTED details = "Method org.apache.beam.model.job_management.v1.JobService/GetJobMetrics is unimplemented" debug_error_string = "{"created":"@1568424715.449291418","description":"Error received from peer ipv4:127.0.0.1:46117","file":"src/core/lib/surface/call.cc","file_line":1052,"grpc_message":"Method org.apache.beam.model.job_management.v1.JobService/GetJobMetrics is unimplemented","grpc_status":12}" > Kyle Weaver | Software Engineer | github.com/ibzib | kcwea...@google.com On Mon, Sep 16, 2019 at 11:34 AM Ning Kang <kawai...@gmail.com> wrote: > Hi! I've been seeing some errors during "Python PreCommit". > I'm seeing "UserWarning: You are using Apache Beam with Python 2. New > releases of Apache Beam will soon support Python 3 only. 'You are using > Apache Beam with Python 2. '" > Is there any plan to remove py2 tests from the pre-commit check once we > stop supporting Python2? > The scan link is: > https://scans.gradle.com/s/vujoeo62uyfpi/console-log?task=:sdks:python:test-suites:portable:py2:portableWordCountBatch > > Thanks! > > Ning. > >