ubuntu@coreycb-bastion:~/charms/bionic/keystone-ldap/build/builds/keystone-ldap$ tox -e func27-smoke --workdir /tmp
func27-smoke installed: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.,amulet==1.21.0,aodhclient
==1.2.0,appdirs==1.4.3,asn1crypto==0.24.0,Babel==2.6.0,backports.os==0.1.1,blessings==1.6,bundletester==0.12.2,certifi==2019.3.9,cffi==1.12.2,chardet==3.0.4,charm-tools==2.5.1,charmhelpers==0.19.12,Cheetah3==3.2.0,cliff==2.14.1,cmd2==0.8.9,colander==1.5.1,config
parser==3.7.3,contextlib2==0.5.5,coverage==4.5.3,cryptography==2.6.1,debtcollector==1.21.0,decorator==4.3.2,dict2colander==0.2,distro==1.4.0,distro-info==0.0.0,docutils==0.14,dogpile.cache==0.7.1,entrypoints==0.3,enum34==1.1.6,extras==1.0.0,fixtures==3.0.0,flake
8==2.4.1,funcsigs==1.0.2,functools32==3.2.3.post2,future==0.17.1,futures==3.2.0,futurist==1.8.1,gnocchiclient==3.1.1,httplib2==0.12.1,idna==2.8,importlib-metadata==0.8,ipaddress==1.0.22,iso8601==0.1.12,Jinja2==2.10,jmespath==0.9.4,jsonpatch==1.23,jsonpointer==2.
0,jsonschema==2.5.1,juju-deployer==0.11.0,juju-wait==2.5.0,jujubundlelib==0.5.6,jujuclient==0.54.0,keyring==18.0.0,keystoneauth1==3.13.1,launchpadlib==1.10.6,lazr.authentication==0.1.3,lazr.restfulclient==0.14.2,lazr.uri==1.0.3,libcharmstore==0.0.9,linecache2==1
.0.0,macaroonbakery==1.2.1,MarkupSafe==1.1.1,mccabe==0.3.1,mock==2.0.0,monotonic==1.5,msgpack==0.6.1,munch==2.3.2,netaddr==0.7.19,netifaces==0.10.9,nose==1.3.7,oauth==1.0.1,oauthlib==3.0.1,openstacksdk==0.26.0,os-client-config==1.32.0,os-service-types==1.6.0,osc
-lib==1.12.1,oslo.config==6.8.1,oslo.context==2.22.1,oslo.i18n==3.23.1,oslo.log==3.42.3,oslo.serialization==2.28.2,oslo.utils==3.40.3,otherstuf==1.1.0,parse==1.11.1,path.py==11.5.0,pathlib2==2.3.3,pathspec==0.3.4,pbr==5.1.3,pep8==1.7.1,pika==0.13.1,pkg-resources
==0.0.0,prettytable==0.7.2,protobuf==3.7.0,pycparser==2.19,pyflakes==0.8.1,pyinotify==0.9.6,pymacaroons==0.13.0,PyNaCl==1.3.0,pyOpenSSL==19.0.0,pyparsing==2.3.1,pyperclip==1.7.0,pyRFC3339==1.1,python-barbicanclient==4.8.1,python-ceilometerclient==2.9.0,python-ci
nderclient==4.1.0,python-dateutil==2.8.0,python-designateclient==2.11.0,python-glanceclient==2.16.0,python-heatclient==1.17.0,python-keystoneclient==3.19.0,python-manilaclient==1.27.0,python-mimeparse==1.6.0,python-neutronclient==6.12.0,python-novaclient==13.0.0
,python-openstackclient==3.18.0,python-subunit==1.3.0,python-swiftclient==3.7.0,pytz==2018.9,pyudev==0.21.0,PyYAML==3.11,requests==2.21.0,requestsexceptions==1.4.0,rfc3986==1.2.0,ruamel.base==1.0.0,ruamel.ordereddict==0.4.13,ruamel.yaml==0.10.23,scandir==1.10.0,
SecretStorage==2.3.1,simplejson==3.16.0,six==1.12.0,stestr==2.3.1,stevedore==1.30.1,stuf==0.9.16,subprocess32==3.5.3,Tempita==0.5.2,testresources==2.0.1,testtools==2.3.0,theblues==0.5.1,traceback2==1.4.0,translationstring==1.3,unicodecsv==0.14.1,unittest2==1.1.0
,urllib3==1.24.1,virtualenv==16.4.3,voluptuous==0.11.5,wadllib==1.3.3,warlock==1.3.0,wcwidth==0.1.7,websocket-client==0.40.0,wrapt==1.11.1,wsgi-intercept==1.8.0,zipp==0.3.3,zope.interface==4.6.0
func27-smoke runtests: PYTHONHASHSEED='0'
func27-smoke runtests: commands[0] | bundletester -vl DEBUG -r json -o func-results.json gate-basic-bionic-rocky --no-destroy
DEBUG:bundletester.utils:Updating JUJU_MODEL: "" -> "coreycb-serverstack:admin/coreycb3"
DEBUG:root:Bootstrap environment: coreycb-serverstack:admin/coreycb3
DEBUG:deployer.env:Connecting to coreycb-serverstack:admin/coreycb3...
DEBUG:jujuclient.connector:Connecting to wss://10.5.0.14:17070/model/ec71dda6-1a12-49dd-8088-a4a34ad8391c/api
DEBUG:deployer.env:Connected.
DEBUG:runner:call ['/tmp/func27-smoke/bin/charm-proof'] (cwd: /tmp/bundletester-AZT2VH/keystone-ldap)
DEBUG:runner:I: `display-name` not provided, add for custom naming in the UI
DEBUG:runner:I: config.yaml: option ldap-user has no default value
DEBUG:runner:I: config.yaml: option ldap-server has no default value
DEBUG:runner:I: config.yaml: option ssl_ca has no default value
DEBUG:runner:I: config.yaml: option ldap-password has no default value
DEBUG:runner:I: config.yaml: option domain-name has no default value
DEBUG:runner:I: config.yaml: option ldap-suffix has no default value
DEBUG:runner:I: config.yaml: option ldap-config-flags has no default value
DEBUG:runner:I: config.yaml: option tls-ca-ldap has no default value
DEBUG:runner:Exit Code: 0
DEBUG:runner:call ['/tmp/bundletester-AZT2VH/keystone-ldap/tests/gate-basic-bionic-rocky'] (cwd: /tmp/bundletester-AZT2VH/keystone-ldap)
DEBUG:runner:2019-03-20 13:12:13,866 __init__ INFO: OpenStackAmuletDeployment: init
DEBUG:runner:2019-03-20 13:12:13,872 _add_services INFO: OpenStackAmuletDeployment: adding services
DEBUG:runner:2019-03-20 13:12:13,873 _determine_branch_locations INFO: OpenStackAmuletDeployment: determine branch locations
DEBUG:runner:2019-03-20 13:12:15 Starting deployment of coreycb-serverstack:admin/coreycb3
DEBUG:runner:2019-03-20 13:12:16 Deploying applications...
DEBUG:runner:2019-03-20 13:12:16 Deploying application keystone using cs:~openstack-charmers-next/keystone-423
DEBUG:runner:2019-03-20 13:12:19 Deploying application keystone-ldap using /tmp/charmg1qOZR/bionic/keystone-ldap
DEBUG:runner:2019-03-20 13:12:22 Deploying application ldap-server using cs:~openstack-charmers/ldap-test-fixture-3
DEBUG:runner:2019-03-20 13:12:24 Deploying application percona-cluster using cs:~openstack-charmers-next/percona-cluster-331
DEBUG:runner:2019-03-20 13:12:32 Config specifies num units for subordinate: keystone-ldap
DEBUG:runner:2019-03-20 13:18:39 Adding relations...
DEBUG:runner:2019-03-20 13:18:39 Adding relation keystone:shared-db <-> percona-cluster:shared-db
DEBUG:runner:2019-03-20 13:18:39 Adding relation keystone:domain-backend <-> keystone-ldap:domain-backend
DEBUG:runner:2019-03-20 13:21:25 Deployment complete in 549.48 seconds
DEBUG:runner:2019-03-20 13:21:51,086 _configure_services INFO: OpenStackAmuletDeployment: configure services
DEBUG:runner:2019-03-20 13:21:51,818 __init__ INFO: Waiting on extended status checks...
DEBUG:runner:2019-03-20 13:21:51,818 _auto_wait_for_status INFO: Waiting for extended status on units for 5400s...
DEBUG:runner:2019-03-20 13:21:51,818 _auto_wait_for_status DEBUG: Default extended status wait match: contains READY (case-insensitive)
DEBUG:runner:2019-03-20 13:21:51,819 _auto_wait_for_status DEBUG: Excluding services from extended status match: ['mysql', 'mongodb']
DEBUG:runner:2019-03-20 13:21:51,819 _auto_wait_for_status DEBUG: Waiting up to 5400s for extended status on services: ['keystone-ldap', 'keystone', 'ldap-server', 'percona-cluster']
DEBUG:runner:2019-03-20 13:22:49,064 _auto_wait_for_status INFO: OK
DEBUG:runner:2019-03-20 13:23:13,066 get_default_keystone_session DEBUG: Authenticating keystone admin...
DEBUG:runner:Exit Code: 0
DEBUG:bundletester.utils:Updating JUJU_MODEL: "coreycb-serverstack:admin/coreycb3" -> ""
_______________________________________________________________________________________ summary ________________________________________________________________________________________
func27-smoke: commands succeeded
congratulations :)
where tox.ini has:
[testenv:func27-smoke]
# Run a specific test as an Amulet smoke test (expected to always pass)
basepython = python2.7
commands =
bundletester -vl DEBUG -r json -o func-results.json gate-basic-bionic-rocky --no-destroy
and I've enabled cosmic-proposed for the keystone unit prior to tests running:
This has been verified successfully for cosmic-proposed:
For easy reading: https:/ /paste. ubuntu. com/p/dzKSVtdfD t/
In case the pastebin expires:
ubuntu@ coreycb- bastion: ~/charms/ bionic/ keystone- ldap/build/ builds/ keystone- ldap$ tox -e func27-smoke --workdir /tmp =1.21.0, aodhclient appdirs= =1.4.3, asn1crypto= =0.24.0, Babel== 2.6.0,backports .os==0. 1.1,blessings= =1.6,bundletest er==0.12. 2,certifi= =2019.3. 9,cffi= =1.12.2, chardet= =3.0.4, charm-tools= =2.5.1, charmhelpers= =0.19.12, Cheetah3= =3.2.0, cliff== 2.14.1, cmd2==0. 8.9,colander= =1.5.1, config =3.7.3, contextlib2= =0.5.5, coverage= =4.5.3, cryptography= =2.6.1, debtcollector= =1.21.0, decorator= =4.3.2, dict2colander= =0.2,distro= =1.4.0, distro- info==0. 0.0,docutils= =0.14,dogpile. cache== 0.7.1,entrypoin ts==0.3, enum34= =1.1.6, extras= =1.0.0, fixtures= =3.0.0, flake 1,funcsigs= =1.0.2, functools32= =3.2.3. post2,future= =0.17.1, futures= =3.2.0, futurist= =1.8.1, gnocchiclient= =3.1.1, httplib2= =0.12.1, idna==2. 8,importlib- metadata= =0.8,ipaddress= =1.0.22, iso8601= =0.1.12, Jinja2= =2.10,jmespath= =0.9.4, jsonpatch= =1.23,jsonpoint er==2. =2.5.1, juju-deployer= =0.11.0, juju-wait= =2.5.0, jujubundlelib= =0.5.6, jujuclient= =0.54.0, keyring= =18.0.0, keystoneauth1= =3.13.1, launchpadlib= =1.10.6, lazr.authentica tion==0. 1.3,lazr. restfulclient= =0.14.2, lazr.uri= =1.0.3, libcharmstore= =0.0.9, linecache2= =1 kery==1. 2.1,MarkupSafe= =1.1.1, mccabe= =0.3.1, mock==2. 0.0,monotonic= =1.5,msgpack= =0.6.1, munch== 2.3.2,netaddr= =0.7.19, netifaces= =0.10.9, nose==1. 3.7,oauth= =1.0.1, oauthlib= =3.0.1, openstacksdk= =0.26.0, os-client- config= =1.32.0, os-service- types== 1.6.0,osc 12.1,oslo. config= =6.8.1, oslo.context= =2.22.1, oslo.i18n= =3.23.1, oslo.log= =3.42.3, oslo.serializat ion==2. 28.2,oslo. utils== 3.40.3, otherstuf= =1.1.0, parse== 1.11.1, path.py= =11.5.0, pathlib2= =2.3.3, pathspec= =0.3.4, pbr==5. 1.3,pep8= =1.7.1, pika==0. 13.1,pkg- resources prettytable= =0.7.2, protobuf= =3.7.0, pycparser= =2.19,pyflakes= =0.8.1, pyinotify= =0.9.6, pymacaroons= =0.13.0, PyNaCl= =1.3.0, pyOpenSSL= =19.0.0, pyparsing= =2.3.1, pyperclip= =1.7.0, pyRFC3339= =1.1,python- barbicanclient= =4.8.1, python- ceilometerclien t==2.9. 0,python- ci =4.1.0, python- dateutil= =2.8.0, python- designateclient ==2.11. 0,python- glanceclient= =2.16.0, python- heatclient= =1.17.0, python- keystoneclient= =3.19.0, python- manilaclient= =1.27.0, python- mimeparse= =1.6.0, python- neutronclient= =6.12.0, python- novaclient= =13.0.0 openstackclient ==3.18. 0,python- subunit= =1.3.0, python- swiftclient= =3.7.0, pytz==2018. 9,pyudev= =0.21.0, PyYAML= =3.11,requests= =2.21.0, requestsexcepti ons==1. 4.0,rfc3986= =1.2.0, ruamel. base==1. 0.0,ruamel. ordereddict= =0.4.13, ruamel. yaml==0. 10.23,scandir= =1.10.0, =2.3.1, simplejson= =3.16.0, six==1. 12.0,stestr= =2.3.1, stevedore= =1.30.1, stuf==0. 9.16,subprocess 32==3.5. 3,Tempita= =0.5.2, testresources= =2.0.1, testtools= =2.3.0, theblues= =0.5.1, traceback2= =1.4.0, translationstri ng==1.3, unicodecsv= =0.14.1, unittest2= =1.1.0 =1.24.1, virtualenv= =16.4.3, voluptuous= =0.11.5, wadllib= =1.3.3, warlock= =1.3.0, wcwidth= =0.1.7, websocket- client= =0.40.0, wrapt== 1.11.1, wsgi-intercept= =1.8.0, zipp==0. 3.3,zope. interface= =4.6.0 bionic- rocky --no-destroy ter.utils: Updating JUJU_MODEL: "" -> "coreycb- serverstack: admin/coreycb3" Bootstrap environment: coreycb- serverstack: admin/coreycb3 env:Connecting to coreycb- serverstack: admin/coreycb3. .. t.connector: Connecting to wss://10. 5.0.14: 17070/model/ ec71dda6- 1a12-49dd- 8088-a4a34ad839 1c/api env:Connected. func27- smoke/bin/ charm-proof' ] (cwd: /tmp/bundletest er-AZT2VH/ keystone- ldap) bundletester- AZT2VH/ keystone- ldap/tests/ gate-basic- bionic- rocky'] (cwd: /tmp/bundletest er-AZT2VH/ keystone- ldap) 2019-03- 20 13:12:13,866 __init__ INFO: OpenStackAmulet Deployment: init 2019-03- 20 13:12:13,872 _add_services INFO: OpenStackAmulet Deployment: adding services 2019-03- 20 13:12:13,873 _determine_ branch_ locations INFO: OpenStackAmulet Deployment: determine branch locations 2019-03- 20 13:12:15 Starting deployment of coreycb- serverstack: admin/coreycb3 2019-03- 20 13:12:16 Deploying applications... 2019-03- 20 13:12:16 Deploying application keystone using cs:~openstack- charmers- next/keystone- 423 2019-03- 20 13:12:19 Deploying application keystone-ldap using /tmp/charmg1qOZ R/bionic/ keystone- ldap 2019-03- 20 13:12:22 Deploying application ldap-server using cs:~openstack- charmers/ ldap-test- fixture- 3 2019-03- 20 13:12:24 Deploying application percona-cluster using cs:~openstack- charmers- next/percona- cluster- 331 2019-03- 20 13:12:32 Config specifies num units for subordinate: keystone-ldap 2019-03- 20 13:18:39 Adding relations... 2019-03- 20 13:18:39 Adding relation keystone:shared-db <-> percona- cluster: shared- db 2019-03- 20 13:18:39 Adding relation keystone: domain- backend <-> keystone- ldap:domain- backend 2019-03- 20 13:21:25 Deployment complete in 549.48 seconds 2019-03- 20 13:21:51,086 _configure_services INFO: OpenStackAmulet Deployment: configure services 2019-03- 20 13:21:51,818 __init__ INFO: Waiting on extended status checks... 2019-03- 20 13:21:51,818 _auto_wait_ for_status INFO: Waiting for extended status on units for 5400s... 2019-03- 20 13:21:51,818 _auto_wait_ for_status DEBUG: Default extended status wait match: contains READY (case-insensitive) 2019-03- 20 13:21:51,819 _auto_wait_ for_status DEBUG: Excluding services from extended status match: ['mysql', 'mongodb'] 2019-03- 20 13:21:51,819 _auto_wait_ for_status DEBUG: Waiting up to 5400s for extended status on services: ['keystone-ldap', 'keystone', 'ldap-server', 'percona-cluster'] 2019-03- 20 13:22:49,064 _auto_wait_ for_status INFO: OK 2019-03- 20 13:23:13,066 get_default_ keystone_ session DEBUG: Authenticating keystone admin... ter.utils: Updating JUJU_MODEL: "coreycb- serverstack: admin/coreycb3" -> "" _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ ___ summary _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ ____
func27-smoke installed: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.,amulet=
==1.2.0,
parser=
8==2.4.
0,jsonschema=
.0.0,macaroonba
-lib==1.
==0.0.0,
nderclient=
,python-
SecretStorage=
,urllib3=
func27-smoke runtests: PYTHONHASHSEED='0'
func27-smoke runtests: commands[0] | bundletester -vl DEBUG -r json -o func-results.json gate-basic-
DEBUG:bundletes
DEBUG:root:
DEBUG:deployer.
DEBUG:jujuclien
DEBUG:deployer.
DEBUG:runner:call ['/tmp/
DEBUG:runner:I: `display-name` not provided, add for custom naming in the UI
DEBUG:runner:I: config.yaml: option ldap-user has no default value
DEBUG:runner:I: config.yaml: option ldap-server has no default value
DEBUG:runner:I: config.yaml: option ssl_ca has no default value
DEBUG:runner:I: config.yaml: option ldap-password has no default value
DEBUG:runner:I: config.yaml: option domain-name has no default value
DEBUG:runner:I: config.yaml: option ldap-suffix has no default value
DEBUG:runner:I: config.yaml: option ldap-config-flags has no default value
DEBUG:runner:I: config.yaml: option tls-ca-ldap has no default value
DEBUG:runner:Exit Code: 0
DEBUG:runner:call ['/tmp/
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:
DEBUG:runner:Exit Code: 0
DEBUG:bundletes
_______
func27-smoke: commands succeeded
congratulations :)
where tox.ini has:
[testenv: func27- smoke] bionic- rocky --no-destroy
# Run a specific test as an Amulet smoke test (expected to always pass)
basepython = python2.7
commands =
bundletester -vl DEBUG -r json -o func-results.json gate-basic-
and I've enabled cosmic-proposed for the keystone unit prior to tests running:
ubuntu@ juju-d8391c- coreycb3- 0:~$ apt policy keystone nova.clouds. archive. ubuntu. com/ubuntu cosmic- proposed/ main amd64 Packages dpkg/status 14.0.1- 0ubuntu1~ cloud0 500 ubuntu- cloud.archive. canonical. com/ubuntu bionic- updates/ rocky/main amd64 Packages 13.0.2- 0ubuntu1 500 nova.clouds. archive. ubuntu. com/ubuntu bionic-updates/main amd64 Packages 13.0.0- 0ubuntu1 500 nova.clouds. archive. ubuntu. com/ubuntu bionic/main amd64 Packages
keystone:
Installed: 2:14.0.1-0ubuntu3
Candidate: 2:14.0.1-0ubuntu3
Version table:
*** 2:14.0.1-0ubuntu3 500
500 http://
100 /var/lib/
2:
500 http://
2:
500 http://
2:
500 http://