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

tst_QQuickStyle::qrcInQtQuickControlsStylePathEnvVar() failed on macOS 10.13

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.12
    • Fix Version/s: 5.12.0 Alpha
    • Component/s: Quick: Controls 2
    • Labels:
      None
    • Platform/s:
      macOS
    • Commits:
      6272ba6ced2d6dc5fdd651fce9e958ac7215ccd0

      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/qtquickcontrols2/b9aac9a025e226007e4314540237990a1a8d3730/MacOSMacOS_10_13x86_64MacOSMacOS_10_13x86_64Clangqtci-macos-10.13-x86_64-f29b8eDebugAndRelease_Release/4b4ba1a599661dfcb3cdd4918b973f6413aed236/test_1534860365/log.txt.gz

      agent:2018/08/20 10:18:40 build.go:187: /Users/qt/work/qt/qtquickcontrols2/tests/auto/qquickstyle/target_wrapper.sh  ./tst_qquickstyle -o /Users/qt/work/testresults/tests/auto/qquickstyle349228286,xml -o -,txt
      agent:2018/08/20 10:18:40 build.go:187: ********* Start testing of tst_QQuickStyle *********
      agent:2018/08/20 10:18:40 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:18:40 build.go:187: PASS   : tst_QQuickStyle::initTestCase()
      agent:2018/08/20 10:18:42 build.go:187: PASS   : tst_QQuickStyle::lookup()
      agent:2018/08/20 10:18:42 build.go:187: PASS   : tst_QQuickStyle::configurationFile(Default)
      agent:2018/08/20 10:18:42 build.go:187: PASS   : tst_QQuickStyle::configurationFile(Fusion)
      agent:2018/08/20 10:18:42 build.go:187: PASS   : tst_QQuickStyle::configurationFile(Imagine)
      agent:2018/08/20 10:18:42 build.go:187: PASS   : tst_QQuickStyle::configurationFile(Material)
      agent:2018/08/20 10:18:42 build.go:187: PASS   : tst_QQuickStyle::configurationFile(Universal)
      agent:2018/08/20 10:18:42 build.go:187: PASS   : tst_QQuickStyle::configurationFile(Custom)
      agent:2018/08/20 10:18:42 build.go:187: PASS   : tst_QQuickStyle::commandLineArgument()
      agent:2018/08/20 10:18:42 build.go:187: PASS   : tst_QQuickStyle::environmentVariables()
      agent:2018/08/20 10:18:42 build.go:187: PASS   : tst_QQuickStyle::availableStyles()
      agent:2018/08/20 10:18:42 build.go:187: PASS   : tst_QQuickStyle::qrcStylePaths(qrc:/qrcStyles1)
      agent:2018/08/20 10:18:42 build.go:187: PASS   : tst_QQuickStyle::qrcStylePaths(:/qrcStyles2)
      agent:2018/08/20 10:18:42 build.go:187: PASS   : tst_QQuickStyle::qrcInQtQuickControlsStylePathEnvVar(/some/bogus/path/::/qrcStyles3)
      agent:2018/08/20 10:18:42 build.go:187: PASS   : tst_QQuickStyle::qrcInQtQuickControlsStylePathEnvVar(:/qrcStyles4:/some/bogus/path)
      agent:2018/08/20 10:18:42 build.go:187: FAIL!  : tst_QQuickStyle::qrcInQtQuickControlsStylePathEnvVar(:/qrcStyles3::/qrcStyles4:/Users/qt/work/qt/qtquickcontrols2/tests/auto/qquickstyle/data) Mismatch in actual vs expected available styles: 
      agent:2018/08/20 10:18:42 build.go:187:    Expected: ("Default", "QrcStyle3", "QrcStyle4", "DummyStyle", "QrcStyle2", "QrcStyle1", "DummyStyle", "Fusion", "Imagine", "Material", "Universal") 
      agent:2018/08/20 10:18:42 build.go:187:    Actual: ("Default", "QrcStyle3", "QrcStyle4", "DummyStyle", "QrcStyle2", "QrcStyle1", "Fusion", "Imagine", "Material", "Universal") 
      agent:2018/08/20 10:18:42 build.go:187:    Loc: [tst_qquickstyle.cpp(318)]
      agent:2018/08/20 10:18:42 build.go:187: FAIL!  : tst_QQuickStyle::qrcInQtQuickControlsStylePathEnvVar(/Users/qt/work/qt/qtquickcontrols2/tests/auto/qquickstyle/data::/qrcStyles3::/qrcStyles4) Mismatch in actual vs expected available styles: 
      agent:2018/08/20 10:18:42 build.go:187:    Expected: ("Default", "DummyStyle", "QrcStyle3", "QrcStyle4", "QrcStyle2", "QrcStyle1", "DummyStyle", "Fusion", "Imagine", "Material", "Universal") 
      agent:2018/08/20 10:18:42 build.go:187:    Actual: ("Default", "DummyStyle", "QrcStyle3", "QrcStyle4", "QrcStyle2", "QrcStyle1", "Fusion", "Imagine", "Material", "Universal") 
      agent:2018/08/20 10:18:42 build.go:187:    Loc: [tst_qquickstyle.cpp(318)]
      agent:2018/08/20 10:18:42 build.go:187: FAIL!  : tst_QQuickStyle::qrcInQtQuickControlsStylePathEnvVar(/Users/qt/work/qt/qtquickcontrols2/tests/auto/qquickstyle/data::/qrcStyles3::/qrcStyles4:) Mismatch in actual vs expected available styles: 
      agent:2018/08/20 10:18:42 build.go:187:    Expected: ("Default", "DummyStyle", "QrcStyle3", "QrcStyle4", "QrcStyle2", "QrcStyle1", "DummyStyle", "Fusion", "Imagine", "Material", "Universal") 
      agent:2018/08/20 10:18:42 build.go:187:    Actual: ("Default", "DummyStyle", "QrcStyle3", "QrcStyle4", "QrcStyle2", "QrcStyle1", "Fusion", "Imagine", "Material", "Universal") 
      agent:2018/08/20 10:18:42 build.go:187:    Loc: [tst_qquickstyle.cpp(318)]
      agent:2018/08/20 10:18:42 build.go:187: PASS   : tst_QQuickStyle::cleanupTestCase()
      agent:2018/08/20 10:18:42 build.go:187: Totals: 16 passed, 3 failed, 0 skipped, 0 blacklisted, 1996ms
      agent:2018/08/20 10:18:42 build.go:187: ********* Finished testing of tst_QQuickStyle *********
      agent:2018/08/20 10:18:42 build.go:187: QQml_removeValueTypeProvider: was asked to remove provider 0x10e4b90f8 but it was not found
      agent:2018/08/20 10:18:42 build.go:187: QQml_removeValueTypeProvider: was asked to remove provider 0x10d2dc540 but it was not found
      agent:2018/08/20 10:18:42 build.go:187: make: *** [check] Error 3
      agent:2018/08/20 10:18:42 build.go:231: Process finished with error: exit status 2
      agent:2018/08/20 10:18:42 build.go:190: Error reading from stdout/err: exit status 2
      

      But tst_QQuickStyle::qrcInQtQuickControlsStylePathEnvVar() doesn't fail when try it only.

      agent:2018/08/20 10:19:02 runner.go:151: Re-running tests/auto/qquickstyle with TESTARGS=qrcInQtQuickControlsStylePathEnvVar
      agent:2018/08/20 10:19:02 build.go:307: [make check -j1] 900 900
      agent:2018/08/20 10:19:03 build.go:187: /Users/qt/work/qt/qtquickcontrols2/tests/auto/qquickstyle/target_wrapper.sh  ./tst_qquickstyle qrcInQtQuickControlsStylePathEnvVar
      agent:2018/08/20 10:19:03 build.go:187: [     0.000 D] qt.qpa.screen unknown - Updated properties for QCocoaScreen(0x7fd45dc2ff90, index=0, native=<NSScreen: 0x7fd45df11e50>, geometry=QRect(0,0 1280x800), dpr=1, name="Display")
      agent:2018/08/20 10:19:03 build.go:187: [     0.000 D] qt.qpa.screen unknown - Adding QCocoaScreen(0x7fd45dc2ff90, index=0, native=<NSScreen: 0x7fd45df11e50>, geometry=QRect(0,0 1280x800), dpr=1, name="Display")
      agent:2018/08/20 10:19:03 build.go:187: ********* Start testing of tst_QQuickStyle *********
      agent:2018/08/20 10:19:03 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:19:03 build.go:187: PASS   : tst_QQuickStyle::initTestCase()
      agent:2018/08/20 10:19:03 build.go:187: PASS   : tst_QQuickStyle::qrcInQtQuickControlsStylePathEnvVar(/some/bogus/path/::/qrcStyles3)
      agent:2018/08/20 10:19:03 build.go:187: PASS   : tst_QQuickStyle::qrcInQtQuickControlsStylePathEnvVar(:/qrcStyles4:/some/bogus/path)
      agent:2018/08/20 10:19:03 build.go:187: PASS   : tst_QQuickStyle::qrcInQtQuickControlsStylePathEnvVar(:/qrcStyles3::/qrcStyles4:/Users/qt/work/qt/qtquickcontrols2/tests/auto/qquickstyle/data)
      agent:2018/08/20 10:19:03 build.go:187: PASS   : tst_QQuickStyle::qrcInQtQuickControlsStylePathEnvVar(/Users/qt/work/qt/qtquickcontrols2/tests/auto/qquickstyle/data::/qrcStyles3::/qrcStyles4)
      agent:2018/08/20 10:19:03 build.go:187: PASS   : tst_QQuickStyle::qrcInQtQuickControlsStylePathEnvVar(/Users/qt/work/qt/qtquickcontrols2/tests/auto/qquickstyle/data::/qrcStyles3::/qrcStyles4:)
      agent:2018/08/20 10:19:03 build.go:187: PASS   : tst_QQuickStyle::cleanupTestCase()
      agent:2018/08/20 10:19:03 build.go:187: Totals: 7 passed, 0 failed, 0 skipped, 0 blacklisted, 20ms
      agent:2018/08/20 10:19:03 build.go:187: ********* Finished testing of tst_QQuickStyle *********
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              mitch_curtis Mitch Curtis
              Reporter:
              liaqi Liang Qi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes