DEP8 failures in noble, all arches
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
crmsh (Debian) |
Fix Released
|
Unknown
|
|||
crmsh (Ubuntu) |
Fix Released
|
Undecided
|
Athos Ribeiro |
Bug Description
https:/
Only test failing in testsuite.sh:
2859s _______
2859s
2859s self = <unittests.
2859s
2859s def test_findln_
2859s target_time = "Apr 03 13:10"
2859s target_time_stamp = crmutils.
2859s with open('pacemaker
2859s data = f.read()
2859s constants.
2859s pacemaker_file_path = "pacemaker.log"
2859s result_line = utils.findln_
2859s > result_line_stamp = utils.get_
2859s E TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'
2859s
2859s test_report_
Related branches
- git-ubuntu bot: Approve
- Andreas Hasenack: Approve
- Canonical Server packageset reviewers: Pending requested
- Canonical Server Reporter: Pending requested
-
Diff: 64 lines (+42/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/fix-findln-by-timestamp-test.patch (+34/-0)
debian/patches/series (+1/-0)
Changed in crmsh (Debian): | |
status: | Unknown → New |
Changed in crmsh (Ubuntu): | |
status: | New → Triaged |
tags: | added: server-todo |
Changed in crmsh (Ubuntu): | |
assignee: | nobody → Athos Ribeiro (athos-ribeiro) |
Changed in crmsh (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in crmsh (Debian): | |
status: | New → Fix Released |
The migration reference tests are also failing.
Reproducer:
From the source package root:
$ mkvirtualenv crmsh
$ pip install -r requirements.txt
$ pip install pytest
$ cd test/unittests/
$ PYTHONPATH=../../ python -m pytest