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

Micrometer - rework interceptors #19069

Merged
merged 1 commit into from
Aug 1, 2021

Conversation

mkouba
Copy link
Contributor

@mkouba mkouba commented Jul 28, 2021

  • interceptors obtain the metadata from the interceptor bindings instead
    of InvocationContext.getMethod() and reflection; this makes it possible
    to reflect "synthetic" annotations added by extensions via annotation
    transformers
  • Timed is registered as an additional interceptor binding;
    MicrometerTimed is no longer necessary
  • repeatable Timed annotations are now supported
  • Counted cannot be registered as an additional interceptor binding
    because it's only applicable to methods

@quarkus-bot
Copy link

quarkus-bot bot commented Jul 28, 2021

/cc @ebullient, @kenfinnigan

@mkouba mkouba force-pushed the micrometer-timed-as-binding branch from f86fa57 to 5591b1b Compare July 29, 2021 18:59
@mkouba mkouba marked this pull request as ready for review July 29, 2021 18:59
@quarkus-bot
Copy link

quarkus-bot bot commented Jul 29, 2021

This workflow status is outdated as a new workflow run has been triggered.

Failing Jobs - Building 5591b1b

Status Name Step Test failures Logs Raw logs
JVM Tests - JDK 11 Build Test failures Logs Raw logs
JVM Tests - JDK 11 Windows Build Test failures Logs Raw logs
JVM Tests - JDK 16 Build Test failures Logs Raw logs
Native Tests - Messaging1 Build ⚠️ Check → Logs Raw logs
Native Tests - Misc4 Build Test failures Logs Raw logs

Full information is available in the Build summary check run.

Test Failures

⚙️ JVM Tests - JDK 11 #

📦 extensions/grpc/deployment

io.quarkus.grpc.server.ClientCallFromBlockingServiceTest. - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at ...

io.quarkus.grpc.server.GrpcHealthTest. - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at jdk.internal.reflect.GeneratedMethodAccessor380.invoke(Unknown Source)
	at java.bas...

io.quarkus.grpc.server.RegularGrpcServiceWithSSLFromClasspathTest. - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at ...

io.quarkus.grpc.server.devmode.GrpcDevModeTest.testEchoStreamReload - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResource...

📦 integration-tests/kafka-streams

io.quarkus.it.kafka.streams.KafkaStreamsStartupFailureTest.testShutdownBeforeKStreamsStarted - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at ...

📦 integration-tests/micrometer-mp-metrics

io.quarkus.it.micrometer.mpmetrics.MPMetricsTest.validateMetricsOutput_1 line 59 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Response body doesn't match expectation.
Expected: a string containing "io_quarkus_it_micrometer_mpmetrics_CountedInstance_CountedInstance_total{scope=\"application\",} 2.0"
  Actual: # HELP jvm_memory_committed_bytes The amount of memory in bytes that is committed for the Java virtual machine to use
# TYPE jvm_memory_committed_bytes gauge
jvm_memory_committed_bytes{area="nonheap",id="CodeHeap 'profiled nmethods'",} 1.572864E7
jvm_memory_committed_bytes{area="heap",id="G1 Survivor Space",} 1048576.0
jvm_memory_committed_bytes{area="heap",id="G1 Old Gen",} 1.82452224E8
jvm_memory_committed_bytes{area="nonheap",id="Metaspace",} 7.4104832E7
jvm_memory_committed_bytes{area="nonheap",id="CodeHeap 'non-nmethods'",} 2555904.0
jvm_memory_committed_bytes{area="heap",id="G1 Eden Space",} 2.02375168E8
jvm_memory_committed_bytes{area="nonheap",id="Compressed Class Space",} 9699328.0
jvm_memory_committed_bytes{area="nonheap",id="CodeHeap 'non-prof...

io.quarkus.it.micrometer.mpmetrics.MPMetricsTest.validateMetricsOutput_2 line 101 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Response body doesn't match expectation.
Expected: a string containing "io_quarkus_it_micrometer_mpmetrics_CountedInstance_countPrimes_total{scope=\"application\",} 2.0"
  Actual: # HELP jvm_memory_committed_bytes The amount of memory in bytes that is committed for the Java virtual machine to use
# TYPE jvm_memory_committed_bytes gauge
jvm_memory_committed_bytes{area="nonheap",id="CodeHeap 'profiled nmethods'",} 1.605632E7
jvm_memory_committed_bytes{area="heap",id="G1 Survivor Space",} 1048576.0
jvm_memory_committed_bytes{area="heap",id="G1 Old Gen",} 1.82452224E8
jvm_memory_committed_bytes{area="nonheap",id="Metaspace",} 7.5153408E7
jvm_memory_committed_bytes{area="nonheap",id="CodeHeap 'non-nmethods'",} 2555904.0
jvm_memory_committed_bytes{area="heap",id="G1 Eden Space",} 2.02375168E8
jvm_memory_committed_bytes{area="nonheap",id="Compressed Class Space",} 9961472.0
jvm_memory_committed_bytes{area="nonheap",id="CodeHeap 'non-profiled...

io.quarkus.it.micrometer.mpmetrics.MPMetricsTest.validateJsonOutput line 118 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path 'io.quarkus.it.micrometer.mpmetrics.CountedInstance.countPrimes;scope=application' doesn't match.
Expected: <2.0F>
  Actual: null

	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:72)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:59)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallS...

⚙️ JVM Tests - JDK 11 Windows #

📦 extensions/grpc/deployment

io.quarkus.grpc.client.BlockingStubInjectionTest. - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at ...

io.quarkus.grpc.client.ClientServiceInterfaceCompressionTest. - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at ...

io.quarkus.grpc.client.MutinyClientInjectionTest. - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at ...

io.quarkus.grpc.devconsole.DevConsoleUnaryMethodTest.websocketTest - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResource...

io.quarkus.grpc.metrics.MetricsDisabledTest. - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at ...

io.quarkus.grpc.server.NoServerTest. - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at jdk.internal.reflect.GeneratedMethodAccessor284.invoke(Unknown Source)
	at java.bas...

io.quarkus.grpc.server.devmode.GrpcDevModeTest.testReloadAfterRest - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResource...

📦 integration-tests/micrometer-mp-metrics

io.quarkus.it.micrometer.mpmetrics.MPMetricsTest.validateMetricsOutput_1 line 59 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Response body doesn't match expectation.
Expected: a string containing "io_quarkus_it_micrometer_mpmetrics_CountedInstance_CountedInstance_total{scope=\"application\",} 2.0"
  Actual: # HELP io_quarkus_it_micrometer_mpmetrics_InjectedInstance_valueRange Aggregate checked values
# TYPE io_quarkus_it_micrometer_mpmetrics_InjectedInstance_valueRange summary
io_quarkus_it_micrometer_mpmetrics_InjectedInstance_valueRange_count{scope="application",} 3.0
io_quarkus_it_micrometer_mpmetrics_InjectedInstance_valueRange_sum{scope="application",} 951.0
# HELP io_quarkus_it_micrometer_mpmetrics_InjectedInstance_valueRange_max Aggregate checked values
# TYPE io_quarkus_it_micrometer_mpmetrics_InjectedInstance_valueRange_max gauge
io_quarkus_it_micrometer_mpmetrics_InjectedInstance_valueRange_max{scope="application",} 887.0
# HELP jvm_gc_memory_promoted_bytes_total Count of positive increases in the size of the old generation memory pool before GC t...

io.quarkus.it.micrometer.mpmetrics.MPMetricsTest.validateMetricsOutput_2 line 101 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Response body doesn't match expectation.
Expected: a string containing "io_quarkus_it_micrometer_mpmetrics_CountedInstance_countPrimes_total{scope=\"application\",} 2.0"
  Actual: # HELP io_quarkus_it_micrometer_mpmetrics_InjectedInstance_valueRange Aggregate checked values
# TYPE io_quarkus_it_micrometer_mpmetrics_InjectedInstance_valueRange summary
io_quarkus_it_micrometer_mpmetrics_InjectedInstance_valueRange_count{scope="application",} 4.0
io_quarkus_it_micrometer_mpmetrics_InjectedInstance_valueRange_sum{scope="application",} 1851.0
# HELP io_quarkus_it_micrometer_mpmetrics_InjectedInstance_valueRange_max Aggregate checked values
# TYPE io_quarkus_it_micrometer_mpmetrics_InjectedInstance_valueRange_max gauge
io_quarkus_it_micrometer_mpmetrics_InjectedInstance_valueRange_max{scope="application",} 900.0
# HELP jvm_gc_memory_promoted_bytes_total Count of positive increases in the size of the old generation memory pool before GC to a...

io.quarkus.it.micrometer.mpmetrics.MPMetricsTest.validateJsonOutput line 118 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path 'io.quarkus.it.micrometer.mpmetrics.CountedInstance.countPrimes;scope=application' doesn't match.
Expected: <2.0F>
  Actual: null

	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:72)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:59)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallS...

⚙️ JVM Tests - JDK 16 #

📦 extensions/grpc/deployment

io.quarkus.grpc.client.interceptors.ClientInterceptorPriorityTest. - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at jdk.internal.reflect.GeneratedMethodAccessor363.invoke(Unknown Source)
	at java.bas...

io.quarkus.grpc.server.GrpcHealthTest. - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at jdk.internal.reflect.GeneratedMethodAccessor363.invoke(Unknown Source)
	at java.bas...

io.quarkus.grpc.server.MutinyGrpcServiceWithSSLTest. - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at jdk.internal.reflect.GeneratedMethodAccessor363.invoke(Unknown Source)
	at java.bas...

io.quarkus.grpc.server.blocking.BlockingMethodsTest. - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at ...

io.quarkus.grpc.server.devmode.GrpcDevModeTest.testSingleReload - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResource...

io.quarkus.grpc.server.devmode.GrpcDevModeTest.testProtoFileChangeReload - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResource...

📦 integration-tests/kafka-devservices

io.quarkus.it.kafka.KafkaAdminTest.health - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at ...

📦 integration-tests/kafka-snappy

io.quarkus.it.kafka.KafkaSnappyConsumerTest.test - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at ...

📦 integration-tests/kafka-ssl

io.quarkus.it.kafka.SslKafkaConsumerTest.testReception - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at ...

📦 integration-tests/kafka-streams

io.quarkus.it.kafka.streams.KafkaStreamsStartupFailureTest.testShutdownBeforeKStreamsStarted - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at ...

📦 integration-tests/kafka

io.quarkus.it.kafka.KafkaCodecTest.testJsonbCodecWithList - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at ...

📦 integration-tests/micrometer-mp-metrics

io.quarkus.it.micrometer.mpmetrics.MPMetricsTest.validateMetricsOutput_1 line 59 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Response body doesn't match expectation.
Expected: a string containing "io_quarkus_it_micrometer_mpmetrics_CountedInstance_CountedInstance_total{scope=\"application\",} 2.0"
  Actual: # HELP jvm_memory_committed_bytes The amount of memory in bytes that is committed for the Java virtual machine to use
# TYPE jvm_memory_committed_bytes gauge
jvm_memory_committed_bytes{area="nonheap",id="CodeHeap 'profiled nmethods'",} 1.2058624E7
jvm_memory_committed_bytes{area="heap",id="G1 Survivor Space",} 1048576.0
jvm_memory_committed_bytes{area="heap",id="G1 Old Gen",} 1.048576E8
jvm_memory_committed_bytes{area="nonheap",id="Metaspace",} 6.2062592E7
jvm_memory_committed_bytes{area="nonheap",id="CodeHeap 'non-nmethods'",} 2555904.0
jvm_memory_committed_bytes{area="heap",id="G1 Eden Space",} 1.05906176E8
jvm_memory_committed_bytes{area="nonheap",id="Compressed Class Space",} 7667712.0
jvm_memory_committed_bytes{area="nonheap",id="CodeHeap 'non-profi...

io.quarkus.it.micrometer.mpmetrics.MPMetricsTest.validateMetricsOutput_2 line 101 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Response body doesn't match expectation.
Expected: a string containing "io_quarkus_it_micrometer_mpmetrics_CountedInstance_countPrimes_total{scope=\"application\",} 2.0"
  Actual: # HELP jvm_memory_committed_bytes The amount of memory in bytes that is committed for the Java virtual machine to use
# TYPE jvm_memory_committed_bytes gauge
jvm_memory_committed_bytes{area="nonheap",id="CodeHeap 'profiled nmethods'",} 1.2058624E7
jvm_memory_committed_bytes{area="heap",id="G1 Survivor Space",} 1048576.0
jvm_memory_committed_bytes{area="heap",id="G1 Old Gen",} 1.048576E8
jvm_memory_committed_bytes{area="nonheap",id="Metaspace",} 6.2783488E7
jvm_memory_committed_bytes{area="nonheap",id="CodeHeap 'non-nmethods'",} 2555904.0
jvm_memory_committed_bytes{area="heap",id="G1 Eden Space",} 1.05906176E8
jvm_memory_committed_bytes{area="nonheap",id="Compressed Class Space",} 7864320.0
jvm_memory_committed_bytes{area="nonheap",id="CodeHeap 'non-profiled ...

io.quarkus.it.micrometer.mpmetrics.MPMetricsTest.validateJsonOutput line 118 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path 'io.quarkus.it.micrometer.mpmetrics.CountedInstance.countPrimes;scope=application' doesn't match.
Expected: <2.0F>
  Actual: null

	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:78)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:72)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite...

📦 integration-tests/micrometer-prometheus

io.quarkus.it.micrometer.prometheus.ExampleResourcesTest.testTimerExample - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at ...

⚙️ Native Tests - Misc4 #

📦 integration-tests/micrometer-mp-metrics

io.quarkus.it.micrometer.mpmetrics.MPMetricsIT.validateMetricsOutput_1 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Response body doesn't match expectation.
Expected: a string containing "io_quarkus_it_micrometer_mpmetrics_CountedInstance_CountedInstance_total{scope=\"application\",} 2.0"
  Actual: # HELP io_quarkus_it_micrometer_mpmetrics_PrimeResource_PrimeResource_total  
# TYPE io_quarkus_it_micrometer_mpmetrics_PrimeResource_PrimeResource_total counter
io_quarkus_it_micrometer_mpmetrics_PrimeResource_PrimeResource_total{scope="application",} 1.0
# HELP system_cpu_count The number of processors available to the Java virtual machine
# TYPE system_cpu_count gauge
system_cpu_count 2.0
# HELP io_quarkus_it_micrometer_mpmetrics_InjectedInstance_valueRange Aggregate checked values
# TYPE io_quarkus_it_micrometer_mpmetrics_InjectedInstance_valueRange summary
io_quarkus_it_micrometer_mpmetrics_InjectedInstance_valueRange_count{scope="application",} 3.0
io_quarkus_it_micrometer_mpmetrics_InjectedInstance_valueRange_sum{scope="application",} 951.0
# HELP...

io.quarkus.it.micrometer.mpmetrics.MPMetricsIT.validateMetricsOutput_2 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Response body doesn't match expectation.
Expected: a string containing "io_quarkus_it_micrometer_mpmetrics_CountedInstance_countPrimes_total{scope=\"application\",} 2.0"
  Actual: # HELP io_quarkus_it_micrometer_mpmetrics_PrimeResource_PrimeResource_total  
# TYPE io_quarkus_it_micrometer_mpmetrics_PrimeResource_PrimeResource_total counter
io_quarkus_it_micrometer_mpmetrics_PrimeResource_PrimeResource_total{scope="application",} 1.0
# HELP system_cpu_count The number of processors available to the Java virtual machine
# TYPE system_cpu_count gauge
system_cpu_count 2.0
# HELP io_quarkus_it_micrometer_mpmetrics_InjectedInstance_valueRange Aggregate checked values
# TYPE io_quarkus_it_micrometer_mpmetrics_InjectedInstance_valueRange summary
io_quarkus_it_micrometer_mpmetrics_InjectedInstance_valueRange_count{scope="application",} 4.0
io_quarkus_it_micrometer_mpmetrics_InjectedInstance_valueRange_sum{scope="application",} 1851.0
# HELP io...

io.quarkus.it.micrometer.mpmetrics.MPMetricsIT.validateJsonOutput - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path 'io.quarkus.it.micrometer.mpmetrics.CountedInstance.countPrimes;scope=application' doesn't match.
Expected: <2.0F>
  Actual: null

	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:72)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:59)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallS...

@mkouba mkouba force-pushed the micrometer-timed-as-binding branch from 5591b1b to dd613eb Compare July 30, 2021 07:46
@quarkus-bot quarkus-bot bot added the area/arc Issue related to ARC (dependency injection) label Jul 30, 2021
@mkouba mkouba requested a review from ebullient July 30, 2021 07:48
@quarkus-bot
Copy link

quarkus-bot bot commented Jul 30, 2021

This workflow status is outdated as a new workflow run has been triggered.

Failing Jobs - Building dd613eb

Status Name Step Test failures Logs Raw logs
Gradle Tests - JDK 11 Windows Build ⚠️ Check → Logs Raw logs
JVM Tests - JDK 11 Build ⚠️ Check → Logs Raw logs
JVM Tests - JDK 11 Windows Build Test failures Logs Raw logs
JVM Tests - JDK 16 Build Test failures Logs Raw logs
Native Tests - Messaging1 Build ⚠️ Check → Logs Raw logs

Full information is available in the Build summary check run.

⚠️ Errors occurred while downloading the Surefire reports. This report is incomplete.

Test Failures

⚙️ JVM Tests - JDK 11 Windows #

📦 extensions/grpc/deployment

io.quarkus.grpc.client.ClientServiceInterfaceCompressionTest. - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at ...

io.quarkus.grpc.client.MutipleStubsInjectionTest. - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at ...

io.quarkus.grpc.server.MutinyGrpcServiceWithPlainTextTest. - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at jdk.internal.reflect.GeneratedMethodAccessor300.invoke(Unknown Source)
	at java.bas...

io.quarkus.grpc.server.MutinyGrpcServiceWithSSLTest. - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at jdk.internal.reflect.GeneratedMethodAccessor300.invoke(Unknown Source)
	at java.bas...

io.quarkus.grpc.server.RegularGrpcServiceWithPlainTextTest. - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at jdk.internal.reflect.GeneratedMethodAccessor300.invoke(Unknown Source)
	at java.bas...

io.quarkus.grpc.server.blocking.BlockingOnClassTest. - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at jdk.internal.reflect.GeneratedMethodAccessor300.invoke(Unknown Source)
	at java.bas...

io.quarkus.grpc.server.devmode.GrpcDevModeTest.testSingleReload - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResource...

io.quarkus.grpc.server.scaling.SingleGrpcVerticleTest. - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at jdk.internal.reflect.GeneratedMethodAccessor300.invoke(Unknown Source)
	at java.bas...

⚙️ JVM Tests - JDK 16 #

📦 extensions/grpc/deployment

io.quarkus.grpc.client.ChannelInjectionTest. - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at jdk.internal.reflect.GeneratedMethodAccessor395.invoke(Unknown Source)
	at java.bas...

io.quarkus.grpc.client.ClientWithoutConfigInjectionTest. - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at jdk.internal.reflect.GeneratedMethodAccessor395.invoke(Unknown Source)
	at java.bas...

io.quarkus.grpc.devconsole.DevConsoleUnaryMethodTest.websocketTest - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResource...

io.quarkus.grpc.server.GrpcServerTest. - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at jdk.internal.reflect.GeneratedMethodAccessor395.invoke(Unknown Source)
	at java.bas...

📦 integration-tests/kafka-devservices

io.quarkus.it.kafka.KafkaAdminTest.health - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at ...

📦 integration-tests/kafka-snappy

io.quarkus.it.kafka.KafkaSnappyConsumerTest.test - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at ...

📦 integration-tests/kafka-streams

io.quarkus.it.kafka.streams.KafkaStreamsStartupFailureTest.testShutdownBeforeKStreamsStarted - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at ...

📦 integration-tests/main

io.quarkus.it.main.ApplicationInfoTestCase.testConfigPropertiesProperlyInjected - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at ...

io.quarkus.it.main.GreetingProfileTestCase.testPortTakesEffect - More details - Source on GitHub

java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#generateResources threw an exception: java.lang.IllegalStateException: Value is not set for io.micrometer.core.annotation.Timed.value(). Most probably an older version of Jandex was used to index an application dependency. Make sure that Jandex 2.1+ is used.
	at io.quarkus.arc.processor.AnnotationLiteralProcessor.process(AnnotationLiteralProcessor.java:77)
	at io.quarkus.arc.processor.InterceptorGenerator.createConstructor(InterceptorGenerator.java:139)
	at io.quarkus.arc.processor.InterceptorGenerator.generate(InterceptorGenerator.java:96)
	at io.quarkus.arc.processor.BeanProcessor.generateResources(BeanProcessor.java:177)
	at io.quarkus.arc.deployment.ArcProcessor.generateResources(ArcProcessor.java:457)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at ...

@mkouba mkouba added this to the 2.2 - main milestone Jul 30, 2021
- interceptors obtain the metadata from the interceptor bindings instead
of InvocationContext.getMethod() and reflection; this makes it possible
to reflect "synthetic" annotations added by extensions via annotation
transformers
- Timed is registered as an additional interceptor binding;
MicrometerTimed is no longer necessary
- repeatable Timed annotations are now supported
- Counted cannot be registered as an additional interceptor binding
because it's only applicable to methods
- also enhanced the ArcInvocationContext to easily find interceptor binding
annotations of a given type
@mkouba mkouba force-pushed the micrometer-timed-as-binding branch from dd613eb to cd49175 Compare July 30, 2021 14:22
@mkouba
Copy link
Contributor Author

mkouba commented Jul 30, 2021

@ebullient I think that this PR is ready for final review ;-).

@ebullient ebullient merged commit 3584f4c into quarkusio:main Aug 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/arc Issue related to ARC (dependency injection) area/metrics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants