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

QSettings test fails on Windows for developer build

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • 5.9.0 Beta 2
    • None
    • Core: Other
    • None
    • e2c0d1ea2e0c35a3899283237ede02b4f49aa5b3

    Description

      While attempting to get a Windows -developer-build config running in CI, the following failure was reported.

      4/19/12 10:15:11 PM EST: Testing tst_QSettings
      4/19/12 10:15:11 PM EST: FAIL!  : tst_QSettings::setIniCodec() Compared values are not the same
      4/19/12 10:15:11 PM EST:    Actual   (actualContents4): 5B 46 61 25 45 37 61 64 65 5D 0D 0A 51 55 25 43 39 42 45 43 3D 46 61 C3 A7 61 64 65 2F 51 55 C3 89 42 45 43 0D 0A
      4/19/12 10:15:11 PM EST:    Expected (expeContents4): 5B 46 61 25 45 37 61 64 65 5D 0A 51 55 25 43 39 42 45 43 3D 46 61 C3 A7 61 64 65 2F 51 55 C3 89 42 45 43 0A
      4/19/12 10:15:11 PM EST: .\tst_qsettings.cpp(1992) : failure location
      4/19/12 10:15:14 PM EST: Totals: 119 passed, 1 failed, 12 skipped
      4/19/12 10:15:14 PM EST: QtQA::App::TestRunner: test failed, running again to see if it is flaky...
      4/19/12 10:15:14 PM EST: No platform plugin argument was specified, defaulting to "windows".
      4/19/12 10:15:14 PM EST: Testing tst_QSettings
      4/19/12 10:15:14 PM EST: FAIL!  : tst_QSettings::setIniCodec() Compared values are not the same
      4/19/12 10:15:14 PM EST:    Actual   (actualContents4): 5B 46 61 25 45 37 61 64 65 5D 0D 0A 51 55 25 43 39 42 45 43 3D 46 61 C3 A7 61 64 65 2F 51 55 C3 89 42 45 43 0D 0A
      4/19/12 10:15:14 PM EST:    Expected (expeContents4): 5B 46 61 25 45 37 61 64 65 5D 0A 51 55 25 43 39 42 45 43 3D 46 61 C3 A7 61 64 65 2F 51 55 C3 89 42 45 43 0A
      4/19/12 10:15:14 PM EST: .\tst_qsettings.cpp(1992) : failure location
      4/19/12 10:15:14 PM EST: Totals: 119 passed, 1 failed, 12 skipped
      4/19/12 10:15:14 PM EST: QtQA::App::TestRunner: test failure could be reproduced twice consecutively
      

      The failure does not occur in the existing non-developer-build configuration because the body of the failing test function is enclosed in "#ifdef QT_BUILD_INTERNAL". For now, the failure has been marked with QEXPECT_FAIL.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            jasmcdon Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes