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

tst_qquickiconimage 3 functions fail with QT_QUICK_BACKEND=software

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P0: Blocker
    • None
    • 5.10.1
    • None
    • Linux Ubuntu_16_04 desktop

      Linux QEMU (gcc-arm64) on Linux Ubuntu_16_04 (gcc-x86_64) - Release, AbortTestingOnFirstFailure
       Linux QEMU (gcc-armv7) on Linux Ubuntu_16_04 (gcc-x86_64) - Release, AbortTestingOnFirstFailure

    Description

      Steps to reproduce:

      1. Compile qtdeclarative from anything containing https://codereview.qt-project.org/#/c/216383/
      2. Compile qtquickcontrols2
      3. Run tests/auto/qquickiconimage with
        • QT_QUICK_BACKEND=software ./tst_qquickiconimage

      Expected outcome:

      • Tests pass

      Actual outcome:

      • Three tests fail

      Workaround:

       

      Originally found out by:

      https://codereview.qt-project.org/#/c/217778/ Update submodules on '5.10' in qt5
      https://testresults.qt.io/coin/integration/qt/qt5/tasks/1516818159
      https://testresults.qt.io/logs/qt/qtquickcontrols2/dbb24ec6d1760c628a62345d45055927f6eb63c3/LinuxUbuntu_16_04x86_64LinuxQEMUarm64GCCqtci-linux-Ubuntu-16.04-x86_64-2-3b0f52Release/bff7e1bea47baaeca997973dc3752c4cafbb7214/test_1516818707/log.txt.gz

      QWARN  : tst_qquickiconimage::color() QBackingStore::endPaint() called with active painter on backingstore paint device
       QWARN  : tst_qquickiconimage::color() QBackingStore::endPaint() called with active painter on backingstore paint device
       QWARN  : tst_qquickiconimage::color() QBackingStore::endPaint() called with active painter on backingstore paint device
       QWARN  : tst_qquickiconimage::color() QBackingStore::endPaint() called with active painter on backingstore paint device
       FAIL!  : tst_qquickiconimage::color() Compared values are not the same
          Actual   (iconImageWindowGrab.pixelColor(centerPixelPos)): #00000000
          Expected (QColor(Qt::green))                             : #ff00ff00
          Loc: [tst_qquickiconimage.cpp(431)]
       QWARN  : tst_qquickiconimage::fileSelectors() QBackingStore::endPaint() called with active painter on backingstore paint device
       QWARN  : tst_qquickiconimage::fileSelectors() QBackingStore::endPaint() called with active painter on backingstore paint device
       QWARN  : tst_qquickiconimage::fileSelectors() QBackingStore::endPaint() called with active painter on backingstore paint device
       FAIL!  : tst_qquickiconimage::fileSelectors() Compared values are not the same
          Actual   (iconImageWindowGrab.pixelColor(iconImageWindowGrab.width() / 2, iconImageWindowGrab.height() / 2)): #00000000
          Expected (QColor(Qt::blue))                                                                                 : #ff0000ff
          Loc: [tst_qquickiconimage.cpp(482)]
       QWARN  : tst_qquickiconimage::imageProvider() QBackingStore::endPaint() called with active painter on backingstore paint device
       QWARN  : tst_qquickiconimage::imageProvider() QBackingStore::endPaint() called with active painter on backingstore paint device
       FAIL!  : tst_qquickiconimage::imageProvider() Compared values are not the same
          Actual   (image.pixelColor(image.width() / 2, image.height() / 2)): #00000000
          Expected (QColor(Qt::red))                                        : #ffff0000
          Loc: [tst_qquickiconimage.cpp(519)]
       PASS   : tst_qquickiconimage::cleanupTestCase()
       Totals: 22 passed, 3 failed, 0 skipped, 0 blacklisted, 1652ms
       ********* Finished testing of tst_qquickiconimage *********
       Makefile:356: recipe for target 'check' failed
       make: *** [check] Error 3
      

      It also failed in previous build, https://testresults.qt.io/coin/integration/qt/qt5/tasks/1516800621

      Attachments

        Issue Links

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

          Activity

            People

              juri.valdmann Jüri Valdmann (Inactive)
              liaqi Liang Qi
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes