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

tst_qsqlthread fails non-deterministically on powerpc64le

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 6.6.0 Beta1
    • 6.5.2
    • SQL Support
    • None
    • GNU Guix (GNU/Linux)
    • Linux/X11
    • 1373a20f9998d66e8a928628f568b54e8ac8d1ed (qtbase/dev)

    Description

      Hi,

      I've encountered the following non-deterministic test failure building with GNU Guix on the powerpc64le architecture:

      ********* Start testing of tst_QSqlThread *********
      Config: Using QtTest library 6.5.2, Qt 6.5.2 (power64-little_endian-lp64 shared (dynamic) release build; by GCC 11.3.0), unknown unknown
      QINFO  : tst_QSqlThread::initTestCase() SQLite will use the database located at /tmp/guix-build-qtbase-6.5.2.drv-0/tst_qsqlthread-vpCdBx/sqlite.db
      QDEBUG : tst_QSqlThread::initTestCase() Opening: "SQLite"
      PASS   : tst_QSqlThread::initTestCase()
      QDEBUG : tst_QSqlThread::simpleThreading(SQLite) Thread finished, total finished: 1
      QDEBUG : tst_QSqlThread::simpleThreading(SQLite) Thread finished, total finished: 2
      PASS   : tst_QSqlThread::simpleThreading(SQLite)
      QWARN  : tst_QSqlThread::readWriteThreading(SQLite) QObject: Cannot create children for a parent that is in a different thread.
      (Parent is QCoreApplication(0x7fffffff3c40), parent's thread is QThread(0x100083a50), current thread is SqlConsumer(0x7fffffff30a8)
      FAIL!  : tst_QSqlThread::readWriteThreading(SQLite) '(q2).exec()' returned FALSE. (QSQLITE@: (5) 'Unable to fetch row' || 'database is locked')
         Loc: [/tmp/guix-build-qtbase-6.5.2.drv-0/qtbase-everywhere-src-6.5.2/tests/auto/sql/kernel/qsqlthread/tst_qsqlthread.cpp(157)]
      QDEBUG : tst_QSqlThread::readWriteThreading(SQLite) Thread finished, total finished: 1
      FAIL!  : tst_QSqlThread::readWriteThreading(SQLite) 'threadFinishedCount >= 2' returned FALSE. ()
         Loc: [/tmp/guix-build-qtbase-6.5.2.drv-0/qtbase-everywhere-src-6.5.2/tests/auto/sql/kernel/qsqlthread/tst_qsqlthread.cpp(378)]
      QFATAL : tst_QSqlThread::readWriteThreading(SQLite) QThread: Destroyed while thread is still running
      FAIL!  : tst_QSqlThread::readWriteThreading(SQLite) Received a fatal error.
      Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 36625ms
      ********* Finished testing of tst_QSqlThread *********
      Received signal 6 (SIGABRT)
               readWriteThreading function time: 5045ms, total time: 36625ms
      CMake Error at tst_qsqlthreadWrapperRelWithDebInfo.cmake:18 (message):
        
        /tmp/guix-build-qtbase-6.5.2.drv-0/build/tests/auto/sql/kernel/qsqlthread/tst_qsqlthread
        execution failed with exit code Subprocess aborted.
      

      Attached is the complete build log.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            apteryx Maxim Cournoyer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes