nfv/nfv/nfv-tests/nfv_unit_tests
Al Bailey 3bd5eed446 Adding kube-upgrade-abort support
Trigger a kube-upgrade abort when kube upgrade steps
encounter a failure.

Trigger a cleanup when constructing a new kube upgrade
strategy where an aborted kube-upgrade is detected.
This cleanup occurs during the 'build' phase.

This commit also includes additional INFO level logs
as each kube-upgrade step is invoked.  Previously some
were info and some were debug.

Test Plan:
  PASS: Trigger the downloading images phase to fail and
   observe that the kube-upgrade becomes 'aborted'.
  PASS: Create a kube-upgrade strategy where an aborted
   kube-upgrade exists, and observe that it is cleaned up
   and a fresh kube upgrade strategy is created.

Story: 2010565
Task: 48219
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I6d0ef0bdaaee73c76d6be40b9d5d0143332f83a0
2023-06-27 17:45:48 +00:00
..
test_data Bring fw update detect and monitor up to the host level 2020-06-02 09:49:51 -04:00
tests Adding kube-upgrade-abort support 2023-06-27 17:45:48 +00:00
README StarlingX open source release updates 2018-05-31 07:36:51 -07:00
setup.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00

README

#
# Copyright (c) 2015-2016 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#

# Tox (http://tox.testrun.org/) is a tool for running tests in multiple
# virtual environments.  To use it, "pip install tox" and then run "tox"
# from this directory (where the nfv_unit_tests are located).
#