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

IOError flake in PortableRunnerTest

Details

    Description

      Running in Py2.7 virtualenv, using this command:

      for i in `seq 100`; do pytest apache_beam/runners/portability/portable_runner_test.py::PortableRunnerTest || break; done
      
      self = <contextlib.GeneratorContextManager object at 0x7f922f417b90>, type = None, value = None, traceback = None
      
          def __exit__(self, type, value, traceback):
              if type is None:
                  try:
      >               self.gen.next()
      E               IOError: seek() called during concurrent operation on the same file object
      
      /usr/lib/python2.7/contextlib.py:24: IOError
      

      So far I've tried this twice and gotten the above failure in 2 different tests:
      PortableRunnerTest.test_error_traceback_includes_user_code
      and
      PortableRunnerTest.test_assert_that

      Attachments

        Activity

          People

            Unassigned Unassigned
            udim Udi Meiri
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: