Intermittent Test Failure: StatusSuite.TestStatusWithFormatTabularValidModelUUID

Bug #1884918 reported by Joseph Phillips
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Tim Penhey

Bug Description

This looks like it might be related to recent changes for retrieving application status from the model cache.

The logging SAAS has a status of "waiting" instead of "error".

09:21:55 status_internal_test.go:5048:
09:21:55 c.Assert(string(output), gc.Equals, expectedTabularStatus)
09:21:55 ... obtained string = "" +
09:21:55 ... "Model Controller Cloud/Region Version SLA Timestamp Notes\n" +
09:21:55 ... "controller kontroll dummy/dummy-region 1.2.3 unsupported 15:04:05+07:00 upgrade available: 1.2.4\n" +
09:21:55 ... "\n" +
09:21:55 ... "SAAS Status Store URL\n" +
09:21:55 ... "hosted-riak unknown local me/model.riak\n" +
09:21:55 ... "\n" +
09:21:55 ... "App Version Status Scale Charm Store Rev OS Notes\n" +
09:21:55 ... "logging a bit too lo... waiting 2 logging jujucharms 1 ubuntu exposed\n" +
09:21:55 ... "mysql 5.7.13 maintenance 1/2 mysql jujucharms 1 ubuntu exposed\n" +
09:21:55 ... "wordpress 4.5.3 active 1 wordpress jujucharms 3 ubuntu exposed\n" +
09:21:55 ... "\n" +
09:21:55 ... "Unit Workload Agent Machine Public address Ports Message\n" +
09:21:55 ... "mysql/0* maintenance idle 2 10.0.2.1 installing all the things\n" +
09:21:55 ... " logging/1* error idle 10.0.2.1 somehow lost in all those logs\n" +
09:21:55 ... "mysql/1 terminated idle 1 10.0.1.1 gooooone\n" +
09:21:55 ... "wordpress/0* active idle 1 10.0.1.1 \n" +
09:21:55 ... " logging/0 active idle 10.0.1.1 \n" +
09:21:55 ... "\n" +
09:21:55 ... "Machine State DNS Inst id Series AZ Message\n" +
09:21:55 ... "0 started 10.0.0.1 controller-0 quantal us-east-1a \n" +
09:21:55 ... "1 started 10.0.1.1 snowflake quantal \n" +
09:21:55 ... "2 started 10.0.2.1 controller-2 quantal \n" +
09:21:55 ... "3 started 10.0.3.1 controller-3 quantal I am number three\n" +
09:21:55 ... "4 error 10.0.3.1 controller-4 quantal I am an error\n" +
09:21:55 ... "\n" +
09:21:55 ... "Offer Application Charm Rev Connected Endpoint Interface Role\n" +
09:21:55 ... "hosted-mysql mysql mysql 1 1/1 server mysql provider\n" +
09:21:55 ... "\n" +
09:21:55 ... "Relation provider Requirer Interface Type Message\n" +
09:21:55 ... "mysql:juju-info logging:info juju-info subordinate \n" +
09:21:55 ... "mysql:server wordpress:db mysql regular suspended \n" +
09:21:55 ... "wordpress:logging-dir logging:logging-directory logging subordinate \n" +
09:21:55 ... "\n"
09:21:55 ... expected string = "" +
09:21:55 ... "Model Controller Cloud/Region Version SLA Timestamp Notes\n" +
09:21:55 ... "controller kontroll dummy/dummy-region 1.2.3 unsupported 15:04:05+07:00 upgrade available: 1.2.4\n" +
09:21:55 ... "\n" +
09:21:55 ... "SAAS Status Store URL\n" +
09:21:55 ... "hosted-riak unknown local me/model.riak\n" +
09:21:55 ... "\n" +
09:21:55 ... "App Version Status Scale Charm Store Rev OS Notes\n" +
09:21:55 ... "logging a bit too lo... error 2 logging jujucharms 1 ubuntu exposed\n" +
09:21:55 ... "mysql 5.7.13 maintenance 1/2 mysql jujucharms 1 ubuntu exposed\n" +
09:21:55 ... "wordpress 4.5.3 active 1 wordpress jujucharms 3 ubuntu exposed\n" +
09:21:55 ... "\n" +
09:21:55 ... "Unit Workload Agent Machine Public address Ports Message\n" +
09:21:55 ... "mysql/0* maintenance idle 2 10.0.2.1 installing all the things\n" +
09:21:55 ... " logging/1* error idle 10.0.2.1 somehow lost in all those logs\n" +
09:21:55 ... "mysql/1 terminated idle 1 10.0.1.1 gooooone\n" +
09:21:55 ... "wordpress/0* active idle 1 10.0.1.1 \n" +
09:21:55 ... " logging/0 active idle 10.0.1.1 \n" +
09:21:55 ... "\n" +
09:21:55 ... "Machine State DNS Inst id Series AZ Message\n" +
09:21:55 ... "0 started 10.0.0.1 controller-0 quantal us-east-1a \n" +
09:21:55 ... "1 started 10.0.1.1 snowflake quantal \n" +
09:21:55 ... "2 started 10.0.2.1 controller-2 quantal \n" +
09:21:55 ... "3 started 10.0.3.1 controller-3 quantal I am number three\n" +
09:21:55 ... "4 error 10.0.3.1 controller-4 quantal I am an error\n" +
09:21:55 ... "\n" +
09:21:55 ... "Offer Application Charm Rev Connected Endpoint Interface Role\n" +
09:21:55 ... "hosted-mysql mysql mysql 1 1/1 server mysql provider\n" +
09:21:55 ... "\n" +
09:21:55 ... "Relation provider Requirer Interface Type Message\n" +
09:21:55 ... "mysql:juju-info logging:info juju-info subordinate \n" +
09:21:55 ... "mysql:server wordpress:db mysql regular suspended \n" +
09:21:55 ... "wordpress:logging-dir logging:logging-directory logging subordinate \n" +
09:21:55 ... "\n"
09:21:55 ... String difference:
09:21:55 ... [7]: "logging a bit too lo... waiting 2 logging jujucharms 1 ubuntu exposed" != "logging a bit too lo... error 2 logging jujucharms 1 ubuntu exposed"
09:21:55

Revision history for this message
Joseph Phillips (manadart) wrote :

May also be related:

FAIL: status_internal_test.go:4616: StatusSuite.TestStatusAllFormats

Tim Penhey (thumper)
Changed in juju:
assignee: nobody → Tim Penhey (thumper)
Tim Penhey (thumper)
Changed in juju:
status: Triaged → In Progress
Revision history for this message
Tim Penhey (thumper) wrote :
Tim Penhey (thumper)
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → 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.