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

Feature/567 metrics to identify stuck jobs #582

Closed

Adding metric collector for node related items

c03713c
Select commit
Loading
Failed to load commit list.
Closed

Feature/567 metrics to identify stuck jobs #582

Adding metric collector for node related items
c03713c
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
ci.jenkins.io / Tests / linux-11 / Build (linux-11) failed Oct 25, 2023 in 0s

org.jenkinsci.plugins.prometheus.collectors.jobs.BuildDiscardGaugeTest.(?) failed

Send us feedback

Details

org.jenkinsci.plugins.prometheus.collectors.jobs.BuildDiscardGaugeTest.(?)

Invalid test class 'org.jenkinsci.plugins.prometheus.collectors.jobs.BuildDiscardGaugeTest':
  1. Method testCollectResult() should be public
Stack trace
org.junit.runners.model.InvalidTestClassError: 
Invalid test class 'org.jenkinsci.plugins.prometheus.collectors.jobs.BuildDiscardGaugeTest':
  1. Method testCollectResult() should be public
	at org.mockito.internal.runners.DefaultInternalRunner$1.<init>(DefaultInternalRunner.java:31)
	at org.mockito.internal.runners.DefaultInternalRunner.<init>(DefaultInternalRunner.java:30)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
	at org.mockito.internal.runners.util.RunnerProvider.newInstance(RunnerProvider.java:29)
	at org.mockito.internal.runners.RunnerFactory.create(RunnerFactory.java:75)
	at org.mockito.internal.runners.RunnerFactory.createStrict(RunnerFactory.java:40)
	at org.mockito.junit.MockitoJUnitRunner.<init>(MockitoJUnitRunner.java:154)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1632)
	at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
	at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)