From 1cc0ab2614a17349b20cac001abd7165c4269c62 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Fri, 14 Apr 2023 13:14:25 +0200 Subject: [PATCH] ci: improve e2e failure reporting and checklist (#1656) Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- .github/actions/notify_failure/action.yml | 1 + .github/failure_project_template.md | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/actions/notify_failure/action.yml b/.github/actions/notify_failure/action.yml index a7f98a7b5..62697f6a2 100644 --- a/.github/actions/notify_failure/action.yml +++ b/.github/actions/notify_failure/action.yml @@ -88,6 +88,7 @@ runs: if [[ -n "${{ inputs.refStream }}" ]]; then yq -iP '.attachments[0].content.body[0].columns[1].items[2].facts += [ { "title": "RefStream", "value": "${{ inputs.refStream }}" } ]' teams_payload.json fi + yq -iP '.attachments[0].content.body[0].columns[1].items[2].facts += [ { "title": "Assignee", "value": "${{ steps.pick-assignee.outputs.assignee }}" } ]' teams_payload.json yq -iP '.attachments[0].content.actions[0].url = "${{ steps.create-project-card.outputs.jobURL }}"' teams_payload.json yq -iP '.attachments[0].content.actions[1].url = "${{ steps.create-project-card.outputs.issueURL }}"' teams_payload.json yq -iP ".attachments[0].content.actions[2].url = \"${{ steps.create-project-card.outputs.opensearchURL }}\"" teams_payload.json diff --git a/.github/failure_project_template.md b/.github/failure_project_template.md index b5a45bd33..dc11cf27b 100644 --- a/.github/failure_project_template.md +++ b/.github/failure_project_template.md @@ -3,5 +3,7 @@ - [ ] Inspect GitHub run logs - [ ] Inspect Boot logs - [ ] Inspect OpenSearch logs +- [ ] Inspect sonobuoy logs (if present) +- [ ] Check if other untriaged failures have the same cause (if yes, assign to you and move together with this ticket) - [ ] Correlate to existing bug tickets *or* - [ ] Add new bug ticket