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

selftests(tst_Keyboard::keyPressAndRelease()) failed on macos 11 in CI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Duplicate
    • Affects Version/s: 6.1
    • Fix Version/s: None
    • Component/s: Testing: qtestlib
    • Labels:
      None
    • Platform/s:
      macOS

      Description

      http://coin/coin/integration/qt/qtbase/tasks/web_qt_qtbase_1611780670491

      qt5: https://codereview.qt-project.org/c/qt/qt5/+/331835
      qtbase dev: 71e3857f7c1ea94c711a773c689762f580d1e0d5

      http://coin/coin/api/results/qt/qtbase/f693a68580dbe384c40ec9d1f167c92e145823d7/MacOSMacOS_11_00x86_64MacOSMacOS_11_00x86_64Clangqtci-macos-11.0-x86_64-100-dee26fSccache_TestOnly/2d90bd561979b8c9c0a13a439fe689b377c163cd/test_1611780708/log.txt.gz

      agent:2021/01/27 20:53:28 build.go:379: 2: /Users/qt/work/qt/qtbase/tests/auto/testlib/selftests/tst_selftests.cpp:928: FAILED:
      agent:2021/01/27 20:53:28 build.go:379: 2:   CHECK( expectationMatched )
      agent:2021/01/27 20:53:28 build.go:379: 2: with expansion:
      agent:2021/01/27 20:53:28 build.go:379: 2:   false
      agent:2021/01/27 20:53:28 build.go:379: 2: with messages:
      agent:2021/01/27 20:53:28 build.go:379: 2:   test := "keyboard"
      agent:2021/01/27 20:53:28 build.go:379: 2:   arguments := QList("-o", "/private/var/folders/pf/qg5xnl1n68l9vlqxsp_5v6840000gn/T/tst_selftests.spOmej/output_keyboard.txt,txt")
      agent:2021/01/27 20:53:28 build.go:379: 2:   
      agent:2021/01/27 20:53:28 build.go:379: 2: Mismatch in line count. Expected 8 but got 9.
      agent:2021/01/27 20:53:28 build.go:379: 2:   
      agent:2021/01/27 20:53:28 build.go:379: 2: Expected (expected_keyboard.txt):
      agent:2021/01/27 20:53:28 build.go:379: 2:   ********* Start testing of tst_Keyboard *********
      agent:2021/01/27 20:53:28 build.go:379: 2:   Config: Using QtTest library
      agent:2021/01/27 20:53:28 build.go:379: 2:   PASS   : tst_Keyboard::initTestCase()
      agent:2021/01/27 20:53:28 build.go:379: 2:   PASS   : tst_Keyboard::keyPressAndRelease()
      agent:2021/01/27 20:53:28 build.go:379: 2:   PASS   : tst_Keyboard::cleanupTestCase()
      agent:2021/01/27 20:53:28 build.go:379: 2:   Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 0ms
      agent:2021/01/27 20:53:28 build.go:379: 2:   ********* Finished testing of tst_Keyboard *********
      agent:2021/01/27 20:53:28 build.go:379: 2:   
      agent:2021/01/27 20:53:28 build.go:379: 2: Actual:
      agent:2021/01/27 20:53:28 build.go:379: 2:   ********* Start testing of tst_Keyboard *********
      agent:2021/01/27 20:53:28 build.go:379: 2:   Config: Using QtTest library 6.1.0, Qt 6.1.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 12.0.0 (clang-1200.0.32.28) (Apple)), macos 11.0
      agent:2021/01/27 20:53:28 build.go:379: 2:   PASS   : tst_Keyboard::initTestCase()
      agent:2021/01/27 20:53:28 build.go:379: 2:   FAIL!  : tst_Keyboard::keyPressAndRelease() 'QTest::qWaitForWindowActive(&window)' returned FALSE. ()
      agent:2021/01/27 20:53:28 build.go:379: 2:      Loc: [/Users/qt/work/qt/qtbase/tests/auto/testlib/selftests/keyboard/tst_keyboard.cpp(66)]
      agent:2021/01/27 20:53:28 build.go:379: 2:   PASS   : tst_Keyboard::cleanupTestCase()
      agent:2021/01/27 20:53:28 build.go:379: 2:   Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 5566ms
      agent:2021/01/27 20:53:28 build.go:379: 2:   ********* Finished testing of tst_Keyboard *********
      agent:2021/01/27 20:53:28 build.go:379: 2:   
      agent:2021/01/27 20:53:28 build.go:379: 2: Diff:
      agent:2021/01/27 20:53:28 build.go:379: 2:   --- /private/var/folders/pf/qg5xnl1n68l9vlqxsp_5v6840000gn/T/tst_selftests.mwbNUB	2021-01-27 20:53:27.000000000 +0000
      agent:2021/01/27 20:53:28 build.go:379: 2:   +++ /private/var/folders/pf/qg5xnl1n68l9vlqxsp_5v6840000gn/T/tst_selftests.dretWo	2021-01-27 20:53:27.000000000 +0000
      agent:2021/01/27 20:53:28 build.go:379: 2:   @@ -1,8 +1,9 @@
      agent:2021/01/27 20:53:28 build.go:379: 2:    ********* Start testing of tst_Keyboard *********
      agent:2021/01/27 20:53:28 build.go:379: 2:   -Config: Using QtTest library
      agent:2021/01/27 20:53:28 build.go:379: 2:   +Config: Using QtTest library 6.1.0, Qt 6.1.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 12.0.0 (clang-1200.0.32.28) (Apple)), macos 11.0
      agent:2021/01/27 20:53:28 build.go:379: 2:    PASS   : tst_Keyboard::initTestCase()
      agent:2021/01/27 20:53:28 build.go:379: 2:   -PASS   : tst_Keyboard::keyPressAndRelease()
      agent:2021/01/27 20:53:28 build.go:379: 2:   +FAIL!  : tst_Keyboard::keyPressAndRelease() 'QTest::qWaitForWindowActive(&window)' returned FALSE. ()
      agent:2021/01/27 20:53:28 build.go:379: 2:   +   Loc: [/Users/qt/work/qt/qtbase/tests/auto/testlib/selftests/keyboard/tst_keyboard.cpp(66)]
      agent:2021/01/27 20:53:28 build.go:379: 2:    PASS   : tst_Keyboard::cleanupTestCase()
      agent:2021/01/27 20:53:28 build.go:379: 2:   -Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 0ms
      agent:2021/01/27 20:53:28 build.go:379: 2:   +Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 5566ms
      agent:2021/01/27 20:53:28 build.go:379: 2:    ********* Finished testing of tst_Keyboard *********
      agent:2021/01/27 20:53:28 build.go:379: 2: 
      agent:2021/01/27 20:53:34 build.go:379: 2: -------------------------------------------------------------------------------
      agent:2021/01/27 20:53:34 build.go:379: 2: Scenario: Test output of the loggers is as expected
      agent:2021/01/27 20:53:34 build.go:379: 2:       Given: The QTestLog::XML logger
      agent:2021/01/27 20:53:34 build.go:379: 2:   And given: The "keyboard" subtest
      agent:2021/01/27 20:53:34 build.go:379: 2: -------------------------------------------------------------------------------
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              vestbo Tor Arne Vestbø
              Reporter:
              liaqi Liang Qi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes