-
Notifications
You must be signed in to change notification settings - Fork 741
e2e: Ensure e2e.test is built with portable BLST #1734
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
Conversation
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.
Nice sleuthing 👍
What about #1714 (comment) ? |
PR #1714 factored ANR installation into a common script, but in the process removed the CGO configuration for BLST from tests.e2e.sh. The result was sporadic e2e job failure whenever the github worker vm was missing the instructions non-portable BLST required. Ensuring CGO is explicitly configured for portable BLST in tests.e2e.sh should ensure the e2e test binary can once again be built reliably.
3cff14e
to
d61023e
Compare
As per slack convo, running a script doesn't modify the executing shell. It's necessary to source constants in the test scripts to ensure the env vars are available to test compilation. |
Updated to fix the upgrade script and remove the superfluous sourcing of constants.sh from the anr installation script. |
Why this should be merged
PR #1714 factored ANR installation into a common script, but in the process removed the CGO configuration for BLST from tests.e2e.sh. The result was sporadic e2e job failure whenever the github worker vm was missing the instructions non-portable BLST required. Ensuring CGO is explicitly configured for portable BLST in tests.e2e.sh should ensure the e2e test binary can once again be built reliably.
How this works
How this was tested