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

Selftest diff includes differences in absolute vs relative file paths

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • dev
    • Testing: qtestlib
    • None

    Description

      E.g. the full test log of the failure in https://codereview.qt-project.org/c/qt/qtbase/+/501399/2#message-1a0f121a40d110a022842e69ef9a132c6ccace7f has this:

      agent:2023/10/12 02:23:22 build.go:405: 3: Diff:
      agent:2023/10/12 02:23:22 build.go:405: 3:   --- /tmp/tst_selftests.nSwLHW	2023-10-12 02:23:22.121991038 +0000
      agent:2023/10/12 02:23:22 build.go:405: 3:   +++ /tmp/tst_selftests.GrUYRe	2023-10-12 02:23:22.121991038 +0000
      agent:2023/10/12 02:23:22 build.go:405: 3:   @@ -1,226 +1,226 @@
      agent:2023/10/12 02:23:22 build.go:405: 3:    ********* Start testing of tst_Cmptest *********
      agent:2023/10/12 02:23:22 build.go:405: 3:   -Config: Using QtTest library
      agent:2023/10/12 02:23:22 build.go:405: 3:   +Config: Using QtTest library 6.7.0, Qt 6.7.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 11.3.1 20221121 (Red Hat 11.3.1-4)), rhel 9.2
      agent:2023/10/12 02:23:22 build.go:405: 3:    PASS   : tst_Cmptest::initTestCase()
      agent:2023/10/12 02:23:22 build.go:405: 3:    FAIL!  : tst_Cmptest::compare_unregistered_enums() Compared values are not the same
      agent:2023/10/12 02:23:22 build.go:405: 3:       Actual   (MyUnregisteredEnumValue1): 0
      agent:2023/10/12 02:23:22 build.go:405: 3:       Expected (MyUnregisteredEnumValue2): 1
      agent:2023/10/12 02:23:22 build.go:405: 3:   -   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
      agent:2023/10/12 02:23:22 build.go:405: 3:   +   Loc: [/home/qt/work/qt/qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(162)]
      agent:2023/10/12 02:23:22 build.go:405: 3:    FAIL!  : tst_Cmptest::compare_registered_enums() Compared values are not the same
      

      There is a legitimate failure in the full log, but I can't reproduce either of these failures locally.

      Attachments

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

        Activity

          People

            macadder Jason McDonald
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes