From 06ab69c55e2de971422b88dd57366ddccf336287 Mon Sep 17 00:00:00 2001 From: Alexander Lutay Date: Wed, 16 Oct 2019 11:38:19 +0200 Subject: [PATCH] TT#68720 Mute awk cores on upgrade stretch->buster The random awk crash happens which we cannot catch and trace. It happens randomly and it produces no harm AFAIK. We cannot report anything upstream here as we have to trace from core. Also it is an old/stretch version of gawk which is crashed on stretch->buster upgrade when gawk dependency libraries libc6, libgmp10, libsigsegv2 were fully/partially upgraded to buster already. We can only mute it here as for now. The mute is necessary in mr7.5* branched only as mr7.5->mr8.0 is buster->buster upgrade already. Change-Id: I24d15cb799f50cd5dbc0c5c99783d41ee32a780f (cherry picked from commit 8ab04a66d763c67e9b9acd8d1884f9898e3f6092) --- testrunner | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/testrunner b/testrunner index 19da376..454be1f 100755 --- a/testrunner +++ b/testrunner @@ -21,6 +21,18 @@ if ls /var/lib/systemd/coredump/core.perl-fcgi* >/dev/null 2>&1 ; then diag "========================== DONE ==============================" fi +if ls /var/lib/systemd/coredump/core.awk* >/dev/null 2>&1 ; then + diag "================== NOTE: CORE DUMP DETECTED ==================" + diag "= 2) TT#68720: Renaming awk cores /var/lib/systemd/coredump/core.awk" + ls -la /var/lib/systemd/coredump/core.awk* + for file in /var/lib/systemd/coredump/core.awk* ; do + mv "${file}" /var/lib/systemd/coredump/RENAMED_"$(basename "${file}")" + done + diag "= New cores names are:" + ls -la /var/lib/systemd/coredump/RENAMED_core.awk* + diag "========================== DONE ==============================" +fi + goss="goss-0.3.5-e6140f90+patch_319-linux-amd64" if [ ! -x "/usr/sbin/${goss}" ] ; then