Skip to content

CFE-3041: Made testall fail regular acceptance tests which log errors - #6405

Draft
aleksandrychev wants to merge 1 commit into
cfengine:masterfrom
aleksandrychev:CFE-3041
Draft

aleksandrychev wants to merge 1 commit into
cfengine:masterfrom
aleksandrychev:CFE-3041

Conversation

@aleksandrychev

Copy link
Copy Markdown
Contributor

Tests that print Pass message but have logs errors will fail with FAIL (Error printed) message. Tests which are expected to log errors should use .error.cf or .error.pass.cf suffix. see: tests/acceptance/README

Ticket: CFE-3041

Tests that print Pass message but have logs errors will fail with `FAIL (Error printed)` message.
Tests which are expected to log errors should use `.error.cf` or `.error.pass.cf` suffix. see: `tests/acceptance/README`

Ticket: CFE-3041
Signed-off-by: Ihor Aleksandrychiev <ihor.aleksandrychiev@northern.tech>
@aleksandrychev

Copy link
Copy Markdown
Contributor Author

@cf-bottom jenkins please

@cf-bottom

Copy link
Copy Markdown

@olehermanse olehermanse left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This cannot be done on its own - there are hundreds of tests that need to be reviewed and adjusted after this change in testall.

@aleksandrychev

Copy link
Copy Markdown
Contributor Author

This cannot be done on its own - there are hundreds of tests that need to be reviewed and adjusted after this change in testall.

I see, there are quite a lot of them. So, we need to identify which ones are expected and should be renamed, and also find the ones that shouldn't be there. As a first step, I'll create a table listing each failure and the errors printed.

@aleksandrychev
aleksandrychev marked this pull request as draft October 14, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants