The landscape-client charm is failing automated testing

Bug #1399312 reported by Matt Bruzek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
landscape-client-charm
Fix Released
High
David Britton
landscape-client (Juju Charms Collection)
Fix Released
High
David Britton

Bug Description

According to the latest test results by charm http://reports.vapour.ws/charm-tests-by-charm this charm is failing automated testing.

http://reports.vapour.ws/charm-tests/charm-bundle-test-603-results

The landscape-client charm is failing charm proof, make lint and 001_install.test.

charm proof output:
W: Metadata missing required field "tags"
W: config.yaml: option registration-key does not have the keys: default
W: config.yaml: option script-users does not have the keys: default
W: config.yaml: option autodiscover-srv-query-string does not have the keys: default
W: config.yaml: option server-autodiscover does not have the keys: default
W: config.yaml: option http-proxy does not have the keys: default
W: config.yaml: option include-manager-plugins does not have the keys: default
W: config.yaml: option account-name does not have the keys: default
W: config.yaml: option ping-url does not have the keys: default
W: config.yaml: option data-path does not have the keys: default
W: config.yaml: option log-dir does not have the keys: default
W: config.yaml: option autodiscover-a-query-string does not have the keys: default
W: config.yaml: option url does not have the keys: default
W: config.yaml: option tags does not have the keys: default
W: config.yaml: option log-level does not have the keys: default
W: config.yaml: option https-proxy does not have the keys: default
W: config.yaml: option exchange-interval does not have the keys: default
W: config.yaml: option urgent-exchange-interval does not have the keys: default
W: config.yaml: option ping-interval does not have the keys: default
W: config.yaml: option ssl-public-key does not have the keys: default

make lint output:
bzr: ERROR: unknown command "ls-lint"
make: *** [lint] Error 3

001_install.test output
ERROR charm not found in "/var/lib/jenkins/workspace/charm-bundle-test/tmpYUFgfc/landscape-client/tests": local:trusty/landscape-client

This is a Canonical written charm and should be of high quality following all the best practices (including passing charm proof) so we can use it as an example to other charm authors.

Tags: auto-test

Related branches

Revision history for this message
Matt Bruzek (mbruzek) wrote :

Please note that you can add the default key to the configuration options in config yaml and that will reduce the warning to informational. The charm will still see these values as unset or null as before.

Revision history for this message
Adam Collard (adam-collard) wrote :

See also https://code.launchpad.net/~marcoceppi/charms/trusty/landscape-client/fix-proof/+merge/234026 which was rejected because there was no evidence of testing

Revision history for this message
José Antonio Rey (jose) wrote :

Hey Adam,

Setting the line `default:` and not `default: ""` as Marco did on the MP will set those as NoneValue for python, so no need to worries. It's not an empty string. If you could please take another looks on that it would be great!

Thanks for your help :)

Matt Bruzek (mbruzek)
Changed in landscape-client (Juju Charms Collection):
status: New → Triaged
David Britton (dpb)
Changed in landscape-client (Juju Charms Collection):
status: Triaged → In Progress
importance: Undecided → High
David Britton (dpb)
Changed in landscape-client-charm:
status: New → Fix Committed
assignee: nobody → David Britton (davidpbritton)
importance: Undecided → High
Changed in landscape-client (Juju Charms Collection):
status: In Progress → Fix Released
Changed in landscape-client-charm:
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.