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

Update Maven wrapper and fix Quarkus CLI test failures in daily builds #1130

Merged
merged 1 commit into from
Mar 27, 2023

Conversation

michalvavrik
Copy link
Contributor

Summary

Apache Maven and wrapper has been recently updated in upstream - quarkusio/quarkus#31836, our CI is creating Quarkus CLI from JARs created by this wrapper and when we run ./quarkus-dev-cli build, it is using our wrapper from Quarkus Test Suite root directory which is old one and incompatible with the one that was used for bulding CLI jar. I opened discussion here quarkusio/quarkus#32081 (comment) to confirm it is expected behavior (and documented). All files I added are copy & paste from Quarkus main project.

Please select the relevant options.

  • Bug fix (non-breaking change which fixes an issue)
  • Dependency update
  • Refactoring
  • Backport
  • New scenario (non-breaking change which adds functionality)
  • This change requires a documentation update
  • This change requires execution against OCP (use run tests phrase in comment)

Checklist:

  • Methods and classes used in PR scenarios are meaningful
  • Commits are well encapsulated and follow the best practices

.mvn/jvm.config Outdated
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
-Dmaven.wagon.http.retryHandler.requestSentEnabled=true
-Dmaven.wagon.http.retryHandler.count=10
-Xmx5g
Copy link
Member

Choose a reason for hiding this comment

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

why is this set?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I planned to use same settings as Quarkus does, but it seems like they only needs this to fix transient issues on Azure, so we should be fine. I dropped it.

@michalvavrik
Copy link
Contributor Author

@rsvoboda it looks like it is either getting fixed / reverted in upstream. it seems like a good thing we had this old wrapper as long as it's supported. let's wait little with this, if there is no fix tomorrow, I can disable Quarkus CLI test that is failing.

@michalvavrik
Copy link
Contributor Author

@rsvoboda looks like we have final decision now - 3.6.2 won't be supported now - quarkusio/quarkus#32081 (comment), so we need to do some upgrade in order to fix CI. This PR would do, let me know if you want something different.

@rsvoboda rsvoboda merged commit 9107560 into quarkus-qe:main Mar 27, 2023
6 checks passed
@michalvavrik michalvavrik deleted the feature/update-mvnw branch March 27, 2023 18:35
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.

None yet

2 participants