-
Notifications
You must be signed in to change notification settings - Fork 15
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
bin/helpers: check for unexpected LXD warnings/errors during cleanup() #135
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Simon Deziel <[email protected]>
FYI, this is expected to fail on many tests until canonical/lxd#13299 is merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks!
This turned up many more errors than I expected, some of which I think shouldn't be errors like those:
Should I postpone this PR and open bugs in LXD to have those silenced or reported at a debug/info level maybe? Also, I'll have to rethink how problems are ignored because many of them are legitimate. What would you think of having a list of messages regex to ignore at the top of scripts where some errors are to be expected? This way, if we take the
Some other errors like in https://github.com/canonical/lxd-ci/actions/runs/8632671674/job/23663945355?pr=135 are a bit more unclear to me. Maybe they are just noise due to opportunistic cleanup done by LXD. |
I think WARN level would be better for these |
This brings the question of should we keep warning about this:
I have this warning locally despite not making conscious use of any network priority. I've also ACK'ed the corresponding
lxc warning
but it doesn't silence that message.