8000 new linux machine executor with Java 21 by denis-yuen · Pull Request #5961 · dockstore/dockstore · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

new linux machine executor with Java 21 #5961

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 10 commits into from
Aug 13, 2024
Merged

Conversation

denis-yuen
Copy link
Member
@denis-yuen denis-yuen commented Aug 6, 2024

Description
Try a new CircleCI machine with Java 21, this means our build environment for language parsing tests uses a VM that matches the jdk we expect to run at. Still, we're compiling to Java 17

Trade-offs:
We'll finally be able to use Java 21 features, though we've been running in a Java 21 VM for quite a while, this will mean that our webservice jar is actually Java 21. Developers will need to use Java 21 locally, We gain a couple more years of support. see https://endoflife.date/oracle-jdk

Split out

Will probably be easier upgrading the dependent projects to Java 21 and then coming back than vice versa

Review Instructions
Builds should pass, qa should run.

Issue
https://ucsc-cgl.atlassian.net/browse/SEAB-6269
https://discuss.circleci.com/t/linux-machine-executor-2024-q2-update-including-cuda/50844

Security and Privacy

None

Please make sure that you've checked the following before submitting your pull request. Thanks!

  • Check that you pass the basic style checks and unit tests by running mvn clean install
  • Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.
  • Follow the existing JPA patterns for queries, using named parameters, to avoid SQL injection
  • If you are changing dependencies, check the Snyk status check or the dashboard to ensure you are not introducing new high/critical vulnerabilities
  • Assume that inputs to the API can be malicious, and sanitize and/or check for Denial of Service type values, e.g., massive sizes
  • Do not serve user-uploaded binary images through the Dockstore API
  • Ensure that endpoints that only allow privileged access enforce that with the @RolesAllowed annotation
  • Do not create cookies, although this may change in the future
  • If this PR is for a user-facing feature, create and link a documentation ticket for this feature (usually in the same milestone as the linked issue). Style points if you create a documentation PR directly and link that instead.

@denis-yuen denis-yuen self-assigned this Aug 6, 2024
@denis-yuen
Copy link
Member Author

Damnit python && sam-cli!

ModuleNotFoundError: No module named 'setuptools'

Copy link
codecov bot commented Aug 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.22%. Comparing base (f04ea6b) to head (cc8562d).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #5961      +/-   ##
=============================================
- Coverage      74.24%   74.22%   -0.03%     
+ Complexity      5384     5383       -1     
=============================================
  Files            376      376              
  Lines          19505    19505              
  Branches        2035     2035              
=============================================
- Hits           14481    14477       -4     
- Misses          4050     4054       +4     
  Partials         974      974              
Flag Coverage Δ
bitbuckettests 26.90% <ø> (-0.02%) ⬇️
hoverflytests 27.57% <ø> (ø)
integrationtests 56.79% <ø> (-0.03%) ⬇️
languageparsingtests 11.09% <ø> (ø)
localstacktests 21.60% <ø> (ø)
toolintegrationtests 30.31% <ø> (ø)
unit-tests_and_non-confidential-tests 25.93% <ø> (ø)
workflowintegrationtests 38.37% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@denis-yuen denis-yuen changed the title try new linux machine executor with Java 21 java 21 compilation in maven, new linux machine executor with Java 21 Aug 7, 2024
@denis-yuen
Copy link
Member Author

tagging @david4096 because of the apt change, see also #5958

@denis-yuen denis-yuen marked this pull request as ready for review August 7, 2024 17:06
@@ -13,7 +13,11 @@ fi
if [ "${TESTING_PROFILE}" = "regression-integration-tests" ]; then
pip3 install -r dockstore-webservice/src/main/resources/requirements/1.13.0/requirements3.txt
elif [ "${TESTING_PROFILE}" == "language-parsing-tests" ]; then
pip3 install -r dockstore-webservice/src/main/resources/requirements/1.14.0/requirements3.txt
#pip3 install -r dockstore-webservice/src/main/resources/requirements/1.14.0/requirements3.txt
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason to keep this line around (commented), rather than delete it completely?

Copy link
Member Author

Choose a reason for hiding this comment

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

Will change to code comment to explain connection

Copy link
Collaborator
@coverbeck coverbeck left a comment

Choose a reason for hiding this comment

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

Does this mean the CLI,

@denis-yuen denis-yuen changed the title java 21 compilation in maven, new linux machine executor with Java 21 new linux machine executor with Java 21 Aug 8, 2024
Copy link
sonarqubecloud bot commented Aug 8, 2024

@denis-yuen denis-yuen requested review from david4096 and removed request for david4096 August 9, 2024 18:35
@denis-yuen denis-yuen merged commit a28f9e3 into develop Aug 13, 2024
21 checks passed
@denis-yuen denis-yuen deleted the feature/bytecode_target branch August 13, 2024 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0