SSL amulet test fails
Bug #1436014 reported by
Adam Israel
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rabbitmq-server (Juju Charms Collection) |
Fix Released
|
High
|
Billy Olsen |
Bug Description
The automated testing is failing while attempting to create an SSL connection. See the pastebin below for the full test output.
I tested against the local provider under a Vagrant VM using bundletester.
Related branches
lp:~billy-olsen/charms/trusty/rabbitmq-server/lp1436014-ssl-fix
- Ryan Beisner (community): Needs Fixing
- Jorge Niedbalski (community): Approve
- OpenStack Charmers: Pending requested
-
Diff: 3770 lines (+3162/-162)31 files modifiedMakefile (+3/-1)
charm-helpers-tests.yaml (+5/-0)
hooks/charmhelpers/contrib/openstack/amulet/deployment.py (+1/-1)
hooks/charmhelpers/contrib/ssl/service.py (+10/-12)
tests/10-outofthebox-testing (+2/-2)
tests/10_basic_deploy_test.py (+7/-16)
tests/20-different-repositories (+37/-6)
tests/20_deploy_relations_test.py (+49/-12)
tests/30-switch-ssl (+29/-10)
tests/30_configuration_test.py (+13/-37)
tests/40_test_mirroring_queues.py (+4/-3)
tests/charmhelpers/__init__.py (+38/-0)
tests/charmhelpers/contrib/__init__.py (+15/-0)
tests/charmhelpers/contrib/ssl/__init__.py (+94/-0)
tests/charmhelpers/contrib/ssl/service.py (+283/-0)
tests/charmhelpers/core/__init__.py (+15/-0)
tests/charmhelpers/core/decorators.py (+57/-0)
tests/charmhelpers/core/fstab.py (+134/-0)
tests/charmhelpers/core/hookenv.py (+607/-0)
tests/charmhelpers/core/host.py (+450/-0)
tests/charmhelpers/core/services/__init__.py (+18/-0)
tests/charmhelpers/core/services/base.py (+329/-0)
tests/charmhelpers/core/services/helpers.py (+267/-0)
tests/charmhelpers/core/strutils.py (+42/-0)
tests/charmhelpers/core/sysctl.py (+56/-0)
tests/charmhelpers/core/templating.py (+68/-0)
tests/charmhelpers/core/unitdata.py (+477/-0)
tests/deploy_common.py (+52/-0)
tests/rabbit-server-cacert.pem (+0/-17)
tests/rabbit-server-cert.pem (+0/-18)
tests/rabbit-server-privkey.pem (+0/-27)
Changed in rabbitmq-server (Juju Charms Collection): | |
status: | New → Confirmed |
status: | Confirmed → Triaged |
importance: | Undecided → High |
milestone: | none → 15.04 |
Changed in rabbitmq-server (Juju Charms Collection): | |
status: | Triaged → In Progress |
assignee: | nobody → Billy Olsen (billy-olsen) |
Changed in rabbitmq-server (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in rabbitmq-server (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Looks like the SSL certificate stored within the tests is expired.
root@wolsen- local-lxc- machine- 1:/etc/ rabbitmq# openssl verify -verbose -CAfile /var/lib/ juju/agents/ unit-rabbitmq- server- 0/charm/ tests/rabbit- server- cacert. pem ./rabbit- server- cert.pem server- cert.pem: CN = MyTestCA
./rabbit-
error 10 at 1 depth lookup:certificate has expired
CN = realms-slice, O = server
error 10 at 0 depth lookup:certificate has expired
OK