From 11f950f5e8ec097a11cae78ed59d1f16fb573272 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Mon, 23 Sep 2024 12:24:32 -0400 Subject: [PATCH] Debugging test failure --- scripts/tests/chiptest/test_definition.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/tests/chiptest/test_definition.py b/scripts/tests/chiptest/test_definition.py index 484f247f70b1b2..8b622cc194bbff 100644 --- a/scripts/tests/chiptest/test_definition.py +++ b/scripts/tests/chiptest/test_definition.py @@ -69,14 +69,20 @@ def stop(self): return False def factoryReset(self): + logging.error("FACTORY RESET: %s" % self.command) + logging.error("self.killed: %s" % self.killed) wasRunning = (not self.killed) and self.stop() + logging.error("wasRunning: %s" % wasRunning) for kvs in self.kvsPathSet: if os.path.exists(kvs): + logging.error("UNLINKING: %s" % kvs) os.unlink(kvs) if wasRunning: - return self.start() + started = self.start() + logging.error("STARTED: %s" % started) + return started return True