-
Notifications
You must be signed in to change notification settings - Fork 254
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
🌱 e2e: Enhanced Serial Log Checking Functionality #1470
🌱 e2e: Enhanced Serial Log Checking Functionality #1470
Conversation
af07eef
to
0d2bb25
Compare
/metal3-bmo-e2e-test |
0d2bb25
to
173f668
Compare
/metal3-bmo-e2e-test |
/test-centos-e2e-integration-main |
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kashifest The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
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
/test-centos-e2e-integration-main |
What do you think @lentzi90 ? |
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.
It looks good, but there is something wrong with it because I see no logs in the artifacts. Could you please check that?
173f668
to
cc7551a
Compare
cc7551a
to
ddd5694
Compare
The serial logs disappeared after they were written, so I needed to copy them over to the artifacts folder to save them. How do you like the solution now, @lentzi90 ? |
d57807c
to
0be7680
Compare
/metal3-bmo-e2e-test |
/test-centos-e2e-integration-main |
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.
At what point do they disappear? Can we copy the logs after the test but before the make clean-e2e
? I would like to keep this outside the go code if possible.
The security issue is no big deal. It is just that we do not know what file we read since it comes from a variable. In test code this is no issue.
The logs disappear when the namespace is being deleted. That happens just after the LIVE-ISO test so I can't see a way of doing it outside the Go code if we don't change the cleanup code then. |
Can you check how this works in CAPM3? I don't think we touch the serial logs until after all the tests are done there. |
bee2859
to
89ca0df
Compare
/metal3-bmo-e2e-test |
@lentzi90 Is this what you had in mind? The serial logs are now appended after each other in the file, is this the way? |
e845951
to
014b210
Compare
/metal3-bmo-e2e-test |
Signed-off-by: Max Rantil <[email protected]>
014b210
to
7062d72
Compare
/metal3-bmo-e2e-test |
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.
Excellent!
/lgtm
/cc @kashifest
Looks clean, nice. /test-centos-e2e-integration-main |
/remove hold |
/unhold |
Fixes #1466