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

Bump quarkus.version from 1.13.7.Final to 2.0.0.Final #253

Merged
merged 2 commits into from
Jun 25, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 23, 2021

Bumps quarkus.version from 1.13.7.Final to 2.0.0.Final.
Updates quarkus-bom from 1.13.7.Final to 2.0.0.Final

Release notes

Sourced from quarkus-bom's releases.

2.0.0.CR3

Major changes

  • #17609 - Upgrade to Hibernate ORM 5.5.0.Final
  • #17004 - Return an Uni for persist/update/persistAndFlush methods

Complete changelog

  • #17692 - Upgrade Quarkus HTTP to 4.1.1
  • #17669 - Make sure the gRPC server is started after synthetic beans init
  • #17663 - Initialize io.grpc.internal.RetriableStream at runtime
  • #17661 - Add documentation for @​Cache and @​NoCache
  • #17660 - Initialize io.vertx.ext.auth.impl.jose.JWT at runtime
  • #17657 - Using Vert.x Auth, Native image build failures on GraalVM 21.1 with Random/SplittableRandom initialized at build time
  • #17656 - Prevent double registration of MpPublisherMessageBodyReader in rest client
  • #17654 - Rename quarkus.neo4j.pool.metrics-enabled for unification
  • #17652 - Disable GraphQL metrics by default
  • #17651 - Change the way Resteasy injection is initialized
  • #17644 - Add support for @​Cache and @​NoCache in RESTEasy Reactive
  • #17639 - Add Guide for OpenTelemetry
  • #17636 - gRPC: IOThreadInterceptor must check if context is not null before calling runOnContext
  • #17634 - Remove default Jaeger endpoint
  • #17632 - Correctly propagate dispatchToWorker to websockets
  • #17630 - Add @​Cache annotation to resteasy-reactive
  • #17628 - Hot reload fails when using custom beans validator and MP Rest Client
  • #17627 - RESTEASY002160 warning when starting an application with @​RegisterRestClient
  • #17623 - Ensure @​QuarkusIntegrationTest works properly with any Filesystem path
  • #17620 - Update Vert.x to version 4.1.0 and related dependencies
  • #17617 - Don't run maven IT names by default
  • #17613 - Upgrade to Hibernate Reactive 1.0.0.CR6
  • #17609 - Upgrade to Hibernate ORM 5.5.0.Final
  • #17608 - Move OpenTelemetry REST Client filter into hidden extension
  • #17607 - QuarkusIntegrationTest cannot locate build output directory if it contains special characters like #
  • #17606 - Upgrade to Jandex 2.3.0
  • #17605 - Pass max frame size to VertxServerWebSocketContainer
  • #17604 - Do not delete BrotliDecoder and let GraalVM DCE do it for us
  • #17601 - Preserve TCCL when using coroutines in RESTEasy Reactive
  • #17599 - Bump gradle jandex plugin version in test and doc
  • #17598 - Bump kubernetes-client-bom from 5.4.0 to 5.4.1
  • #17597 - Dev mode fails to reload classes when using reactive rest client with coroutines in Quarkus 2.0.0.CR2
  • #17590 - Update to GraphQL client user guide
  • #17585 - Use project's Quarkus version when resolving extension catalogs using a registry client
  • #17584 - Update to SmallRye JWT 3.2.0
  • #17580 - Create log file parent directories for @​QuarkusIntegrationTest
  • #17577 - gRPC: fail code generation gracefully on default java package
  • #17576 - Upgrade SmallRye OpenAPI to 2.1.5
  • #17575 - gRPC: support @​Blocking on class
  • #17574 - Create generic build item for DevServices native
  • #17573 - Continuous tests may not run for unit tests
  • #17572 - Propagate environment for CLI tests

... (truncated)

Commits
  • ca1e69e [RELEASE] - Bump version to 2.0.0.Final
  • 7cd1dff Fix Gradle repository URL
  • bab5dfd CLI: doc/help update; correct -P parsing
  • 1bbbe60 Fix dev mode compile issues
  • 8cdda6b Merge pull request #18090 from gsmet/2.0.0.final-backports-6
  • 78a9136 H2 DevServices should not attempt to stop a stopped server
  • 4e23423 Validate option for hibernate database generation
  • db377c3 Disable AvailableSettings.HBM2DDL_SCRIPTS_CREATE_APPEND
  • c507390 Upgrade to Hibernate ORM 5.5.3.Final
  • edc9daa Provide actionable message when @​QuarkusIntegrationTest is run before the Qua...
  • Additional commits viewable in compare view

Updates quarkus-maven-plugin from 1.13.7.Final to 2.0.0.Final

Updates quarkus-bootstrap-maven-plugin from 1.13.7.Final to 2.0.0.Final

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps `quarkus.version` from 1.13.7.Final to 2.0.0.Final.

Updates `quarkus-bom` from 1.13.7.Final to 2.0.0.Final
- [Release notes](https://github.com/quarkusio/quarkus/releases)
- [Commits](quarkusio/quarkus@1.13.7.Final...2.0.0.Final)

Updates `quarkus-maven-plugin` from 1.13.7.Final to 2.0.0.Final

Updates `quarkus-bootstrap-maven-plugin` from 1.13.7.Final to 2.0.0.Final

---
updated-dependencies:
- dependency-name: io.quarkus:quarkus-bom
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.quarkus:quarkus-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.quarkus:quarkus-bootstrap-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 23, 2021
@dufoli
Copy link
Contributor

dufoli commented Jun 23, 2021

@shumonsharif crap we have to work on native to fix quakus 2.0 release:

https://github.com/quarkusio/quarkus/wiki/Migration-Guide-2.0

Error: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Detected an instance of Random/SplittableRandom class in the image heap. Instances created during image generation have cached seed values and don't behave as expected. To see how this object got instantiated use --trace-object-instantiation=java.util.Random. The object was probably created by a class initializer and is reachable from a static field. You can request class initialization at image runtime by using the option --initialize-at-run-time=. Or you can write your own initialization methods and call them explicitly from your main entry point.
Detailed message:
Trace:
at parsing org.apache.cxf.attachment.AttachmentUtil.getUniqueBoundaryValue(AttachmentUtil.java:255)
Call path from entry point to org.apache.cxf.attachment.AttachmentUtil.getUniqueBoundaryValue():
at org.apache.cxf.attachment.AttachmentUtil.getUniqueBoundaryValue(AttachmentUtil.java:255)
at org.apache.cxf.attachment.AttachmentSerializer.writeProlog(AttachmentSerializer.java:82)
at org.apache.cxf.interceptor.AttachmentOutInterceptor.handleMessage(AttachmentOutInterceptor.java:91)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:831)
at org.apache.cxf.endpoint.ClientImpl$3$1.run(ClientImpl.java:923)
at java.lang.Thread.run(Thread.java:829)
at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:553)
at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
at com.oracle.svm.core.code.IsolateEnterStub.PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0)

com.oracle.svm.core.util.UserError$UserException: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Detected an instance of Random/SplittableRandom class in the image heap. Instances created during image generation have cached seed values and don't behave as expected. To see how this object got instantiated use --trace-object-instantiation=java.util.Random. The object was probably created by a class initializer and is reachable from a static field. You can request class initialization at image runtime by using the option --initialize-at-run-time=. Or you can write your own initialization methods and call them explicitly from your main entry point.
Detailed message:
Trace:
at parsing org.apache.cxf.attachment.AttachmentUtil.getUniqueBoundaryValue(AttachmentUtil.java:255)
Call path from entry point to org.apache.cxf.attachment.AttachmentUtil.getUniqueBoundaryValue():
at org.apache.cxf.attachment.AttachmentUtil.getUniqueBoundaryValue(AttachmentUtil.java:255)
at org.apache.cxf.attachment.AttachmentSerializer.writeProlog(AttachmentSerializer.java:82)
at org.apache.cxf.interceptor.AttachmentOutInterceptor.handleMessage(AttachmentOutInterceptor.java:91)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:831)
at org.apache.cxf.endpoint.ClientImpl$3$1.run(ClientImpl.java:923)
at java.lang.Thread.run(Thread.java:829)
at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:553)
at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
at com.oracle.svm.core.code.IsolateEnterStub.PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0)

at com.oracle.svm.core.util.UserError.abort(UserError.java:82)
at com.oracle.svm.hosted.FallbackFeature.reportAsFallback(FallbackFeature.java:233)
at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:798)
at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:582)
at com.oracle.svm.hosted.NativeImageGenerator.lambda$run$2(NativeImageGenerator.java:495)
at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1407)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

Caused by: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Detected an instance of Random/SplittableRandom class in the image heap. Instances created during image generation have cached seed values and don't behave as expected. To see how this object got instantiated use --trace-object-instantiation=java.util.Random. The object was probably created by a class initializer and is reachable from a static field. You can request class initialization at image runtime by using the option --initialize-at-run-time=. Or you can write your own initialization methods and call them explicitly from your main entry point.
Detailed message:
Trace:
at parsing org.apache.cxf.attachment.AttachmentUtil.getUniqueBoundaryValue(AttachmentUtil.java:255)
Call path from entry point to org.apache.cxf.attachment.AttachmentUtil.getUniqueBoundaryValue():
at org.apache.cxf.attachment.AttachmentUtil.getUniqueBoundaryValue(AttachmentUtil.java:255)
at org.apache.cxf.attachment.AttachmentSerializer.writeProlog(AttachmentSerializer.java:82)
at org.apache.cxf.interceptor.AttachmentOutInterceptor.handleMessage(AttachmentOutInterceptor.java:91)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:831)
at org.apache.cxf.endpoint.ClientImpl$3$1.run(ClientImpl.java:923)
at java.lang.Thread.run(Thread.java:829)
at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:553)
at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
at com.oracle.svm.core.code.IsolateEnterStub.PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0)

at com.oracle.graal.pointsto.constraints.UnsupportedFeatures.report(UnsupportedFeatures.java:126)
at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:795)
... 8 more

Caused by: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Detected an instance of Random/SplittableRandom class in the image heap. Instances created during image generation have cached seed values and don't behave as expected. To see how this object got instantiated use --trace-object-instantiation=java.util.Random. The object was probably created by a class initializer and is reachable from a static field. You can request class initialization at image runtime by using the option --initialize-at-run-time=. Or you can write your own initialization methods and call them explicitly from your main entry point.
at com.oracle.svm.hosted.image.DisallowedImageHeapObjectFeature.error(DisallowedImageHeapObjectFeature.java:163)
at com.oracle.svm.core.image.DisallowedImageHeapObjects.check(DisallowedImageHeapObjects.java:65)
at com.oracle.svm.hosted.image.DisallowedImageHeapObjectFeature.replacer(DisallowedImageHeapObjectFeature.java:139)
at com.oracle.graal.pointsto.meta.AnalysisUniverse.replaceObject(AnalysisUniverse.java:565)
at com.oracle.svm.hosted.ameta.AnalysisConstantReflectionProvider.replaceObject(AnalysisConstantReflectionProvider.java:213)
at com.oracle.svm.hosted.ameta.AnalysisConstantReflectionProvider.interceptValue(AnalysisConstantReflectionProvider.java:184)
at com.oracle.svm.hosted.ameta.AnalysisConstantReflectionProvider.readValue(AnalysisConstantReflectionProvider.java:98)
at com.oracle.svm.hosted.ameta.AnalysisConstantReflectionProvider.readFieldValue(AnalysisConstantReflectionProvider.java:77)
at jdk.internal.vm.compiler/org.graalvm.compiler.nodes.util.ConstantFoldUtil$1.readValue(ConstantFoldUtil.java:51)
at jdk.internal.vm.compiler/org.graalvm.compiler.core.common.spi.JavaConstantFieldProvider.readConstantField(JavaConstantFieldProvider.java:84)
at com.oracle.svm.hosted.ameta.AnalysisConstantFieldProvider.readConstantField(AnalysisConstantFieldProvider.java:70)
at jdk.internal.vm.compiler/org.graalvm.compiler.nodes.util.ConstantFoldUtil.tryConstantFold(ConstantFoldUtil.java:47)
at com.oracle.svm.hosted.phases.ConstantFoldLoadFieldPlugin.tryConstantFold(ConstantFoldLoadFieldPlugin.java:61)
at com.oracle.svm.hosted.phases.ConstantFoldLoadFieldPlugin.handleLoadStaticField(ConstantFoldLoadFieldPlugin.java:57)
at jdk.internal.vm.compiler/org.graalvm.compiler.java.BytecodeParser.genGetStatic(BytecodeParser.java:4972)
at jdk.internal.vm.compiler/org.graalvm.compiler.java.BytecodeParser.genGetStatic(BytecodeParser.java:4939)
at jdk.internal.vm.compiler/org.graalvm.compiler.java.BytecodeParser.processBytecode(BytecodeParser.java:5442)
at jdk.internal.vm.compiler/org.graalvm.compiler.java.BytecodeParser.iterateBytecodesForBlock(BytecodeParser.java:3451)
at jdk.internal.vm.compiler/org.graalvm.compiler.java.BytecodeParser.processBlock(BytecodeParser.java:3258)
at jdk.internal.vm.compiler/org.graalvm.compiler.java.BytecodeParser.build(BytecodeParser.java:1125)
at jdk.internal.vm.compiler/org.graalvm.compiler.java.BytecodeParser.buildRootMethod(BytecodeParser.java:1019)
at jdk.internal.vm.compiler/org.graalvm.compiler.java.GraphBuilderPhase$Instance.run(GraphBuilderPhase.java:84)
at com.oracle.svm.hosted.phases.SharedGraphBuilderPhase.run(SharedGraphBuilderPhase.java:76)
at jdk.internal.vm.compiler/org.graalvm.compiler.phases.Phase.run(Phase.java:49)
at jdk.internal.vm.compiler/org.graalvm.compiler.phases.BasePhase.apply(BasePhase.java:212)
at jdk.internal.vm.compiler/org.graalvm.compiler.phases.Phase.apply(Phase.java:42)
at jdk.internal.vm.compiler/org.graalvm.compiler.phases.Phase.apply(Phase.java:38)
at com.oracle.graal.pointsto.flow.AnalysisParsedGraph.parseBytecode(AnalysisParsedGraph.java:113)
at com.oracle.svm.hosted.SVMHost.parseBytecode(SVMHost.java:647)
at com.oracle.graal.pointsto.meta.AnalysisMethod.ensureGraphParsed(AnalysisMethod.java:592)
at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.parse(MethodTypeFlowBuilder.java:163)
at com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:304)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.createTypeFlow(MethodTypeFlow.java:313)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureTypeFlowCreated(MethodTypeFlow.java:302)
at com.oracle.graal.pointsto.flow.MethodTypeFlow.addContext(MethodTypeFlow.java:103)
at com.oracle.graal.pointsto.flow.StaticInvokeTypeFlow.update(InvokeTypeFlow.java:420)
at com.oracle.graal.pointsto.BigBang$2.run(BigBang.java:547)
at com.oracle.graal.pointsto.util.CompletionExecutor.lambda$execute$0(CompletionExecutor.java:173)
at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1426)

@shumonsharif
Copy link
Contributor

@dufoli some interesting results for this PR ...

Local build with GraalVM CE 21.0.0 (build 11.0.10+8-jvmci-21.0-b06) - PASS
Local build with GraalVM CE 21.1.0 (build 11.0.11+8-jvmci-21.1-b05) - FAIL
Container build with GraalVM 21.1.0 Java 11 CE (Java Version 11.0.11+8-jvmci-21.1-b05) - FAIL

I don't know if delaying ClientImpl to runtime is the right approach for this ... because we'll have to add a whole load of CXF classes to the delayed list?

@dufoli
Copy link
Contributor

dufoli commented Jun 24, 2021

@shumonsharif agreed, I just want to test.
2 option for me: substitute random....
it seems that this issue has been addressed on other extension:

quarkusio/quarkus#14904
it is related to graalvm 21.1

@dufoli
Copy link
Contributor

dufoli commented Jun 24, 2021

I will reopen an issue link to this one.
https://github.com/oracle/graal/pull/2993/files

I found that quarkus do runtime init class to fix that on all extension:
https://github.com/quarkusio/quarkus/pull/17660/files
https://github.com/quarkusio/quarkus/pull/15864/files

the goal is to have seed set at runtime to avoid fake random.

@dufoli dufoli linked an issue Jun 24, 2021 that may be closed by this pull request
@dufoli dufoli force-pushed the dependabot/maven/quarkus.version-2.0.0.Final branch from cd17809 to 7f64caa Compare June 25, 2021 10:44
@dufoli dufoli merged commit 8804dda into master Jun 25, 2021
@dufoli dufoli deleted the dependabot/maven/quarkus.version-2.0.0.Final branch June 25, 2021 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fails to build in graalvm 21.1
2 participants