8000 java 17 and compile issue with trs api by denis-yuen · Pull Request #211 · dockstore/dockstore-cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

java 17 and compile issue with trs api #211

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 16 commits into from
Dec 20, 2022

Conversation

denis-yuen
Copy link
Member
@denis-yuen denis-yuen commented Dec 14, 2022

Description
Working on getting the nightly cron job to build properly post TRS update (but before avro revert)
Also updating to Java 17 with main debate in dockstore/dockstore#5279
Coverage problem turned out to be a problem with jacoco's interaction with how surefire/failsafe fork VMs. Found a way to append arguments to the forked vm including jacoco without overwriting other custom arguments

Do not merge before dockstore/dockstore#5279

Review Instructions
Builds including overnight build should work

Issue
https://ucsc-cgl.atlassian.net/browse/SEAB-4477
Blocks https://ucsc-cgl.atlassian.net/browse/SEAB-5070
Created dockstore/dockstore#5284 since system rules, junit4, seem on their last legs in Java 17
Created follow-up for quickstart and dockstore-documentation(?) https://ucsc-cgl.atlassian.net/browse/SEAB-5074

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 ./mvnw clean install
  • 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 Dec 14, 2022
@codecov
Copy link
codecov bot commented Dec 15, 2022

Codecov Report

Base: 68.17% // Head: 69.24% // Increases project coverage by +1.06% 🎉

Coverage data is based on head (d6c2ccc) compared to base (12c2f07).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop     #211      +/-   ##
=============================================
+ Coverage      68.17%   69.24%   +1.06%     
- Complexity         0     1038    +1038     
=============================================
  Files             49       46       -3     
  Lines           6014     5940      -74     
  Branches         793      776      -17     
=============================================
+ Hits            4100     4113      +13     
+ Misses          1577     1503      -74     
+ Partials         337      324      -13     
Flag Coverage Δ
bitbuckettests 10.01% <0.00%> (+0.12%) ⬆️
confidentialtooltests 53.63% <66.66%> (+0.15%) ⬆️
confidentialworkflowtests 28.46% <66.66%> (+0.08%) ⬆️
nonconfidentialtests 32.86% <33.33%> (+0.03%) ⬆️
singularitytests 16.90% <66.66%> (+0.20%) ⬆️
unittests 8.03% <0.00%> (-0.03%) ⬇️

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

Impacted Files Coverage Δ
...ckstore/client/cli/nested/AbstractEntryClient.java 74.10% <100.00%> (+0.59%) ⬆️
...ockstore/client/cli/nested/BaseLanguageClient.java 57.83% <100.00%> (-0.61%) ⬇️
.../dockstore/client/cli/nested/NextflowLauncher.java 92.85% <100.00%> (ø)
...ain/java/io/dockstore/common/FileProvisioning.java 70.24% <0.00%> (-0.31%) ⬇️
...in/java/io/github/collaboratory/cwl/CWLClient.java 80.24% <0.00%> (-0.22%) ⬇️
...ava/io/dockstore/client/cli/nested/ToolClient.java 71.99% <0.00%> (-0.04%) ⬇️
...n/java/io/dockstore/provision/ProgressPrinter.java
.../io/dockstore/provision/PreProvisionInterface.java
...ava/io/dockstore/provision/ProvisionInterface.java
... and 6 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@denis-yuen
Copy link
Member Author

looking into coverage drop

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@denis-yuen denis-yuen marked this pull request as ready for review December 19, 2022 18:14
@denis-yuen
Copy link
Member Author

code scanning is a false positive created by pinning the java version

strategy:
matrix:
java: [ '11', '17' ]
java: [ '17.0.4+8' ]
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it intentional this is different that the Circle CI version (17.0.3)?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, I think this is just pinned to the same as in the webservice repo.

@denis-yuen denis-yuen requested review from svonworl and removed request for svonworl December 20, 2022 19:28
@denis-yuen denis-yuen merged commit e3f81d0 into develop Dec 20, 2022
@denis-yuen denis-yuen deleted the feature/java_17_compile_error branch December 20, 2022 22:24
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.

3 participants
0