action #132332
Updated by tinita over 1 year ago
## Observation We see in https://openqa.suse.de/tests/11507412#comments that 8 several `investigate:retry` jobs are commenting back to the original job. ## Acceptance criteria * **AC1:** There is only one comment based on the result of the "retry" job reporting back the investigation results even if multiple jobs have been cloned (like for parallel clusters) ## Suggestions * We don't need to display any other job from an investigation cluster than one corresponding to the original scenario. For example for a salt-master+salt-minion job where the salt-minion job fails we are only interested in results of investigation jobs for the salt-minion testsuite * Find out in the retry job if we are the actual job we're interested in. E.g. we have `salt-master:investigate:retry` and `salt-minion:investigate:retry`. Look into the OPENQA_INVESTIGATE_ORIGIN job data and look at the `TEST` name and compare it to the current TEST. If it doesn't match, just return from the post-investigate function. ## Further details * See #95783 and https://github.com/os-autoinst/scripts/pull/170 for background