Skip to contentSkip to conversation

master - tests: aux collects stack trace when stuck is assumed

PATCH Zdenek Kabelac 1 participant 1 message Sep 10, 2020

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=3f2e9e35467a2a92837a9859b150cf091411583b
Commit:        3f2e9e35467a2a92837a9859b150cf091411583b
Parent:        49d2b27a687da0bffcfc2517576bcf364aac90c0
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Sep 10 17:05:02 2020 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Sep 10 23:55:03 2020 +0200

tests: aux collects stack trace when stuck is assumed

Automatically collect traces in this case.

---
 test/lib/aux.sh | 1 +
 1 file changed, 1 insertion(+)
test/lib/aux.sh +1 -0
index d5509a763..1418bb473 100644
@@ -1480,6 +1480,7 @@ wait_for_sync() {
 	done
 
 	echo "Sync is taking too long - assume stuck"
+	echo t >/proc/sysrq-trigger 2>/dev/null
 	return 1
 }