Multiple neutron tempest plugin tests failure with AttributeError: 'NoneType' object has no attribute 'open_session'

Bug #1861102 reported by chandan kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Unassigned

Bug Description

tempest-23.0.0 [https://review.opendev.org/#/c/703521/] [marking the end support of queens release] got released recently. We are working on updating the same tempest version in TripleO using this review: https://review.rdoproject.org/r/#/c/24683/ for train release.

It fixes multiple issues.

http://logs.rdoproject.org/83/24683/3/check/rdoinfo-tripleo-master-testing-centos-7-standalone-featureset052-train/8d9532f/logs/undercloud/var/log/tempest/tempest_run.log

Below is the list of neutron tempest tests which are failing with the same error:
neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_default_sec_grp_scenarios

neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_remote_group

neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_trunk_subport_lifecycle

neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_trunk_subport_lifecycle[id-bb13fe28-f152-4000-8131-37890a40c79e]
--------------------------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/usr/lib/python2.7/site-packages/neutron_tempest_plugin/scenario/test_trunk.py", line 224, in test_trunk_subport_lifecycle
        self._assert_has_ssh_connectivity(vm1.ssh_client)
      File "/usr/lib/python2.7/site-packages/neutron_tempest_plugin/scenario/test_trunk.py", line 160, in _assert_has_ssh_connectivity
        ssh_client.exec_command("true")
      File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 292, in wrapped_f
        return self.call(f, *args, **kw)
      File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 358, in call
        do = self.iter(retry_state=retry_state)
      File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 319, in iter
        return fut.result()
      File "/usr/lib/python2.7/site-packages/concurrent/futures/_base.py", line 422, in result
        return self.__get_result()
      File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 361, in call
        result = fn(*args, **kwargs)
      File "/usr/lib/python2.7/site-packages/neutron_tempest_plugin/common/ssh.py", line 205, in exec_command
        return super(Client, self).exec_command(cmd=cmd, encoding=encoding)
      File "/usr/lib/python2.7/site-packages/tempest/lib/common/ssh.py", line 153, in exec_command
        with transport.open_session() as channel:
    AttributeError: 'NoneType' object has no attribute 'open_session

python2-neutron-tests-tempest-0.6.0-0.20191003181333.3a4fc79.el7.noarch is used in the job http://logs.rdoproject.org/83/24683/3/check/rdoinfo-tripleo-master-testing-centos-7-standalone-featureset052-train/8d9532f/logs/undercloud/var/log/extra/rpm-list.txt

It appears that tempest-23.0.0 is not compatible with current neutron tempest plugin.

It is a tracker bug for the same.

Tags: alert tempest
Revision history for this message
chandan kumar (chkumar246) wrote :
Revision history for this message
chandan kumar (chkumar246) wrote :
Revision history for this message
wes hayutin (weshayutin) wrote :
Changed in tripleo:
status: Triaged → Fix Released
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.