diff --git a/test/run-functional-tests b/test/run-functional-tests index b5085177a..87465ffe6 100755 --- a/test/run-functional-tests +++ b/test/run-functional-tests @@ -530,10 +530,10 @@ for case_num in $*;do prepare_coverage_env "${node_arry[@]}" if [ "$NORMAL_USER_FLAG" -eq 0 ];then info "Running \"$case_file_in_container\" under 'root'..." - docker_exec ${node_arry[0]} "behave --no-logcapture $case_file_in_container || exit 1" || exit 1 + docker_exec ${node_arry[0]} "behave --no-logcapture $case_file_in_container || exit 1" || ( journalctl -b; exit 1 ) else info "Running \"$case_file_in_container\" under normal user 'alice'..." - docker_exec ${node_arry[0]} "su - alice -c 'sudo behave --no-logcapture $case_file_in_container || exit 1'" || exit 1 + docker_exec ${node_arry[0]} "su - alice -c 'sudo behave --no-logcapture $case_file_in_container || exit 1'" || ( journalctl -b; exit 1 ) fi fetch_coverage_report "${node_arry[@]}" echo