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

Put testing with with JDK 20 on hold #17491

Conversation

findepi
Copy link
Member

@findepi findepi commented May 13, 2023

We observed CI instability with 20. We should reintroduce testing with 20 in a way that doesn't break the CI builds.

Motivation / context: #16933 (comment)
stress test on the CI with further evidence: #17490

Hopefully fixes #16987
Hopefully fixes #16933

We observed CI instability with 20. We should reintroduce testing with
20 in a way that doesn't break the CI builds.
@findepi findepi added the no-release-notes This pull request does not require release notes entry label May 13, 2023
@cla-bot cla-bot bot added the cla-signed label May 13, 2023
@martint
Copy link
Member

martint commented May 13, 2023

Java 19 is EOL. There’s no point in testing with that version anymore.

@findepi
Copy link
Member Author

findepi commented May 13, 2023

That's the newest version we didn't observe tests flakiness with. Removing all testing with any Java newer than 17 isn't desirable, as it would allow merging some code that no longer works with newer Java version. See for example #15709.

I don't feel strongly about this though, I can skip re-adding 19.

@findepi findepi requested a review from martint May 13, 2023 17:38
@martint
Copy link
Member

martint commented May 14, 2023

We observed CI instability with 20. We should reintroduce testing with 20 in a way that doesn't break the CI builds.

How would we do that? We need to be able to test with 20 (and later this year, with 21), as we’re planning to move to those versions to be able to take advantage of new APIs.

Also, how certain are we that the instability is due to Java 20 and not some other factor?

@wendigo
Copy link
Contributor

wendigo commented May 14, 2023

@martint pretty certain. 19 is stable, 20 flaky regardless of the distribution (azul, temurin)

@martint
Copy link
Member

martint commented May 14, 2023

Can you try disabling OptimizeStringConcat? (by setting -XX:-OptimizeStringConcat)

@martint
Copy link
Member

martint commented May 14, 2023

Also, try with a version of QueryId.parseDottedId() that prints more details when the expected condition is not met:

checkArgument(ids.size() == expectedParts, "Invalid %s %s", name, id);
checkArgument(ids.size() == expectedParts, "Invalid %s %s, ids = %s, expectedParts = %s", name, id, ids, expectedParts);

@findepi
Copy link
Member Author

findepi commented May 14, 2023

i think i already did enough to warrant what's a logical revert of #16676.
we have flaky master, trino-main, we have evidence that this is due to JDK 20.
i don't have anything against diagnosing what's the problem with 20, but regardless of our ambitions in this regard, we should merge this first.

Also, how certain are we that the instability is due to Java 20 and not some other factor?

#17490

@findepi findepi requested review from a team and removed request for electrum, martint and losipiuk May 14, 2023 19:30
@findepi findepi merged commit 120ec44 into trinodb:master May 15, 2023
@findepi findepi deleted the findepi/put-testing-with-with-jdk-20-on-hold-38f5a0 branch May 15, 2023 07:12
@github-actions github-actions bot added this to the 418 milestone May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed no-release-notes This pull request does not require release notes entry
5 participants