Merge pull request #4242 from joostjager/itest-log-case-insensitive

itest: case insensitive log errors check
This commit is contained in:
Olaoluwa Osuntokun 2020-05-04 16:57:29 -07:00 committed by GitHub
commit bc49141ad5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

@ -6,7 +6,7 @@ BASEDIR=$(dirname "$0")
cat $BASEDIR/*.log | grep "\[ERR\]" | \
sed -r -f $BASEDIR/log_substitutions.txt | \
sort | uniq | \
grep -Fv -f $BASEDIR/log_error_whitelist.txt
grep -Fvi -f $BASEDIR/log_error_whitelist.txt
# If something shows up (not on whitelist) exit with error code 1.
test $? -eq 1

@ -140,6 +140,7 @@
<time> [ERR] RPCS: [/lnrpc.Lightning/SubscribeChannelGraph]: rpc error: code = Internal desc = transport: transport: the stream is done or WriteHeader was already called
<time> [ERR] RPCS: [/lnrpc.Lightning/SubscribeInvoices]: rpc error: code = Canceled desc = context canceled
<time> [ERR] RPCS: [/routerrpc.Router/SendPayment]: routerrpc server shutting down
<time> [ERR] RPCS: [/routerrpc.Router/SendPaymentV2]: routerrpc server shutting down
<time> [ERR] RPCS: [closechannel] unable to close ChannelPoint(<chan_point>): chain notifier shutting down
<time> [ERR] RPCS: [connectpeer]: error connecting to peer: already connected to peer: <hex>@<ip>
<time> [ERR] RPCS: Failed receiving from stream: rpc error: code = Canceled desc = context canceled