TestPrometheusMetrics failure

Bug #1707626 reported by Anastasia on 2017-07-31
This bug affects 1 person
Affects Status Importance Assigned to Milestone

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

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

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.


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

Anastasia (anastasia-macmood) wrote :

This failure has been fixed.
I have run both
github.com/juju/juju/worker/introspection/introspectionSuite.TestPrometheusMetrics and
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  Edit
Everyone can see this information.

Other bug subscribers