XMLWordPrintable

Details

    • Sub-task
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • None

    Description

      This autotest is unstable. Sometimes it fails and sometimes it passes.

      Here is a log of three consecutive runs on my workstation.

      ./tst_qsgfocusscope 
      
      Information of screen 346:
        width.........: 1920
        height........: 1200
        depth.........: 24
        white pixel...: ffffff
        black pixel...: 0
      
      Running window manager: KWin
      ********* Start testing of tst_qsgfocusscope *********
      Config: Using QTest library 5.0.0, Qt 5.0.0
      created GL window: 65011714
      created GL window: 65011717
      PASS   : tst_qsgfocusscope::initTestCase()
      created GL window: 65011720
      PASS   : tst_qsgfocusscope::basic()
      created GL window: 65011723
      PASS   : tst_qsgfocusscope::nested()
      created GL window: 65011726
      FAIL!  : tst_qsgfocusscope::noFocus() 'view->hasFocus()' returned FALSE. ()
         Loc: [tst_qsgfocusscope.cpp(217)]
      created GL window: 65011729
      PASS   : tst_qsgfocusscope::textEdit()
      created GL window: 65011732
      FAIL!  : tst_qsgfocusscope::forceFocus() 'view->hasFocus()' returned FALSE. ()
         Loc: [tst_qsgfocusscope.cpp(319)]
      created GL window: 65011735
      PASS   : tst_qsgfocusscope::noParentFocus()
      created GL window: 65011738
      PASS   : tst_qsgfocusscope::signalEmission()
      created GL window: 65011741
      PASS   : tst_qsgfocusscope::qtBug13380()
      created GL window: 65011744
      PASS   : tst_qsgfocusscope::forceActiveFocus()
      created GL window: 65011747
      PASS   : tst_qsgfocusscope::canvasFocus()
      PASS   : tst_qsgfocusscope::cleanupTestCase()
      Totals: 10 passed, 2 failed, 0 skipped
      ********* Finished testing of tst_qsgfocusscope *********
      Number of leaked materials: 39
      Number of leaked nodes: 85
      Number of leaked items: 26
      make: *** [check] Error 2
      ./tst_qsgfocusscope 
      
      Information of screen 346:
        width.........: 1920
        height........: 1200
        depth.........: 24
        white pixel...: ffffff
        black pixel...: 0
      
      Running window manager: KWin
      ********* Start testing of tst_qsgfocusscope *********
      Config: Using QTest library 5.0.0, Qt 5.0.0
      created GL window: 65011714
      created GL window: 65011717
      PASS   : tst_qsgfocusscope::initTestCase()
      created GL window: 65011720
      PASS   : tst_qsgfocusscope::basic()
      created GL window: 65011723
      PASS   : tst_qsgfocusscope::nested()
      created GL window: 65011726
      PASS   : tst_qsgfocusscope::noFocus()
      created GL window: 65011729
      PASS   : tst_qsgfocusscope::textEdit()
      created GL window: 65011732
      PASS   : tst_qsgfocusscope::forceFocus()
      created GL window: 65011735
      FAIL!  : tst_qsgfocusscope::noParentFocus() 'view->rootObject()->property("focus3") == true' returned FALSE. ()
         Loc: [tst_qsgfocusscope.cpp(363)]
      created GL window: 65011738
      PASS   : tst_qsgfocusscope::signalEmission()
      created GL window: 65011741
      PASS   : tst_qsgfocusscope::qtBug13380()
      created GL window: 65011744
      PASS   : tst_qsgfocusscope::forceActiveFocus()
      created GL window: 65011747
      PASS   : tst_qsgfocusscope::canvasFocus()
      PASS   : tst_qsgfocusscope::cleanupTestCase()
      Totals: 11 passed, 1 failed, 0 skipped
      ********* Finished testing of tst_qsgfocusscope *********
      Number of leaked materials: 2
      Number of leaked nodes: 14
      Number of leaked items: 6
      make: *** [check] Error 1
      ./tst_qsgfocusscope 
      
      Information of screen 346:
        width.........: 1920
        height........: 1200
        depth.........: 24
        white pixel...: ffffff
        black pixel...: 0
      
      Running window manager: KWin
      ********* Start testing of tst_qsgfocusscope *********
      Config: Using QTest library 5.0.0, Qt 5.0.0
      created GL window: 65011714
      created GL window: 65011717
      PASS   : tst_qsgfocusscope::initTestCase()
      created GL window: 65011720
      PASS   : tst_qsgfocusscope::basic()
      created GL window: 65011723
      PASS   : tst_qsgfocusscope::nested()
      created GL window: 65011726
      PASS   : tst_qsgfocusscope::noFocus()
      created GL window: 65011729
      PASS   : tst_qsgfocusscope::textEdit()
      created GL window: 65011732
      PASS   : tst_qsgfocusscope::forceFocus()
      created GL window: 65011735
      PASS   : tst_qsgfocusscope::noParentFocus()
      created GL window: 65011738
      PASS   : tst_qsgfocusscope::signalEmission()
      created GL window: 65011741
      PASS   : tst_qsgfocusscope::qtBug13380()
      created GL window: 65011744
      PASS   : tst_qsgfocusscope::forceActiveFocus()
      created GL window: 65011747
      PASS   : tst_qsgfocusscope::canvasFocus()
      PASS   : tst_qsgfocusscope::cleanupTestCase()
      Totals: 12 passed, 0 failed, 0 skipped
      ********* Finished testing of tst_qsgfocusscope *********
      Number of leaked materials: 0
      Number of leaked nodes: 0
      Number of leaked items: 0
      

      Attachments

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

        Activity

          People

            tvete Paul Olav Tvete
            rmcgover Rohan McGovern (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes