Skip to content

Instantly share code, notes, and snippets.

@Karm

Karm/log.log Secret

Created October 13, 2020 20:10
Show Gist options
  • Save Karm/85b8a1cd46b3c0764ef2ef3f64adf439 to your computer and use it in GitHub Desktop.
Save Karm/85b8a1cd46b3c0764ef2ef3f64adf439 to your computer and use it in GitHub Desktop.
Micrometer mp native-imag efailure with Mandrel 20.1.0.2.Final
[INFO] Scanning for projects...
[INFO]
[INFO] -----< io.quarkus:quarkus-integration-test-micrometer-mp-metrics >------
[INFO] Building Quarkus - Integration Tests - Micrometer MP Metrics 1.9.0.CR1
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce) @ quarkus-integration-test-micrometer-mp-metrics ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-java-version) @ quarkus-integration-test-micrometer-mp-metrics ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven-version) @ quarkus-integration-test-micrometer-mp-metrics ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-deployment-deps) @ quarkus-integration-test-micrometer-mp-metrics ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.4:create (get-scm-revision) @ quarkus-integration-test-micrometer-mp-metrics ---
[INFO] Executing: /bin/sh -c cd '/tmp/smallrye/quarkus/integration-tests/micrometer-mp-metrics' && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: /tmp/smallrye/quarkus/integration-tests/micrometer-mp-metrics
[INFO] Storing buildNumber: f01dda7f8540194a9c26d9e11e5907fd88d0f3eb at timestamp: 1602619183339
[WARNING] Cannot get the branch information from the git repository:
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref
[INFO] Executing: /bin/sh -c cd '/tmp/smallrye/quarkus/integration-tests/micrometer-mp-metrics' && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: /tmp/smallrye/quarkus/integration-tests/micrometer-mp-metrics
[INFO] Storing buildScmBranch: UNKNOWN
[INFO]
[INFO] --- formatter-maven-plugin:2.13.0:validate (default) @ quarkus-integration-test-micrometer-mp-metrics ---
[INFO] Using 'UTF-8' encoding to format source files.
[INFO] Number of files to be formatted: 6
[INFO] Successfully formatted: 0 file(s)
[INFO] Fail to format: 0 file(s)
[INFO] Skipped: 6 file(s)
[INFO] Read only skipped: 0 file(s)
[INFO] Approximate time taken: 0s
[INFO]
[INFO] --- impsort-maven-plugin:1.4.1:check (check-imports) @ quarkus-integration-test-micrometer-mp-metrics ---
[INFO] Total Files Processed: 6 in 00:00.248
[INFO] Already Sorted: 6
[INFO] Needed Sorting: 0
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ quarkus-integration-test-micrometer-mp-metrics ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1-jboss-1:compile (default-compile) @ quarkus-integration-test-micrometer-mp-metrics ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ quarkus-integration-test-micrometer-mp-metrics ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /tmp/smallrye/quarkus/integration-tests/micrometer-mp-metrics/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1-jboss-1:testCompile (default-testCompile) @ quarkus-integration-test-micrometer-mp-metrics ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ quarkus-integration-test-micrometer-mp-metrics ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running io.quarkus.it.micrometer.mpmetrics.MPMetricsTest
2020-10-13 21:59:46,206 WARN [io.qua.mic.dep.bin.mpm.AnnotationHandler] (build-18) Method checkPrime of bean io.quarkus.it.micrometer.mpmetrics.PrimeResource is both counted and timed. The @Counted annotation will be suppressed in favor of the count emitted by the timer.
2020-10-13 21:59:46,207 ERROR [io.qua.mic.dep.bin.mpm.AnnotationHandler] (build-18) A declared bean uses the @Metric annotation with a @Producer field or method, which is not compatible with micrometer support. The annotation target will be ignored. (org.eclipse.microprofile.metrics.Gauge<java.lang.Integer> io.quarkus.it.micrometer.mpmetrics.InjectedInstance.createGauge - 290074011)
2020-10-13 21:59:46,261 WARN [io.qua.mic.dep.bin.mpm.MicroprofileMetricsProcessor] (build-3) This application uses the MP Metrics API. The micrometer extension currently provides a compatibility layer that supports the MP Metrics API, but metric names and recorded values will be different. Note that the MP Metrics compatibility layer will move to a different extension in the future.
2020-10-13 21:59:47,188 INFO [io.quarkus] (main) Quarkus 1.9.0.CR1 on JVM started in 1.684s. Listening on: http://0.0.0.0:8081
2020-10-13 21:59:47,188 INFO [io.quarkus] (main) Profile test activated.
2020-10-13 21:59:47,188 INFO [io.quarkus] (main) Installed features: [cdi, micrometer, resteasy, resteasy-jackson]
# HELP jvm_threads_states_threads The current number of threads having NEW state
# TYPE jvm_threads_states_threads gauge
jvm_threads_states_threads{state="runnable",} 29.0
jvm_threads_states_threads{state="blocked",} 0.0
jvm_threads_states_threads{state="waiting",} 11.0
jvm_threads_states_threads{state="timed-waiting",} 4.0
jvm_threads_states_threads{state="new",} 0.0
jvm_threads_states_threads{state="terminated",} 0.0
# HELP jvm_gc_memory_promoted_bytes_total Count of positive increases in the size of the old generation memory pool before GC to after GC
# TYPE jvm_gc_memory_promoted_bytes_total counter
jvm_gc_memory_promoted_bytes_total 5.63670904E8
# HELP io_quarkus_it_micrometer_mpmetrics_CountedInstance_countPrimes_total called for each discovered prime number
# TYPE io_quarkus_it_micrometer_mpmetrics_CountedInstance_countPrimes_total counter
io_quarkus_it_micrometer_mpmetrics_CountedInstance_countPrimes_total{scope="application",} 2.0
# HELP http_server_bytes_written_max
# TYPE http_server_bytes_written_max gauge
http_server_bytes_written_max 11682.0
# HELP http_server_bytes_written
# TYPE http_server_bytes_written summary
http_server_bytes_written_count 5.0
http_server_bytes_written_sum 11781.0
# HELP jvm_classes_loaded_classes The number of classes that are currently loaded in the Java virtual machine
# TYPE jvm_classes_loaded_classes gauge
jvm_classes_loaded_classes 10426.0
# HELP jvm_gc_pause_seconds Time spent in GC pause
# TYPE jvm_gc_pause_seconds summary
jvm_gc_pause_seconds_count{action="end of minor GC",cause="G1 Evacuation Pause",} 7.0
jvm_gc_pause_seconds_sum{action="end of minor GC",cause="G1 Evacuation Pause",} 0.172
# HELP jvm_gc_pause_seconds_max Time spent in GC pause
# TYPE jvm_gc_pause_seconds_max gauge
jvm_gc_pause_seconds_max{action="end of minor GC",cause="G1 Evacuation Pause",} 0.064
# HELP jvm_gc_memory_allocated_bytes_total Incremented for an increase in the size of the young generation memory pool after one GC to before the next
# TYPE jvm_gc_memory_allocated_bytes_total counter
jvm_gc_memory_allocated_bytes_total 1.254096896E9
# 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 jvm_memory_max_bytes The maximum amount of memory in bytes that can be used for memory management
# TYPE jvm_memory_max_bytes gauge
jvm_memory_max_bytes{area="nonheap",id="CodeHeap 'profiled nmethods'",} 1.22908672E8
jvm_memory_max_bytes{area="heap",id="G1 Survivor Space",} -1.0
jvm_memory_max_bytes{area="heap",id="G1 Old Gen",} 8.321499136E9
jvm_memory_max_bytes{area="nonheap",id="Metaspace",} -1.0
jvm_memory_max_bytes{area="nonheap",id="CodeHeap 'non-nmethods'",} 5836800.0
jvm_memory_max_bytes{area="heap",id="G1 Eden Space",} -1.0
jvm_memory_max_bytes{area="nonheap",id="Compressed Class Space",} 1.073741824E9
jvm_memory_max_bytes{area="nonheap",id="CodeHeap 'non-profiled nmethods'",} 1.22912768E8
# HELP jvm_gc_overhead_percent An approximation of the percent of CPU time used by GC activities over the last lookback period or since monitoring began, whichever is shorter, in the range [0..1]
# TYPE jvm_gc_overhead_percent gauge
jvm_gc_overhead_percent 0.07766939007368631
# 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.2713984E7
jvm_memory_committed_bytes{area="heap",id="G1 Survivor Space",} 3.145728E7
jvm_memory_committed_bytes{area="heap",id="G1 Old Gen",} 9.08066816E8
jvm_memory_committed_bytes{area="nonheap",id="Metaspace",} 6.6060288E7
jvm_memory_committed_bytes{area="nonheap",id="CodeHeap 'non-nmethods'",} 2555904.0
jvm_memory_committed_bytes{area="heap",id="G1 Eden Space",} 2.01326592E8
jvm_memory_committed_bytes{area="nonheap",id="Compressed Class Space",} 8650752.0
jvm_memory_committed_bytes{area="nonheap",id="CodeHeap 'non-profiled nmethods'",} 3670016.0
# HELP jvm_threads_live_threads The current number of live threads including both daemon and non-daemon threads
# TYPE jvm_threads_live_threads gauge
jvm_threads_live_threads 44.0
# HELP process_uptime_seconds The uptime of the Java virtual machine
# TYPE process_uptime_seconds gauge
process_uptime_seconds 4.595
# HELP jvm_buffer_memory_used_bytes An estimate of the memory that the Java virtual machine is using for this buffer pool
# TYPE jvm_buffer_memory_used_bytes gauge
jvm_buffer_memory_used_bytes{id="mapped",} 0.0
jvm_buffer_memory_used_bytes{id="direct",} 615845.0
# HELP http_server_requests_seconds
# TYPE http_server_requests_seconds summary
http_server_requests_seconds_count{method="GET",outcome="SUCCESS",status="200",uri="/prime/{number}",} 4.0
http_server_requests_seconds_sum{method="GET",outcome="SUCCESS",status="200",uri="/prime/{number}",} 0.56509261
http_server_requests_seconds_count{method="GET",outcome="SUCCESS",status="200",uri="/metrics",} 1.0
http_server_requests_seconds_sum{method="GET",outcome="SUCCESS",status="200",uri="/metrics",} 0.288654096
# HELP http_server_requests_seconds_max
# TYPE http_server_requests_seconds_max gauge
http_server_requests_seconds_max{method="GET",outcome="SUCCESS",status="200",uri="/prime/{number}",} 0.361781326
http_server_requests_seconds_max{method="GET",outcome="SUCCESS",status="200",uri="/metrics",} 0.288654096
# HELP system_cpu_usage The "recent cpu usage" for the whole system
# TYPE system_cpu_usage gauge
system_cpu_usage 0.32019704433497537
# HELP io_quarkus_it_micrometer_mpmetrics_InjectedInstance_notPrime_total Count the number of not prime numbers
# TYPE io_quarkus_it_micrometer_mpmetrics_InjectedInstance_notPrime_total counter
io_quarkus_it_micrometer_mpmetrics_InjectedInstance_notPrime_total{scope="application",} 2.0
# HELP process_cpu_usage The "recent cpu usage" for the Java Virtual Machine process
# TYPE process_cpu_usage gauge
process_cpu_usage 0.2561576354679803
# HELP highestPrimeNumberSoFar Highest prime number so far.
# TYPE highestPrimeNumberSoFar gauge
highestPrimeNumberSoFar 887.0
# HELP jvm_threads_peak_threads The peak live thread count since the Java virtual machine started or peak was reset
# TYPE jvm_threads_peak_threads gauge
jvm_threads_peak_threads 44.0
# HELP jvm_buffer_count_buffers An estimate of the number of buffers in the pool
# TYPE jvm_buffer_count_buffers gauge
jvm_buffer_count_buffers{id="mapped",} 0.0
jvm_buffer_count_buffers{id="direct",} 19.0
# HELP jvm_threads_daemon_threads The current number of live daemon threads
# TYPE jvm_threads_daemon_threads gauge
jvm_threads_daemon_threads 18.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_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 io_quarkus_it_micrometer_mpmetrics_PrimeResource_checksTimer_seconds Measure how long it takes to perform the primality test.
# TYPE io_quarkus_it_micrometer_mpmetrics_PrimeResource_checksTimer_seconds summary
io_quarkus_it_micrometer_mpmetrics_PrimeResource_checksTimer_seconds_count{scope="application",} 4.0
io_quarkus_it_micrometer_mpmetrics_PrimeResource_checksTimer_seconds_sum{scope="application",} 0.399316232
# HELP io_quarkus_it_micrometer_mpmetrics_PrimeResource_checksTimer_seconds_max Measure how long it takes to perform the primality test.
# TYPE io_quarkus_it_micrometer_mpmetrics_PrimeResource_checksTimer_seconds_max gauge
io_quarkus_it_micrometer_mpmetrics_PrimeResource_checksTimer_seconds_max{scope="application",} 0.202253914
# HELP jvm_memory_usage_after_gc_percent The percentage of old gen heap used after the last GC event, in the range [0..1]
# TYPE jvm_memory_usage_after_gc_percent gauge
jvm_memory_usage_after_gc_percent{area="heap",generation="old",} 0.07106854838709678
# HELP jvm_classes_unloaded_classes_total The total number of classes unloaded since the Java virtual machine has started execution
# TYPE jvm_classes_unloaded_classes_total counter
jvm_classes_unloaded_classes_total 23.0
# HELP jvm_info JVM version info
# TYPE jvm_info gauge
jvm_info{runtime="OpenJDK Runtime Environment",vendor="Oracle Corporation",version="11.0.9-ea+10",} 1.0
# HELP system_load_average_1m The sum of the number of runnable entities queued to available processors and the number of runnable entities running on the available processors averaged over a period of time
# TYPE system_load_average_1m gauge
system_load_average_1m 1.9
# HELP process_files_open_files The open file descriptor count
# TYPE process_files_open_files gauge
process_files_open_files 302.0
# HELP jvm_buffer_total_capacity_bytes An estimate of the total capacity of the buffers in this pool
# TYPE jvm_buffer_total_capacity_bytes gauge
jvm_buffer_total_capacity_bytes{id="mapped",} 0.0
jvm_buffer_total_capacity_bytes{id="direct",} 624035.0
# HELP jvm_gc_live_data_size_bytes Size of old generation memory pool after a full GC
# TYPE jvm_gc_live_data_size_bytes gauge
jvm_gc_live_data_size_bytes 0.0
# HELP process_files_max_files The maximum file descriptor count
# TYPE process_files_max_files gauge
process_files_max_files 262144.0
# HELP jvm_gc_max_data_size_bytes Max size of old generation memory pool
# TYPE jvm_gc_max_data_size_bytes gauge
jvm_gc_max_data_size_bytes 8.321499136E9
# HELP jvm_memory_used_bytes The amount of used memory
# TYPE jvm_memory_used_bytes gauge
jvm_memory_used_bytes{area="nonheap",id="CodeHeap 'profiled nmethods'",} 1.2653056E7
jvm_memory_used_bytes{area="heap",id="G1 Survivor Space",} 3.145728E7
jvm_memory_used_bytes{area="heap",id="G1 Old Gen",} 5.91396864E8
jvm_memory_used_bytes{area="nonheap",id="Metaspace",} 6.3173184E7
jvm_memory_used_bytes{area="nonheap",id="CodeHeap 'non-nmethods'",} 2303744.0
jvm_memory_used_bytes{area="heap",id="G1 Eden Space",} 1.048576E7
jvm_memory_used_bytes{area="nonheap",id="Compressed Class Space",} 7499824.0
jvm_memory_used_bytes{area="nonheap",id="CodeHeap 'non-profiled nmethods'",} 3624192.0
# HELP http_server_connections_seconds_max
# TYPE http_server_connections_seconds_max gauge
http_server_connections_seconds_max 0.561472603
# HELP http_server_connections_seconds
# TYPE http_server_connections_seconds summary
http_server_connections_seconds_active_count 4.0
http_server_connections_seconds_duration_sum 0.932520321
# HELP io_quarkus_it_micrometer_mpmetrics_PrimeResource_checkIfPrime active calls to checkIfPrime
# TYPE io_quarkus_it_micrometer_mpmetrics_PrimeResource_checkIfPrime gauge
io_quarkus_it_micrometer_mpmetrics_PrimeResource_checkIfPrime{scope="application",} 0.0
# HELP io_quarkus_it_micrometer_mpmetrics_CountedInstance_CountedInstance_total called for each discovered prime number
# TYPE io_quarkus_it_micrometer_mpmetrics_CountedInstance_CountedInstance_total counter
io_quarkus_it_micrometer_mpmetrics_CountedInstance_CountedInstance_total{scope="application",} 2.0
# HELP http_server_bytes_read
# TYPE http_server_bytes_read summary
http_server_bytes_read_count 5.0
http_server_bytes_read_sum 0.0
# HELP http_server_bytes_read_max
# TYPE http_server_bytes_read_max gauge
http_server_bytes_read_max 0.0
# HELP process_start_time_seconds Start time of the process since unix epoch.
# TYPE process_start_time_seconds gauge
process_start_time_seconds 1.602619184617E9
# HELP system_cpu_count The number of processors available to the Java virtual machine
# TYPE system_cpu_count gauge
system_cpu_count 12.0
{
"io.quarkus.it.micrometer.mpmetrics.InjectedInstance.notPrime;scope=application": 2.0,
"jvm.gc.memory.promoted": 563670904,
"jvm.gc.memory.allocated": 1254096896,
"io.quarkus.it.micrometer.mpmetrics.PrimeResource.PrimeResource;scope=application": 1.0,
"io.quarkus.it.micrometer.mpmetrics.CountedInstance.countPrimes;scope=application": 2.0,
"io.quarkus.it.micrometer.mpmetrics.CountedInstance.CountedInstance;scope=application": 2.0,
"jvm.memory.max;area=nonheap;id=Metaspace": -1.0,
"jvm.buffer.count;id=mapped": 0.0,
"jvm.memory.used;area=nonheap;id=Compressed Class Space": 7535184.0,
"process.files.max": 262144.0,
"jvm.threads.states;state=timed-waiting": 4.0,
"jvm.memory.used;area=nonheap;id=Metaspace": 63480848,
"jvm.memory.used;area=heap;id=G1 Old Gen": 591396864,
"jvm.memory.committed;area=nonheap;id=Metaspace": 66453504,
"jvm.memory.used;area=heap;id=G1 Survivor Space": 3.145728E+7,
"jvm.buffer.count;id=direct": 22.0,
"jvm.memory.max;area=heap;id=G1 Survivor Space": -1.0,
"jvm.memory.used;area=nonheap;id=CodeHeap 'non-nmethods'": 2291840.0,
"jvm.memory.committed;area=nonheap;id=CodeHeap 'profiled nmethods'": 12845056,
"jvm.memory.max;area=nonheap;id=CodeHeap 'non-nmethods'": 5836800.0,
"jvm.memory.max;area=nonheap;id=CodeHeap 'non-profiled nmethods'": 122912768,
"jvm.gc.live.data.size": 0.0,
"jvm.gc.overhead": 0.07615577267112755,
"jvm.threads.states;state=blocked": 0.0,
"jvm.memory.committed;area=nonheap;id=CodeHeap 'non-profiled nmethods'": 3670016.0,
"jvm.buffer.memory.used;id=direct": 656805.0,
"process.files.open": 304.0,
"jvm.buffer.total.capacity;id=direct": 656803.0,
"jvm_info;runtime=OpenJDK Runtime Environment;vendor=Oracle Corporation;version=11.0.9-ea+10": 1.0,
"jvm.memory.usage.after.gc;area=heap;generation=old": 0.07106854838709678,
"jvm.memory.max;area=nonheap;id=CodeHeap 'profiled nmethods'": 122908672,
"jvm.threads.states;state=new": 0.0,
"system.load.average.1m": 1.9,
"jvm.memory.committed;area=heap;id=G1 Eden Space": 201326592,
"jvm.buffer.total.capacity;id=mapped": 0.0,
"highestPrimeNumberSoFar": 887.0,
"jvm.memory.max;area=nonheap;id=Compressed Class Space": 1073741824,
"jvm.memory.committed;area=heap;id=G1 Survivor Space": 3.145728E+7,
"io.quarkus.it.micrometer.mpmetrics.PrimeResource.checkIfPrime;scope=application": 0.0,
"jvm.threads.states;state=runnable": 29.0,
"jvm.memory.used;area=nonheap;id=CodeHeap 'non-profiled nmethods'": 3656192.0,
"jvm.classes.loaded": 10472.0,
"jvm.memory.committed;area=nonheap;id=CodeHeap 'non-nmethods'": 2555904.0,
"jvm.threads.daemon": 18.0,
"jvm.memory.committed;area=heap;id=G1 Old Gen": 908066816,
"jvm.gc.max.data.size": 8321499136,
"system.cpu.usage": 0.5471698113207547,
"jvm.memory.max;area=heap;id=G1 Old Gen": 8321499136,
"jvm.threads.peak": 44.0,
"process.cpu.usage": 0.37037037037037035,
"jvm.threads.live": 44.0,
"jvm.memory.used;area=heap;id=G1 Eden Space": 12582912,
"system.cpu.count": 12.0,
"jvm.memory.used;area=nonheap;id=CodeHeap 'profiled nmethods'": 12784384,
"jvm.buffer.memory.used;id=mapped": 0.0,
"jvm.memory.max;area=heap;id=G1 Eden Space": -1.0,
"jvm.memory.committed;area=nonheap;id=Compressed Class Space": 8781824.0,
"jvm.threads.states;state=terminated": 0.0,
"jvm.threads.states;state=waiting": 11.0,
"process.start.time": 1602619184617,
"process.uptime": 4641.0,
"jvm.classes.unloaded": 23.0,
"jvm.gc.pause": {
"count;action=end of minor GC;cause=G1 Evacuation Pause": 7,
"elapsedTime;action=end of minor GC;cause=G1 Evacuation Pause": 172.0
},
"io.quarkus.it.micrometer.mpmetrics.PrimeResource.checksTimer": {
"count;scope=application": 4,
"elapsedTime;scope=application": 399.0
},
"http.server.requests": {
"count;method=GET;outcome=SUCCESS;status=200;uri=/metrics": 2,
"elapsedTime;method=GET;outcome=SUCCESS;status=200;uri=/metrics": 293.0,
"count;method=GET;outcome=SUCCESS;status=200;uri=/prime/{number}": 4,
"elapsedTime;method=GET;outcome=SUCCESS;status=200;uri=/prime/{number}": 565.0
},
"http.server.connections": {
"activeTasks": 0,
"duration": 0.0,
"max": 0.0,
"mean": 0.0
},
"io.quarkus.it.micrometer.mpmetrics.InjectedInstance.valueRange": {
"min;scope=application": 31.0,
"count;scope=application": 4,
"max;scope=application": 900.0,
"mean;scope=application": 462.75,
"p50;scope=application": 33.015625,
"p75;scope=application": 887.484375,
"p95;scope=application": 900.484375,
"p98;scope=application": 900.484375,
"p99;scope=application": 900.484375,
"p999;scope=application": 900.484375
},
"http.server.bytes.read": {
"min": 0.0,
"count": 6,
"max": 0.0,
"mean": 0.0,
"p50": 0.0,
"p75": 0.0,
"p95": 0.0,
"p98": 0.0,
"p99": 0.0,
"p999": 0.0
},
"http.server.bytes.written": {
"min": 12.0,
"count": 6,
"max": 12032.0,
"mean": 3968.8333333333335,
"p50": 35.0234375,
"p75": 11687.9921875,
"p95": 12039.9921875,
"p98": 12039.9921875,
"p99": 12039.9921875,
"p999": 12039.9921875
}
}
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.517 s - in io.quarkus.it.micrometer.mpmetrics.MPMetricsTest
2020-10-13 21:59:49,661 INFO [io.quarkus] (main) Quarkus stopped in 0.034s
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ quarkus-integration-test-micrometer-mp-metrics ---
[INFO]
[INFO] --- maven-source-plugin:3.1.0:jar-no-fork (attach-sources) @ quarkus-integration-test-micrometer-mp-metrics ---
[INFO] Building jar: /tmp/smallrye/quarkus/integration-tests/micrometer-mp-metrics/target/quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-sources.jar
[INFO]
[INFO] --- quarkus-maven-plugin:1.9.0.CR1:build (default) @ quarkus-integration-test-micrometer-mp-metrics ---
[INFO] [org.jboss.threads] JBoss Threads version 3.1.1.Final
[WARNING] [io.quarkus.micrometer.deployment.binder.mpmetrics.AnnotationHandler] Method checkPrime of bean io.quarkus.it.micrometer.mpmetrics.PrimeResource is both counted and timed. The @Counted annotation will be suppressed in favor of the count emitted by the timer.
[ERROR] [io.quarkus.micrometer.deployment.binder.mpmetrics.AnnotationHandler] A declared bean uses the @Metric annotation with a @Producer field or method, which is not compatible with micrometer support. The annotation target will be ignored. (org.eclipse.microprofile.metrics.Gauge<java.lang.Integer> io.quarkus.it.micrometer.mpmetrics.InjectedInstance.createGauge - 1606353538)
[WARNING] [io.quarkus.micrometer.deployment.binder.mpmetrics.MicroprofileMetricsProcessor] This application uses the MP Metrics API. The micrometer extension currently provides a compatibility layer that supports the MP Metrics API, but metric names and recorded values will be different. Note that the MP Metrics compatibility layer will move to a different extension in the future.
[INFO] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Building native image source jar: /tmp/smallrye/quarkus/integration-tests/micrometer-mp-metrics/target/quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-native-image-source-jar/quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner.jar
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Building native image from /tmp/smallrye/quarkus/integration-tests/micrometer-mp-metrics/target/quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-native-image-source-jar/quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner.jar
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Checking image status registry.redhat.io/quarkus/mandrel-20-rhel8:20.1-12
20.1-12: Pulling from quarkus/mandrel-20-rhel8
Digest: sha256:8d7893b808daba83225309d074e52a90a4087590fcd1667482c375592fbf133b
Status: Image is up to date for registry.redhat.io/quarkus/mandrel-20-rhel8:20.1-12
registry.redhat.io/quarkus/mandrel-20-rhel8:20.1-12
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Running Quarkus native-image plugin on GraalVM Version 20.1.0.2_0-21 (Mandrel Distribution) (Java Version 11.0.8+10-LTS)
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] docker run -v /tmp/smallrye/quarkus/integration-tests/micrometer-mp-metrics/target/quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-native-image-source-jar:/project:z --env LANG=C --user 1000:1000 --rm registry.redhat.io/quarkus/mandrel-20-rhel8:20.1-12 -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -J-Dsun.nio.ch.maxUpdateArraySize=100 -J-Dvertx.logger-delegate-factory-class-name=io.quarkus.vertx.core.runtime.VertxLogDelegateFactory -J-Dvertx.disableDnsResolver=true -J-Dio.netty.leakDetection.level=DISABLED -J-Dio.netty.allocator.maxOrder=1 -J-Duser.language=en -J-Dfile.encoding=UTF-8 --initialize-at-build-time= -H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy\$BySpaceAndTime -H:+JNI -jar quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner.jar -H:FallbackThreshold=0 -H:+ReportExceptionStackTraces -H:-AddAllCharsets -H:EnableURLProtocols=http -H:-UseServiceLoaderFeature -H:+StackTrace quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:61] classlist: 3,380.36 ms, 0.96 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:61] (cap): 522.12 ms, 0.94 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:61] setup: 1,657.52 ms, 0.94 GB
20:00:14,081 INFO [org.jbo.threads] JBoss Threads version 3.1.1.Final
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:61] (clinit): 607.40 ms, 3.90 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:61] (typeflow): 11,373.05 ms, 3.90 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:61] (objects): 18,597.06 ms, 3.90 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:61] (features): 497.54 ms, 3.90 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:61] analysis: 32,134.89 ms, 3.90 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:61] universe: 1,010.82 ms, 3.90 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:61] (parse): 4,331.95 ms, 5.39 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:61] (inline): 4,190.10 ms, 5.39 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:61] (compile): 20,660.70 ms, 5.93 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:61] compile: 30,815.91 ms, 5.93 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:61] image: 3,888.52 ms, 5.93 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:61] write: 507.53 ms, 5.93 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:61] [total]: 73,605.07 ms, 5.93 GB
[INFO] [io.quarkus.deployment.QuarkusAugmentor] Quarkus augmentation completed in 81249ms
[INFO]
[INFO] --- quarkus-maven-plugin:1.9.0.CR1:native-image (default) @ quarkus-integration-test-micrometer-mp-metrics ---
[INFO] [org.jboss.threads] JBoss Threads version 3.1.1.Final
[WARNING] [io.quarkus.micrometer.deployment.binder.mpmetrics.AnnotationHandler] Method checkPrime of bean io.quarkus.it.micrometer.mpmetrics.PrimeResource is both counted and timed. The @Counted annotation will be suppressed in favor of the count emitted by the timer.
[ERROR] [io.quarkus.micrometer.deployment.binder.mpmetrics.AnnotationHandler] A declared bean uses the @Metric annotation with a @Producer field or method, which is not compatible with micrometer support. The annotation target will be ignored. (org.eclipse.microprofile.metrics.Gauge<java.lang.Integer> io.quarkus.it.micrometer.mpmetrics.InjectedInstance.createGauge - 1798234137)
[WARNING] [io.quarkus.micrometer.deployment.binder.mpmetrics.MicroprofileMetricsProcessor] This application uses the MP Metrics API. The micrometer extension currently provides a compatibility layer that supports the MP Metrics API, but metric names and recorded values will be different. Note that the MP Metrics compatibility layer will move to a different extension in the future.
[INFO] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Building native image source jar: /tmp/smallrye/quarkus/integration-tests/micrometer-mp-metrics/target/quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-native-image-source-jar/quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner.jar
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Building native image from /tmp/smallrye/quarkus/integration-tests/micrometer-mp-metrics/target/quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-native-image-source-jar/quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner.jar
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Checking image status registry.redhat.io/quarkus/mandrel-20-rhel8:20.1-12
20.1-12: Pulling from quarkus/mandrel-20-rhel8
Digest: sha256:8d7893b808daba83225309d074e52a90a4087590fcd1667482c375592fbf133b
Status: Image is up to date for registry.redhat.io/quarkus/mandrel-20-rhel8:20.1-12
registry.redhat.io/quarkus/mandrel-20-rhel8:20.1-12
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Running Quarkus native-image plugin on GraalVM Version 20.1.0.2_0-21 (Mandrel Distribution) (Java Version 11.0.8+10-LTS)
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] docker run -v /tmp/smallrye/quarkus/integration-tests/micrometer-mp-metrics/target/quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-native-image-source-jar:/project:z --env LANG=C --user 1000:1000 --rm registry.redhat.io/quarkus/mandrel-20-rhel8:20.1-12 -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -J-Dsun.nio.ch.maxUpdateArraySize=100 -J-Dvertx.logger-delegate-factory-class-name=io.quarkus.vertx.core.runtime.VertxLogDelegateFactory -J-Dvertx.disableDnsResolver=true -J-Dio.netty.leakDetection.level=DISABLED -J-Dio.netty.allocator.maxOrder=1 -J-Duser.language=en -J-Dfile.encoding=UTF-8 --initialize-at-build-time= -H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy\$BySpaceAndTime -H:+JNI -jar quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner.jar -H:FallbackThreshold=0 -H:+ReportExceptionStackTraces -H:-AddAllCharsets -H:EnableURLProtocols=http -H:-UseServiceLoaderFeature -H:+StackTrace quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:60] classlist: 3,346.44 ms, 0.96 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:60] (cap): 548.37 ms, 0.96 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:60] setup: 1,734.68 ms, 0.96 GB
20:01:35,450 INFO [org.jbo.threads] JBoss Threads version 3.1.1.Final
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:60] (clinit): 605.79 ms, 4.78 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:60] (typeflow): 10,967.44 ms, 4.78 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:60] (objects): 18,902.12 ms, 4.78 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:60] (features): 467.42 ms, 4.78 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:60] analysis: 32,054.27 ms, 4.78 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:60] universe: 1,059.56 ms, 4.78 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:60] (parse): 4,377.52 ms, 5.37 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:60] (inline): 4,173.80 ms, 5.37 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:60] (compile): 17,764.23 ms, 5.91 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:60] compile: 28,140.97 ms, 5.91 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:60] image: 3,889.22 ms, 5.91 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:60] write: 573.32 ms, 5.91 GB
[quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner:60] [total]: 71,015.42 ms, 5.91 GB
[INFO] [io.quarkus.deployment.QuarkusAugmentor] Quarkus augmentation completed in 77237ms
[INFO]
[INFO] --- maven-failsafe-plugin:3.0.0-M5:integration-test (default) @ quarkus-integration-test-micrometer-mp-metrics ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running io.quarkus.it.micrometer.mpmetrics.MPMetricsIT
Executing [/tmp/smallrye/quarkus/integration-tests/micrometer-mp-metrics/target/quarkus-integration-test-micrometer-mp-metrics-1.9.0.CR1-runner, -Dquarkus.http.port=8081, -Dquarkus.http.ssl-port=8444, -Dtest.url=http://localhost:8081, -Dquarkus.log.file.path=target/target/quarkus.log]
__ ____ __ _____ ___ __ ____ ______
--/ __ \/ / / / _ | / _ \/ //_/ / / / __/
-/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \
--\___\_\____/_/ |_/_/|_/_/|_|\____/___/
2020-10-13 22:02:30,805 INFO [io.quarkus] (main) quarkus-integration-test-micrometer-mp-metrics 1.9.0.CR1 native (powered by Quarkus 1.9.0.CR1) started in 0.036s. Listening on: http://0.0.0.0:8081
2020-10-13 22:02:30,805 INFO [io.quarkus] (main) Profile prod activated.
2020-10-13 22:02:30,805 INFO [io.quarkus] (main) Installed features: [cdi, micrometer, resteasy, resteasy-jackson]
# HELP io_quarkus_it_micrometer_mpmetrics_PrimeResource_checksTimer_seconds Measure how long it takes to perform the primality test.
# TYPE io_quarkus_it_micrometer_mpmetrics_PrimeResource_checksTimer_seconds summary
io_quarkus_it_micrometer_mpmetrics_PrimeResource_checksTimer_seconds_count{scope="application",} 4.0
io_quarkus_it_micrometer_mpmetrics_PrimeResource_checksTimer_seconds_sum{scope="application",} 0.407588767
# HELP io_quarkus_it_micrometer_mpmetrics_PrimeResource_checksTimer_seconds_max Measure how long it takes to perform the primality test.
# TYPE io_quarkus_it_micrometer_mpmetrics_PrimeResource_checksTimer_seconds_max gauge
io_quarkus_it_micrometer_mpmetrics_PrimeResource_checksTimer_seconds_max{scope="application",} 0.261203192
# HELP jvm_memory_usage_after_gc_percent The percentage of old gen heap used after the last GC event, in the range [0..1]
# TYPE jvm_memory_usage_after_gc_percent gauge
jvm_memory_usage_after_gc_percent{area="heap",generation="old",} 0.0
# HELP jvm_gc_overhead_percent An approximation of the percent of CPU time used by GC activities over the last lookback period or since monitoring began, whichever is shorter, in the range [0..1]
# TYPE jvm_gc_overhead_percent gauge
jvm_gc_overhead_percent 0.0
# HELP process_uptime_seconds The uptime of the Java virtual machine
# TYPE process_uptime_seconds gauge
process_uptime_seconds 2.644
# HELP io_quarkus_it_micrometer_mpmetrics_InjectedInstance_notPrime_total Count the number of not prime numbers
# TYPE io_quarkus_it_micrometer_mpmetrics_InjectedInstance_notPrime_total counter
io_quarkus_it_micrometer_mpmetrics_InjectedInstance_notPrime_total{scope="application",} 2.0
# HELP io_quarkus_it_micrometer_mpmetrics_CountedInstance_CountedInstance_total called for each discovered prime number
# TYPE io_quarkus_it_micrometer_mpmetrics_CountedInstance_CountedInstance_total counter
io_quarkus_it_micrometer_mpmetrics_CountedInstance_CountedInstance_total{scope="application",} 2.0
# HELP jvm_threads_daemon_threads The current number of live daemon threads
# TYPE jvm_threads_daemon_threads gauge
jvm_threads_daemon_threads 3.0
# HELP jvm_classes_loaded_classes The number of classes that are currently loaded in the Java virtual machine
# TYPE jvm_classes_loaded_classes gauge
jvm_classes_loaded_classes 0.0
# HELP io_quarkus_it_micrometer_mpmetrics_PrimeResource_checkIfPrime active calls to checkIfPrime
# TYPE io_quarkus_it_micrometer_mpmetrics_PrimeResource_checkIfPrime gauge
io_quarkus_it_micrometer_mpmetrics_PrimeResource_checkIfPrime{scope="application",} 0.0
# HELP jvm_threads_live_threads The current number of live threads including both daemon and non-daemon threads
# TYPE jvm_threads_live_threads gauge
jvm_threads_live_threads 29.0
# HELP http_server_connections_seconds_max
# TYPE http_server_connections_seconds_max gauge
http_server_connections_seconds_max 1.276107546
# HELP http_server_connections_seconds
# TYPE http_server_connections_seconds summary
http_server_connections_seconds_active_count 6.0
http_server_connections_seconds_duration_sum 3.610844121
# 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 http_server_bytes_read
# TYPE http_server_bytes_read summary
http_server_bytes_read_count 5.0
http_server_bytes_read_sum 0.0
# HELP http_server_bytes_read_max
# TYPE http_server_bytes_read_max gauge
http_server_bytes_read_max 0.0
# HELP jvm_threads_peak_threads The peak live thread count since the Java virtual machine started or peak was reset
# TYPE jvm_threads_peak_threads gauge
jvm_threads_peak_threads 29.0
# HELP http_server_bytes_written_max
# TYPE http_server_bytes_written_max gauge
http_server_bytes_written_max 6251.0
# HELP http_server_bytes_written
# TYPE http_server_bytes_written summary
http_server_bytes_written_count 5.0
http_server_bytes_written_sum 6350.0
# HELP io_quarkus_it_micrometer_mpmetrics_CountedInstance_countPrimes_total called for each discovered prime number
# TYPE io_quarkus_it_micrometer_mpmetrics_CountedInstance_countPrimes_total counter
io_quarkus_it_micrometer_mpmetrics_CountedInstance_countPrimes_total{scope="application",} 2.0
# HELP jvm_classes_unloaded_classes_total The total number of classes unloaded since the Java virtual machine has started execution
# TYPE jvm_classes_unloaded_classes_total counter
jvm_classes_unloaded_classes_total 0.0
# HELP system_cpu_count The number of processors available to the Java virtual machine
# TYPE system_cpu_count gauge
system_cpu_count 12.0
# HELP jvm_info JVM version info
# TYPE jvm_info gauge
jvm_info{runtime="unknown",vendor="Oracle Corporation",version="unknown",} NaN
# 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 highestPrimeNumberSoFar Highest prime number so far.
# TYPE highestPrimeNumberSoFar gauge
highestPrimeNumberSoFar 887.0
# HELP http_server_requests_seconds
# TYPE http_server_requests_seconds summary
http_server_requests_seconds_count{method="GET",outcome="SUCCESS",status="200",uri="/prime/{number}",} 4.0
http_server_requests_seconds_sum{method="GET",outcome="SUCCESS",status="200",uri="/prime/{number}",} 0.589036014
http_server_requests_seconds_count{method="GET",outcome="SUCCESS",status="200",uri="/metrics",} 1.0
http_server_requests_seconds_sum{method="GET",outcome="SUCCESS",status="200",uri="/metrics",} 0.535025448
# HELP http_server_requests_seconds_max
# TYPE http_server_requests_seconds_max gauge
http_server_requests_seconds_max{method="GET",outcome="SUCCESS",status="200",uri="/prime/{number}",} 0.324101564
http_server_requests_seconds_max{method="GET",outcome="SUCCESS",status="200",uri="/metrics",} 0.535025448
# HELP process_start_time_seconds Start time of the process since unix epoch.
# TYPE process_start_time_seconds gauge
process_start_time_seconds 1.602619350768E9
[ERROR] WARNING: An illegal reflective access operation has occurred
[ERROR] WARNING: Illegal reflective access by org.codehaus.groovy.reflection.ReflectionUtils (file:/home/karm/.m2/repository/org/codehaus/groovy/groovy/3.0.2/groovy-3.0.2.jar) to constructor java.lang.AssertionError(java.lang.String)
[ERROR] WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.ReflectionUtils
[ERROR] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
[ERROR] WARNING: All illegal access operations will be denied in a future release
2020-10-13 22:02:33,434 ERROR [io.qua.ver.htt.run.QuarkusErrorHandler] (vert.x-eventloop-thread-7) HTTP Request to /metrics failed, error id: 55c54249-01ef-4623-8d73-a43ebb9ca0df-1: java.lang.NumberFormatException: Character N is neither a decimal digit number, decimal point, nor "e" notation exponential mark.
at java.math.BigDecimal.<init>(BigDecimal.java:518)
at java.math.BigDecimal.<init>(BigDecimal.java:401)
at java.math.BigDecimal.<init>(BigDecimal.java:834)
at java.math.BigDecimal.valueOf(BigDecimal.java:1304)
at org.glassfish.json.JsonNumberImpl.getJsonNumber(JsonNumberImpl.java:46)
at org.glassfish.json.JsonProviderImpl.createValue(JsonProviderImpl.java:244)
at io.quarkus.micrometer.runtime.registry.json.JsonExporter.lambda$exportGauges$2(JsonExporter.java:91)
at java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1(Collectors.java:178)
at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
at io.quarkus.micrometer.runtime.registry.json.JsonExporter.exportGauges(JsonExporter.java:90)
at io.quarkus.micrometer.runtime.registry.json.JsonExporter.exportEverything(JsonExporter.java:78)
at io.quarkus.micrometer.runtime.registry.json.JsonMeterRegistry.scrape(JsonMeterRegistry.java:115)
at io.quarkus.micrometer.runtime.export.handlers.JsonHandler.handle(JsonHandler.java:34)
at io.quarkus.micrometer.runtime.export.handlers.JsonHandler.handle(JsonHandler.java:15)
at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1036)
at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:131)
at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:132)
at io.quarkus.vertx.http.runtime.VertxHttpRecorder$4.handle(VertxHttpRecorder.java:306)
at io.quarkus.vertx.http.runtime.VertxHttpRecorder$4.handle(VertxHttpRecorder.java:284)
at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1036)
at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:131)
at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:132)
at io.quarkus.micrometer.runtime.binder.vertx.VertxMeterFilter.handle(VertxMeterFilter.java:28)
at io.quarkus.micrometer.runtime.binder.vertx.VertxMeterFilter.handle(VertxMeterFilter.java:14)
at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java:1036)
at io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:131)
at io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:132)
at io.vertx.ext.web.impl.RouterImpl.handle(RouterImpl.java:54)
at io.vertx.ext.web.impl.RouterImpl.handle(RouterImpl.java:36)
at io.quarkus.vertx.http.runtime.VertxHttpRecorder$9.handle(VertxHttpRecorder.java:396)
at io.quarkus.vertx.http.runtime.VertxHttpRecorder$9.handle(VertxHttpRecorder.java:393)
at io.quarkus.vertx.http.runtime.VertxHttpRecorder$1.handle(VertxHttpRecorder.java:137)
at io.quarkus.vertx.http.runtime.VertxHttpRecorder$1.handle(VertxHttpRecorder.java:126)
at io.vertx.core.http.impl.WebSocketRequestHandler.handle(WebSocketRequestHandler.java:50)
at io.vertx.core.http.impl.WebSocketRequestHandler.handle(WebSocketRequestHandler.java:32)
at io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java:136)
at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:366)
at io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:43)
at io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:229)
at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:163)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93)
at io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:101)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.vertx.core.http.impl.Http1xUpgradeToH2CHandler.channelRead(Http1xUpgradeToH2CHandler.java:109)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.vertx.core.http.impl.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61)
at io.vertx.core.http.impl.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:38)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:834)
at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:517)
at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:193)
{
"details": "Error id 55c54249-01ef-4623-8d73-a43ebb9ca0df-1",
"stack": ""
}
[ERROR] Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.81 s <<< FAILURE! - in io.quarkus.it.micrometer.mpmetrics.MPMetricsIT
[ERROR] io.quarkus.it.micrometer.mpmetrics.MPMetricsIT.validateJsonOutput Time elapsed: 0.047 s <<< FAILURE!
java.lang.AssertionError:
1 expectation failed.
Expected status code <200> but was <500>.
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] MPMetricsIT>MPMetricsTest.validateJsonOutput:109 1 expectation failed.
Expected status code <200> but was <500>.
[INFO]
[ERROR] Tests run: 7, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-failsafe-plugin:3.0.0-M5:verify (default) @ quarkus-integration-test-micrometer-mp-metrics ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:53 min
[INFO] Finished at: 2020-10-13T22:02:33+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M5:verify (default) on project quarkus-integration-test-micrometer-mp-metrics: There are test failures.
[ERROR]
[ERROR] Please refer to /tmp/smallrye/quarkus/integration-tests/micrometer-mp-metrics/target/failsafe-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment