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

Make in CI #12194

Merged
merged 45 commits into from
Oct 1, 2024
Merged

Make in CI #12194

merged 45 commits into from
Oct 1, 2024

Conversation

lhoguin
Copy link
Contributor

@lhoguin lhoguin commented Sep 2, 2024

This applies parallel-ct to rabbit and rabbitmq_mqtt and creates Make-based CI test workflows as a first step to converting CI to Make.

Some failures are expected: rabbitmq_trust_store is due to a bug in OTP-27; the peer discovery AWS is probably related to a resource that needs to be cleaned up on the AWS front; and the rest are a handful of flakes that we can address over time. Due to recent work to reduce the number of flakes, the number is small, so a small team effort should get rid of near everything.

This PR does not include mixed version testing which will continue using Bazel for the time being. A second PR will be worked on later to convert mixed version testing. Similarly, this is only enabled on main for the time being.

I will merge this to main tomorrow (October 1st) unless there's any objections.

@mergify mergify bot added the make label Sep 2, 2024
@lhoguin lhoguin force-pushed the loic-parallel-ct branch 3 times, most recently from e1b35c6 to 5efb311 Compare September 2, 2024 13:06
@mergify mergify bot added the bazel label Sep 5, 2024
@lhoguin lhoguin changed the title DO NOT MERGE: CI experiments DO NOT MERGE: Make in CI Sep 10, 2024
@lhoguin lhoguin force-pushed the loic-parallel-ct branch 18 times, most recently from 219450c to ff8780b Compare September 17, 2024 10:30
@lhoguin lhoguin force-pushed the loic-parallel-ct branch 6 times, most recently from eaa0bd2 to 23cc737 Compare September 20, 2024 12:55
This is very old code that is likely no longer used. Removing
it helps avoid depending on cover.
The search results record change was done in OTP-25, which is
no longer supported. So we can use the modern search results
record and drop the compatibility clauses.

For more context:

* 8d8847e
* erlang/otp#5538
And disable those checks in CI for now. We are getting errors
because of the eetcd dependency and we can't upgrade at this
time (see comment in the commit).
This can happen if the plugin isn't using CT, or if running
Dialyzer, for example.
They are still enabled in the build job.
The fetch-tags option of actions/checkout@v4 does not work
as intended so they are fetched manually instead.
All CT logs will now be under <toplevel>/logs. An improved
test workflow would be to always keep the logs/all_runs.html
page open in the browser and refresh it whenever tests are
run in any of the rabbit applications.
Previously it was only available when TEST=1 was set.
Reverting back to the default 1 minute. The problem with
3 minutes is that this is exceedingly long and when there
are problems the test time increases exponentially.
The previous fix was leading to a badmatch in some cases,
including when trying to stop a node that was already stopped.
@lhoguin lhoguin merged commit 297981e into main Oct 1, 2024
393 of 399 checks passed
@lhoguin lhoguin deleted the loic-parallel-ct branch October 1, 2024 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants