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

Run yoga devstack tests #7753

Merged

Conversation

nelljerram
Copy link
Member

@nelljerram nelljerram commented Jun 6, 2023

Since doing the work for a DevStack setup with OpenStack Yoga - #7625 - we've had a successful DevStack setup in our CI, but haven't actually been running any tests! A quick way of seeing this is that the CI job only takes 15 minutes when it should take about 25. Obviously it can also be seen in the logs.

This change brings back the tests by splitting a single sudo -u stack -H -E bash -x <<'EOF' invocation, in networking-calico/devstack/bootstrap.sh, into two: one for the setup and one for the tests. The presumed explanation for the problem is that something in the setup was closing stdin, which meant that bash would not read further commands after the exit of the ./stack.sh line.

@nelljerram nelljerram requested a review from a team as a code owner June 6, 2023 18:26
@marvin-tigera marvin-tigera added this to the Calico v3.27.0 milestone Jun 6, 2023
@marvin-tigera marvin-tigera added release-note-required Change has user-facing impact (no matter how small) docs-pr-required Change is not yet documented labels Jun 6, 2023
@nelljerram nelljerram added docs-not-required Docs not required for this change release-note-not-required Change has no user-facing impact and removed release-note-required Change has user-facing impact (no matter how small) docs-pr-required Change is not yet documented labels Jun 6, 2023
@nelljerram nelljerram closed this Jun 7, 2023
@nelljerram nelljerram reopened this Jun 7, 2023
@marvin-tigera marvin-tigera added release-note-required Change has user-facing impact (no matter how small) docs-pr-required Change is not yet documented and removed docs-not-required Docs not required for this change release-note-not-required Change has no user-facing impact labels Jun 7, 2023
@nelljerram nelljerram added docs-not-required Docs not required for this change and removed release-note-required Change has user-facing impact (no matter how small) docs-pr-required Change is not yet documented labels Jun 8, 2023
@nelljerram nelljerram added the release-note-not-required Change has no user-facing impact label Jun 8, 2023

sudo -u stack -H -E bash -x <<'EOF'
Copy link
Member

Choose a reason for hiding this comment

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

Is it worth a little comment to explain why this is here twice? It does look odd, but I understand from the explanation in the PR why its here :)

Copy link
Member

@lwr20 lwr20 left a comment

Choose a reason for hiding this comment

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

One minor comment, LGTM

@marvin-tigera marvin-tigera merged commit 80fcb46 into projectcalico:master Jun 8, 2023
2 checks passed
@marvin-tigera
Copy link
Contributor

I'm sorry but I failed delete the branch after merging the pull request.

@nelljerram nelljerram deleted the run-yoga-devstack-tests branch June 8, 2023 11:14
nelljerram pushed a commit to nelljerram/calico that referenced this pull request Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delete-branch docs-not-required Docs not required for this change merge-when-ready release-note-not-required Change has no user-facing impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants