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

Android tst_qmediaplayerbackend test failed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.3
    • Fix Version/s: None
    • Component/s: Multimedia
    • Labels:
      None
    • Platform/s:
      Android
    • Sprint:
      2022wk12FOAndroid&Automotive

      Description

      25: ********* Start testing of tst_QMediaPlayerBackend *********
      25: Config: Using QtTest library 6.3.0, Qt 6.3.0 (arm64-little_endian-lp64 shared (dynamic) release build; by Clang 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d7cf2016289302412d708641d52d2f7ee)), android 12.0
      25: PASS : tst_QMediaPlayerBackend::initTestCase()
      25: PASS : tst_QMediaPlayerBackend::construction()
      25: PASS : tst_QMediaPlayerBackend::loadMedia()
      25: FAIL! : tst_QMediaPlayerBackend::unloadMedia() 'player.duration() <= 0' returned FALSE. ()
      25: Loc: [/Users/Samuel/Desktop/Qt/qt5/qtmultimedia/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp(281)]
      25: FAIL! : tst_QMediaPlayerBackend::loadMediaInLoadingState() Compared values are not the same
      25: Actual (player.mediaStatus()) : LoadedMedia
      25: Expected (QMediaPlayer::LoadingMedia): LoadingMedia
      25: Loc: [/Users/Samuel/Desktop/Qt/qt5/qtmultimedia/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp(305)]
      25: FAIL! : tst_QMediaPlayerBackend::playPauseStop() Compared values are not the same
      25: Actual (player.playbackState()) : PausedState
      25: Expected (QMediaPlayer::StoppedState): StoppedState
      25: Loc: [/Users/Samuel/Desktop/Qt/qt5/qtmultimedia/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp(343)]
      25: FAIL! : tst_QMediaPlayerBackend::processEOS() Compared values are not the same
      25: Actual (((player.position()))): 1000
      25: Expected (0) : 0
      25: Loc: [/Users/Samuel/Desktop/Qt/qt5/qtmultimedia/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp(561)]
      25: PASS : tst_QMediaPlayerBackend::deleteLaterAtEOS()
      25: PASS : tst_QMediaPlayerBackend::volumeAndMuted()
      25: PASS : tst_QMediaPlayerBackend::volumeAcrossFiles(100 unmuted)
      25: PASS : tst_QMediaPlayerBackend::volumeAcrossFiles(50 unmuted)
      25: PASS : tst_QMediaPlayerBackend::volumeAcrossFiles(0 unmuted)
      25: PASS : tst_QMediaPlayerBackend::volumeAcrossFiles(100 muted)
      25: PASS : tst_QMediaPlayerBackend::volumeAcrossFiles(50 muted)
      25: PASS : tst_QMediaPlayerBackend::volumeAcrossFiles(0 muted)
      25: PASS : tst_QMediaPlayerBackend::initialVolume()
      25: FAIL! : tst_QMediaPlayerBackend::seekPauseSeek() 'surface->m_frameList.isEmpty()' returned FALSE. ()
      25: Loc: [/Users/Samuel/Desktop/Qt/qt5/qtmultimedia/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp(790)]
      25: PASS : tst_QMediaPlayerBackend::seekInStoppedState()
      25: PASS : tst_QMediaPlayerBackend::subsequentPlayback()
      25: FAIL! : tst_QMediaPlayerBackend::surfaceTest() 'surface.m_totalFrames >= 25' returned FALSE. (Expected >= 25, got 1)
      25: Loc: [/Users/Samuel/Desktop/Qt/qt5/qtmultimedia/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp(1057)]
      25: FAIL! : tst_QMediaPlayerBackend::metadata() Compared values are not the same
      25: Actual (metadataChangedSpy.count()): 0
      25: Expected (1) : 1
      25: Loc: [/Users/Samuel/Desktop/Qt/qt5/qtmultimedia/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp(1103)]
      25: PASS : tst_QMediaPlayerBackend::playerStateAtEOS()
      25: QWARN : tst_QMediaPlayerBackend::playFromBuffer() QFSFileEngine::open: No file name specified
      25: SKIP : tst_QMediaPlayerBackend::playFromBuffer() Could not open file
      25: Loc: [/Users/Samuel/Desktop/Qt/qt5/qtmultimedia/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp(1141)]
      25: FAIL! : tst_QMediaPlayerBackend::audioVideoAvailable() '(!player.hasVideo())' returned FALSE. ()
      25: Loc: [/Users/Samuel/Desktop/Qt/qt5/qtmultimedia/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp(1166)]
      25: FAIL! : tst_QMediaPlayerBackend::isSeekable() '!player.isSeekable()' returned FALSE. ()
      25: Loc: [/Users/Samuel/Desktop/Qt/qt5/qtmultimedia/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp(1180)]
      25: FAIL! : tst_QMediaPlayerBackend::positionAfterSeek() '!player.isSeekable()' returned FALSE. ()
      25: Loc: [/Users/Samuel/Desktop/Qt/qt5/qtmultimedia/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp(1193)]
      25: FAIL! : tst_QMediaPlayerBackend::videoDimensions() '!player.isSeekable()' returned FALSE. ()
      25: Loc: [/Users/Samuel/Desktop/Qt/qt5/qtmultimedia/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp(1217)]
      25: XFAIL : tst_QMediaPlayerBackend::position() On Android isSeekable() is always set to true due to QTBUG-96952
      25: Loc: [/Users/Samuel/Desktop/Qt/qt5/qtmultimedia/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp(1237)]
      25: PASS : tst_QMediaPlayerBackend::position()
      25: PASS : tst_QMediaPlayerBackend::multipleMediaPlayback()
      25: PASS : tst_QMediaPlayerBackend::cleanupTestCase()
      25: Totals: 18 passed, 11 failed, 1 skipped, 0 blacklisted, 49950ms
      25: ********* Finished testing of tst_QMediaPlayerBackend *********

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              samuelmira Samuel Mira
              Reporter:
              samuelmira Samuel Mira
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes