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

:sdks:python:test-suites:portable:py2:installGcpTest is flaky due to "No such file or directory"

Details

    • Bug
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • test-failures
    • None

    Description

      Seems like this failed a couple of times today.

       

      https://scans.gradle.com/s/ohpjfppgy3nme/console-log?task=:sdks:python:test-suites:portable:py2:installGcpTest

      https://scans.gradle.com/s/rizexjbqqmbzm/console-log?task=:sdks:python:test-suites:direct:py2:installGcpTest

       

          ERROR: Command errored out with exit status 1:     ERROR: Command errored out with exit status 1:      command: /home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2/src/build/gradleenv/45127155/bin/python2.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2/src/sdks/python/setup.py'"'"'; _file='"'"'/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2/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          cwd: /home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2/src/sdks/python/     Complete output (27 lines):     /home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2/src/sdks/python/setup.py:198: 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. '     Traceback (most recent call last):       File "<string>", line 1, in <module>       File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2/src/sdks/python/setup.py", line 260, in <module>         'test': generate_protos_first(test),       File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2/src/build/gradleenv/45127155/local/lib/python2.7/site-packages/setuptools/init.py", line 144, in setup         _install_setup_requires(attrs)       File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2/src/build/gradleenv/45127155/local/lib/python2.7/site-packages/setuptools/init.py", line 139, in _install_setup_requires         dist.fetch_build_eggs(dist.setup_requires)       File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2/src/build/gradleenv/45127155/local/lib/python2.7/site-packages/setuptools/dist.py", line 720, in fetch_build_eggs         replace_conflicting=True,       File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2/src/build/gradleenv/45127155/local/lib/python2.7/s ite-packages/pkg_resources/init.py", line 794, in resolve         new_requirements = dist.requires(req.extras)[::-1]       File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2/src/build/gradleenv/45127155/local/lib/python2.7/site-packages/pkg_resources/init.py", line 2736, in requires         dm = self._dep_map       File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2/src/build/gradleenv/45127155/local/lib/python2.7/site-packages/pkg_resources/init.py", line 3023, in _dep_map         self.dep_map = self._compute_dependencies()       File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2/src/build/gradleenv/45127155/local/lib/python2.7/site-packages/pkg_resources/init.py", line 3032, in _compute_dependencies         for req in self._parsed_pkg_info.get_all('Requires-Dist') or []:       File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2/src/build/gradleenv/45127155/local/lib/python2.7/site-packages/pkg_resources/init.py", line 3014, in _parsed_pkg_info         metadata = self.get_metadata(self.PKG_INFO)       File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2/src/build/gradleenv/45127155/local/lib/python2.7/site-packages/pkg_resources/init.py", line 1420, in get_metadata         value = self._get(path)       File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2/src/build/gradleenv/45127155/local/lib/python2.7/site-packages/pkg_resources/init_.py", line 1616, in _get         with open(path, 'rb') as stream:     IOError: [Errno 2] No such file or directory: '/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python2/src/sdks/python/.eggs/pytest_runner-5.2-py2.7.egg/pytest_runner-5.2.dist-info/METADATA'

       

       

      Mark, seems like you updated relevant files few months back but not sure how familiar you are with this error. Any idea ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            chamikara Chamikara Madhusanka Jayalath
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: