tree: 94faa182fbb81763fd650e20a269cf6fb86074e4 [path history] [tgz]
  1. __init__.py
  2. log_helper.py
  3. README.md
log_helper/README.md

CLI helper tool

This CLI helper tool gathers all log lines related to resource | req-id from particular folder with logs. All related resources and their IDs used in Tempest tests are stored in machine-readable YAML file with the following format:

: status: PASSED|FAILED resources: <openstack-service name (nova|neutron|glance|keystone)>: <resource-name (port|server|security-group|router)>: <request-id (req-xxxx) >: name: <resource name (test-port-mytest|test-vm-)> id/uuid: request: http: error: status_code: <>

How to use

  • Extract/save all openstack pod logs to folder (ex. pod-logs)

  • Generate tempest report using report_parcer tool

  • Run log_helper tool with folder name and tempest report YAML file as input parameters:

python3 log_helper.py <folder-with-logs> <tempest-report-yaml>