Public bug reported:

https://autopkgtest.ubuntu.com/packages/c/crmsh/noble/amd64

https://autopkgtest.ubuntu.com/results/autopkgtest-
noble/noble/amd64/c/crmsh/20240407_073428_9de69@/log.gz


Only test failing in testsuite.sh:
2859s ______________________ TestUtils.test_findln_by_timestamp 
______________________
2859s 
2859s self = <unittests.test_report_utils.TestUtils 
testMethod=test_findln_by_timestamp>
2859s 
2859s     def test_findln_by_timestamp(self):
2859s         target_time = "Apr 03 13:10"
2859s         target_time_stamp = crmutils.parse_to_timestamp(target_time+' 
2023')
2859s         with open('pacemaker.log') as f:
2859s             data = f.read()
2859s         constants.STAMP_TYPE = utils.determin_log_format(data)
2859s         pacemaker_file_path = "pacemaker.log"
2859s         result_line = utils.findln_by_timestamp(data, target_time_stamp, 
pacemaker_file_path)
2859s >       result_line_stamp = 
utils.get_timestamp(data.split('\n')[result_line-1], pacemaker_file_path)
2859s E       TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'
2859s 
2859s test_report_utils.py:825: TypeError

** Affects: crmsh (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: crmsh (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: update-excuse

** Bug watch added: Debian Bug tracker #1068562
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068562

** Also affects: crmsh (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068562
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2060536

Title:
  DEP8 failures in noble, all arches

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/crmsh/+bug/2060536/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to