Skip to content

systemtests: fail if daemons have config warnings#2144

Merged
BareosBot merged 10 commits intobareos:masterfrom
florian-at-bareos:dev/fburger/auto-check-config-issues
Feb 12, 2025
Merged

systemtests: fail if daemons have config warnings#2144
BareosBot merged 10 commits intobareos:masterfrom
florian-at-bareos:dev/fburger/auto-check-config-issues

Conversation

@florian-at-bareos
Copy link
Contributor

@florian-at-bareos florian-at-bareos commented Jan 29, 2025

Fixes #issue131: Add automated check for configuration issues in systemtest
configurations

One can disable this behaviour for each systemtest individually by
passing the IGNORE_CONFIG_WARNINGS option to create_systemtest.

Thank you for contributing to the Bareos Project!

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

Make sure you check/merge the PR using devtools/pr-tool to have some simple automated checks run and a proper changelog record added.

General
  • Is the PR title usable as CHANGELOG entry?
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
    Required backport PRs have been created
  • Correct milestone is set
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR

@florian-at-bareos florian-at-bareos self-assigned this Jan 29, 2025
@florian-at-bareos florian-at-bareos force-pushed the dev/fburger/auto-check-config-issues branch from 77b677f to 46d0e6d Compare January 30, 2025 06:17
@florian-at-bareos florian-at-bareos marked this pull request as ready for review January 30, 2025 07:49
Copy link
Contributor

@sebsura sebsura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks very good! You should also add some developer documentation about this feature!

@florian-at-bareos
Copy link
Contributor Author

this feature is not yet documented

@sebsura sebsura added this to the 25.0.0 milestone Feb 12, 2025
florian-at-bareos and others added 10 commits February 12, 2025 09:14
Fixes bareos#131: Add automated check for configuration issues in systemtest
configurations

One can disable this behaviour for each systemtest individually by
setting the IGNORE_DAEMON_CONFIG_WARNINGS (CACHE INTERNAL) to true at
the beginning of the systemtests CMakeLists.txt file.
Note that the systemtest 'parallel-jobs' requires config directives that
omit warnings ('MaximumConcurrentJobs' and 'MaximumBlockSize').
@BareosBot BareosBot force-pushed the dev/fburger/auto-check-config-issues branch from a8bece9 to e40911c Compare February 12, 2025 09:15
@BareosBot BareosBot merged commit 9ffc277 into bareos:master Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants