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

Undetected test crashes on Android

    XMLWordPrintable

Details

    • Android
    • 2022wk10FOAndroid&Automotive, 2022wk12FOAndroid&Automotive, 2022wk14FOAndroid&Automotive

    Description

      See log here where androidtestrunner returns success and nothing strange is logged to stdout, however the XML file is corrupt and indicates that the test process crashed abruptly while dialogInGraphicsView was running.

      ********* Start testing of tst_QDialog *********
      Config: Using QtTest library 6.4.0, Qt 6.4.0 (i386-little_endian-ilp32 shared (dynamic) release build; by Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d)), android 6.0
      PASS   : tst_QDialog::initTestCase()
      PASS   : tst_QDialog::getSetCheck()
      PASS   : tst_QDialog::defaultButtons()
      PASS   : tst_QDialog::showMaximized()
      PASS   : tst_QDialog::showMinimized()
      PASS   : tst_QDialog::showFullScreen()
      PASS   : tst_QDialog::showAsTool()
      PASS   : tst_QDialog::showWithoutActivating(showWithoutActivating)
      PASS   : tst_QDialog::showWithoutActivating(showWithActivating)
      PASS   : tst_QDialog::toolDialogPosition()
      PASS   : tst_QDialog::deleteMainDefault()
      PASS   : tst_QDialog::deleteInExec()
      PASS   : tst_QDialog::showSizeGrip()
      PASS   : tst_QDialog::setVisible()
      PASS   : tst_QDialog::reject()
      BFAIL  : tst_QDialog::snapToDefaultButton() Compared values are not the same
         Actual   (QCursor::pos()): QPoint(-2147483648,-2147483648)
         Expected (startingPos)   : QPoint(399,399)
         Loc: [/home/qt/work/qt/qtbase/tests/auto/widgets/dialogs/qdialog/tst_qdialog.cpp(516)]
      PASS   : tst_QDialog::transientParent(Non-native)
      PASS   : tst_QDialog::transientParent(Native)
      Execute /opt/android/sdk/platform-tools/adb uninstall org.qtproject.example.tst_qdialog.
      Success
      qt-testrunner.py     INFO: Test process exited with code: 0 

      But the end of XML file shows:

         <TestFunction name="snapToDefaultButton">
           <Incident type="bfail" file="/home/qt/work/qt/qtbase/tests/auto/widgets/dialogs/qdialog/tst_qdialog.cpp" line="516">
             <Description><![CDATA[Compared values are not the same
          Actual   (QCursor::pos()): QPoint(-2147483648,-2147483648)
          Expected (startingPos)   : QPoint(399,399)]]></Description>
           </Incident>
           <Duration msecs="1.12921"/>
         </TestFunction>
         <TestFunction name="transientParent">
           <Incident type="pass" file="" line="0">
             <DataTag><![CDATA[Non-native]]></DataTag>
           </Incident>
           <Incident type="pass" file="" line="0">
             <DataTag><![CDATA[Native]]></DataTag>
           </Incident>
           <Duration msecs="10.8132"/>
         </TestFunction>
         <TestFunction name="dialogInGraphicsView">
      [EOF]

      Update:

      An integration (no abort at failure) for qtbase with https://codereview.qt-project.org/c/qt/qtbase/+/392565 is at http://coin/coin/integration/qt/qtbase/tasks/web_qt_qtbase_1646653648339, and these ones fail also:

      • tst_qdialog
      • tst_qinputdialog
      • tst_qgraphicsproxywidget
      • tst_qitemdelegate
      • tst_qitemview
      • tst_qtreewidget
      • tst_qcalendarwidget
      • tst_qdatetimeedit
      • tst_qdoublespinbox
      • tst_qplaintextedit
      • tst_qspinbox
      • tst_qtextbrowser
      • tst_languagechange

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-100470
          # Subject Branch Project Status CR V

          Activity

            People

              assam Assam Boudjelthia
              jimis Dimitrios Apostolou
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes