[CI/CD/QA] Fix-improve Weekly-SLURM-job-End-time Finder script for Virgo3
As mentioned in my email:
- this fix the problem with the jobs running up to the end-time cancellation for
virgo3by using a cleaner implementation relying on the SLURM environment variables -
virgo2would still need another method as there those variables are not present - my original method using
squeueseems to be broken since last week or this week, maybe after someSPACKrelated environment variable was removed from the bare-metal submit nodes environment (at least the container does not seem to have changed based oncvmfsfilesystem times)
=> This would bring back the weekly test for virgo3 in CDASH but probably at the same time the ones for virgo2 will not be uploaded anymore, so we will not have a week with tests overlap for comparison
=> Still the right direction to go I think, I would then make another MR to cleanup the script of the dirty hack in 3-4 weeks once virgo2 is gone
Edited by Pierre-Alain Loizeau