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

tst_QThreadOnce fails (sometimes) on arm64 QEMU in CI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P1: Critical
    • None
    • 6.2
    • Core: Threads
    • None
    • Linux QEMU (gcc-arm64) on Linux Ubuntu_20_04 (gcc-x86_64)
    • Linux/X11

    Description

      It's not clear why or how. It also fails at two different stages of completion.

      Full log , and a couple of snippets from that log:

       

      agent:2021/04/07 08:30:07 build.go:379:         Start 166: tst_qthreadonce
      agent:2021/04/07 08:30:07 build.go:379: 166: Test command: /opt/cmake-3.19.2/bin/cmake "-P" "/home/qt/work/qt/qtbase_standalone_tests/tests/auto/corelib/thread/qthreadonce/tst_qthreadonceWrapperRelWithDebInfo.cmake"
      agent:2021/04/07 08:30:07 build.go:379: 166: Test timeout computed to be: 1500
      agent:2021/04/07 08:30:07 build.go:379: 166: ********* Start testing of tst_QThreadOnce *********
      agent:2021/04/07 08:30:07 build.go:379: 166: Config: Using QtTest library 6.2.0, Qt 6.2.0 (arm64-little_endian-lp64 shared (dynamic) release build; by GCC 10.2.0), b2qt 3.2
      agent:2021/04/07 08:30:07 build.go:379: 166: PASS   : tst_QThreadOnce::initTestCase()
      agent:2021/04/07 08:30:07 build.go:379: 166: PASS   : tst_QThreadOnce::sameThread(first)
      agent:2021/04/07 08:30:07 build.go:379: 166: PASS   : tst_QThreadOnce::sameThread(second)
      agent:2021/04/07 08:30:08 build.go:379: 166: PASS   : tst_QThreadOnce::multipleThreads()
      agent:2021/04/07 08:30:08 build.go:379: 166: PASS   : tst_QThreadOnce::nesting()
      agent:2021/04/07 08:30:08 build.go:379: 166: PASS   : tst_QThreadOnce::reentering()
      agent:2021/04/07 08:30:08 build.go:379: 166: PASS   : tst_QThreadOnce::exception()
      agent:2021/04/07 08:30:08 build.go:379: 166: PASS   : tst_QThreadOnce::cleanupTestCase()
      agent:2021/04/07 08:30:08 build.go:379: 166: double free or corruption (!prev)
      agent:2021/04/07 08:30:08 build.go:379: 166: CMake Error at tst_qthreadonceWrapperRelWithDebInfo.cmake:17 (message):
      agent:2021/04/07 08:30:08 build.go:379: 166:   
      agent:2021/04/07 08:30:08 build.go:379: 166:   /home/qt/work/qt/qtbase_standalone_tests/tests/auto/corelib/thread/qthreadonce/tst_qthreadonce
      agent:2021/04/07 08:30:08 build.go:379: 166:   execution failed.
      agent:2021/04/07 08:30:08 build.go:379: 166: 
      agent:2021/04/07 08:30:08 build.go:379: 166: 
      agent:2021/04/07 08:30:08 build.go:379: 166/570 Test #166: tst_qthreadonce ......................................***Failed    0.43 sec
      
      -----
      
      agent:2021/04/07 08:30:08 build.go:379:         Start 166: tst_qthreadonce
      agent:2021/04/07 08:30:08 build.go:379: 166: Test command: /opt/cmake-3.19.2/bin/cmake "-P" "/home/qt/work/qt/qtbase_standalone_tests/tests/auto/corelib/thread/qthreadonce/tst_qthreadonceWrapperRelWithDebInfo.cmake"
      agent:2021/04/07 08:30:08 build.go:379: 166: Test timeout computed to be: 1500
      agent:2021/04/07 08:30:08 build.go:379: 166: ********* Start testing of tst_QThreadOnce *********
      agent:2021/04/07 08:30:08 build.go:379: 166: Config: Using QtTest library 6.2.0, Qt 6.2.0 (arm64-little_endian-lp64 shared (dynamic) release build; by GCC 10.2.0), b2qt 3.2
      agent:2021/04/07 08:30:08 build.go:379: 166: PASS   : tst_QThreadOnce::initTestCase()
      agent:2021/04/07 08:30:08 build.go:379: 166: PASS   : tst_QThreadOnce::sameThread(first)
      agent:2021/04/07 08:30:08 build.go:379: 166: PASS   : tst_QThreadOnce::sameThread(second)
      agent:2021/04/07 08:30:08 build.go:379: 166: corrupted size vs. prev_size
      agent:2021/04/07 08:30:08 build.go:379: 166: CMake Error at tst_qthreadonceWrapperRelWithDebInfo.cmake:17 (message):
      agent:2021/04/07 08:30:08 build.go:379: 166:   
      agent:2021/04/07 08:30:08 build.go:379: 166:   /home/qt/work/qt/qtbase_standalone_tests/tests/auto/corelib/thread/qthreadonce/tst_qthreadonce
      agent:2021/04/07 08:30:08 build.go:379: 166:   execution failed.
      agent:2021/04/07 08:30:08 build.go:379: 166: 
      agent:2021/04/07 08:30:08 build.go:379: 166: 
      agent:2021/04/07 08:30:08 build.go:379:       Test #166: tst_qthreadonce ......................................***Failed    0.35 sec

       

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              manordheim Mårten Nordheim
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes