Skip to content

Commit

Permalink
scanresults: add patch-reject ; speedup
Browse files Browse the repository at this point in the history
.build.log duplicates all info from log2 so we need to load less data
from slow HDD
  • Loading branch information
bmwiedemann committed Jan 2, 2019
1 parent c2115c0 commit 718abdb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scanresults
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ emem="Out of memory: Kill process"
emem2="out of memory allocating"
eswi="Failed to start Switch Root"
estruc=" failed: Structure needs cleaning"
epatch=" hunk FAILED -- saving rejects to file"
p400="Server returned an error: HTTP Error 400: Bad Request"
p500="Server returned an error: HTTP Error 500: Internal Server Error"
p502="Server returned an error: HTTP Error 502: Bad Gateway"
p503="Server returned an error: HTTP Error 503: Service Temporarily Unavailable"
w1="W: python-bytecode-inconsistent-mtime"
fgrep "[Errno 2] No such file or directory: '/var/tmp/osbuild-packagecache/home:bmwiedemann:reproducible/_pubkey" */RPMS*/.build.log2
fgrep -e "$p1" -e "$p2" -e "$p3" -e "$p4" -e "$p5" -e "$p6" -e "$p7" -e "$pssl" -e "$eswi" -e "$estruc" -e "$p400" -e "$p500" -e "$p502" -e "$p503" -e "$emem" -e "$emem2" */.build.log */RPMS*/.build.log2
fgrep -e "$p1" -e "$p2" -e "$p3" -e "$p4" -e "$p5" -e "$p6" -e "$p7" -e "$pssl" -e "$eswi" -e "$estruc" -e "$epatch" -e "$p400" -e "$p500" -e "$p502" -e "$p503" -e "$emem" -e "$emem2" */RPMS*/.build.log2
grep "in-progress" */RPMS*/.osc-build-retval
#post-process with
#grep python-bytecode-inconsistent-mtime | grep -o "/usr/lib[^ ]*" /root/tmp/bytecode-inconsistent.txt|sort -u > /root/tmp/bytecode-inconsistent2.txt
Expand Down

0 comments on commit 718abdb

Please sign in to comment.