Skip to content

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

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

marun
Copy link
Contributor

@marun marun commented Jul 19, 2023

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

@marun marun requested a review from StephenButtolph as a code owner July 19, 2023 15:21
Copy link
Contributor

@hexfusion hexfusion left a comment

Choose a reason for hiding this comment

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

Nice sleuthing 👍

@hexfusion
Copy link
Contributor

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.
@marun marun force-pushed the e2e-fix-cgo-config branch from 3cff14e to d61023e Compare July 19, 2023 15:39
@marun
Copy link
Contributor Author

marun commented Jul 19, 2023

What about #1714 (comment) ?

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.

@marun
Copy link
Contributor Author

marun commented Jul 19, 2023

Updated to fix the upgrade script and remove the superfluous sourcing of constants.sh from the anr installation script.

@StephenButtolph StephenButtolph added this to the v1.10.5 milestone Jul 19, 2023
@StephenButtolph StephenButtolph added bug Something isn't working testing This primarily focuses on testing ci This focuses on changes to the CI process labels Jul 19, 2023
@StephenButtolph StephenButtolph merged commit 249a0b1 into dev Jul 19, 2023
@StephenButtolph StephenButtolph deleted the e2e-fix-cgo-config branch July 19, 2023 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ci This focuses on changes to the CI process testing This primarily focuses on testing
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

7 participants