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

Python Post commits failing with StateSamplerTest and SlowCoders tests

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Not A Problem
    • None
    • Not applicable
    • sdk-py-core
    • None

    Description

      Started after https://github.com/apache/beam/pull/3936

      Errors from the log:
      https://builds.apache.org/view/A-D/view/Beam/job/beam_PostCommit_Python_Verify/3285/console

      ======================================================================
      FAIL: test_using_slow_impl (apache_beam.coders.slow_coders_test.SlowCoders)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/coders/slow_coders_test.py", line 41, in test_using_slow_impl
      import apache_beam.coders.stream
      AssertionError: ImportError not raised

      ======================================================================
      FAIL: test_sampler_lull_reporting (apache_beam.runners.worker.statesampler_test.StateSamplerTest)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/sdks/python/apache_beam/runners/worker/statesampler_test.py", line 90, in test_sampler_lull_reporting
      mock_logging.warn.call_args_list[0][0])
      AssertionError: 'stateA' not found in ('LULL: Spent over %.2f ms in state %s', 10092, 'basic-stateA-msecs')

      Attachments

        Activity

          People

            pabloem Pablo Estrada
            altay Ahmet Altay
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: