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

tst_Selftests::runSubTest(exceptionthrow all loggers) and etc failed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 5.12.0 Alpha
    • 5.12
    • Testing: qtestlib
    • None
    • f69d32b535d456a2441754ef5733c7fb65411d6c

    Description

      https://codereview.qt-project.org/#/c/224152/ Merge remote-tracking branch 'origin/5.11' into dev

      https://testresults.qt.io/coin/integration/qt/qtbase/tasks/1522173131

      https://testresults.qt.io/logs/qt/qtbase/e3dbb3f65afd214e41871c7a13a181e28c913091/LinuxUbuntu_16_04x86_64LinuxUbuntu_16_04x86_64GCCqtci-linux-Ubuntu-16.04-x86_64-2-9d677aNoWidgets_ForceDebugInfo/2a48a3b7dcb9652b1532a3ad14de7580b5b9b1ee/test_1522173509/log.txt.gz

      ...
      FAIL!  : tst_Selftests::runSubTest(exceptionthrow new stdout tap) "stdout tap", expected_exceptionthrow.tap Line 9: Mismatch:
       '  line: 1851'
        !=
       '  line: 1846'
       Actual:
       TAP version 13
       # tst_Exception
       ok 1 - initTestCase()
       not ok 2 - throwException()
         ---
         # Caught unhandled exception
         at: tst_Exception::throwException() (qtestcase.cpp:1851)
         file: qtestcase.cpp
         line: 1851
         ...
       1..2
       # tests 2
       # pass 1
       # fail 1
       
       Diff:
       --- /tmp/tst_selftests.gYgzYc	2018-03-27 11:36:16.796000000 +0000
       +++ /tmp/tst_selftests.DTOqDD	2018-03-27 11:36:16.796000000 +0000
       @@ -4,9 +4,9 @@
        not ok 2 - throwException()
          ---
          # Caught unhandled exception
       -  at: tst_Exception::throwException() (qtbase/src/testlib/qtestcase.cpp:1846)
       -  file: qtbase/src/testlib/qtestcase.cpp
       -  line: 1846
       +  at: tst_Exception::throwException() (qtestcase.cpp:1851)
       +  file: qtestcase.cpp
       +  line: 1851
          ...
        1..2
        # tests 2
       
          Loc: [../tst_selftests.cpp(796)]
      FAIL!  : tst_Selftests::runSubTest(exceptionthrow new tap) "tap", expected_exceptionthrow.tap Line 9: Mismatch:
       '  line: 1851'
        !=
       '  line: 1846'
       Actual:
       TAP version 13
       # tst_Exception
       ok 1 - initTestCase()
       not ok 2 - throwException()
         ---
         # Caught unhandled exception
         at: tst_Exception::throwException() (qtestcase.cpp:1851)
         file: qtestcase.cpp
         line: 1851
         ...
       1..2
       # tests 2
       # pass 1
       # fail 1
       
       Diff:
       --- /tmp/tst_selftests.LnQptG	2018-03-27 11:36:17.784000000 +0000
       +++ /tmp/tst_selftests.kcTRlE	2018-03-27 11:36:17.784000000 +0000
       @@ -4,9 +4,9 @@
        not ok 2 - throwException()
          ---
          # Caught unhandled exception
       -  at: tst_Exception::throwException() (qtbase/src/testlib/qtestcase.cpp:1846)
       -  file: qtbase/src/testlib/qtestcase.cpp
       -  line: 1846
       +  at: tst_Exception::throwException() (qtestcase.cpp:1851)
       +  file: qtestcase.cpp
       +  line: 1851
          ...
        1..2
        # tests 2
       
          Loc: [../tst_selftests.cpp(796)]
      ...
      FAIL!  : tst_Selftests::runSubTest(exceptionthrow all loggers) "tap", expected_exceptionthrow.tap Line 9: Mismatch:
       '  line: 1851'
        !=
       '  line: 1846'
       Actual:
       TAP version 13
       # tst_Exception
       ok 1 - initTestCase()
       not ok 2 - throwException()
         ---
         # Caught unhandled exception
         at: tst_Exception::throwException() (qtestcase.cpp:1851)
         file: qtestcase.cpp
         line: 1851
         ...
       1..2
       # tests 2
       # pass 1
       # fail 1
       
       Diff:
       --- /tmp/tst_selftests.lrwpeE	2018-03-27 11:36:22.776000000 +0000
       +++ /tmp/tst_selftests.FUkioZ	2018-03-27 11:36:22.776000000 +0000
       @@ -4,9 +4,9 @@
        not ok 2 - throwException()
          ---
          # Caught unhandled exception
       -  at: tst_Exception::throwException() (qtbase/src/testlib/qtestcase.cpp:1846)
       -  file: qtbase/src/testlib/qtestcase.cpp
       -  line: 1846
       +  at: tst_Exception::throwException() (qtestcase.cpp:1851)
       +  file: qtestcase.cpp
       +  line: 1851
          ...
        1..2
        # tests 2
       
          Loc: [../tst_selftests.cpp(796)]
      ...
      PASS   : tst_Selftests::cleanupTestCase()
       Totals: 939 passed, 5 failed, 0 skipped, 0 blacklisted, 51552ms
       ********* Finished testing of tst_Selftests *********
       Makefile:308: recipe for target 'check' failed
       make: *** [check] Error 5
      

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes