Uploaded image for project: 'odltools'
  1. odltools
  2. ODLTOOLS-17

Option to analyze job test results and create reports

    XMLWordPrintable

Details

    • Bug
    • Status: Done
    • Medium
    • Resolution: Done
    • None

    Description

      A user wants to see a history of test failures across the jobs. Currently the user would need to log into every job one by one and look at the pass/fail results. This new option would find grab the console logs for the jobs and extract the pass/fail data and then dump the results to a file.

      usage: python -m odltools csit reports [-h] [-j JOBNAMES] [-n NUMJOBS]
                                             [-p PATH] [-u URL]
      
      Write reports for test failures
      
      optional arguments:
        -h, --help            show this help message and exit
        -j JOBNAMES, --jobnames JOBNAMES
                              space separated list of job names
        -n NUMJOBS, --numjobs NUMJOBS
                              number of jobs to analyzem default: 1
        -p PATH, --path PATH  the output directory for the reports, default: /tmp
        -u URL, --url URL     root url for logs, default:
                              https://logs.opendaylight.org/releng/vex-yul-odl-
                              jenkins-1
      
      

      Attachments

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

        Activity

          People

            shague Sam Hague
            shague Sam Hague
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: