Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-21321 XCB/QPA support is not finished yet
  3. QTBUG-21109

tst_qfiledialog test is unstable (qpa, xcb)

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • P5: Not important
    • 5.11.0 Beta 4
    • None
    • qtbase bdc417b3828737334723eae23097c85f70c23a33
      Qt configured with -silent -no-pch -nokia-developer -no-qt3support -force-pkg-config -qpa -xcb
      Running with QT_QPA_PLATFORM=xcb
      Ubuntu 10.04 x86 32-bit

    • b0969828998bb838a2612b4909c36cf2fd8ec89a

    Description

      This autotest sometimes passes and sometimes fails.

      Here is a log of two subsequent testruns.

      Information of screen 258:
        width.........: 800
        height........: 600
        depth.........: 24
        white pixel...: ffffff
        black pixel...: 0
      
      Running window manager: KWin
      ********* Start testing of tst_QFiledialog *********
      Config: Using QTest library 5.0.0, Qt 5.0.0
      PASS   : tst_QFiledialog::initTestCase()
      PASS   : tst_QFiledialog::currentChangedSignal()
      created regular window: 62914562
      created regular window: 62914564
      PASS   : tst_QFiledialog::directoryEnteredSignal()
      created regular window: 62914568
      created regular window: 62914572
      created regular window: 62914576
      created regular window: 62914580
      created regular window: 62914584
      PASS   : tst_QFiledialog::filesSelectedSignal()
      created regular window: 62914588
      PASS   : tst_QFiledialog::filterSelectedSignal()
      PASS   : tst_QFiledialog::args()
      PASS   : tst_QFiledialog::directory()
      created regular window: 62914591
      created regular window: 62914594
      created regular window: 62914599
      created regular window: 62914603
      created regular window: 62914606
      FAIL!  : tst_QFiledialog::completer(../, -1) Compared values are not the same
         Actual (cModel->rowCount()): 24
         Expected (expected): 26
         Loc: [tst_qfiledialog.cpp(563)]
      created regular window: 62914612
      created regular window: 62914615
      created regular window: 62914621
      created regular window: 62914624
      created regular window: 62914629
      created regular window: 62914632
      created regular window: 62914637
      created regular window: 62914640
      created regular window: 62914646
      created regular window: 62914648
      PASS   : tst_QFiledialog::completer_up()
      created regular window: 62914660
      PASS   : tst_QFiledialog::acceptMode()
      PASS   : tst_QFiledialog::confirmOverwrite()
      PASS   : tst_QFiledialog::defaultSuffix()
      PASS   : tst_QFiledialog::fileMode()
      created regular window: 62914663
      PASS   : tst_QFiledialog::filters()
      PASS   : tst_QFiledialog::history()
      PASS   : tst_QFiledialog::iconProvider()
      PASS   : tst_QFiledialog::isReadOnly()
      PASS   : tst_QFiledialog::itemDelegate()
      PASS   : tst_QFiledialog::labelText()
      PASS   : tst_QFiledialog::resolveSymlinks()
      PASS   : tst_QFiledialog::selectFile()
      created regular window: 62914666
      created regular window: 62914668
      PASS   : tst_QFiledialog::selectFiles()
      PASS   : tst_QFiledialog::selectFilter()
      created regular window: 62914674
      PASS   : tst_QFiledialog::viewMode()
      PASS   : tst_QFiledialog::proxymodel()
      PASS   : tst_QFiledialog::setNameFilter()
      created regular window: 62914677
      PASS   : tst_QFiledialog::focus()
      PASS   : tst_QFiledialog::caption()
      PASS   : tst_QFiledialog::historyBack()
      PASS   : tst_QFiledialog::historyForward()
      PASS   : tst_QFiledialog::disableSaveButton()
      PASS   : tst_QFiledialog::saveButtonText()
      created regular window: 62914681
      PASS   : tst_QFiledialog::clearLineEdit()
      created regular window: 62914685
      PASS   : tst_QFiledialog::enableChooseButton()
      PASS   : tst_QFiledialog::hooks()
      PASS   : tst_QFiledialog::tildeExpansion()
      PASS   : tst_QFiledialog::cleanupTestCase()
      Totals: 36 passed, 1 failed, 0 skipped
      ********* Finished testing of tst_QFiledialog *********
      QtQA::App::TestRunner: test failed, running again to see if it is flaky...
      
      Information of screen 258:
        width.........: 800
        height........: 600
        depth.........: 24
        white pixel...: ffffff
        black pixel...: 0
      
      Running window manager: KWin
      ********* Start testing of tst_QFiledialog *********
      Config: Using QTest library 5.0.0, Qt 5.0.0
      PASS   : tst_QFiledialog::initTestCase()
      PASS   : tst_QFiledialog::currentChangedSignal()
      created regular window: 62914562
      created regular window: 62914564
      PASS   : tst_QFiledialog::directoryEnteredSignal()
      created regular window: 62914568
      created regular window: 62914572
      created regular window: 62914576
      created regular window: 62914580
      created regular window: 62914584
      PASS   : tst_QFiledialog::filesSelectedSignal()
      created regular window: 62914588
      PASS   : tst_QFiledialog::filterSelectedSignal()
      PASS   : tst_QFiledialog::args()
      PASS   : tst_QFiledialog::directory()
      created regular window: 62914591
      created regular window: 62914594
      created regular window: 62914599
      created regular window: 62914603
      created regular window: 62914606
      created regular window: 62914612
      created regular window: 62914615
      created regular window: 62914621
      created regular window: 62914624
      created regular window: 62914629
      created regular window: 62914632
      created regular window: 62914637
      created regular window: 62914640
      PASS   : tst_QFiledialog::completer()
      created regular window: 62914646
      created regular window: 62914648
      PASS   : tst_QFiledialog::completer_up()
      created regular window: 62914660
      PASS   : tst_QFiledialog::acceptMode()
      PASS   : tst_QFiledialog::confirmOverwrite()
      PASS   : tst_QFiledialog::defaultSuffix()
      PASS   : tst_QFiledialog::fileMode()
      created regular window: 62914663
      PASS   : tst_QFiledialog::filters()
      PASS   : tst_QFiledialog::history()
      PASS   : tst_QFiledialog::iconProvider()
      PASS   : tst_QFiledialog::isReadOnly()
      PASS   : tst_QFiledialog::itemDelegate()
      PASS   : tst_QFiledialog::labelText()
      PASS   : tst_QFiledialog::resolveSymlinks()
      PASS   : tst_QFiledialog::selectFile()
      created regular window: 62914666
      created regular window: 62914668
      PASS   : tst_QFiledialog::selectFiles()
      PASS   : tst_QFiledialog::selectFilter()
      created regular window: 62914674
      PASS   : tst_QFiledialog::viewMode()
      PASS   : tst_QFiledialog::proxymodel()
      PASS   : tst_QFiledialog::setNameFilter()
      created regular window: 62914677
      PASS   : tst_QFiledialog::focus()
      PASS   : tst_QFiledialog::caption()
      PASS   : tst_QFiledialog::historyBack()
      PASS   : tst_QFiledialog::historyForward()
      PASS   : tst_QFiledialog::disableSaveButton()
      PASS   : tst_QFiledialog::saveButtonText()
      created regular window: 62914681
      PASS   : tst_QFiledialog::clearLineEdit()
      created regular window: 62914685
      PASS   : tst_QFiledialog::enableChooseButton()
      PASS   : tst_QFiledialog::hooks()
      PASS   : tst_QFiledialog::tildeExpansion()
      PASS   : tst_QFiledialog::cleanupTestCase()
      Totals: 37 passed, 0 failed, 0 skipped
      ********* Finished testing of tst_QFiledialog *********
      QtQA::App::TestRunner: test failed on first attempt and passed on second attempt!
      QtQA::App::TestRunner:   first attempt:  exited with exit code 1
      QtQA::App::TestRunner: the test seems to be flaky, please fix this
      

      Attachments

        Issue Links

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

          Activity

            People

              kari.oikarinen Kari Oikarinen
              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