Aviem Zur created BEAM-2968:
-------------------------------

             Summary: Master build broken due to error when running 
autocomplete_test.py
                 Key: BEAM-2968
                 URL: https://issues.apache.org/jira/browse/BEAM-2968
             Project: Beam
          Issue Type: Bug
          Components: sdk-py-core
            Reporter: Aviem Zur
            Assignee: Ahmet Altay


Master build fails with:
{code}
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (setuptools-test) on project 
beam-sdks-python: Command execution failed.
{code}

Last nightly build: 
https://builds.apache.org/job/beam_Release_NightlySnapshot/536/
All recent pre-commit builds: 
https://builds.apache.org/view/A-D/view/Beam/job/beam_PreCommit_Java_MavenInstall/

{code}
py27gcp runtests: commands[3] | python 
apache_beam/examples/complete/autocomplete_test.py
Traceback (most recent call last):
  File "apache_beam/examples/complete/autocomplete_test.py", line 22, in 
<module>
    import apache_beam as beam
  File 
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall/sdks/python/apache_beam/__init__.py",
 line 87, in <module>
    from apache_beam import io
  File 
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall/sdks/python/apache_beam/io/__init__.py",
 line 21, in <module>
    from apache_beam.io.avroio import *
  File 
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall/sdks/python/apache_beam/io/avroio.py",
 line 56, in <module>
    from apache_beam.io import filebasedsink
  File 
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall/sdks/python/apache_beam/io/filebasedsink.py",
 line 32, in <module>
    from apache_beam.io.filesystems import FileSystems
  File 
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall/sdks/python/apache_beam/io/filesystems.py",
 line 30, in <module>
    from apache_beam.io.gcp.gcsfilesystem import GCSFileSystem
  File 
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall/sdks/python/apache_beam/io/gcp/gcsfilesystem.py",
 line 27, in <module>
    from apache_beam.io.gcp import gcsio
  File 
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall/sdks/python/apache_beam/io/gcp/gcsio.py",
 line 37, in <module>
    from apache_beam.utils import retry
  File 
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall/sdks/python/apache_beam/utils/retry.py",
 line 40, in <module>
    from apitools.base.py.exceptions import HttpError
  File 
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall/sdks/python/target/.tox/py27gcp/local/lib/python2.7/site-packages/apitools/base/py/__init__.py",
 line 21, in <module>
    from apitools.base.py.base_api import *
  File 
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall/sdks/python/target/.tox/py27gcp/local/lib/python2.7/site-packages/apitools/base/py/base_api.py",
 line 31, in <module>
    from apitools.base.protorpclite import message_types
  File 
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall/sdks/python/target/.tox/py27gcp/local/lib/python2.7/site-packages/apitools/base/protorpclite/message_types.py",
 line 25, in <module>
    from apitools.base.protorpclite import messages
  File 
"/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall/sdks/python/target/.tox/py27gcp/local/lib/python2.7/site-packages/apitools/base/protorpclite/messages.py",
 line 1165, in <module>
    class Field(six.with_metaclass(_FieldMeta, object)):
TypeError: Error when calling the metaclass bases
    metaclass conflict: the metaclass of a derived class must be a (non-strict) 
subclass of the metaclasses of all its bases
ERROR: InvocationError: 
'/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall/sdks/python/target/.tox/py27gcp/bin/python
 apache_beam/examples/complete/autocomplete_test.py'
___________________________________ summary ____________________________________
ERROR:   docs: commands failed
  lint: commands succeeded
  py27: commands succeeded
  py27cython: commands succeeded
ERROR:   py27gcp: commands failed
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to