feat(performance-tests): Add k6 integration to CI pipeline jv - #14069
Conversation
Co-authored-by: Mladen Todorovic <mtodor@gmail.com> Co-authored-by: Tom Martensen <tmartens@redhat.com>
|
Images are ready for the commit at 26de74e. To use with deploy scripts, first |
Performance test resultsSummarySources
|
There was a problem hiding this comment.
Tnx for making progress on this! I have added a few comments. I don't see much to be done, just a few more tweaks and a bit of re-testing.
Please also check styles: https://github.com/stackrox/stackrox/actions/runs/13091435913/job/36528512327?pr=14069
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #14069 +/- ##
========================================
Coverage 48.92% 48.92%
========================================
Files 2500 2500
Lines 180852 180982 +130
========================================
+ Hits 88479 88545 +66
- Misses 85353 85412 +59
- Partials 7020 7025 +5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
/test ocp-4-17-nongroovy-e2e-tests |
|
/test ocp-4-17-nongroovy-e2e-tests |
mtodor
left a comment
There was a problem hiding this comment.
@JoukoVirtanen Tnx a lot for continuing on this!
I have tested python script locally. It works.
40290c8 to
9bdfffe
Compare
+1 This is great! @mtodor I created a user and added it to the github org secrets with these variable names so the python script can be added into an action run. |
|
@davdhacs thanks for taking care of this! |
|
@JoukoVirtanen thanks for picking this up! Will you be adding the opensearch upload to the workflow / is there a ticket to track against? |
…ox#14069) Co-authored-by: Mladen Todorovic <mtodor@redhat.com> Co-authored-by: Mladen Todorovic <mtodor@gmail.com> Co-authored-by: Tom Martensen <tmartens@redhat.com>
Description
Adds K6 load testing to CI. K6 enables developers to measure how long API calls take and how reliable they are. We need to run consistent load tests, reasonably frequently, so that we can make sure that our changes don't degrade performance of API calls. The K6 load testing is done only when the
ci-performace-testslabel is used.This is branched off of #7888
User-facing documentation
Testing and quality
Automated testing
How I validated my change
opensearch-json-import.py- works locally and JSON generated by test in PR can be ingested into Elastic