Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-25310

Fix QVideoWidget test

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • 5.0.0
    • None
    • Multimedia
    • None
    • Change-Id: Iaf11864e6929345b105cdd185b4bb01b24961406

    Description

      qtmultimedia/tests/auto/unit/qvideowidget/qvideowidget.pro is marked as an insignificant_test, meaning that the test results are discarded and not used by the CI system to block regressions.

      Examining recent CI logs shows that the test is indeed unstable on Linux, failing once in 20 runs with:

      linux failure
      4/13/12 11:50:54 AM EST: Testing tst_QVideoWidget
      4/13/12 11:50:54 AM EST: FAIL!  : tst_QVideoWidget::nullObject() Compared values are not the same
      4/13/12 11:50:54 AM EST:    Actual   (widget.isFullScreen()): 0
      4/13/12 11:50:54 AM EST:    Expected (true): 1
      4/13/12 11:50:54 AM EST:    Loc: [tst_qvideowidget.cpp(357)]
      4/13/12 11:50:57 AM EST: FAIL!  : tst_QVideoWidget::nullService() Compared values are not the same
      4/13/12 11:50:57 AM EST:    Actual   (widget.isFullScreen()): 0
      4/13/12 11:50:57 AM EST:    Expected (true): 1
      4/13/12 11:50:57 AM EST:    Loc: [tst_qvideowidget.cpp(442)]
      4/13/12 11:51:17 AM EST: Totals: 81 passed, 2 failed, 0 skipped
      4/13/12 11:51:17 AM EST: QtQA::App::TestRunner: test failed, running again to see if it is flaky...
      4/13/12 11:51:17 AM EST: No platform plugin argument was specified, defaulting to "xcb".
      4/13/12 11:51:17 AM EST: QIBusPlatformInputContext: ibus config file '/home/qt/.config/ibus/bus/b6fb9560d0c3d2a5ceaf30530000016c-unix-0' does not exist.
      4/13/12 11:51:17 AM EST: QIBusPlatformInputContext: not connected.
      4/13/12 11:51:17 AM EST: QMaliitPlatformInputContext: not connected.
      4/13/12 11:51:17 AM EST: Testing tst_QVideoWidget
      4/13/12 11:51:17 AM EST: FAIL!  : tst_QVideoWidget::nullObject() Compared values are not the same
      4/13/12 11:51:17 AM EST:    Actual   (widget.isFullScreen()): 0
      4/13/12 11:51:17 AM EST:    Expected (true): 1
      4/13/12 11:51:17 AM EST:    Loc: [tst_qvideowidget.cpp(357)]
      4/13/12 11:51:17 AM EST: FAIL!  : tst_QVideoWidget::nullService() Compared values are not the same
      4/13/12 11:51:17 AM EST:    Actual   (widget.isFullScreen()): 0
      4/13/12 11:51:17 AM EST:    Expected (true): 1
      4/13/12 11:51:17 AM EST:    Loc: [tst_qvideowidget.cpp(442)]
      4/13/12 11:51:35 AM EST: Totals: 81 passed, 2 failed, 0 skipped
      4/13/12 11:51:35 AM EST: QtQA::App::TestRunner: test failure could be reproduced twice consecutively
      4/13/12 11:51:35 AM EST: make[5]: [check] Error 2 (ignored)
      

      The test also fails on Mac, though this is consistent over the last ten CI runs):

      mac failure
      4/13/12 12:04:15 PM EST: Testing tst_QVideoWidget
      4/13/12 12:04:20 PM EST: Apr 13 12:04:19 bq-mac-mini-12.apac.nokia.com tst_qvideowidget[63937] <Error>: CGImageCreate: invalid image size: 0 x 0.
      4/13/12 12:04:20 PM EST: Apr 13 12:04:19 bq-mac-mini-12.apac.nokia.com tst_qvideowidget[63937] <Error>: CGImageCreate: invalid image size: 0 x 0.
      4/13/12 12:04:20 PM EST: FAIL!  : tst_QVideoWidget::fullScreenWindowControl() Compared values are not the same
      4/13/12 12:04:20 PM EST:    Loc: [tst_qvideowidget.cpp(890)]
      4/13/12 12:04:25 PM EST: Apr 13 12:04:26 bq-mac-mini-12.apac.nokia.com tst_qvideowidget[63937] <Error>: CGImageCreate: invalid image size: 0 x 0.
      4/13/12 12:04:25 PM EST: Apr 13 12:04:26 bq-mac-mini-12.apac.nokia.com tst_qvideowidget[63937] <Error>: CGImageCreate: invalid image size: 0 x 0.
      4/13/12 12:04:25 PM EST: FAIL!  : tst_QVideoWidget::fullScreenWidgetControl() Compared values are not the same
      4/13/12 12:04:25 PM EST:    Loc: [tst_qvideowidget.cpp(971)]
      4/13/12 12:04:25 PM EST: Apr 13 12:04:27 bq-mac-mini-12.apac.nokia.com tst_qvideowidget[63937] <Error>: CGImageCreate: invalid image size: 0 x 0.
      4/13/12 12:04:25 PM EST: Apr 13 12:04:27 bq-mac-mini-12.apac.nokia.com tst_qvideowidget[63937] <Error>: CGImageCreate: invalid image size: 0 x 0.
      4/13/12 12:04:25 PM EST: Apr 13 12:04:27 bq-mac-mini-12.apac.nokia.com tst_qvideowidget[63937] <Error>: CGImageCreate: invalid image size: 0 x 0.
      4/13/12 12:04:25 PM EST: Apr 13 12:04:27 bq-mac-mini-12.apac.nokia.com tst_qvideowidget[63937] <Error>: CGImageCreate: invalid image size: 0 x 0.
      ...
      4/13/12 12:04:29 PM EST: Apr 13 12:04:32 bq-mac-mini-12.apac.nokia.com tst_qvideowidget[63937] <Error>: CGImageCreate: invalid image size: 0 x 0.
      4/13/12 12:04:29 PM EST: FAIL!  : tst_QVideoWidget::fullScreenRendererControl() Compared values are not the same
      4/13/12 12:04:29 PM EST:    Loc: [tst_qvideowidget.cpp(1051)]
      4/13/12 12:04:29 PM EST: Apr 13 12:04:32 bq-mac-mini-12.apac.nokia.com tst_qvideowidget[63937] <Error>: CGImageCreate: invalid image size: 0 x 0.
      4/13/12 12:04:29 PM EST: Apr 13 12:04:32 bq-mac-mini-12.apac.nokia.com tst_qvideowidget[63937] <Error>: CGImageCreate: invalid image size: 0 x 0.
      ...
      4/13/12 12:04:34 PM EST: Apr 13 12:04:37 bq-mac-mini-12.apac.nokia.com tst_qvideowidget[63937] <Error>: CGImageCreate: invalid image size: 0 x 0.
      4/13/12 12:04:35 PM EST: Totals: 80 passed, 3 failed, 0 skipped
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            bigbearzhu Jun Zhu
            jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes