[ODLTOOLS-17] Option to analyze job test results and create reports Created: 03/Aug/18  Updated: 03/Aug/18  Resolved: 03/Aug/18

Status: Done
Project: odltools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Sam Hague Assignee: Sam Hague
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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


Generated at Wed Feb 07 20:28:19 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.