Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-4687

Android test results are not written to influx

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • unversioned
    • Metrics / Test Results
    • None
    • Android

    Description

      I believe all test results on Android are silently being lost.

      • Typically Coin reads the XML test result files found in COIN_CTEST_RESULTSDIR directory and inserts them to InfluxDB.
      • AFAICT the "androidtestrunner" wrapper script writes all testresults to the same file "output.xml" in the current directory.
      • Coin does not know about that file, instead looks in COIN_CTEST_RESULTSDIR and finds nothing. It does not complain, and results are lost.

      In testresults I don't see "Android" in the "failed_test" measurement:

        > show tag values from failed_test with key=target_os
      
      name: failed_test
      key       value
      ---       -----
      target_os Linux
      target_os MacOS
      target_os QNX
      target_os WinRT
      target_os Window

      I see it instead in the "workitem" measurement, that records all builds/tests and not the individual test results:

        > show tag values from workitem with key=target_os
      
      name: workitem
      key       value
      ---       -----
      target_os Android
      target_os Fake
      target_os INTEGRITY
      target_os IOS
      target_os Linux
      target_os MacOS
      target_os QNX
      target_os TvOS
      target_os WatchOS
      target_os WinRT
      target_os Windows 

      Attachments

        Issue Links

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

          Activity

            People

              jimis Dimitrios Apostolou
              jimis Dimitrios Apostolou
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes