Skip to content

Instantly share code, notes, and snippets.

@yuvalif
Created July 18, 2023 07:21
Show Gist options
  • Select an option

  • Save yuvalif/44a4c87b6e2ca93a986cfdda088d98d1 to your computer and use it in GitHub Desktop.

Select an option

Save yuvalif/44a4c87b6e2ca93a986cfdda088d98d1 to your computer and use it in GitHub Desktop.
set -e
name=$1
id=$2
mkdir -p "$name"
cd "$name" ||exit
wget "http://qa-proxy.ceph.com/teuthology/$name/$id/teuthology.log" -O "teuthology$id.log"
ag "... FAIL" "teuthology$id.log" | cut -d':' -f 6-
ag "= FAILURES =" -A 100 "teuthology$id.log"
cd ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment