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

Add extra log in e2e tests #5955

Merged
merged 1 commit into from
May 28, 2024
Merged

Conversation

manuelbuil
Copy link
Contributor

Proposed Changes

As of today, when running rke2 e2e tests, we can see how the server-0 is created. For example:

E2E_NODE_ROLES="server-0 agent-0" E2E_NODE_BOXES="generic/ubuntu2310 generic/ubuntu2310"  vagrant up server-0 &> vagrant.log

But we don't see the same log for the rest of VMs which might be confusing. This PR removes that confusion as now the test will print all vagrant up commands it runs

Types of Changes

Extra logging

Verification

Run an e2e test that creates several VMs and you now should see the vagrant up command for all nodes, not just server-0
Example:

E2E_NODE_ROLES="server-0 agent-0" E2E_NODE_BOXES="generic/ubuntu2310 generic/ubuntu2310"  vagrant up server-0 &> vagrant.log
E2E_NODE_ROLES="server-0 agent-0" E2E_NODE_BOXES="generic/ubuntu2310 generic/ubuntu2310"  vagrant up agent-0 &>> vagrant.log

Testing

Linked Issues

User-Facing Change


Further Comments

Signed-off-by: Manuel Buil <[email protected]>
@manuelbuil manuelbuil requested a review from a team as a code owner May 23, 2024 13:21
@manuelbuil manuelbuil merged commit d2cae59 into rancher:master May 28, 2024
5 checks passed
@manuelbuil manuelbuil deleted the nite2etest branch May 28, 2024 10:25
manuelbuil added a commit to manuelbuil/rke2 that referenced this pull request May 28, 2024
manuelbuil added a commit to manuelbuil/rke2 that referenced this pull request May 28, 2024
manuelbuil added a commit to manuelbuil/rke2 that referenced this pull request May 28, 2024
manuelbuil added a commit that referenced this pull request May 29, 2024
manuelbuil added a commit that referenced this pull request May 29, 2024
manuelbuil added a commit that referenced this pull request May 29, 2024
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