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

Regression in attached enum handling

    XMLWordPrintable

Details

    • 4f0c9986069c690e8ed7a7d2b42dfbce5c492368

    Description

      A regression in attached enum properties has been causing flakiness in CI:

      https://codereview.qt-project.org/c/qt/qtquickcontrols2/+/288191
      https://codereview.qt-project.org/c/qt/qtquickcontrols2/+/288266

      agent:2020/01/30 14:33:18 build.go:220: PASS   : tst_controls::Material::DialogButtonBox::initTestCase()
      agent:2020/01/30 14:33:18 build.go:220: QWARN  : tst_controls::Material::DialogButtonBox::test_attached() QObject::connect: No such signal QQmlObjectModel::itemPooled(int, QObject *) in items/qquickitemview.cpp:237
      agent:2020/01/30 14:33:18 build.go:220: QWARN  : tst_controls::Material::DialogButtonBox::test_attached() QObject::connect: No such signal QQmlObjectModel::itemReused(int, QObject *) in items/qquickitemview.cpp:238
      agent:2020/01/30 14:33:18 build.go:220: FAIL!  : tst_controls::Material::DialogButtonBox::test_attached() Compared values are not the same
      agent:2020/01/30 14:33:18 build.go:220:    Actual   (): [object Object]
      agent:2020/01/30 14:33:18 build.go:220:    Expected (): 0
      agent:2020/01/30 14:33:18 build.go:220:    Loc: [/home/qt/work/qt/qtquickcontrols2/tests/auto/controls/data/tst_dialogbuttonbox.qml(133)]
      [...]
      agent:2020/01/30 14:33:18 build.go:220: FAIL!  : tst_controls::Material::DialogButtonBox::test_buttonLayout(WinLayout) Compared values are not the same
      agent:2020/01/30 14:33:18 build.go:220:    Actual   (): [object Object]
      agent:2020/01/30 14:33:18 build.go:220:    Expected (): 0
      agent:2020/01/30 14:33:18 build.go:220:    Loc: [/home/qt/work/qt/qtquickcontrols2/tests/auto/controls/data/tst_dialogbuttonbox.qml(217)]
      
      [...] controls/data/tst_dialogbuttonbox.qml:370:45: Cannot assign primitives to lists 
       agent:2020/02/10 08:23:15 build.go:220:                      DialogButtonBox.buttonRole: DialogButtonBox.AcceptRole? 
       agent:2020/02/10 08:23:15 build.go:220:                                                  ^
       agent:2020/02/10 08:23:15 build.go:220: jom: C:\Users\qt\work\qt\qtquickcontrols2\tests\auto\controls\default\Makefile.Release [check] Error 1
       agent:2020/02/10 08:23:15 build.go:220: jom: C:\Users\qt\work\qt\qtquickcontrols2\tests\auto\controls\default\Makefile [release-check] Error 2
       agent:2020/02/10 08:23:15 build.go:253: Process finished with error: exit status 2
      

      https://testresults.qt.io/logs/qt/qtquickcontrols2/f2a1e2978a6f67ad954e164c0452507bcc72dadf/LinuxUbuntu_18_04x86_64LinuxUbuntu_18_04x86_64GCCqtci-linux-Ubuntu-18.04-x86_64-ca0cfe/f3467badd4c8fd7182a7904467114c82fccec74e/test_1580392756/log.txt.gz

      Attachments

        Issue Links

          Activity

            People

              fabiankosmale Fabian Kosmale
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: