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

Q12020 Flaky failing autotest function dirsBeforeFiles in qfilesystemmodel

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • 5.14
    • 5.12, 5.13, 5.14, 5.15
    • None
    • Linux/X11, macOS, Windows
    • 962a3d8a988cb695b08d79900fb25d2c41a2225c

    Description

      Here is the log from the incident

      Coin task #1: http://coin/coin/integration/qt/qtbase/tasks/1581406761

      Host OS version: openSUSE_42_3, target OS openSUSE_42_3, GCC Compiler

      Log #1: http://coin/coin/logview/qt/qtbase/ede52d689a434fdff8c57043fb3f78d5163c881c/LinuxopenSUSE_42_3x86_64LinuxopenSUSE_42_3x86_64GCCqtci-linux-openSUSE-42.3-x86_64-a94bf3/303d9bab81371165b3d52c3bf5e83f53ac7efe8f/test_1581407044

      ********* Start testing of tst_QFileSystemModel *********
      Config: Using QtTest library 5.12.8, Qt 5.12.8 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 7.4.0)
      PASS : tst_QFileSystemModel::initTestCase()
      ...
      PASS : tst_QFileSystemModel::drives(My Computer)
      FAIL! : tst_QFileSystemModel::dirsBeforeFiles() 'i == 0 || !(model->fileInfo(model->index(i - 1, 0, root)).isFile() && model->fileInfo(model->index(i, 0, root)).isDir())' returned FALSE. ()
      Loc: [tst_qfilesystemmodel.cpp(1032)]
      PASS : tst_QFileSystemModel::roleNames(decoration)
      
      ********* Start testing of tst_QFileSystemModel *********
      Config: Using QtTest library 5.12.8, Qt 5.12.8 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 7.4.0)
      PASS : tst_QFileSystemModel::initTestCase()
      QDEBUG : tst_QFileSystemModel::dirsBeforeFiles() [ 0.068 D] qt.qpa.events QXcbConnection::printXcbEvent - Event | XCB_PROPERTY_NOTIFY(28) | sequence: 387
      QDEBUG : tst_QFileSystemModel::dirsBeforeFiles() [ 0.068 D] qt.qpa.events QXcbConnection::printXcbEvent - Event | XCB_PROPERTY_NOTIFY(28) | sequence: 391
      FAIL! : tst_QFileSystemModel::dirsBeforeFiles() 'i == 0 || !(model->fileInfo(model->index(i - 1, 0, root)).isFile() && model->fileInfo(model->index(i, 0, root)).isDir())' returned FALSE. ()
      Loc: [tst_qfilesystemmodel.cpp(1032)]
      PASS : tst_QFileSystemModel::cleanupTestCase()
      Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 62ms
      ********* Finished testing of tst_QFileSystemModel *********
      

      Externally accessible log: https://testresults.qt.io/coin/integration/qt/qtbase/tasks/1581406761

      The wanted action

      • Please delegate this task to a suitable developer
      • Fix the autotest flakiness in all affected versions, not just one. 
      • Cherry-pick the fix to all relevant branches
      • Mark the fix versions to Jira

      Guidelines for debugging

      Please see the internal page https://intranet.qt.io/display/QTRD/Metrics+Guidelines+for+Grafana+Tool+for+Autotests+with+Issues

      How to locate the failed flaky test:

      Please open the link to the Grafana dashboard showing the failure history of the test:

      https://testresults.qt.io/grafana/d/5GKDJSPZz/02-qt-framework-please-fix-these-flaky-tests-random-fails?orgId=1&from=now%2Fy&to=now&var-project=qt%2Fqtbase&var-testcase=tests%2Fauto%2Fwidgets%2Fdialogs%2Fqfilesystemmodel&var-testfunction=dirsBeforeFiles&var-branch=5.12&var-branch=5.13&var-branch=5.14&var-branch=5.15&var-branch=dev&var-inter=24h

      Please see the panel List of the recent flaky tests (both passed and failed). Sort it based on the results to see the failed instances. 

      Please open the links to the Coin tasks containing the logs. Please see the test section containing state "Error" and open corresponding logs. 

       

       

      Attachments

        Issue Links

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

          Activity

            People

              vhilshei Volker Hilsheimer
              assaarel Asmo Saarela (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes