In order to support using starlingx as a submodule in
outer projects, implementing resource_finder.py as a
utility to find the full path to resources.
Change-Id: I72d6d51eab218927349a02a64771959390624df5
mirror.starlingx.cengn.ca no longer exists. CENGN is kindly forwarding
requests to the new location mirror.starlingx.windriver.com for now, but
that will only last a few months. We need to replace all the references
with the new URL.
I will also remove as many 'cengn' references as possible, replacing
them with 'stx_mirror'
Partial-Bug: 2033555
Signed-off-by: Scott Little <scott.little@windriver.com>
Change-Id: If6a3c0d4e9e540f941f5e5e395c35975107216d7
This commit resolves the Zuul/tox failures encountered when running
sphinx to generate documentation, which in turn prevents merging
changes that are otherwise fine:
The issue is related to a Sphinx update that requires the language
parameter to be specified:
https://github.com/sphinx-doc/sphinx/issues/10062https://github.com/sphinx-doc/sphinx/issues/10474
Partial-Bug: 1976377
Partial-Bug: 2033431
Signed-off-by: Scott Little <scott.little@windriver.com>
Change-Id: Ifa3d4638955ddd2ff9f2acd9225657c16958a03a
Updating the rsa ssh host key based on:
https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/
Note: In the future, StarlingX should have a zuul job and
secret setup for all repos so we do not need to do this
for every repo.
Needed to rename the secret, because zuul fails if like-named
secrets have diffent values in different branches of the same
repo.
Partial-Bug: #2015246
Change-Id: I35d1bef12070ae0c1faa4b9dd41a1b90aa179acc
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
This change will allow this repo to pass zuul now
that this has merged:
https://review.opendev.org/c/zuul/zuul-jobs/+/866943
Tox 4 deprecated whitelist_externals.
Replace whitelist_externals with allowlist_externals
Fix pylint zuul failures
This removes some invalid config entries, and suppresses some
additional checks.
Partial-Bug: #2000399
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I96951a2c8eef3f45e5bfa08e705e03b5e8b77947
Description: The test_reboot_active_controller fails because the stx-openstack is not applied:
...RegionOne host-swact controller-1' failed to execute. Output: Swact action not allowed. stx-openstack apply is in progress.
During reboot of the active controller a swact should be performed which fails.
Story: N/A
Task: N/A
Signed-off-by: Alexandru <alexandru.dimofte@intel.com>
Change-Id: I363a8328159d5ce086e05037997f7f3bdd197207
This reverts commit b5b362c759cd40997eab5dfed45b8b34a38b3b5e.
Description:
This commit is reverted because of LP: https://bugs.launchpad.net/starlingx/+bug/1949771
Change-Id: Ie1358776036fc6db7f22a588df8b935550e7e878
Description: This changes is needed in order to fix a test failure
Error msg: TypeError: load() missing 1 required positional argument: 'Loader'
Story: N/A
Task: N/A
Signed-off-by: Alexandru <alexandru.dimofte@intel.com>
Change-Id: I4b2537bbb1969bac25ac36c4fa7d1e8b889b992e
Warnings Fixed:
W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
E0702: Raising str while only classes or instances are allowed (raising-bad-type)
Story: 2005892
Task: 43821
Change-Id: I2083fa4f8d994480c79ff557c56cf2f29c56c19f
Signed-off-by: Felipe Desiglo Ferrare <Felipe.DesigloFerrare@windriver.com>
Added test suite Host Management
Story: 2007472
Task: 39173
Patch Set 2:
Added no_duplex fixture in pre_checks_and_configs.py
Added DUPLEX_SYSTEM SkipSysType in reasons.py
Test_host_management:
replaced prints
added skips to tests according to configuration
reworked test_lock_unlock_active_controller
Patch Set 3:
imported ProjVar in test_host_management.py
Patch Set 4:
removed unused imports
added reboot active controller testcase
added reboot standby controller testcase
added reapply openstack testcase
Change-Id: I8bc27e85ce00d8b9bc4dfa1e81c3234f93164836
Signed-off-by: olovaszi <oliver.lovaszi@intel.com>
Signed-off-by: George Postolache <george.postolache@intel.com>
Description:
reasons.py:
added duplex_system reason
heat_helper.py:
replaced 'is' with '=='
host_helper.py :
in modify_host_memory and get_host_memories converted key to str from int
unused variables in string format
network_helper.py:
in add_icmp_and_tcp_rules removed "protocol" and added egress for icmp
unused variables in string format
replaced 'is' with '=='
security_helper.py:
unused variables in string format
storage_helper.py:
replaced 'is' with '=='
unused variables in string format
pytest.ini:
added robotperformance marker
performance:
added performance directory containing performance tests
fixture_resources.py:
added missing ',' in _RESOURCE_TYPES list
pre_checks_and_configs.py:
added no_duplex
telnet.py:
replace 'NotImplemented' with 'NotImplementedError'
parse_log.py:
replaced 'is' with '=='
Signed-off-by: George Postolache <george.postolache@intel.com>
Change-Id: I32e84aac33102e57f4b0eb28d9aca0f6684e6b64
-Remove test cases according to the host-based SNMP removal
-Remove community related test cases
-Remove trapdest related test cases
Story: 2008132
Task: 41393
Change-Id: I5c698fe2b9eca82971f70e4edabf16af702f4f68
Depends-On: https://review.opendev.org/765381
Signed-off-by: Takamasa Takenaka <takamasa.takenaka@windriver.com>
flake8 2.6.2 failed on ubuntu-focal zuul machines running python3.8
with the following error:
AttributeError: 'FlakesChecker' object has no attribute 'CONSTANT'
pylint failed with following error:
ERROR: InvocationError for command /home/zuul/src/opendev.org/starlingx/test/.tox/pylint/bin/pylint
--rcfile=pylint.rc automated-p
upgrade openstackdocstheme to 2.2.1 and update sphinx version
fix releasenotes to use python3
Change-Id: Ie5e11b44a3ff9695a6ec44eaf4a53baababc27ac
Signed-off-by: Yvonne Ding <yvonne.ding@windriver.com>
Description: Currently the Jenkins groovy scripts are modifying the robot files
using sed commands in order to work preperly. That changes are now added in
robot files and will removed from Jenkins pipeline scripts.
All this delays, sleeps and other commands are needed.
Modified the test-requirements.txt file changing some versions for some components,
this will fix some issues.
Story: 2007623
Task: 39657
Change-Id: Id9c5cb56e30f764302521747d3abdb5637d633c1
Signed-off-by: Alexandru Dimofte <alexandru.dimofte@intel.com>
modified is_cepth_healthy to return both status and output
Change-Id: Iebb903bdc3d3720ae537f3f68e539a347b06693e
Signed-off-by: George Postolache <george.postolache@intel.com>
The filesystem /opt/patch-vault is renamed to /opt/dc-vault so that
it can be re-used to store FPGA images and software loads. Thus,
necessary changes have been made in the manual tests.
Change-Id: I095a9c90afef8af5a64d7025745a15b136a56a2f
Story: 2006740
Task: 39550
Depends-On: https://review.opendev.org/#/c/723007/
Signed-off-by: Jessica Castelino <jessica.castelino@windriver.com>