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

QtMultimedia tests fail on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 6.2.0 Beta2
    • Multimedia
    • None
    • Android
    • 2021wk38POAndroid&Mobile, 2021wk40POAndroid&Mobile

    Description

      The following tests are failing from qtmultimedia on Android

      The following tests FAILED:
        23 - tst_qaudiosource (Failed)
        26 - tst_qmediaplayerbackend (Failed)
        28 - tst_qcamerabackend (Failed)
      

      The logs are as follows (for failing cases only):

      tst_qaudiosource:

      1: FAIL!  : tst_QAudioSource::push(0) QTestLib: This test case check ("QTest::currentTestFailed() || ((audioInput.bytesAvailable() > 0))") failed because the requested timeout (1000 ms) was too short, 1100 ms would have been sufficient this time.
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtmultimedia/tests/auto/integration/qaudiosource/tst_qaudiosource.cpp(533)]
      1: FAIL!  : tst_QAudioSource::push(1) QTestLib: This test case check ("QTest::currentTestFailed() || ((audioInput.bytesAvailable() > 0))") failed because the requested timeout (1000 ms) was too short, 1100 ms would have been sufficient this time.
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtmultimedia/tests/auto/integration/qaudiosource/tst_qaudiosource.cpp(533)]
      1: FAIL!  : tst_QAudioSource::push(2) QTestLib: This test case check ("QTest::currentTestFailed() || ((audioInput.bytesAvailable() > 0))") failed because the requested timeout (1000 ms) was too short, 1150 ms would have been sufficient this time.
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtmultimedia/tests/auto/integration/qaudiosource/tst_qaudiosource.cpp(533)]
      1: FAIL!  : tst_QAudioSource::push(3) QTestLib: This test case check ("QTest::currentTestFailed() || ((audioInput.bytesAvailable() > 0))") failed because the requested timeout (1000 ms) was too short, 1100 ms would have been sufficient this time.
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtmultimedia/tests/auto/integration/qaudiosource/tst_qaudiosource.cpp(533)]
      1: FAIL!  : tst_QAudioSource::push(4) QTestLib: This test case check ("QTest::currentTestFailed() || ((audioInput.bytesAvailable() > 0))") failed because the requested timeout (1000 ms) was too short, 1100 ms would have been sufficient this time.
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtmultimedia/tests/auto/integration/qaudiosource/tst_qaudiosource.cpp(533)]
      1: FAIL!  : tst_QAudioSource::pushSuspendResume(0) QTestLib: This test case check ("QTest::currentTestFailed() || ((audioInput.bytesAvailable() > 0))") failed because the requested timeout (1000 ms) was too short, 1150 ms would have been sufficient this time.
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtmultimedia/tests/auto/integration/qaudiosource/tst_qaudiosource.cpp(612)]
      1: FAIL!  : tst_QAudioSource::pushSuspendResume(1) QTestLib: This test case check ("QTest::currentTestFailed() || ((audioInput.bytesAvailable() > 0))") failed because the requested timeout (1000 ms) was too short, 1150 ms would have been sufficient this time.
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtmultimedia/tests/auto/integration/qaudiosource/tst_qaudiosource.cpp(612)]
      1: FAIL!  : tst_QAudioSource::pushSuspendResume(2) QTestLib: This test case check ("QTest::currentTestFailed() || ((audioInput.bytesAvailable() > 0))") failed because the requested timeout (1000 ms) was too short, 1150 ms would have been sufficient this time.
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtmultimedia/tests/auto/integration/qaudiosource/tst_qaudiosource.cpp(612)]
      1: FAIL!  : tst_QAudioSource::pushSuspendResume(3) QTestLib: This test case check ("QTest::currentTestFailed() || ((audioInput.bytesAvailable() > 0))") failed because the requested timeout (1000 ms) was too short, 1150 ms would have been sufficient this time.
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtmultimedia/tests/auto/integration/qaudiosource/tst_qaudiosource.cpp(612)]
      1: FAIL!  : tst_QAudioSource::pushSuspendResume(4) QTestLib: This test case check ("QTest::currentTestFailed() || ((audioInput.bytesAvailable() > 0))") failed because the requested timeout (1000 ms) was too short, 1150 ms would have been sufficient this time.
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtmultimedia/tests/auto/integration/qaudiosource/tst_qaudiosource.cpp(612)]
      

      tst_qmediaplayerbackend:

      1: FAIL!  : tst_QMediaPlayerBackend::videoDimensions() Compared values are not the same
      1:    Actual   (((surface.m_totalFrames))): 0
      1:    Expected (1)                        : 1
      1:    Loc: [/Users/assam/sources/qt6/qt6/qtmultimedia/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp(1158)]
      

      tst_qcamerabackend:

      1: QFATAL : tst_QCameraBackend::testCameraFormat() ASSERT: "!isEmpty()" in file /Users/assam/sources/qt6/build-debug/android_armv7/qtbase/include/QtCore/../../../../../qt6/qtbase/src/corelib/tools/qlist.h, line 570
      1: FAIL!  : tst_QCameraBackend::testCameraFormat() Received a fatal error.
      1:    Loc: [/Users/assam/sources/qt6/build-debug/android_armv7/qtbase/include/QtCore/../../../../../qt6/qtbase/src/corelib/tools/qlist.h(570)]
      

       

      Attachments

        Issue Links

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

          Activity

            People

              assam Assam Boudjelthia
              assam Assam Boudjelthia
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes