← Back to team overview

cf-charmers team mailing list archive

Passing Proof

 

In order for 'charm proof' to pass I made some minor changes to a number of
the charms last night, copyright files, removed example readmes. This lead
to removing the charm integration tests if they were broken and/or did
nothing more than a basic deploy.

After these changes our basic deploy + CI suite *almost runs*.

>From the bundle directory::


bundletester -d base

Will run all the charm implicit tests (they have no /tests dir anymore) and
those all work. It will die currently because the charm-proof -b (bundle)
fails with a number of errors.


bundletester -d base -s


'-s' skips implict test generation and won't run proof does run the
bundle's included integration suite, which is at this point only a simple
app push followed by some content assertions about the deployed service.

It would be great if you're able to reproduce these results. We can take a
look at improving the bundle proof and/or getting the bundles.yaml file to
pass.

Bundletester is available at:

lp:~bcsaller/charmtester/bundletester/

I'll be on site at Pivotal tomorrow but will still be around to help with
any issues and will finish getting the CI running on Jenkins once we have
the proof issue sorted.

Thanks,
Ben

$ bundletester -d base
INFO:root:Bootstapping Juju Environment...
INFO:deployer.env:bootstraping, this might take a while...
INFO:deployer.env: Bootstrap complete
cf-cloud-controller
    charm-proof
PASS
    make lint
PASS
    make test
PASS
cf-dea
    charm-proof
PASS
    make lint
PASS
    make test
PASS
cf-uaa
    charm-proof
PASS
    make lint
PASS
    make test
PASS
cf-loggregator
    charm-proof
PASS
    make lint
PASS
    make test
PASS
cf-logrouter
    charm-proof
PASS
    make lint
PASS
    make test
PASS
cf-go-router
    charm-proof
PASS
    make lint
PASS
    make test
PASS
cf-nats
    charm-proof
PASS
    make lint
PASS
    make test
PASS
cloudfoundry
    charm-proof
FAIL

------------------------------------------------------------------------------
FAIL: cloudfoundry::charm-proof
[/usr/bin/charm-proof           exit 200]
W: single-aws-node: nats: No annotations found, will render poorly in GUI
W: nats: charm URL should include a revision
W: single-aws-node: router: No annotations found, will render poorly in GUI
W: router: charm URL should include a revision
W: single-aws-node: logrouter: No annotations found, will render poorly in
GUI
W: logrouter: charm URL should include a revision
W: single-aws-node: loggregator: No annotations found, will render poorly
in GUI
W: loggregator: charm URL should include a revision
W: single-aws-node: mysql: No annotations found, will render poorly in GUI
W: mysql: charm URL should include a revision
W: single-aws-node: uaa: No annotations found, will render poorly in GUI
W: uaa: charm URL should include a revision
W: single-aws-node: dea: No annotations found, will render poorly in GUI
W: dea: charm URL should include a revision
W: single-aws-node: cc: No annotations found, will render poorly in GUI
W: cc: charm URL should include a revision
W: base: nats: No annotations found, will render poorly in GUI
W: nats: charm URL should include a revision
W: base: router: No annotations found, will render poorly in GUI
W: router: charm URL should include a revision
W: base: broker: No annotations found, will render poorly in GUI
W: broker: charm URL should include a revision
W: base: logrouter: No annotations found, will render poorly in GUI
W: logrouter: charm URL should include a revision
W: base: loggregator: No annotations found, will render poorly in GUI
W: loggregator: charm URL should include a revision
W: base: mysql: No annotations found, will render poorly in GUI
W: mysql: charm URL should include a revision
W: base: uaa: No annotations found, will render poorly in GUI
W: uaa: charm URL should include a revision
W: base: dea: No annotations found, will render poorly in GUI
W: dea: charm URL should include a revision
W: base: cc: No annotations found, will render poorly in GUI
W: cc: charm URL should include a revision
E: single-aws-node: The two services router:cc share no common interfaces.
E: single-aws-node: The two services router:broker share no common
interfaces.
E: single-aws-node: The two services nats:cc share no common interfaces.
E: single-aws-node: The two services nats:broker share no common interfaces.
E: single-aws-node: The two services mysql:cc share no common interfaces.
E: single-aws-node: The two services mysql:broker share no common
interfaces.
E: base: The two services router:cc share no common interfaces.
E: base: The two services router:broker share no common interfaces.
E: base: The two services nats:cc share no common interfaces.
E: base: The two services nats:broker share no common interfaces.
E: base: The two services mysql:cc share no common interfaces.
E: base: The two services mysql:broker share no common interfaces.

PASS: 21 FAIL: 1 SKIP:2 Total: 24