Skip to content

redhat-performance/perfci-vars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RHOS Perfscale CI

RedHat Openstack performance and scale CI consists of a set of jenkins pipeline jobs running on RHOS QE jenkins server. The jobs are triggered automatically on every new OSP puddle release passing passed_phase2.

Job details

Every new job is created based on the combination of the OSP release version and the Neutron backend SDN type. To create a new job, you have to submit a patch on the rhos-qe-jenkins repository with your modification. Here is a Mojo link for submit a patch on rhos-qe-jenkins. All the perfci jobs defined in the jobs/DFG/perfscale/perfci/jobs/jobs.yaml file. Currently the perfci contains 4 jobs

What does each job do?

Each job is triggered automatically whenever the new puddle is released and passing the passed_phase2 for the respective OSP version. On each run, the job deploys the corresponding OSP version using Jetpack on the given baremetal nodes. Jetpack is a tool to deploy openstack on baremetal.

After deploying OpenStack, the job will look for the DFG specific configuration variables file for each enabled DFG. The configuration variable files are available in the perfci-vars repository.

Post this configuration, the browbeat tests are run individually for each DFG on different stages and the result will be pushed to ELK host.

Flow of the Job

The below diagram explains the high level flow of each perfci job.

flow

RHOS QE jenkins will periodically poll the OSP puddle registry for any new releases, if it finds any new puddle release it will trigger the respective perfci job on the jenkins slave which is dedicatedly allotted for perfci jobs.

Upon the job trigger, the jenkins will pull the SCM where the Jenkinsfile script presents. In our case, the Jenkinsfile scripts are available at rhos-qe-jenkins repository at the jobs/DFG/perfscale/perfci/scripts directory and the supporting scripts are present at the infra/scripts/DFG/perfscale/perfci/scripts directory.

The job will continue to run on various stages, on stage one it will checkout the jetpack, configuration variables for Jetpack and browbeat for each DFG checked out from perfci-vars repository. On stage two it will deploy the openstack using jetpack. Post deployment the job will run the browbeat tests for all the enabled DFGs on different stages and the results are pushed to the ELK stack.

How to enable new DFG

To add a new DFG in a Performance QE CI environment, You just need to do two simple steps. First, you have to add a configuration variable file for the DFG, the file name should be in <DFG_name>-config-vars.yml format. You need to submit a PR on perfci-vars repository to add your configuration file.

Secondly, you have to enable your DFG in the jobs’ DFG_LIST parameter before triggering the job. If you want to add your DFG permanently for every run, you need to submit a patch to rhos-qe-jenkins with the modified DFG_LIST on the respective jobs.

How to add a new workload

To add a new workload for your DFG jobs, just add your new workload params on your -config-vars.yaml and submit the change to the perfci-vars repository.

Note: when adding a new scenario to your DFG configuration variable file, make sure that the scenario is supported in browbeat. In case it is not available on the Browbeat you can submit a patch to Browbeat to add your scenario. Here are the steps to submit a patch on Browbeat.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published