Skip to content

os-autoinst/openqa-logwarn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openqa-logwarn CI

A logwarn wrapper with openQA log specific rules.

Usage

  • Install logwarn via sudo zypper in logwarn if you're on openSUSE Tumbleweed or from https://github.com/archiecobbs/logwarn otherwise.
  • Call logwarn_openqa. By default it will read logs from /var/log/openqa which is where openQA stores logs by default. You can pass another path as the first argument.
  • Extend the list of known warnings by adding arguments to the logwarn call at the top of logwarn_openqa.

Testing

  • For testing you can execute test_logwarn directly or prove test_logwarn.
  • You can add new cases by extending in.log as well as test_logwarn.

Contribute

This project lives in https://github.com/os-autoinst/openqa-logwarn

Feel free to add issues in github or send pull requests.

Rules for commits

  • Every commit is checked by GitHubActions as soon as you create a pull request but you should test locally, see the Usage section for details.

  • Make sure to add test reference data for new scenarios. TDD is advised :-)

  • For git commit messages use the rules stated on How to Write a Git Commit Message as a reference

If this is too much hassle for you feel free to provide incomplete pull requests for consideration or create an issue with a code change proposal.

License

This project is licensed under the MIT license, see LICENSE file for details.

About

logwarn wrapper with openQA log specific rules

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages