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

tst_QShortcut::text is flaky in dev

    XMLWordPrintable

    Details

    • Commits:
      55928821d1 (qt/qtbase/dev) 55928821d1 (qt/tqtc-qtbase/dev) 1c72298adb (qt/qtbase/6.3) 1c72298adb (qt/tqtc-qtbase/6.3) 7a145afac1 (qt/qtbase/6.2) 7a145afac1 (qt/tqtc-qtbase/6.2)

      Description

      It failed here:

      https://codereview.qt-project.org/c/qt/qtbase/+/383185/3#message-48688620e2f271c8a6be3e4c77637419280e1ba3

      154146: ********* Start testing of tst_QShortcut *********
       FAIL!  : tst_QShortcut::text(T00 - clear) 'QTest::qWaitForWindowActive(mainW.data())' returned FALSE. ()
          Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp(1300)]
       PASS   : tst_QShortcut::text(T001 - slot1)
       FAIL!  : tst_QShortcut::text(T001:M - [M]) Compared values are not the same
          Actual   (currentResult): NoResult
          Expected (result)       : Slot1Triggered
          Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp(1313)]
       FAIL!  : tst_QShortcut::text(T001:+ [+]) Compared values are not the same
          Actual   (currentResult): NoResult
          Expected (result)       : Slot2Triggered
          Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp(1313)]
       FAIL!  : tst_QShortcut::text(T002:Shift+M - [Shift+M]) Compared values are not the same
          Actual   (currentResult): NoResult
          Expected (result)       : Slot1Triggered
          Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp(1313)]
       FAIL!  : tst_QShortcut::text(T002:Shift++ [Shift++]) Compared values are not the same
          Actual   (currentResult): NoResult
          Expected (result)       : Slot2Triggered
          Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp(1313)]
       FAIL!  : tst_QShortcut::text(T002b:Ctrl++ [Ctrl++]) Compared values are not the same
          Actual   (currentResult): NoResult
          Expected (result)       : Slot1Triggered
          Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp(1313)]
       FAIL!  : tst_QShortcut::text(T003:F1 - [F1]) Compared values are not the same
          Actual   (currentResult): NoResult
          Expected (result)       : Slot1Triggered
          Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp(1313)]
       FAIL!  : tst_QShortcut::text(T004:Shift+F1 - [Shift+F1]) Compared values are not the same
          Actual   (currentResult): NoResult
          Expected (result)       : Slot1Triggered
          Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp(1313)]
       FAIL!  : tst_QShortcut::text(T007:F1) Compared values are not the same
          Actual   (currentResult): NoResult
          Expected (result)       : Slot1Triggered
          Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp(1313)]
       FAIL!  : tst_QShortcut::text(T007:Shift + F1) Compared values are not the same
          Actual   (currentResult): NoResult
          Expected (result)       : Slot2Triggered
          Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp(1313)]
       FAIL!  : tst_QShortcut::text(T:Qt::Key_M) Compared values are not the same
          Actual   (currentResult): NoResult
          Expected (result)       : Slot1Triggered
          Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp(1313)]
       FAIL!  : tst_QShortcut::text(T:Shift + Qt::Key_M) Compared values are not the same
          Actual   (currentResult): NoResult
          Expected (result)       : Slot2Triggered
          Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp(1313)]
       FAIL!  : tst_QShortcut::text(T:Ctrl + Qt::Key_M) Compared values are not the same
          Actual   (currentResult): NoResult
          Expected (result)       : Slot1Triggered
          Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp(1313)]
       FAIL!  : tst_QShortcut::text(T:Alt + Qt::Key_M) Compared values are not the same
          Actual   (currentResult): NoResult
          Expected (result)       : Slot2Triggered
          Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp(1313)]
       FAIL!  : tst_QShortcut::text(T:Qt::Key_M on TriggerSlot2) Compared values are not the same
          Actual   (currentResult): NoResult
          Expected (result)       : Ambiguous
          Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp(1313)]
       FAIL!  : tst_QShortcut::text(T:Qt::Key_aring) Compared values are not the same
          Actual   (currentResult): NoResult
          Expected (result)       : Slot1Triggered
          Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp(1313)]
       FAIL!  : tst_QShortcut::text(T:Qt::Key_Aring) Compared values are not the same
          Actual   (currentResult): NoResult
          Expected (result)       : Slot2Triggered
          Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp(1313)]
       FAIL!  : tst_QShortcut::text(T:Qt::Key_aring - Text Form) Compared values are not the same
          Actual   (currentResult): NoResult
          Expected (result)       : Slot1Triggered
          Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp(1313)]
       FAIL!  : tst_QShortcut::text(T:Qt::Key_Aring - Text Form) Compared values are not the same
          Actual   (currentResult): NoResult
          Expected (result)       : Slot2Triggered
          Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp(1313)]
       FAIL!  : tst_QShortcut::text(T:Qt::Key_K) Compared values are not the same
          Actual   (currentResult): NoResult
          Expected (result)       : Slot1Triggered
          Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp(1313)]
       FAIL!  : tst_QShortcut::text(T:Qt::Key_M (2)) Compared values are not the same
          Actual   (currentResult): NoResult
          Expected (result)       : Slot1Triggered
          Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp(1313)]
       FAIL!  : tst_QShortcut::text(T:Qt::Key_I, Qt::Key_M) Compared values are not the same
          Actual   (currentResult): NoResult
          Expected (result)       : Slot2Triggered
          Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp(1313)]
       FAIL!  : tst_QShortcut::text(T:Shift+Qt::Key_I, Qt::Key_M) Compared values are not the same
          Actual   (currentResult): NoResult
          Expected (result)       : Slot1Triggered
          Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/kernel/qshortcut/tst_qshortcut.cpp(1313)]
       Totals: 120 passed, 23 failed, 0 skipped, 0 blacklisted, 5393ms
      

      Checking Grafana shows that it became flaky on 2021-07-01:

        Attachments

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

          Activity

            People

            Assignee:
            vhilshei Volker Hilsheimer
            Reporter:
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes