    failed_cmd_expected = f"prefixCommand failed: \n\n  kubectl -n namespace exec -it 0 --'bash --login -c -i '\"'\"'true && source ~/.bashrc && export OMP_NUM_THREADS=1 PYTHONWARNINGS=ignore && ({fail_cmd})'\"'\"''\n"  # noqa: E501
