Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tls: ERROR messages in kernel log are expected on configuration errors #150

Merged
merged 2 commits into from
Nov 14, 2019

Conversation

vankoven
Copy link
Contributor

@vankoven vankoven commented Nov 5, 2019

This is an addition to #143

@vankoven
Copy link
Contributor Author

vankoven commented Nov 5, 2019

It was discussed in the chat that the solution is fragile: if test fails Tempesta may remain loaded on target node and the next test will fail on start. More accurate solution is required.

There are more tests affected by the issue.

Copy link
Contributor

@krizhanovsky krizhanovsky left a comment

Choose a reason for hiding this comment

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

Looks good for me except the one question. However, the stress test interface is deprecated and I'm fine if we'll fix the issue by moving all problem tests to the new interface.

continue
if self.oops._warn_count(err) > 0:
self.oops_ignore = []
raise Exception("%s happened during test on Tempesta" % err)
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't we need to do the same for testers/stress.py?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, missed that for some reason. I've added the same interface for stress test. I will merge the PR as soon the tests on CI will pass

Now disabling requires tear_down() redefinition, it's mostly buggy
because of copy-paste lasiness and issues. Just add error names to be
ignored to oops_ignore array, no teardown redefinition is required
@vankoven vankoven force-pushed the ik-fix-tls-test-fail branch from c260622 to 118e187 Compare November 14, 2019 15:53
@vankoven vankoven merged commit b9d2951 into master Nov 14, 2019
@vankoven vankoven deleted the ik-fix-tls-test-fail branch November 14, 2019 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants