Skip to content

cpu-stress Chaos Experiment #518

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

Merged
merged 89 commits into from
Jun 14, 2022
Merged

Conversation

neelanjan00
Copy link
Member

@neelanjan00 neelanjan00 commented May 11, 2022

Why We Need This PR

Adds m-agent based cpu-stress experiment which can stress the CPU of target machines

  • It uses stress-ng tool to stress the CPU

Which Issue This PR Fixes

fixes #517

Special notes for your reviewer

Experiment execution logs:

INFO[2022-05-11T20:31:15+05:30] Experiment Name: cpu-stress                  
INFO[2022-05-11T20:31:15+05:30] [PreReq]: Getting the ENV for the  experiment 
INFO[2022-05-11T20:31:15+05:30] [PreReq]: Updating the chaos result of cpu-stress experiment (SOT) 
INFO[2022-05-11T20:31:17+05:30] [Info]: The stress process parameters are as follows  Load Percentage=50 CPUs=1
INFO[2022-05-11T20:31:17+05:30] [Status]: Connecting to the agents           
INFO[2022-05-11T20:31:18+05:30] [Status]: Verify that stress-ng is available in the target machine 
INFO[2022-05-11T20:31:19+05:30] [Chaos]: Injecting CPU stress for 34.136.237.160:41365 agent endpoint 
INFO[2022-05-11T20:31:20+05:30] [Chaos]: CPU stress chaos injected successfully in 34.136.237.160:41365 agent endpoint 
INFO[2022-05-11T20:31:20+05:30] [Wait]: Waiting for chaos interval of 30s    
INFO[2022-05-11T20:31:50+05:30] [Chaos]: Reverting CPU stress for 34.136.237.160:41365 agent endpoint 
INFO[2022-05-11T20:31:51+05:30] [Status]: Disconnecting the agents           
INFO[2022-05-11T20:31:51+05:30] [The End]: Updating the chaos result of cpu-stress experiment (EOT)

Checklist:

  • Fixes #
  • PR messages has document related information
  • Labelled this PR & related issue with breaking-changes tag
  • PR messages has breaking changes related information
  • Labelled this PR & related issue with requires-upgrade tag
  • PR messages has upgrade related information
  • Commit has unit tests
  • Commit has integration tests
  • E2E run Required for the changes

Dependencied

neelanjan00 and others added 30 commits December 9, 2021 12:30
Signed-off-by: neelanjan00 <[email protected]>
Signed-off-by: neelanjan00 <[email protected]>
Signed-off-by: neelanjan00 <[email protected]>
Signed-off-by: neelanjan00 <[email protected]>
Signed-off-by: neelanjan00 <[email protected]>
Signed-off-by: neelanjan00 <[email protected]>
Signed-off-by: neelanjan00 <[email protected]>
Signed-off-by: neelanjan00 <[email protected]>
Signed-off-by: neelanjan00 <[email protected]>
Signed-off-by: neelanjan00 <[email protected]>
Signed-off-by: neelanjan00 <[email protected]>
Signed-off-by: neelanjan00 <[email protected]>
Signed-off-by: neelanjan00 <[email protected]>
Signed-off-by: neelanjan00 <[email protected]>
…uschaos#482)

* Chore(stress-chaos): Run CPU chaos with percentage of cores

Signed-off-by: uditgaurav <[email protected]>
neelanjan00 added 2 commits May 11, 2022 19:57
Signed-off-by: neelanjan00 <[email protected]>
Signed-off-by: neelanjan00 <[email protected]>
@neelanjan00 neelanjan00 added READY TO REVIEW enhancement New feature or request labels May 11, 2022
@avaakash
Copy link
Contributor

Should we rebase the m-agent branch with the master branch, and then take this PR?
cc: @uditgaurav @ksatchit

@uditgaurav
Copy link
Member

Rebasing the m-agent branch gives conflicts - we need to resolve them!

Signed-off-by: Neelanjan Manna <[email protected]>
@neelanjan00
Copy link
Member Author

Rebasing the m-agent branch gives conflicts - we need to resolve them!

Merged master branch and resolved conflicts, can you PTAL: #525

neelanjan00 and others added 7 commits June 1, 2022 20:38
Signed-off-by: Neelanjan Manna <[email protected]>
Signed-off-by: Neelanjan Manna <[email protected]>
Signed-off-by: Neelanjan Manna <[email protected]>
Signed-off-by: Neelanjan Manna <[email protected]>
Signed-off-by: Neelanjan Manna <[email protected]>
@uditgaurav
Copy link
Member

The build should pass in the CI @neelanjan00 !

Signed-off-by: Neelanjan Manna <[email protected]>
@uditgaurav uditgaurav merged commit f4892a7 into litmuschaos:m-agent Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request READY TO REVIEW
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants