master node setup for 6.1 fuel-library tests fails with "list index out of range"

Bug #1536216 reported by Alexey Stupnikov
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Wishlist
Fuel QA Team
6.1.x
Fix Released
Critical
Fuel QA Team
8.0.x
Invalid
Wishlist
Fuel QA Team

Bug Description

Create environment and set up master node ... ERROR
Prepare master node ... SKIP: Failure in <function setup_master at 0x7f2197904410>
Bootstrap 5 slave nodes ... SKIP: Failure in <function setup_master at 0x7f2197904410>
Deploy cluster in HA mode with VLAN Manager ... SKIP: Failure in <function setup_master at 0x7f2197904410>

======================================================================
ERROR: Create environment and set up master node
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 333, in get_state
    self.instance = self.entry.home()
  File "/home/jenkins/workspace/fuel-main/env_centos-6_1/fuelweb_test/tests/base_test_case.py", line 33, in __init__
    self.env = EnvironmentModel()
  File "/home/jenkins/workspace/fuel-main/env_centos-6_1/fuelweb_test/models/environment.py", line 55, in __init__
    self.fuel_web = FuelWebClient(self.get_admin_node_ip(), self)
  File "/home/jenkins/workspace/fuel-main/env_centos-6_1/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/fuel-main/env_centos-6_1/fuelweb_test/models/environment.py", line 115, in get_admin_node_ip
    self.d_env.nodes(
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/devops/models/environment.py", line 425, in nodes
    return Nodes(self)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/devops/models/environment.py", line 444, in __init__
    self.admin = self.admins[0]
IndexError: list index out of range

----------------------------------------------------------------------
Ran 4 tests in 0.016s

FAILED (SKIP=3, errors=1)
+ ec=1
+ [ != yes ]
+ [ no = yes ]
+ dos.py destroy env_centos-6_1
+ exit 1
Build step 'Execute shell' marked build as failure
Archiving artifacts
[description-setter] Description set: ERROR: Create environment and set up master node
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
Email sending was cancelled by user script.
Finished: FAILURE

IMO self.admin[0] list should return something reasonable.

Tags: area-qa
Ivan (iremizov)
Changed in fuel:
assignee: Fuel CI (fuel-ci) → Fuel Python Team (fuel-python)
Revision history for this message
Ivan (iremizov) wrote :

This issue started failed job streak

Changed in fuel:
importance: High → Critical
Maciej Relewicz (rlu)
Changed in fuel:
milestone: none → 8.0
status: New → Confirmed
tags: added: area-python
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Fuel Library Team (fuel-library)
Dmitry Pyzhov (dpyzhov)
tags: added: area-library
removed: area-python
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 8.0 → 9.0
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Matthew Mosesohn (raytrac3r)
status: Confirmed → Invalid
importance: Critical → Wishlist
Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

Switched back to confirmed, since job is still failing with the same error: https://ci.fuel-infra.org/job/6.1.fuel-library.pkgs.centos.ha_nova_vlan/426/console

Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

Matthew, could you please doublecheck your patch?

Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

Sorry, I wrote about the wrong bug. This issue is not related to verifying tasks.

Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

This is not a library, but but related to either CI env, fuel-devops, or fuel-qa. The deployment was successful, but there was a later error. This can't be a library bug, but instead should be investigated by Fuel CI team and Fuel QA.

Changed in fuel:
assignee: Matthew Mosesohn (raytrac3r) → Fuel QA Team (fuel-qa)
tags: added: area-qa
removed: area-library
Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

Hi QA team, could you check this issue ASAP?

Revision history for this message
Dennis Dmitriev (ddmitriev) wrote :

Looks like there are used environments created with previous version of fuel-devops.

CI team, please remove all old environments to let these tests re-create them.

summary: - 6.1.fuel-library.pkgs.centos.ha_nova_vlan failed on review #269751
+ master node setup for 6.1 fuel-library tests fails with "list index out
+ of range"
Revision history for this message
Dmitry Kaigarodеsev (dkaiharodsev) wrote :

will update from ci-team side:

- old venv's are deleted
- new one venv re-created

the job has been re-triggered:
https://ci.fuel-infra.org/job/6.1.fuel-library.pkgs.centos.ha_nova_vlan/428/console

Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

Successfully passed CI test. Thanks everyone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.