← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1952806] Re: RBAC-enabled tempest test failing - in periodic-tripleo-ci-centos-8-ovb-1ctlr_2comp-featureset020-rbac-master - IndexError: list index out of range

 

Reviewed:  https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/820039
Committed: https://opendev.org/openstack/neutron-tempest-plugin/commit/c75ba5028fd1abfca557351eaf0da086599a3be8
Submitter: "Zuul (22348)"
Branch:    master

commit c75ba5028fd1abfca557351eaf0da086599a3be8
Author: elajkat <lajos.katona@xxxxxxxx>
Date:   Wed Dec 1 15:54:28 2021 +0100

    Use admin_client to list admin's servers' ports
    
    FloatingIpTestCasesAdmin creates VMs as admin (to be sure to boot on
    availability_zone) so to list ports for the VM we have to use
    admin_client.
    
    Change-Id: I1da9ccc99b70355554ace3a20a237bb4f33381ab
    Closes-Bug: #1952806


** 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/1952806

Title:
  RBAC-enabled tempest test failing - in periodic-tripleo-ci-
  centos-8-ovb-1ctlr_2comp-featureset020-rbac-master - IndexError: list
  index out of range

Status in neutron:
  Fix Released

Bug description:
  https://logserver.rdoproject.org/openstack-periodic-integration-
  main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-
  centos-8-ovb-1ctlr_2comp-featureset020-rbac-
  master/ff87c9e/logs/undercloud/var/log/tempest/stestr_results.html.gz
  shows

  neutron_tempest_plugin.scenario.admin.test_floatingip.FloatingIpTestCasesAdmin.test_two_vms_fips

  fails with the following trace:

  
  Traceback (most recent call last):
    File "/usr/lib/python3.6/site-packages/neutron_tempest_plugin/scenario/admin/test_floatingip.py", line 102, in test_two_vms_fips
      servers, server_ssh_clients, fips = self._create_vms(hyper, avail_zone)
    File "/usr/lib/python3.6/site-packages/neutron_tempest_plugin/scenario/admin/test_floatingip.py", line 81, in _create_vms
      )['ports'][0]
  IndexError: list index out of range

  
  second log: https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-ovb-1ctlr_2comp-featureset020-rbac-master/fb3a235/logs/undercloud/var/log/tempest/stestr_results.html.gz

  The same test in an non-RBAC-enabled test passes on the same DLRN
  hash:

  https://logserver.rdoproject.org/openstack-periodic-integration-
  main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-
  centos-8-ovb-1ctlr_2comp-
  featureset020-master/ce14b1e/logs/undercloud/var/log/tempest/stestr_results.html.gz

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



References