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

Enable tst_qtdiag for cross-builds (again)

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • 5.14
    • Build tools: Other
    • None
    • Linux/Other display system

    Description

      Test phase in Coin fails for platform "Linux QEMU (gcc-armv7) on Linux Ubuntu_18_04 (gcc-x86_64)". Integration link and raw log link. Relevant part of the log:

      agent:2019/10/24 12:42:22 build.go:484: Executing instruction 29 of 36 - RunQtUnitTest
      agent:2019/10/24 12:42:22 build.go:600: Running tests in directory /home/qt/work/qt/qttools/tests/auto/qtdiag
      agent:2019/10/24 12:42:22 runner.go:72: Generating test results with TESTARGS=-o /home/qt/work/testresults/tests/auto/qtdiag785765445,xml -o -,txt
      agent:2019/10/24 12:42:22 build.go:329: [taskset -c 0 make check -j1] 3600 3600
      agent:2019/10/24 12:42:22 build.go:220: /home/qt/work/qt/qttools/tests/auto/qtdiag/target_wrapper.sh  ./tst_tdiag -o /home/qt/work/testresults/tests/auto/qtdiag785765445,xml -o -,txt
      agent:2019/10/24 12:42:23 build.go:220: ********* Start testing of tst_QtDiag *********
      agent:2019/10/24 12:42:23 build.go:220: Config: Using QtTest library 5.14.0, Qt 5.14.0 (arm-little_endian-ilp32-eabi-hardfloat shared (dynamic) release build; by GCC 8.2.0)
      agent:2019/10/24 12:42:23 build.go:220: PASS   : tst_QtDiag::initTestCase()
      agent:2019/10/24 12:42:23 build.go:220: QDEBUG : tst_QtDiag::run() Launching  "/home/qt/work/install/bin/qtdiag"
      agent:2019/10/24 12:42:54 build.go:220: FAIL!  : tst_QtDiag::run() 'process.waitForFinished()' returned FALSE. ()
      agent:2019/10/24 12:42:54 build.go:220:    Loc: [tst_qtdiag.cpp(72)]
      agent:2019/10/24 12:42:54 build.go:220: QWARN  : tst_QtDiag::run() QProcess: Destroyed while process ("/home/qt/work/install/bin/qtdiag") is still running.
      agent:2019/10/24 12:42:54 build.go:220: PASS   : tst_QtDiag::cleanupTestCase()
      agent:2019/10/24 12:42:54 build.go:220: Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 30708ms
      agent:2019/10/24 12:42:54 build.go:220: ********* Finished testing of tst_QtDiag *********
      agent:2019/10/24 12:42:54 build.go:220: Makefile:332: recipe for target 'check' failed
      agent:2019/10/24 12:42:54 build.go:220: make: *** [check] Error 1
      

      Notice the 30s timeout between "launching" and "FAIL!".

      Workaround was provided here by kleint, by disabling this test for cross-built platforms.

      Linking to COIN-422, as this appeared at the same time of the Coin upgrade.

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            jimis Dimitrios Apostolou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes