raiden-network / raiden

Raiden Network

Home Page:https://developer.raiden.network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Split test logs on CI breaks with some node addresses

ulope opened this issue · comments

Problem Definition

It seems the tools/debugging/split_debug_logs.sh utility used in CI can't deal with some node addresses when they contain backslashes:

Processing logs without a node address
+ for test_directory in "${RAIDEN_TESTS_LOGSDIR}"/*
+ for log_file in "${test_directory}"/raiden-debug*.log
+ ./tools/debugging/split_debug_logs.sh '/tmp/tests/logs/test_recovery_unhappy_case[3-channels_per_node0-10]/raiden-debug_2021-07-29T09:58:44.343319.log' '/tmp/tests/logs/test_recovery_unhappy_case[3-channels_per_node0-10]/node_logs/'
Processing 'b'\x84\x7fC\xd5\x13\n\x05\x87\xe46o\xb3\xbdt\x01\xb4\xb75Z\xfb''
jq: error: Invalid escape at line 1, column 4 (while parsing '"\x"') at <top-level>, line 1:

Example run: https://app.circleci.com/pipelines/github/raiden-network/raiden/12193/workflows/59f22b80-231b-47c4-9cb6-2b6f0c8a1194/jobs/204513/parallel-runs/7/steps/7-108