[Debian-ha-maintainers] Bug#1068562: crmsh: autopkgtest regression: unsupported operand type(s) for -: 'NoneType' and 'int'

Paul Gevers elbrus at debian.org
Sun Apr 7 10:47:26 BST 2024


Source: crmsh
Version: 4.6.0-1
Severity: serious
User: debian-ci at lists.debian.org
Usertags: regression

Dear maintainer(s),

Your package has an autopkgtest, great. However, it started to fail in 
testing several days ago. Can you please investigate the situation and 
fix it? I copied some of the output at the bottom of this report. This 
looks like it will cause FTBFS too (I scheduled rebuilds on the 
reproducible-builds infra to confirm).

The release team has announced [1] that failing autopkgtest on amd64 and 
arm64 are considered RC in testing.

More information about this bug and the reason for filing it can be 
found on 
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://lists.debian.org/debian-devel-announce/2019/07/msg00002.html

https://ci.debian.net/packages/c/crmsh/testing/amd64/44624510/

105s =================================== FAILURES 
===================================
105s ______________________ TestUtils.test_findln_by_timestamp 
______________________
105s
105s self = <unittests.test_report_utils.TestUtils 
testMethod=test_findln_by_timestamp>
105s
105s     def test_findln_by_timestamp(self):
105s         target_time = "Apr 03 13:10"
105s         target_time_stamp = 
crmutils.parse_to_timestamp(target_time+' 2023')
105s         with open('pacemaker.log') as f:
105s             data = f.read()
105s         constants.STAMP_TYPE = utils.determin_log_format(data)
105s         pacemaker_file_path = "pacemaker.log"
105s         result_line = utils.findln_by_timestamp(data, 
target_time_stamp, pacemaker_file_path)
105s >       result_line_stamp = 
utils.get_timestamp(data.split('\n')[result_line-1], pacemaker_file_path)
105s E       TypeError: unsupported operand type(s) for -: 'NoneType' 
and 'int'
105s
105s test_report_utils.py:825: TypeError
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-ha-maintainers/attachments/20240407/545d16c2/attachment.sig>


More information about the Debian-ha-maintainers mailing list