Uploaded image for project: 'MariaDB Foundation Development'
  1. MariaDB Foundation Development
  2. MDBF-991

Obtain failed test results and the associated output from MTR

    XMLWordPrintable

Details

    Description

      This task covers identifying and implementing in buildbot a more reliable way of parsing the MTR logs to obtain:

      1. A list of failing test cases and their relevant output
      2. A list of failed cleanup tests / warnings

      Currently, MTR Log Observer uses a regex to identify the relevant pieces of text, a regex that is run line-by-line. This is run in the buildbot event loop, which is single threaded and block processing of other events (such as new logs ingestion, builder commands, etc.)

      There are a few possible approaches here:

      • Implement a "test collection" step after the actual MTR run.
      • Leverage MTR's --xml output.
      • Extend MTR to provide a "machine readable" JSON format, that is free of stdout race conditions.

      Either, or a combination of the above should allow extracting the right information.

      This information must be fed to the crossreference plugin.

      Attachments

        1. save results.png
          save results.png
          65 kB
        2. failed tests.png
          failed tests.png
          631 kB
        3. image-2025-07-31-19-14-32-884.png
          image-2025-07-31-19-14-32-884.png
          597 kB
        4. screenshot-1.png
          screenshot-1.png
          21 kB

        Issue Links

          Activity

            People

              rvarzaru Varzaru Razvan-Liviu
              cvicentiu Vicențiu Ciorbaru
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 13d
                  13d
                  Remaining:
                  Time Spent - 5d Remaining Estimate - 5d
                  5d
                  Logged:
                  Time Spent - 5d Remaining Estimate - 5d Time Not Required
                  5d