VIM automated tests broken by FM decoupling activity

Bug #1790906 reported by Bart Wensley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
High
Tao Liu

Bug Description

Title
-----
VIM automated tests broken by FM decoupling activity

Brief Description
-----------------
When running the VIM automated tests as per stx-nfv/nfv/nfv-tests/nfv_scenario_tests/README, all tests fail due to an issue finding the FM endpoint which was created when FM was decoupled from sysinv.

Severity
--------
Major: Unable to run VIM automated test suite. Normal system operation is not impacted as far as I can tell.

Steps to Reproduce
------------------
Run VIM automated tests as per stx-nfv/nfv/nfv-tests/nfv_scenario_tests/README

Expected Behavior
------------------
Tests should run successfully.

Actual Behavior
----------------
The first test fails with this error:
===== Test Iteration 0 (single-execution) ===================================================================================================
2018-09-05 14:58:19.504 Test Instance-Pause ........................................ Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/nfv_scenario_tests/tests/_test_base.py", line 128, in run
Sep 05 14:58:28.556 UNKNOWN[12781] ERROR _test_base.py.141 Test run Instance-Pause exception, exception=OpenStack FM URL is invalid.
    success, reason = self._test_passed()
  File "/usr/lib64/python2.7/site-packages/nfv_scenario_tests/tests/_test_instances.py", line 307, in _test_passed
    self._refresh_customer_alarms()
  File "/usr/lib64/python2.7/site-packages/nfv_scenario_tests/tests/_test_instances.py", line 166, in _refresh_customer_alarms
    self._customer_alarms = fm.get_alarms(self.token).result_data
  File "/usr/lib64/python2.7/site-packages/nfv_plugins/nfvi_plugins/openstack/fm.py", line 21, in get_alarms
    raise ValueError("OpenStack FM URL is invalid")
ValueError: OpenStack FM URL is invalid
[FAILED] (2018-09-05 14:58:28.232 Δ=0:00:06.742)
Total-Tests: 16 Execution-Time: 0:00:09.068
=============================================================================================================================================

Reproducibility
---------------
Reproducible

System Configuration
--------------------
2 controller + 4 compute Virtual Box with LVM backend

Branch/Pull Time/Commit
-----------------------
BUILD_DATE="2018-09-03 20:18:57 -0400"

Timestamp/Logs
--------------
See above

Ghada Khalil (gkhalil)
Changed in starlingx:
assignee: nobody → Tao Liu (tliu88)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to stx-nfv (master)

Fix proposed to branch: master
Review: https://review.openstack.org/600159

Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to stx-nfv (master)

Reviewed: https://review.openstack.org/600159
Committed: https://git.openstack.org/cgit/openstack/stx-nfv/commit/?id=0d00446d7b017f09271f91b34736b520e3fad74b
Submitter: Zuul
Branch: master

commit 0d00446d7b017f09271f91b34736b520e3fad74b
Author: Tao Liu <email address hidden>
Date: Wed Sep 5 11:54:01 2018 -0500

    Fix VIM automated tests

    VIM automated tests were broken after FM APIs were removed from
    sysinv. This updated contains the following changes that enable
    VIM automated tests:

    1.Add the FM endpoint information to the scenario tests config file
    2.Change the alarm-list and event-list CLI from system shell to fm shell
    3.Fix two exception error messages

    Closes-Bug: 1790906

    Change-Id: If712d09861a20aa8a8796300bfa18e17f1d3be7d
    Signed-off-by: Tao Liu <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
tags: added: stx.2018.10 stx.nfv
Changed in starlingx:
importance: Undecided → High
Ken Young (kenyis)
tags: added: stx.1.0
removed: stx.2018.10
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.