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

FAIL! : tst_Yaml::mergedCache() Compared values are not the same

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • 6.7.0 FF
    • 6.7.0 FF
    • Qt Application Manager
    • None
    • 8cb8d4c54 (dev)

    Description

      ********* Start testing of tst_Yaml *********
      Config: Using QtTest library 6.7.0, Qt 6.7.0 (arm64-little_endian-lp64 shared (dynamic) release build; by Apple LLVM 14.0.0 (clang-1400.0.29.202)), macos 13.3
      INFO   : tst_Yaml::initTestCase() entering
      PASS   : tst_Yaml::initTestCase()
      INFO   : tst_Yaml::mergedCache() entering
      INFO   : tst_Yaml::mergedCache() QVERIFY(cache2File.open())
         Loc: [/Users/qt/work/qt/qtapplicationmanager/tests/auto/yaml/tst_yaml.cpp(326)]
      INFO   : tst_Yaml::mergedCache() QVERIFY(cache2Resource.open(QIODevice::ReadOnly))
         Loc: [/Users/qt/work/qt/qtapplicationmanager/tests/auto/yaml/tst_yaml.cpp(328)]
      INFO   : tst_Yaml::mergedCache() QVERIFY(cache2File.write(cache2Resource.readAll()) > 0)
         Loc: [/Users/qt/work/qt/qtapplicationmanager/tests/auto/yaml/tst_yaml.cpp(329)]
      INFO   : tst_Yaml::mergedCache() QVERIFY(cache2File.flush())
         Loc: [/Users/qt/work/qt/qtapplicationmanager/tests/auto/yaml/tst_yaml.cpp(330)]
      QDEBUG : tst_Yaml::mergedCache() [     0.001 D] am.cache unknown:0 unknown()  -  "cache-test" cache file: "/Users/qt/Library/Caches/tst_yaml/appman-cache-test.cache"
      QDEBUG : tst_Yaml::mergedCache() [     0.001 D] am.cache unknown:0 unknown()  -  "cache-test" read cache? no / write cache? yes
      QDEBUG : tst_Yaml::mergedCache() [     0.001 D] am.cache unknown:0 unknown()  -  "cache-test" reading: QList(":/data/cache1.yaml", "/Users/qt/work/qt/qtapplicationmanager_standalone_tests/tests/auto/yaml/cache2.tQKXcL")
      QDEBUG : tst_Yaml::mergedCache() [     0.001 D] am.cache unknown:0 unknown()  -  "cache-test" valid: no / complete: no
      QDEBUG : tst_Yaml::mergedCache() [     0.001 D] am.cache unknown:0 unknown()  -  "cache-test" missing cache entry for ":/data/cache1.yaml"
      QDEBUG : tst_Yaml::mergedCache() [     0.001 D] am.cache unknown:0 unknown()  -  "cache-test" missing cache entry for "/Users/qt/work/qt/qtapplicationmanager_standalone_tests/tests/auto/yaml/cache2.tQKXcL"
      QDEBUG : tst_Yaml::mergedCache() [     0.001 D] am.cache unknown:0 unknown()  -  "cache-test" reading all of 2 file(s) finished after 392 usec
      QDEBUG : tst_Yaml::mergedCache() [     0.001 D] am.cache unknown:0 unknown()  -  "cache-test" still complete: no
      QDEBUG : tst_Yaml::mergedCache() [     0.001 D] am.cache unknown:0 unknown()  -  "cache-test" parsing 2 file(s) finished after 513 usec
      QDEBUG : tst_Yaml::mergedCache() [     0.001 D] am.cache unknown:0 unknown()  -  "cache-test" writing the cache finished after 625 usec
      QDEBUG : tst_Yaml::mergedCache() [     0.001 D] am.cache unknown:0 unknown()  -  "cache-test" finished cache parsing after 640 usec
      INFO   : tst_Yaml::mergedCache() QVERIFY(cache.parseReadFromCache() == (step % 2 == 1))
         Loc: [/Users/qt/work/qt/qtapplicationmanager/tests/auto/yaml/tst_yaml.cpp(344)]
      INFO   : tst_Yaml::mergedCache() QVERIFY(cache.parseWroteToCache() == (step % 2 == 0))
         Loc: [/Users/qt/work/qt/qtapplicationmanager/tests/auto/yaml/tst_yaml.cpp(345)]
      INFO   : tst_Yaml::mergedCache() QVERIFY(ct)
         Loc: [/Users/qt/work/qt/qtapplicationmanager/tests/auto/yaml/tst_yaml.cpp(347)]
      INFO   : tst_Yaml::mergedCache() QCOMPARE(ct->name, QFileInfo(files.last()).baseName())
         Loc: [/Users/qt/work/qt/qtapplicationmanager/tests/auto/yaml/tst_yaml.cpp(348)]
      INFO   : tst_Yaml::mergedCache() QCOMPARE(ct->file, files.join(qSL(",")))
         Loc: [/Users/qt/work/qt/qtapplicationmanager/tests/auto/yaml/tst_yaml.cpp(349)]
      FAIL!  : tst_Yaml::mergedCache() Compared values are not the same
         Actual   (ct->file)            : ":/data/cache1.yaml,/Users/qt/work/qt/qtapplicationmanager_standalone_tests/tests/auto/yaml/cache2.tQKXcL"
         Expected (files.join(qSL(","))): ":/data/cache1.yaml,cache2.tQKXcL"
         Loc: [/Users/qt/work/qt/qtapplicationmanager/tests/auto/yaml/tst_yaml.cpp(349)]
      INFO   : tst_Yaml::cleanupTestCase() entering
      PASS   : tst_Yaml::cleanupTestCase()
      Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 2ms
      ********* Finished testing of tst_Yaml *********
      qt-testrunner.py     INFO: Test process exited with code: 1
      qt-testrunner.py     INFO: Test has FAILed despite all repetitions! re-runs:5 failures:5
      CMake Error at tst_yamlWrapperRelWithDebInfo.cmake:18 (message):
        /Users/qt/work/install/libexec/qt-testrunner.py --
        /Users/qt/work/qt/qtapplicationmanager_standalone_tests/tests/auto/yaml/tst_yaml
        execution failed with exit code 2.
      
      
      agent:2023/10/28 17:49:24 build.go:404: 29/29 Test #29: tst_yaml ...........................***Failed    0.19 sec
      agent:2023/10/28 17:49:24 build.go:404: 97% tests passed, 1 tests failed out of 29
      

      The test: "tst_yaml::mergedCache" has failed.
      You can find more information on its history by following the link below.
      https://testresults.qt.io/grafana/d/3dhio4K7k/fastcheck?var-testCase=tst_yaml&var-testFunction=mergedCache

      Build log: https://testresults.qt.io/logs/qt/qtapplicationmanager/948aaffa424773349cf56baa85521d6219424af0/MacOSMacOS_13arm64MacOSMacOS_13arm64Clangqtci-macos-13-arm64TestOnly/37be89e55e9983b5132c5dde094edc36326426ac/test_1703199355/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qtapplicationmanager/tasks/1703199242

      Tested changes (refs/builds/qtci/dev/1698515244):
      https://codereview.qt-project.org/c/qt/qtapplicationmanager/+/514569/2 Update dependencies on 'dev' in qt/qtapplicationmanager

      Attachments

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

        Activity

          People

            rgriebl Robert Griebl
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes