I guess this yet another manifestation of self-hosted runner problem. Sometimes it happens that even if the script exits with '0' exit code, the actual CI job is marked as a failure and has exit code != 0.
Finished the script ci_run_kubernetes_tests.sh
Elapsed time spent in the script: 635 seconds
Exit code 0
Error: Process completed with exit code 1.