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

apache_beam.io.external.xlang_jdbcio_it_test.CrossLanguageJdbcIOTest is flaky

Details

    Description

      There have been recent failures for both test_xlang_jdbc_read and test_xlang_jdbc_write. Some examples can be found at:

      https://ci-beam.apache.org/job/beam_PostCommit_Python37/2643/testReport/junit/apache_beam.io.external.xlang_jdbcio_it_test/CrossLanguageJdbcIOTest/test_xlang_jdbc_read/

      https://ci-beam.apache.org/job/beam_PostCommit_Python37/2643/testReport/junit/apache_beam.io.external.xlang_jdbcio_it_test/CrossLanguageJdbcIOTest/test_xlang_jdbc_write/

      https://ci-beam.apache.org/job/beam_PostCommit_Python37/2641/testReport/junit/apache_beam.io.external.xlang_jdbcio_it_test/CrossLanguageJdbcIOTest/test_xlang_jdbc_read/

      All failures are read timeout related: 

      Stacktrace  File "/usr/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
          yield
        File "/usr/lib/python3.7/unittest/case.py", line 618, in run
          self.tearDown()
        File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python37/src/sdks/python/apache_beam/io/external/xlang_jdbcio_it_test.py", line 94, in tearDown
          self.postgres.stop()
        File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python37/src/build/gradleenv/2022703441/lib/python3.7/site-packages/testcontainers/core/container.py", line 61, in stop
          self.get_wrapped_container().remove(force=force, v=delete_volume)
        File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python37/src/build/gradleenv/2022703441/lib/python3.7/site-packages/docker/models/containers.py", line 347, in remove
          return self.client.api.remove_container(self.id, **kwargs)
        File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python37/src/build/gradleenv/2022703441/lib/python3.7/site-packages/docker/utils/decorators.py", line 19, in wrapped
          return f(self, resource_id, *args, **kwargs)
        File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python37/src/build/gradleenv/2022703441/lib/python3.7/site-packages/docker/api/container.py", line 994, in remove_container
          self._url("/containers/{0}", container), params=params
        File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python37/src/build/gradleenv/2022703441/lib/python3.7/site-packages/docker/utils/decorators.py", line 46, in inner
          return f(self, *args, **kwargs)
        File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python37/src/build/gradleenv/2022703441/lib/python3.7/site-packages/docker/api/client.py", line 238, in _delete
          return self.delete(url, **self._set_request_timeout(kwargs))
        File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python37/src/build/gradleenv/2022703441/lib/python3.7/site-packages/requests/sessions.py", line 612, in delete
          return self.request('DELETE', url, **kwargs)
        File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python37/src/build/gradleenv/2022703441/lib/python3.7/site-packages/requests/sessions.py", line 530, in request
          resp = self.send(prep, **send_kwargs)
        File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python37/src/build/gradleenv/2022703441/lib/python3.7/site-packages/requests/sessions.py", line 643, in send
          r = adapter.send(request, **kwargs)
        File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python37/src/build/gradleenv/2022703441/lib/python3.7/site-packages/requests/adapters.py", line 529, in send
          raise ReadTimeout(e, request=request)
      UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
      

       

      Attachments

        Issue Links

          Activity

            People

              piotr-szuberski Piotr Szuberski
              tysonjh Tyson Hamilton
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m