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

[REG 5.11-5.12] tst_QFileDialog2::QTBUG4419_lineEditSelectAll() failed on macOS 10.13 once

    XMLWordPrintable

    Details

      Description

      https://codereview.qt-project.org/#/c/231978/ Enable autotests on macOS 10.13

      https://testresults.qt.io/coin/integration/qt/qt5/tasks/web_qt_qt5_1534746111611

      https://testresults.qt.io/coin/api/results/qt/qtbase/d9ea8e8637fd900cd35732cbc5d66744429c8b35/MacOSMacOS_10_13x86_64MacOSMacOS_10_13x86_64Clangqtci-macos-10.13-x86_64-f29b8eDebugAndRelease_Release/2a48a3b7dcb9652b1532a3ad14de7580b5b9b1ee/test_1534860278/log.txt.gz

      agent:2018/08/20 10:30:33 build.go:187: /Users/qt/work/qt/qtbase/tests/auto/widgets/dialogs/qfiledialog2/target_wrapper.sh  ./tst_qfiledialog2 -o /Users/qt/work/testresults/tests/auto/widgets/dialogs/qfiledialog2466243259,xml -o -,txt
      agent:2018/08/20 10:30:33 build.go:187: ********* Start testing of tst_QFileDialog2 *********
      agent:2018/08/20 10:30:33 build.go:187: Config: Using QtTest library 5.12.0, Qt 5.12.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 9.1.0 (clang-902.0.39.1) (Apple))
      agent:2018/08/20 10:30:33 build.go:187: PASS   : tst_QFileDialog2::initTestCase()
      ...
      agent:2018/08/20 10:30:43 build.go:187: FAIL!  : tst_QFileDialog2::QTBUG4419_lineEditSelectAll() Compared values are not the same
      agent:2018/08/20 10:30:43 build.go:187:    Actual   (tempPath + QChar('/') + lineEdit->selectedText()): "/private/var/folders/4p/q2h__94n78z4ff9gw2wjgjkr0000gn/T/tst_qfiledialog2.OBAfrk/"
      agent:2018/08/20 10:30:43 build.go:187:    Expected (temporaryFile.fileName())                        : "/private/var/folders/4p/q2h__94n78z4ff9gw2wjgjkr0000gn/T/tst_qfiledialog2.OBAfrk/tst_qfiledialog2_lineEditSelectAll.xWFApz"
      agent:2018/08/20 10:30:43 build.go:187:    Loc: [tst_qfiledialog2.cpp(1188)]
      agent:2018/08/20 10:30:43 build.go:187: PASS   : tst_QFileDialog2::QTBUG6558_showDirsOnly()
      agent:2018/08/20 10:30:43 build.go:187: PASS   : tst_QFileDialog2::QTBUG4842_selectFilterWithHideNameFilterDetails()
      agent:2018/08/20 10:30:43 build.go:187: QWARN  : tst_QFileDialog2::dontShowCompleterOnRoot() Empty filename passed to function
      agent:2018/08/20 10:30:43 build.go:187: PASS   : tst_QFileDialog2::dontShowCompleterOnRoot()
      agent:2018/08/20 10:30:43 build.go:187: PASS   : tst_QFileDialog2::nameFilterParsing(text)
      agent:2018/08/20 10:30:43 build.go:187: PASS   : tst_QFileDialog2::nameFilterParsing(html)
      agent:2018/08/20 10:30:43 build.go:187: PASS   : tst_QFileDialog2::cleanupTestCase()
      agent:2018/08/20 10:30:43 build.go:187: Totals: 25 passed, 1 failed, 5 skipped, 0 blacklisted, 9724ms
      agent:2018/08/20 10:30:43 build.go:187: ********* Finished testing of tst_QFileDialog2 *********
      agent:2018/08/20 10:30:43 build.go:187: make: *** [check] Error 1
      agent:2018/08/20 10:30:43 build.go:231: Process finished with error: exit status 2
      agent:2018/08/20 10:30:43 build.go:190: Error reading from stdout/err: exit status 2
      

      But it passed when only called itself.

      agent:2018/08/20 10:31:03 runner.go:151: Re-running tests/auto/widgets/dialogs/qfiledialog2 with TESTARGS=QTBUG4419_lineEditSelectAll
      agent:2018/08/20 10:31:03 build.go:307: [make check -j1] 900 900
      ...
      agent:2018/08/20 10:31:04 build.go:187: PASS   : tst_QFileDialog2::QTBUG4419_lineEditSelectAll()
      agent:2018/08/20 10:31:04 build.go:187: PASS   : tst_QFileDialog2::cleanupTestCase()
      agent:2018/08/20 10:31:04 build.go:187: Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 711ms
      agent:2018/08/20 10:31:04 build.go:187: ********* Finished testing of tst_QFileDialog2 *********
      

        Attachments

        For Gerrit Dashboard: QTBUG-70087
        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              liaqi Liang Qi
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes