SUSE-Cloud / automation

Automation scripts for development, testing, and CI
Apache License 2.0
69 stars 139 forks source link

Fix openstack-devstack CI jobs (SOC-11405) #3929

Closed rtamalin closed 4 years ago

rtamalin commented 4 years ago

Update the job definitions for the openstack-devstack-ipv{4,6} jobs to use the Leap 15.2 image when creating a cleanvm instance, and to manage the cleanvm vm on the ci1-opensuse system rather than locally.

Update the qa_devstack.sh script to specify memory_tracker rather than peakmem_tracker when defining the devstack local.conf config for the master branch.

Additionally the upstream devstack scripts now expect an env var, PYTHON, defined specifing the appropriate python command to use when running scripts such as outfilter.py, which are not marked as being executable.

rtamalin commented 4 years ago

Testing the proposed changes via hacking the old openstack-devstack job to match the proposed job changes (with tweaks to use this PR's code base) in https://ci.opensuse.org/view/OpenStack/job/openstack-devstack/1070/console

Previous test runs such as https://ci.opensuse.org/view/OpenStack/job/openstack-devstack/1066/ validated that the proposed changes to qa_devstack.sh allowed us to get a successful devstack run that passed tempest. Similarly https://ci.opensuse.org/view/OpenStack/job/openstack-devstack/1068/ validated that the proposed job definition changes work correctly including handling the the failure case.