Skip to content

iserver-test: Fix BC 9.0 test #17571

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 3 commits into from
Jul 11, 2025
Merged

iserver-test: Fix BC 9.0 test #17571

merged 3 commits into from
Jul 11, 2025

Conversation

ericywl
Copy link
Contributor

@ericywl ericywl commented Jul 11, 2025

Motivation/summary

8.19 cannot upgrade to 9.0, so our BC test for 9.0 will always fail. This PR adds an edge case handling for 9.0, and also increase the APM server ready wait time.

How to test these changes

Run workflow: https://github.com/elastic/apm-server/actions/runs/16211738588

@ericywl ericywl self-assigned this Jul 11, 2025
@ericywl ericywl requested review from a team as code owners July 11, 2025 04:22
@ericywl ericywl added the backport-skip Skip notification from the automated backport with mergify label Jul 11, 2025
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@@ -15,6 +15,12 @@ for bc in ${bcs}; do
if [[ ${major} -lt 8 ]]; then
continue
fi
# Specifically for 9.0, we set the upgrade path to be from 8.18,
# since 8.19 cannot upgrade to 9.0.
Copy link
Contributor

Choose a reason for hiding this comment

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

Why's that? Is there a legitimate reason for that?

Copy link
Contributor Author

@ericywl ericywl Jul 11, 2025

Choose a reason for hiding this comment

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

Its due to ES upgrade policy, upgrades can only be done in chronological order. Since latest 9.0 was released before latest 8.19, it cannot be upgraded to.

ES issue: https://elasticco.atlassian.net/browse/CP-10254.

Copy link
Contributor

Choose a reason for hiding this comment

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

But 8.19 can be upgraded to 9.1?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes.

Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add this information in the comment, please? I'm sure others may have the same questions.

@ericywl ericywl force-pushed the iservertest-fix-bc-9.0-test branch from a9adc2d to 56f39eb Compare July 11, 2025 05:55
Copy link
Contributor

@marclop marclop left a comment

Choose a reason for hiding this comment

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

Thanks

@ericywl ericywl merged commit faf3c07 into main Jul 11, 2025
19 checks passed
@ericywl ericywl deleted the iservertest-fix-bc-9.0-test branch July 11, 2025 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-skip Skip notification from the automated backport with mergify
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants