We need to be more careful during this migration: the stress tests performance is more important than readability: last stress test was 2.5x slower
So we need to make sure that performance wise this rewrite is working OK.
Another point: we need to be able to use these scripts outside of CI to benchmark our production infrastructure (with possibly different authentication method than the CI one).
This was a key point for the unreadable test scripts: run as is on production for benchmarks.
For the organization of the system tests, this issue should take care of the directory layout: #908 (closed).
We need to differentiate between the two types of test scripts we have: the top-level scripts that execute kubectl commands to run scripts in the different pods, and the test scripts that actually run on the pods.
The scripts that run on the pods, we probably don't want to port to Python: these scripts are crucial for performance, and portability is important here (as mentioned by Julien).
On the other hand, we should be able to safely migrate the top-level scripts to Python without hurting performance. Portability is not as big of a concern here, as these scripts are simply executed from whatever machine has access to the Kubernetes cluster.
Whatever we decide, at the very least we should refactor these scripts to be more readable at some point (make them consistent with each other).