← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1859988] Re: neutron-tempest-plugin tests fail for stable/queens

 

Reviewed:  https://review.opendev.org/703903
Committed: https://git.openstack.org/cgit/openstack/neutron-tempest-plugin/commit/?id=0327bc227b7aa15f15328b32309fecd506a27830
Submitter: Zuul
Branch:    master

commit 0327bc227b7aa15f15328b32309fecd506a27830
Author: Ghanshyam <gmann@xxxxxxxxxxxxxxxxx>
Date:   Wed Jan 22 18:23:15 2020 -0600

    Remove TEMPEST_BRANCH var from neutron queens job.
    
    In devstack install_Tempest, ref is taken by TEMPEST_BRANCH var[1]. TEMPEST_BRANCH var on zuul job
    definitoin is priority than the default value in devstack[2]. When we set the queens compatible Tempest
    tag[1] (with review style not by tag name) on devstack stable/queens, that is not taken by devstack
    because neutron queens job define the smae with different value[4].
    
    Also Tag name (for example queens-em) never work because of devstack logic. Tempest tag name only work
    if RECLONE is true otherwise it should be gerrit ref style. So always Tempest master is installed
    on queens jobs.
    
    Let's remove the TEMPEST_BRANCH from neutron jobs and rely on devstack deafult value.
    
    CLoses-Bug: 1859988
    [1] https://github.com/openstack/devstack/blob/stable/queens/lib/tempest#L658
    [2] https://github.com/openstack/devstack/blob/786c485cf6d664163b4ee3d390c62693a9e0d036/stackrc#L313
    [3] https://review.opendev.org/#/c/703679/
    [4] https://zuul.opendev.org/t/openstack/build/0cc32b278afe4e51b787d87d480f7092/log/job-output.txt#12370
    
    Change-Id: I07beb6e7bdcbaf7ffe72d47f9edb90df40641e68


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1859988

Title:
  neutron-tempest-plugin tests fail for stable/queens

Status in devstack:
  Confirmed
Status in neutron:
  Fix Released
Status in tempest:
  Confirmed

Bug description:
  Recent stable/queens backport fail on neutron-tempest-plugin scenario tests, sample here:
  https://c896d480cfbd9dee637c-6e2dfe610262db0cf157ed36bc183b08.ssl.cf2.rackcdn.com/688719/5/check/neutron-tempest-plugin-scenario-openvswitch-queens/f080f61/testr_results.html

  Traceback (most recent call last):
    File "tempest/common/utils/__init__.py", line 108, in wrapper
      return func(*func_args, **func_kwargs)
    File "/opt/stack/tempest/.tox/tempest/local/lib/python2.7/site-packages/neutron_tempest_plugin/scenario/test_internal_dns.py", line 72, in test_dns_domain_and_name
      timeout=CONF.validation.ping_timeout * 10)
    File "/opt/stack/tempest/.tox/tempest/local/lib/python2.7/site-packages/neutron_tempest_plugin/scenario/base.py", line 309, in check_remote_connectivity
      timeout=timeout))
    File "/opt/stack/tempest/.tox/tempest/local/lib/python2.7/site-packages/neutron_tempest_plugin/scenario/base.py", line 299, in _check_remote_connectivity
      ping_remote, timeout or CONF.validation.ping_timeout, 1)
    File "tempest/lib/common/utils/test_utils.py", line 107, in call_until_true
      if func(*args, **kwargs):
    File "/opt/stack/tempest/.tox/tempest/local/lib/python2.7/site-packages/neutron_tempest_plugin/scenario/base.py", line 283, in ping_remote
      fragmentation=fragmentation)
    File "/opt/stack/tempest/.tox/tempest/local/lib/python2.7/site-packages/neutron_tempest_plugin/scenario/base.py", line 278, in ping_host
      return source.exec_command(cmd)
    File "/opt/stack/tempest/.tox/tempest/local/lib/python2.7/site-packages/tenacity/__init__.py", line 311, in wrapped_f
      return self.call(f, *args, **kw)
    File "/opt/stack/tempest/.tox/tempest/local/lib/python2.7/site-packages/tenacity/__init__.py", line 391, in call
      do = self.iter(retry_state=retry_state)
    File "/opt/stack/tempest/.tox/tempest/local/lib/python2.7/site-packages/tenacity/__init__.py", line 338, in iter
      return fut.result()
    File "/opt/stack/tempest/.tox/tempest/local/lib/python2.7/site-packages/concurrent/futures/_base.py", line 455, in result
      return self.__get_result()
    File "/opt/stack/tempest/.tox/tempest/local/lib/python2.7/site-packages/tenacity/__init__.py", line 394, in call
      result = fn(*args, **kwargs)
    File "/opt/stack/tempest/.tox/tempest/local/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 "tempest/lib/common/ssh.py", line 153, in exec_command
      with transport.open_session() as channel:
  AttributeError: 'NoneType' object has no attribute 'open_session'

  
  Queens jobs were pinned to 0.7.0 version of the plugin in a4962ec62808fc469eaad73b1408447d8e3bc7ec it looks like we now need to also pin tempest itself to a "queens version"

To manage notifications about this bug go to:
https://bugs.launchpad.net/devstack/+bug/1859988/+subscriptions


References