[Xenial-Pike, Ocata] test_create_volume fails

Bug #1849703 reported by Ryan Beisner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Cinder Pure Storage Charm
Won't Fix
High
Unassigned

Bug Description

On Xenial-Pike and Xenial-Ocata, the test_create_volume fails:

https://openstack-ci-reports.ubuntu.com/artifacts/test_charm_pipeline_func_full/openstack/charm-cinder-purestorage/689595/1/4138/test_charm_func_full_7380/juju-status-zaza-bab1fd215d92.txt

https://openstack-ci-reports.ubuntu.com/artifacts/test_charm_pipeline_func_full/openstack/charm-cinder-purestorage/689595/1/4138/consoleText.test_charm_func_full_7380.txt

2019-10-18 23:13:57 [INFO] ## Running Test tests.tests_cinder_purestorage.CinderpurestorageTest ##
2019-10-18 23:14:44 [INFO] Using keystone API V2 for overcloud auth
2019-10-18 23:14:48 [INFO] Using keystone API V2 for overcloud auth
2019-10-18 23:14:48 [WARNING] Version 2 is deprecated, use alternative version 3 instead.
2019-10-18 23:14:48 [INFO] test_create_volume (tests.tests_cinder_purestorage.CinderpurestorageTest)
2019-10-18 23:14:48 [INFO] ...
2019-10-18 23:15:08 [INFO] available
2019-10-18 23:15:11 [INFO] ok
2019-10-18 23:15:11 [INFO] ----------------------------------------------------------------------
2019-10-18 23:15:11 [INFO] Ran 1 test in 73.848s
2019-10-18 23:15:11 [INFO] OK
Controller Model User Access Cloud/Region Models Nodes HA Version
auto-osci-sv12* auto-osci-sv12 admin superuser serverstack/serverstack 4 5 none 2.6.10

Added 'zaza-bab1fd215d92' model on serverstack/serverstack with credential 'osci' for user 'admin'
2019-10-18 23:15:24 [INFO] Deploying bundle './tests/bundles/xenial-pike.yaml' on to 'zaza-bab1fd215d92' model
2019-10-18 23:15:24 [INFO] Rendered template '<Template 'local-charm-overlay.yaml.j2'>' to file '/tmp/tmpnq1p3dt4/local-charm-overlay.yaml'
2019-10-18 23:15:24 [INFO] Deploying overlay '/tmp/tmpnq1p3dt4/local-charm-overlay.yaml' on to 'zaza-bab1fd215d92' model
2019-10-18 23:15:24 [INFO] Resolving charm: cs:~openstack-charmers-next/cinder
2019-10-18 23:15:24 [INFO] Resolving charm: cs:~openstack-charmers-next/keystone
2019-10-18 23:15:24 [INFO] Resolving charm: cs:~openstack-charmers-next/percona-cluster
2019-10-18 23:15:24 [INFO] Resolving charm: cs:~openstack-charmers-next/rabbitmq-server
2019-10-18 23:15:25 [INFO] Executing changes:
2019-10-18 23:15:25 [INFO] - upload charm cs:~openstack-charmers-next/cinder-381 for series xenial
2019-10-18 23:15:25 [INFO] - deploy application cinder on xenial using cs:~openstack-charmers-next/cinder-381
2019-10-18 23:15:26 [INFO] added resource policyd-override
2019-10-18 23:15:26 [INFO] - upload charm /var/lib/jenkins/workspace/test_charm_func_full/asset/cinder-purestorage for series xenial
2019-10-18 23:15:28 [INFO] - deploy application cinder-purestorage on xenial using /var/lib/jenkins/workspace/test_charm_func_full/asset/cinder-purestorage
2019-10-18 23:15:29 [INFO] - upload charm cs:~openstack-charmers-next/keystone-466 for series xenial
2019-10-18 23:15:29 [INFO] - deploy application keystone on xenial using cs:~openstack-charmers-next/keystone-466
2019-10-18 23:15:30 [INFO] added resource policyd-override
2019-10-18 23:15:30 [INFO] - upload charm cs:~openstack-charmers-next/percona-cluster-355 for series xenial
2019-10-18 23:15:31 [INFO] - deploy application mysql on xenial using cs:~openstack-charmers-next/percona-cluster-355
2019-10-18 23:15:32 [INFO] - upload charm cs:~openstack-charmers-next/rabbitmq-server-352 for series xenial
2019-10-18 23:15:32 [INFO] - deploy application rabbitmq-server on xenial using cs:~openstack-charmers-next/rabbitmq-server-352
2019-10-18 23:15:33 [INFO] - add new machine 0
2019-10-18 23:15:34 [INFO] - add new machine 1
2019-10-18 23:15:34 [INFO] - add new machine 2
2019-10-18 23:15:35 [INFO] - add new machine 3
2019-10-18 23:15:36 [INFO] - add relation keystone:shared-db - mysql:shared-db
2019-10-18 23:15:36 [INFO] - add relation cinder:shared-db - mysql:shared-db
2019-10-18 23:15:36 [INFO] - add relation cinder:identity-service - keystone:identity-service
2019-10-18 23:15:36 [INFO] - add relation cinder:amqp - rabbitmq-server:amqp
2019-10-18 23:15:36 [INFO] - add relation cinder:storage-backend - cinder-purestorage:storage-backend
2019-10-18 23:15:36 [INFO] - add unit cinder/0 to new machine 2
2019-10-18 23:15:36 [INFO] - add unit keystone/0 to new machine 1
2019-10-18 23:15:37 [INFO] - add unit mysql/0 to new machine 0
2019-10-18 23:15:37 [INFO] - add unit rabbitmq-server/0 to new machine 3
2019-10-18 23:15:38 [INFO] Deploy of bundle completed.
2019-10-18 23:15:38 [INFO] Waiting for environment to settle
2019-10-18 23:15:38 [INFO] Waiting for a unit to appear
2019-10-18 23:15:38 [INFO] Waiting for all units to be idle
2019-10-18 23:25:56 [INFO] Checking workload status of keystone/0
2019-10-18 23:25:56 [INFO] Checking workload status message of keystone/0
2019-10-18 23:25:56 [INFO] Checking workload status of cinder/0
2019-10-18 23:25:56 [INFO] Checking workload status message of cinder/0
2019-10-18 23:25:56 [INFO] Checking workload status of cinder-purestorage/0
2019-10-18 23:25:56 [INFO] Checking workload status message of cinder-purestorage/0
2019-10-18 23:25:56 [INFO] Checking workload status of rabbitmq-server/0
2019-10-18 23:25:56 [INFO] Checking workload status message of rabbitmq-server/0
2019-10-18 23:25:56 [INFO] Checking workload status of mysql/0
2019-10-18 23:25:56 [INFO] Checking workload status message of mysql/0
2019-10-18 23:26:01 [INFO] Using keystone API V2 for overcloud auth
2019-10-18 23:26:11 [INFO] Using keystone API V2 for overcloud auth
2019-10-18 23:26:16 [INFO] Using keystone API V2 for overcloud auth
2019-10-18 23:26:17 [INFO] Waiting for at least one unit with agent status "executing"
2019-10-18 23:26:18 [INFO] Waiting for a unit to appear
2019-10-18 23:26:18 [INFO] Waiting for all units to be idle
2019-10-18 23:27:52 [INFO] Checking workload status of keystone/0
2019-10-18 23:27:52 [INFO] Checking workload status message of keystone/0
2019-10-18 23:27:52 [INFO] Checking workload status of cinder/0
2019-10-18 23:27:52 [INFO] Checking workload status message of cinder/0
2019-10-18 23:27:52 [INFO] Checking workload status of cinder-purestorage/0
2019-10-18 23:27:52 [INFO] Checking workload status message of cinder-purestorage/0
2019-10-18 23:27:52 [INFO] Checking workload status of rabbitmq-server/0
2019-10-18 23:27:52 [INFO] Checking workload status message of rabbitmq-server/0
2019-10-18 23:27:52 [INFO] Checking workload status of mysql/0
2019-10-18 23:27:52 [INFO] Checking workload status message of mysql/0
2019-10-18 23:27:55 [INFO] Using keystone API V3 (or later) for overcloud auth
2019-10-18 23:28:01 [INFO] Waiting for a unit to appear
2019-10-18 23:28:01 [INFO] Waiting for all units to be idle
2019-10-18 23:28:01 [INFO] Checking workload status of keystone/0
2019-10-18 23:28:01 [INFO] Checking workload status message of keystone/0
2019-10-18 23:28:01 [INFO] Checking workload status of cinder/0
2019-10-18 23:28:01 [INFO] Checking workload status message of cinder/0
2019-10-18 23:28:01 [INFO] Checking workload status of cinder-purestorage/0
2019-10-18 23:28:01 [INFO] Checking workload status message of cinder-purestorage/0
2019-10-18 23:28:01 [INFO] Checking workload status of rabbitmq-server/0
2019-10-18 23:28:01 [INFO] Checking workload status message of rabbitmq-server/0
2019-10-18 23:28:01 [INFO] Checking workload status of mysql/0
2019-10-18 23:28:01 [INFO] Checking workload status message of mysql/0
2019-10-18 23:28:01 [INFO] ## Running Test tests.tests_cinder_purestorage.CinderpurestorageTest ##
2019-10-18 23:28:46 [INFO] Using keystone API V2 for overcloud auth
2019-10-18 23:28:49 [INFO] Using keystone API V2 for overcloud auth
2019-10-18 23:28:50 [WARNING] Version 2 is deprecated, use alternative version 3 instead.
2019-10-18 23:28:50 [INFO] test_create_volume (tests.tests_cinder_purestorage.CinderpurestorageTest)
2019-10-18 23:28:50 [INFO] ...
2019-10-18 23:29:07 [INFO] available
2019-10-18 23:29:09 [INFO] ERROR
2019-10-18 23:29:09 [INFO] ======================================================================
2019-10-18 23:29:09 [INFO] ERROR: test_create_volume (tests.tests_cinder_purestorage.CinderpurestorageTest)
2019-10-18 23:29:09 [INFO] ----------------------------------------------------------------------
2019-10-18 23:29:09 [INFO] Traceback (most recent call last):
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/urllib3/connectionpool.py", line 672, in urlopen
2019-10-18 23:29:09 [INFO] chunked=chunked,
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/urllib3/connectionpool.py", line 421, in _make_request
2019-10-18 23:29:09 [INFO] six.raise_from(e, None)
2019-10-18 23:29:09 [INFO] File "<string>", line 3, in raise_from
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/urllib3/connectionpool.py", line 416, in _make_request
2019-10-18 23:29:09 [INFO] httplib_response = conn.getresponse()
2019-10-18 23:29:09 [INFO] File "/usr/lib/python3.5/http/client.py", line 1213, in getresponse
2019-10-18 23:29:09 [INFO] response.begin()
2019-10-18 23:29:09 [INFO] File "/usr/lib/python3.5/http/client.py", line 307, in begin
2019-10-18 23:29:09 [INFO] version, status, reason = self._read_status()
2019-10-18 23:29:09 [INFO] File "/usr/lib/python3.5/http/client.py", line 276, in _read_status
2019-10-18 23:29:09 [INFO] raise RemoteDisconnected("Remote end closed connection without"
2019-10-18 23:29:09 [INFO] http.client.RemoteDisconnected: Remote end closed connection without response
2019-10-18 23:29:09 [INFO] During handling of the above exception, another exception occurred:
2019-10-18 23:29:09 [INFO] Traceback (most recent call last):
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/requests/adapters.py", line 449, in send
2019-10-18 23:29:09 [INFO] timeout=timeout
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/urllib3/connectionpool.py", line 720, in urlopen
2019-10-18 23:29:09 [INFO] method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/urllib3/util/retry.py", line 400, in increment
2019-10-18 23:29:09 [INFO] raise six.reraise(type(error), error, _stacktrace)
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/urllib3/packages/six.py", line 734, in reraise
2019-10-18 23:29:09 [INFO] raise value.with_traceback(tb)
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/urllib3/connectionpool.py", line 672, in urlopen
2019-10-18 23:29:09 [INFO] chunked=chunked,
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/urllib3/connectionpool.py", line 421, in _make_request
2019-10-18 23:29:09 [INFO] six.raise_from(e, None)
2019-10-18 23:29:09 [INFO] File "<string>", line 3, in raise_from
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/urllib3/connectionpool.py", line 416, in _make_request
2019-10-18 23:29:09 [INFO] httplib_response = conn.getresponse()
2019-10-18 23:29:09 [INFO] File "/usr/lib/python3.5/http/client.py", line 1213, in getresponse
2019-10-18 23:29:09 [INFO] response.begin()
2019-10-18 23:29:09 [INFO] File "/usr/lib/python3.5/http/client.py", line 307, in begin
2019-10-18 23:29:09 [INFO] version, status, reason = self._read_status()
2019-10-18 23:29:09 [INFO] File "/usr/lib/python3.5/http/client.py", line 276, in _read_status
2019-10-18 23:29:09 [INFO] raise RemoteDisconnected("Remote end closed connection without"
2019-10-18 23:29:09 [INFO] urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))
2019-10-18 23:29:09 [INFO] During handling of the above exception, another exception occurred:
2019-10-18 23:29:09 [INFO] Traceback (most recent call last):
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/keystoneauth1/session.py", line 979, in _send_request
2019-10-18 23:29:09 [INFO] resp = self.session.request(method, url, **kwargs)
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/requests/sessions.py", line 533, in request
2019-10-18 23:29:09 [INFO] resp = self.send(prep, **send_kwargs)
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/requests/sessions.py", line 646, in send
2019-10-18 23:29:09 [INFO] r = adapter.send(request, **kwargs)
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/requests/adapters.py", line 498, in send
2019-10-18 23:29:09 [INFO] raise ConnectionError(err, request=request)
2019-10-18 23:29:09 [INFO] requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))
2019-10-18 23:29:09 [INFO] During handling of the above exception, another exception occurred:
2019-10-18 23:29:09 [INFO] Traceback (most recent call last):
2019-10-18 23:29:09 [INFO] File "./tests/tests_cinder_purestorage.py", line 47, in test_create_volume
2019-10-18 23:29:09 [INFO] test_vol = self.cinder_client.volumes.find(name=test_vol_name)
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/cinderclient/base.py", line 351, in find
2019-10-18 23:29:09 [INFO] matches = self.findall(**kwargs)
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/cinderclient/base.py", line 390, in findall
2019-10-18 23:29:09 [INFO] listing = self.list(search_opts=search_opts)
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/cinderclient/v2/volumes.py", line 300, in list
2019-10-18 23:29:09 [INFO] return self._list(url, resource_type, limit=limit)
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/cinderclient/base.py", line 80, in _list
2019-10-18 23:29:09 [INFO] resp, body = self.api.client.get(url)
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/cinderclient/client.py", line 214, in get
2019-10-18 23:29:09 [INFO] return self._cs_request(url, 'GET', **kwargs)
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/cinderclient/client.py", line 205, in _cs_request
2019-10-18 23:29:09 [INFO] return self.request(url, method, **kwargs)
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/cinderclient/client.py", line 188, in request
2019-10-18 23:29:09 [INFO] **kwargs)
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/keystoneauth1/adapter.py", line 545, in request
2019-10-18 23:29:09 [INFO] resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/keystoneauth1/adapter.py", line 248, in request
2019-10-18 23:29:09 [INFO] return self.session.request(url, method, **kwargs)
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/keystoneauth1/session.py", line 888, in request
2019-10-18 23:29:09 [INFO] resp = send(**kwargs)
2019-10-18 23:29:09 [INFO] File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/keystoneauth1/session.py", line 995, in _send_request
2019-10-18 23:29:09 [INFO] raise exceptions.ConnectFailure(msg)
2019-10-18 23:29:09 [INFO] keystoneauth1.exceptions.connection.ConnectFailure: Unable to establish connection to http://172.17.112.15:8776/v2/34efecbad7f54eeca8e49542cdb6a917/volumes/detail?all_tenants=1&name=zaza175123530: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))
2019-10-18 23:29:09 [INFO] ----------------------------------------------------------------------
2019-10-18 23:29:09 [INFO] Ran 1 test in 67.615s
2019-10-18 23:29:09 [INFO] FAILED
2019-10-18 23:29:09 [INFO] (errors=1)
Traceback (most recent call last):
  File "/tmp/tmp.ZEMZepqF3y/func/bin/functest-run-suite", line 8, in <module>
    sys.exit(main())
  File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/zaza/charm_lifecycle/func_test_runner.py", line 162, in main
    bundle=args.bundle)
  File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/zaza/charm_lifecycle/func_test_runner.py", line 107, in func_test_runner
    run_env_deployment(env_deployment, keep_model=preserve_model)
  File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/zaza/charm_lifecycle/func_test_runner.py", line 63, in run_env_deployment
    test_steps.get(deployment.model_alias, []))
  File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/zaza/charm_lifecycle/test.py", line 68, in test
    run_test_list(tests)
  File "/tmp/tmp.ZEMZepqF3y/func/lib/python3.5/site-packages/zaza/charm_lifecycle/test.py", line 62, in run_test_list
    assert test_result.wasSuccessful(), "Test run failed"
AssertionError: Test run failed
ERROR: InvocationError: '/tmp/tmp.ZEMZepqF3y/func/bin/functest-run-suite --keep-model'
___________________________________ summary ____________________________________
ERROR: func: commands failed
 ! Functional test failed.

Tags: uosci
Ryan Beisner (1chb1n)
summary: - [Xenial-Pike] test_create_volume fails
+ [Xenial-Pike, Ocata] test_create_volume fails
description: updated
Changed in charm-cinder-purestorage:
importance: Undecided → High
assignee: nobody → Liam Young (gnuoy)
Ryan Beisner (1chb1n)
Changed in charm-cinder-purestorage:
status: New → In Progress
Revision history for this message
Aurelien Lourot (aurelien-lourot) wrote :

We don't cover Ocata and Pike anymore in this gate.

Changed in charm-cinder-purestorage:
status: In Progress → Won't Fix
assignee: Liam Young (gnuoy) → nobody
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.