TestPrometheusMetrics failure

Bug #1707626 reported by Anastasia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Unassigned

Bug Description

Sanity check for prometheus metrics fails intermittently as observed in http://juju-ci.vapour.ws/job/github-check-merge-juju/1868/artifact/artifacts/xenial.log

Revision history for this message
Anastasia (anastasia-macmood) wrote :
Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 1707626] Re: TestPrometheusMetrics failure

it would appear that there is something wrong with starting the apiserver

OG] 0:09.978 INFO juju.worker stopped "apiserver", err: listen tcp :41534:
bind: address already in use
 [LOG] 0:09.978 DEBUG juju.worker "apiserver" done: listen tcp :41534:
bind: address already in use
[LOG] 0:09.978 ERROR juju.worker exited "apiserver": listen tcp :41534:
bind: address already in use
 [LOG] 0:09.978 INFO juju.worker restarting "apiserver" in 3s
introspection_test.go:137:

The failure is that the string "juju_apirequests_total" is not showing up,
but presumably that's because the apiserver is not starting and collecting
those metrics.

bind failures sounds like some other test didn't finish cleaning up before
this test ran. I thought we bind with SO_REUSEADDR in the test suite so we
can have fast bind and rebind. Then again we should probably be using a
random address so maybe something else is wrong.

John
=:->

On Sep 7, 2017 03:35, "Anastasia" <email address hidden> wrote:

> Reports have been moved. New link is http://ci.jujucharms.com/job
> /github-check-merge-juju/1868/artifact/artifacts/xenial.log
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https://bugs.launchpad.net/bugs/1707626
>
> Title:
> TestPrometheusMetrics failure
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1707626/+subscriptions
>

Revision history for this message
Anastasia (anastasia-macmood) wrote :

This failure has been fixed.
I have run both
github.com/juju/juju/worker/introspection/introspectionSuite.TestPrometheusMetrics and
github.com/juju/juju/featuretests/introspectionSuite.TestPrometheusMetrics
locally under stress and neither have failed.

Changed in juju:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.