From 7d997562a0c81b53d0ae744ca31d6629bbd8bc7b Mon Sep 17 00:00:00 2001 From: Brian Murray Date: Tue, 25 Jun 2024 14:34:50 -0700 Subject: [PATCH] autopkgtest: add some debugging to checksum checking --- britney2/policies/autopkgtest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/britney2/policies/autopkgtest.py b/britney2/policies/autopkgtest.py index 1a8baaf..7b15a0f 100644 --- a/britney2/policies/autopkgtest.py +++ b/britney2/policies/autopkgtest.py @@ -186,6 +186,8 @@ class AutopkgtestPolicy(BasePolicy): local_db_sha.update(data) f_out.write(data) if http_code and local_db_sha.hexdigest() != chksum: + self.logger.info("autopkgtest.db local chksum is %s" % local_db_sha.hexdigest()) + self.logger.info("autopkgtest.db downloaded chksum is %s" % chksum) self.logger.info("autopkgtest.db local checksum does not match downloaded checksum!") os.unlink(new_file) else: