Printing the entire VM state has not been useful for the 2 years it's been in
place, so just retire it altogether
# need to invoke the after_failure script manually
# because 'after_failure' runs only after 'script' fails
#
- - maint/getstatus maint/travis-ci_scripts/30_before_script.bash || ( maint/travis-ci_scripts/50_after_failure.bash && /bin/false )
+ - maint/getstatus maint/travis-ci_scripts/30_before_script.bash
script:
# Run actual tests
if [[ -n "$SHORT_CIRCUIT_SMOKE" ]] ; then exit 0 ; fi
-echo_err "
-$(ci_vm_state_text)
-
-$( [[ "$(dmesg)" =~ $( echo "\\bOOM\\b" ) ]] && echo "=== dmesg ringbuffer" && dmesg )"
+if [[ "$(dmesg)" =~ $( echo "\\bOOM\\b" ) ]] ; then
+ echo_err "=== dmesg ringbuffer"
+ echo_err "$(dmesg)"
+fi
#!/bin/bash
# !!! Nothing here will be executed !!!
-# The source-line calling this script is commented out in .travis.yml
+# The line calling this script is commented out in .travis.yml
# this file is executed in a subshell - set up the common stuff
source maint/travis-ci_scripts/common.bash
echo_err "$LASTCMD"
echo_err "STDOUT+STDERR:"
echo_err "$LASTOUT"
+ if [[ "$(dmesg)" =~ $( echo "\\bOOM\\b" ) ]] ; then
+ echo_err "=== dmesg ringbuffer"
+ echo_err "$(dmesg)"
+ fi
fi
return $LASTEXIT