From bd4ece8876552c9b0c90986fb7c236914bd2ac1b Mon Sep 17 00:00:00 2001 From: joshemb <josh@elixxir.io> Date: Thu, 26 Jan 2023 11:16:33 -0800 Subject: [PATCH] Add filter for gateways error --- basice2e/crust.sh | 2 +- basice2e/run.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/basice2e/crust.sh b/basice2e/crust.sh index f7c2ed8..e2bb257 100755 --- a/basice2e/crust.sh +++ b/basice2e/crust.sh @@ -177,7 +177,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" > 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" > 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 fi \ No newline at end of file diff --git a/basice2e/run.sh b/basice2e/run.sh index cf7814a..a1b6264 100755 --- a/basice2e/run.sh +++ b/basice2e/run.sh @@ -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" > 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" > 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..." -- GitLab