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

VideoIntelligenceMlTestIT.test_label_detection_with_video_context is flaky

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.22.0
    • sdk-py-core, test-failures
    • None

    Description

      Example failure: https://builds.apache.org/job/beam_PostCommit_Python37/2371/

      Dataflow pipeline failed. State: FAILED, Error:
      Traceback (most recent call last):
        File "apache_beam/runners/common.py", line 961, in apache_beam.runners.common.DoFnRunner.process
        File "apache_beam/runners/common.py", line 554, in apache_beam.runners.common.SimpleInvoker.invoke_process
        File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python37/src/sdks/python/apache_beam/transforms/core.py", line 1511, in <lambda>
          wrapper = lambda x: [fn(x)]
        File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python37/src/sdks/python/apache_beam/testing/util.py", line 218, in _matches
          hamcrest_assert(actual, contains_inanyorder(*expected_list))
        File "/usr/local/lib/python3.7/site-packages/hamcrest/core/assert_that.py", line 44, in assert_that
          _assert_match(actual=arg1, matcher=arg2, reason=arg3)
        File "/usr/local/lib/python3.7/site-packages/hamcrest/core/assert_that.py", line 60, in _assert_match
          raise AssertionError(description)
      AssertionError: 
      Expected: a sequence over [(a sequence containing 'bicycle' and a sequence containing 'dinosaur')] in any order
           but: not matched: <['land vehicle', 'animal']>
      

      At least the error is amusing

      Attachments

        Issue Links

          Activity

            People

              kamilwu Kamil Wasilewski
              bhulette Brian Hulette
              Votes:
              0 Vote for this issue
              Watchers:
              1 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