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

tst_QScreenCaptureBackend failed on Ubuntu 24.04 GNOME X11

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.9
    • Multimedia
    • None
    • Linux/X11
    • 6f3005526 (dev)
    • Multimedia wk 51-2, Multimedia wk 5-6

    Description

      2024-08-30
      https://testresults.qt.io/coin/integration/qt/qt5/tasks/web_qt_qt5_1725009350899
      https://testresults.qt.io/coin/api/log/qt/qtmultimedia/9be34e71585d9b2b5b59a70db73a98e33d05569b/LinuxUbuntu_24_04x86_64LinuxUbuntu_24_04x86_64GCCqtci-linux-Ubuntu-24.04-x86_64-51-1975b5InsignificantTests_Sccache_TestOnly/5044fe0b775760153788731dc77c8c8780366a11/forceRun/test_1725012466/log.txt.gz

      agent:2024/08/30 09:48:22 build.go:404: 49: ********* Start testing of tst_QScreenCaptureBackend *********
      agent:2024/08/30 09:48:22 build.go:404: 49: Config: Using QtTest library 6.9.0, Qt 6.9.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 13.2.0), ubuntu 24.04
      agent:2024/08/30 09:48:22 build.go:404: 49: PASS   : tst_QScreenCaptureBackend::initTestCase()
      agent:2024/08/30 09:48:22 build.go:404: 49: PASS   : tst_QScreenCaptureBackend::setActive_startsAndStopsCapture()
      agent:2024/08/30 09:48:22 build.go:404: 49: MESA: error: ZINK: failed to choose pdev
      agent:2024/08/30 09:48:22 build.go:404: 49: glx: failed to create drisw screen
      agent:2024/08/30 09:48:22 build.go:404: 49: FAIL!  : tst_QScreenCaptureBackend::setScreen_selectsScreen_whenCalledWithWidgetsScreen() Compared values are not the same
      agent:2024/08/30 09:48:22 build.go:404: 49:    Actual   (pixelColor(0, 0))  : #ff222222
      agent:2024/08/30 09:48:22 build.go:404: 49:    Expected (QColor(0xFF, 0, 0)): #ffff0000
      agent:2024/08/30 09:48:22 build.go:404: 49:    Loc: [/home/qt/work/qt/qtmultimedia/tests/auto/integration/qscreencapturebackend/tst_qscreencapturebackend.cpp(260)]
      agent:2024/08/30 09:48:23 build.go:404: 49: FAIL!  : tst_QScreenCaptureBackend::constructor_selectsPrimaryScreenAsDefault() Compared values are not the same
      agent:2024/08/30 09:48:23 build.go:404: 49:    Actual   (pixelColor(0, 0))  : #ff222222
      agent:2024/08/30 09:48:23 build.go:404: 49:    Expected (QColor(0xFF, 0, 0)): #ffff0000
      agent:2024/08/30 09:48:23 build.go:404: 49:    Loc: [/home/qt/work/qt/qtmultimedia/tests/auto/integration/qscreencapturebackend/tst_qscreencapturebackend.cpp(260)]
      agent:2024/08/30 09:48:23 build.go:404: 49: SKIP   : tst_QScreenCaptureBackend::setScreen_selectsSecondaryScreen_whenCalledWithSecondaryScreen() 2 or more screens required
      agent:2024/08/30 09:48:23 build.go:404: 49:    Loc: [/home/qt/work/qt/qtmultimedia/tests/auto/integration/qscreencapturebackend/tst_qscreencapturebackend.cpp(363)]
      agent:2024/08/30 09:48:23 build.go:404: 49: SKIP   : tst_QScreenCaptureBackend::capture_capturesToFile_whenConnectedToMediaRecorder() QTBUG-116671: SKIP on linux CI to avoid crashes in ffmpeg. To be fixed.
      agent:2024/08/30 09:48:23 build.go:404: 49:    Loc: [/home/qt/work/qt/qtmultimedia/tests/auto/integration/qscreencapturebackend/tst_qscreencapturebackend.cpp(384)]
      agent:2024/08/30 09:48:23 build.go:404: 49: SKIP   : tst_QScreenCaptureBackend::removeScreenWhileCapture() TODO: find a reliable way to emulate it
      agent:2024/08/30 09:48:23 build.go:404: 49:    Loc: [/home/qt/work/qt/qtmultimedia/tests/auto/integration/qscreencapturebackend/tst_qscreencapturebackend.cpp(493)]
      agent:2024/08/30 09:48:23 build.go:404: 49: PASS   : tst_QScreenCaptureBackend::cleanupTestCase()
      agent:2024/08/30 09:48:23 build.go:404: 49: Totals: 3 passed, 2 failed, 3 skipped, 0 blacklisted, 1408ms
      agent:2024/08/30 09:48:23 build.go:404: 49: ********* Finished testing of tst_QScreenCaptureBackend *********
      

      Attachments

        Issue Links

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

          Activity

            People

              qtmultimediateam Qt Multimedia Team
              liaqi Liang Qi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes