Details

    • Sub-task
    • Status: Resolved
    • P2
    • Resolution: Duplicate
    • None
    • Not applicable
    • sdk-py-core
    • None

    Description

      Logs: https://builds.apache.org/job/beam_PostCommit_Python35/984/console#gradle-task-126

       
      11:11:20 > Task :sdks:python:test-suites:portable:py35:installGcpTest FAILED
      11:11:20 Obtaining file:///home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python35/src/sdks/python
      11:11:20 ERROR: Command errored out with exit status 1:
      11:11:20 command: /home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python35/src/build/gradleenv/2022703439/bin/python3.5 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python35/src/sdks/python/setup.py'"'"'; _file='"'"'/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python35/src/sdks/python/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file_, '"'"'exec'"'"'))' egg_info
      11:11:20 cwd: /home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python35/src/sdks/python/
      11:11:20 Complete output (37 lines):
      11:11:20 Traceback (most recent call last):
      11:11:20 File "<string>", line 1, in <module>
      11:11:20 File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python35/src/sdks/python/setup.py", line 264, in <module>
      11:11:20 'test': generate_protos_first(test),
      11:11:20 File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python35/src/build/gradleenv/2022703439/lib/python3.5/site-packages/setuptools/_init_.py", line 144, in setup
      11:11:20 _install_setup_requires(attrs)
      11:11:20 File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python35/src/build/gradleenv/2022703439/lib/python3.5/site-packages/setuptools/_init_.py", line 139, in _install_setup_requires
      11:11:20 dist.fetch_build_eggs(dist.setup_requires)
      11:11:20 File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python35/src/build/gradleenv/2022703439/lib/python3.5/site-packages/setuptools/dist.py", line 720, in fetch_build_eggs
      11:11:20 replace_conflicting=True,
      11:11:20 File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python35/src/build/gradleenv/2022703439/lib/python3.5/site-packages/pkg_resources/_init_.py", line 782, in resolve
      11:11:20 replace_conflicting=replace_conflicting
      11:11:20 File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python35/src/build/gradleenv/2022703439/lib/python3.5/site-packages/pkg_resources/_init_.py", line 1065, in best_match
      11:11:20 return self.obtain(req, installer)
      11:11:20 File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python35/src/build/gradleenv/2022703439/lib/python3.5/site-packages/pkg_resources/_init_.py", line 1077, in obtain
      11:11:20 return installer(requirement)
      11:11:20 File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python35/src/build/gradleenv/2022703439/lib/python3.5/site-packages/setuptools/dist.py", line 787, in fetch_build_egg
      11:11:20 return cmd.easy_install(req)
      11:11:20 File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python35/src/build/gradleenv/2022703439/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 679, in easy_install
      11:11:20 return self.install_item(spec, dist.location, tmpdir, deps)
      11:11:20 File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python35/src/build/gradleenv/2022703439/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 705, in install_item
      11:11:20 dists = self.install_eggs(spec, download, tmpdir)
      11:11:20 File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python35/src/build/gradleenv/2022703439/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 855, in install_eggs
      11:11:20 return [self.install_wheel(dist_filename, tmpdir)]
      11:11:20 File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python35/src/build/gradleenv/2022703439/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1073, in install_wheel
      11:11:20 os.path.dirname(destination)
      11:11:20 File "/usr/lib/python3.5/distutils/cmd.py", line 336, in execute
      11:11:20 util.execute(func, args, msg, dry_run=self.dry_run)
      11:11:20 File "/usr/lib/python3.5/distutils/util.py", line 301, in execute
      11:11:20 func(*args)
      11:11:20 File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python35/src/build/gradleenv/2022703439/lib/python3.5/site-packages/setuptools/wheel.py", line 101, in install_as_egg
      11:11:20 self._install_as_egg(destination_eggdir, zf)
      11:11:20 File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python35/src/build/gradleenv/2022703439/lib/python3.5/site-packages/setuptools/wheel.py", line 109, in _install_as_egg
      11:11:20 self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)
      11:11:20 File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python35/src/build/gradleenv/2022703439/lib/python3.5/site-packages/setuptools/wheel.py", line 154, in _convert_metadata
      11:11:20 os.rename(dist_info, egg_info)
      11:11:20 FileNotFoundError: [Errno 2] No such file or directory: '/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python35/src/sdks/python/.eggs/pytest_runner-5.2-py3.5.egg/pytest_runner-5.2.dist-info' -> '/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python35/src/sdks/python/.eggs/pytest_runner-5.2-py3.5.egg/EGG-INFO'
       

      Attachments

        Issue Links

          Activity

            People

              udim Udi Meiri
              altay Ahmet Altay
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: