Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional workloads: cyclictest, oslat and testpmd add #264

Merged
merged 18 commits into from
Jan 28, 2022
Merged

Additional workloads: cyclictest, oslat and testpmd add #264

merged 18 commits into from
Jan 28, 2022

Conversation

mkarg75
Copy link
Contributor

@mkarg75 mkarg75 commented Oct 15, 2021

Description

Three more workloads added:

  • oslat
  • cyclictest
  • testpmd

Fixes

n/a

This PR depends on the work @jdowni000 has done for the baremetal clusters #248

@rsevilla87 rsevilla87 added the enhancement New feature or request label Oct 15, 2021
workloads/cyclictest/common.sh Outdated Show resolved Hide resolved
workloads/cyclictest/common.sh Outdated Show resolved Hide resolved
utils/pao-profile.sh Outdated Show resolved Hide resolved
utils/pao-profile.sh Outdated Show resolved Hide resolved
utils/pao-profile.sh Outdated Show resolved Hide resolved
utils/pao-profile.sh Outdated Show resolved Hide resolved
bold=$(tput bold)
uline=$(tput smul)
normal=$(tput sgr0)
python3 -m pip install -r requirements.txt | grep -v 'already satisfied'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably deploy a venv first and then install/run from there to avoid any potential issues

workloads/oslat/common.sh Outdated Show resolved Hide resolved
workloads/oslat/common.sh Outdated Show resolved Hide resolved
bold=$(tput bold)
uline=$(tput smul)
normal=$(tput sgr0)
python3 -m pip install -r requirements.txt | grep -v 'already satisfied'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use a venv?

@@ -14,6 +14,21 @@ fi
export TOLERATIONS="[{key: role, value: workload, effect: NoSchedule}]"
export UUID=${UUID:-$(uuidgen)}

export baremetalCheck=$(oc get infrastructure cluster -o json | jq .spec.platformSpec.type)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rsevilla87 can you vet these changes given they impact all kube-burner e2e tests

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rsevilla87 re-ping

Copy link
Member

@rsevilla87 rsevilla87 Jan 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, seems like it checks if the test runs in a BM environment to install python 3.8 later. However I think it should be a software requirement and we shouldn't do it on runtime (we could say that oc and kubectl are also requirements.)

workloads/oslat/common.sh Outdated Show resolved Hide resolved
@dry923 dry923 requested a review from rsevilla87 January 20, 2022 13:21
@dry923
Copy link
Member

dry923 commented Jan 20, 2022

@mohit-sheth @sjug @rsevilla87 Can we get another set or two of eyes on this one please?

Copy link
Member

@dry923 dry923 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Collaborator

@mukrishn mukrishn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, tested on a 120 node BM cluster.

Copy link
Member

@rsevilla87 rsevilla87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rsevilla87 rsevilla87 merged commit 2103094 into cloud-bulldozer:master Jan 28, 2022
vishnuchalla pushed a commit that referenced this pull request Sep 6, 2023
* Updated workloads to run on baremetal

* Added oslat, cyclictest and testpmd workloads

* combination of 39 commits, squashed

* no more echoing empty lines

* changes for the PR / removing unnecessary files

* checking for the existance of id_rsa for the kni user

* reverting changes

* Missing bracket

* changes to check only the benchmark with the current UUID to prevent from clashing / overlapping benchmarks

* Turned the time to wait for the perfprofile into a variable, fixed a typo

* removing the UUID part of the benchmark name in the templates

* fixing a few minor issues, reverting UUID changes

* fixed cyclictest index

* last bits for the merge

* removed a double entry

* final cleanup

* indentation error

Co-authored-by: jdowni000 <[email protected]>
Co-authored-by: Marko Karg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants