Skip to content
Snippets Groups Projects
Commit cc66743d authored by Josh Brooks's avatar Josh Brooks
Browse files

Improve filter for gateway errors

parent 0642d01f
No related branches found
No related tags found
2 merge requests!68Master merge,!44Feature/xx 4450/fix integration
......@@ -1355,7 +1355,7 @@ then
cat $SERVERLOGS/server-*.log | grep -a "FATAL" | grep -a -v "context" | grep -av "transport is closing" | grep -av "database" >> results/server-errors.txt || true
diff -aruN results/server-errors.txt noerrors.txt
IGNOREMSG="GetRoundBufferInfo: Error received: rpc error: code = Unknown desc = round buffer is empty"
cat $GATEWAYLOGS/*.log | grep -a "ERROR" | grep -av "context" | grep -av "certificate" | grep -av "Failed to read key" | grep -av "$IGNOREMSG" | grep -av "Failed to serve port" > results/gateway-errors.txt || true
cat $GATEWAYLOGS/*.log | grep -a "ERROR" | grep -av "context" | grep -av "certificate" | grep -av "Failed to read key" | grep -av "$IGNOREMSG" | grep -av "Failed to serve port" | grep -av "Failed to start HTTPS" > results/gateway-errors.txt || true
cat $GATEWAYLOGS/*.log | grep -a "FATAL" | grep -av "context" | grep -av "transport is closing" >> results/gateway-errors.txt || true
diff -aruN results/gateway-errors.txt noerrors.txt
echo "Checking backup files for equality..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment