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

tst_QWidget::raise is flaky

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 5.11
    • Fix Version/s: None
    • Component/s: Widgets: Main Window
    • Environment:
      openSUSE 42.3 in CI

      Description

      tst_QWidget::raise is flaky in CI on openSUSE. It has also previously been blacklisted on macOS.

      Example failure:

      ********* Start testing of tst_QWidget *********
      Config: Using QtTest library 5.11.0, Qt 5.11.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 7.3.1 20180307 [gcc-7-branch revision 258314])
      PASS   : tst_QWidget::initTestCase()
      FAIL!  : tst_QWidget::raise() Compared values are not the same
         Actual   (onTop->numPaintEvents): 1
         Expected (0)                    : 0
         Loc: [tst_qwidget.cpp(2933)]
      PASS   : tst_QWidget::cleanupTestCase()
      Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 213ms
      ********* Finished testing of tst_QWidget *********
      

      Grafana statistics: https://testresults.qt.io/grafana/d/000000009/coin-single-test-details?orgId=1&var-project=qt%2Fqtbase&var-testcase=tests%2Fauto%2Fwidgets%2Fkernel%2Fqwidget&var-testfunction=raise&var-branch=5.11&var-branch=dev&var-inter=24h

        Attachments

        For Gerrit Dashboard: QTBUG-68175
        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              kari.oikarinen Kari Oikarinen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes