Skip to content

Commit

Permalink
[FLINK-19699][e2e] Collect dmesg output after tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rmetzger authored and zentol committed Nov 6, 2020
1 parent 0b9a47e commit 4370139
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions flink-end-to-end-tests/run-nightly-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ if [ ! -z "$TF_BUILD" ] ; then

function run_on_exit {
collect_coredumps $(pwd) $ARTIFACTS_DIR
collect_dmesg $ARTIFACTS_DIR
compress_logs
}

Expand Down
4 changes: 4 additions & 0 deletions tools/ci/maven-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ function collect_coredumps {
done
}

function collect_dmesg {
local TARGET_DIR=$1
dmesg > $TARGET_DIR/dmesg.out
}

CI_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

Expand Down

0 comments on commit 4370139

Please sign in to comment.