Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.3, 7.0 (Next Major Release)
-
None
-
-
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
- is covered by
-
QTBUG-97695 correctly report Android test failures on crashes
- Closed
- is required for
-
QTBUG-98120 Fix failing qtbase CI tests for Android
- In Progress
- relates to
-
QTBUG-100312 androidtestrunner: A test with XPASS does not return error
- Closed
-
QTBUG-97652 Improve test to show crashes and Jni env in Android
- Closed
- resulted in
-
QTBUG-101888 tst_QGraphicsProxyWidget failing tests
- Reported
-
QTBUG-102043 tst_openglwidget has crashing cases
- Reported
-
QTBUG-101865 Check impact of undetected crashes on Android in QtDeclarative
- Closed