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

tst_qfocusevent autotest is unstable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.0.0 Beta 2
    • 5.0.0
    • GUI: Window management
    • None
    • qtbase 7465b55d9c1c8586da7384fbf97604ed020a4fd3
      Ubuntu 10.04 x86 32-bit
      Qt configured with -qpa and using QT_QPA_PLATFORM=xcb
    • 1395b81935d590aa1a44c7d4857f788a06f6c794

    Description

      This autotest sometimes passes, sometimes fails.

      On my workstation, running in an infinite loop, it passed 6 times and failed on the 7th.

      [rmcgover@bq-menoetius qfocusevent]$ while make check; do date; done 2>&1 | tee TESTLOG.txt
      ./tst_qfocusevent 
      
      Information of screen 346:
        width.........: 1920
        height........: 1200
        depth.........: 24
        white pixel...: ffffff
        black pixel...: 0
      
      Running window manager: KWin
      ********* Start testing of tst_QFocusEvent *********
      Config: Using QTest library 5.0.0, Qt 5.0.0
      created regular window: 65011714
      PASS   : tst_QFocusEvent::initTestCase()
      PASS   : tst_QFocusEvent::checkReason_Tab()
      PASS   : tst_QFocusEvent::checkReason_ShiftTab()
      PASS   : tst_QFocusEvent::checkReason_BackTab()
      created regular window: 65011717
      PASS   : tst_QFocusEvent::checkReason_Popup()
      created regular window: 65011720
      PASS   : tst_QFocusEvent::checkReason_focusWidget()
      PASS   : tst_QFocusEvent::checkReason_Shortcut()
      created regular window: 65011724
      PASS   : tst_QFocusEvent::checkReason_ActiveWindow()
      PASS   : tst_QFocusEvent::cleanupTestCase()
      Totals: 9 passed, 0 failed, 0 skipped
      ********* Finished testing of tst_QFocusEvent *********
      Thu Aug 18 14:25:33 EST 2011
      (...)
      Thu Aug 18 14:25:40 EST 2011
      ./tst_qfocusevent 
      
      Information of screen 346:
        width.........: 1920
        height........: 1200
        depth.........: 24
        white pixel...: ffffff
        black pixel...: 0
      
      Running window manager: KWin
      ********* Start testing of tst_QFocusEvent *********
      Config: Using QTest library 5.0.0, Qt 5.0.0
      created regular window: 65011714
      PASS   : tst_QFocusEvent::initTestCase()
      PASS   : tst_QFocusEvent::checkReason_Tab()
      PASS   : tst_QFocusEvent::checkReason_ShiftTab()
      PASS   : tst_QFocusEvent::checkReason_BackTab()
      created regular window: 65011717
      PASS   : tst_QFocusEvent::checkReason_Popup()
      created regular window: 65011720
      PASS   : tst_QFocusEvent::checkReason_focusWidget()
      PASS   : tst_QFocusEvent::checkReason_Shortcut()
      created regular window: 65011724
      XCB error: 8 (BadMatch), sequence: 346, resource id: 65011724, major code: 42 (SetInputFocus), minor code: 0
      Caused by: qxcbwindow.cpp:505
      FAIL!  : tst_QFocusEvent::checkReason_ActiveWindow() '!childFocusWidgetOne->focusInEventRecieved' returned FALSE. ()
         Loc: [tst_qfocusevent.cpp(375)]
      PASS   : tst_QFocusEvent::cleanupTestCase()
      Totals: 8 passed, 1 failed, 0 skipped
      ********* Finished testing of tst_QFocusEvent *********
      make: *** [check] Error 1
      

      Test log available at http://pulse.test.qt.nokia.com:8080/file/artifacts/127687456/_artifacts/test-logs/tst_qfocusevent-00.txt (Nokia LAN)

      Attachments

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

        Activity

          People

            seahumad [BB] Sergio Ahumada (Inactive)
            rmcgover Rohan McGovern (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes