Comment 2 for bug 1603181

Revision history for this message
Pen Gale (pengale) wrote :

Hi James,

Thank you for your work on this charm.

When I run the tests via bundletester, I run into the following errors. (I'm using juju2.0, beta 8, deploying locally to LXD containers)

1) Linter fails due to a missing dependency for flake8.
2) 10-deploy.py fails with the following error:

======================================================================
ERROR: setUpClass (__main__.TestDeployment)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/bundletester-A48HGx/kibana/tests/10-deploy.py", line 22, in setUpClass
    cls.deployment.relate('kibana:rest', 'elasticsearch:client')
  File "/home/petevg/.local/lib/python3.5/site-packages/amulet/deployer.py", line 404, in relate
    raise ValueError('%s does not exist for %s' % (rel, srv))
ValueError: rest does not exist for kibana

----------------------------------------------------------------------

I see that the files "10-deploy" and "10-deploy.py" both exist. Are both legitimate tests that need to be run, or is one a holdover from the old charm?

If you have any trouble reproducing the errors, please feel free to ping me, either here, or on freenode#juju (my handle there is "petevg")