[sle][Migration][SLE15SP4] Enhance y2log upload function
Sometimes, y2log cannot upload successfully.
Need enhance this make sure we can get y2log file if test modules failed.
This is a scenario for can't upload y2log which I have used branch to workaround to support yast2 log to developer.
This the job that can't upload y2log, https://openqa.nue.suse.com/tests/6834821/logfile?filename=autoinst-log.txt
Please take a look at this case, when it failed, the case didn't save and upload y2log.