[
https://issues.apache.org/jira/browse/SOLR-13786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16936082#comment-16936082
]
Hoss Man commented on SOLR-13786:
---------------------------------
FWIW, Here's what the assert tweak to getAllMetrics showed when running on
jdk14 before i added & committed the AwaitsFix change...
{noformat}
[junit4] > Throwable #1: java.lang.AssertionError: Metric must have name
and value: solr_metrics_jvm_buffers{pool="mapped - 'non-volatile
memory'",base_url="https://127.0.0.1:34193/solr",} 0.0 expected:<2> but was:<5>
[junit4] > at
__randomizedtesting.SeedInfo.seed([4B01E9418190473F:F004920D1F0D72CC]:0)
[junit4] > at
org.apache.solr.prometheus.exporter.SolrExporterTestBase.getAllMetrics(SolrExporterTestBase.java:110)
{noformat}
> prometheus: SolrExporterIntegrationTest various jenkins failures
> ----------------------------------------------------------------
>
> Key: SOLR-13786
> URL: https://issues.apache.org/jira/browse/SOLR-13786
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Hoss Man
> Priority: Major
>
> We're seeing at least 2 distinct types of metrics related jenkins failures
> for SolrExporterIntegrationTest on various branches/platforms.
> We need to disable this test until these can be addressed.
> Examples of types of failures we're seeing...
> the {{promtheusExporterPort}} URL not being online when {{getAllMetrics()}}
> tries to hit it...
> {noformat}
> [junit4] > Throwable #1: java.lang.AssertionError: expected:<200> but
> was:<404>
> [junit4] > at
> __randomizedtesting.SeedInfo.seed([2DCFCDD442F39606:1E9A3A5A14281038]:0)
> [junit4] > at
> org.apache.solr.prometheus.exporter.SolrExporterTestBase.getAllMetrics(SolrExporterTestBase.java:98)
> {noformat}
> Test code not being able to handle metrics names/values containing whitespace
> (seems to happen a lot of jdk14 test builds)...
> {noformat}
> [junit4] > Throwable #1: java.lang.AssertionError: Metric must have
> name and value expected:<2> but was:<5>
> [junit4] > at
> __randomizedtesting.SeedInfo.seed([3CF156E793B6F198:EF456B0886583D0C]:0)
> [junit4] > at
> org.apache.solr.prometheus.exporter.SolrExporterTestBase.getAllMetrics(SolrExporterTestBase.java:110)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]