Created
February 18, 2026 11:29
-
-
Save foursixnine/c3fd14d3c7fa8dc96d8801b238a6ed5b to your computer and use it in GitHub Desktop.
Check for failing aeon tests in openQA
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # build=$(openqa-cli api --o3 job_groups/1/build_results only_tagged=1 | jq -e -r '[ .build_results[] | select(.tag.description=="published") | .build ][0]') | |
| build=$(curl -s https://openqa.opensuse.org/group_overview/1.json | jq -e -r '[ .build_results[] | .build ][0]') | |
| echo "Found build ${build}" | |
| failed_jobs=$(openqa-cli api --o3 jobs distri=aeon version=Tumbleweed build=${build} groupid=1 result=failed \ | |
| | jq -r '.jobs | .[] | "https://openqa.opensuse.org/tests/\(.id)"') | |
| # failed_jobs=$(curl -s "https://openqa.opensuse.org/tests/overview.json?distri=aeon&version=Tumbleweed&build=${build}&groupid=1" | \ | |
| # jq -e -r ' | |
| # .results[][]?.Installer? | |
| # | .[][] | |
| # | select(type == "object") | |
| # | select(.overall == "failed") | |
| # | "https://openqa.opensuse.org/tests/\(.jobid)" | |
| # ') | |
| if [[ ! -z "${failed_jobs[@]}" ]]; then | |
| echo "Failed jobs found:" | |
| for job in $failed_jobs; do | |
| echo -e "\t => ${job}" | |
| done | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment