Testsuite fails against parted 3.6

Bug #2024678 reported by Olivier Gayot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyparted (Debian)
Fix Released
Unknown
pyparted (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When running the pyparted test suite against parted 3.6, it fails with the following exception:

399s ======================================================================
399s FAIL: runTest (tests.test__ped_disktype.DiskTypeStrTestCase.runTest)
399s ----------------------------------------------------------------------
399s Traceback (most recent call last):
399s File "/tmp/autopkgtest.kQxzZO/build.bFs/src/tests/test__ped_disktype.py", line 78, in runTest
399s self.assertEqual(str(self.disktype['msdos']), '_ped.DiskType instance --\n name: msdos features: 1')
399s AssertionError: '_ped.DiskType instance --\n name: msdos features: 5' != '_ped.DiskType instance --\n name: msdos features: 1'
399s _ped.DiskType instance --
399s - name: msdos features: 5? ^
399s + name: msdos features: 1? ^

https://autopkgtest.ubuntu.com/results/autopkgtest-mantic/mantic/amd64/p/pyparted/20230619_084035_f8992@/log.gz

Revision history for this message
Olivier Gayot (ogayot) wrote (last edit ):

Adding .debdiff.

I applied a patch from upstream and forwarded to Debian.

Uploaded in PPA: https://launchpad.net/~ogayot/+archive/ubuntu/mantic-proposed/+build/26331248

Changed in pyparted (Ubuntu):
status: In Progress → Confirmed
tags: added: update-excuse
Revision history for this message
Olivier Gayot (ogayot) wrote :
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Hi thanks for the patch, I've uploaded. Can you please keep an eye on the Debian bug and request a sync when it's fixed there?

Changed in pyparted (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Olivier Gayot (ogayot) wrote :

Thanks for uploading! I will follow up when the bug gets fixed in Debian.

Changed in pyparted (Ubuntu):
assignee: Olivier Gayot (ogayot) → nobody
Changed in pyparted (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pyparted - 3.12.0-4ubuntu1

---------------
pyparted (3.12.0-4ubuntu1) mantic; urgency=medium

  * Apply upstream patch to fix test-suite against parted 3.6 (LP: #2024678)

 -- Olivier Gayot <email address hidden> Thu, 22 Jun 2023 18:08:53 +0200

Changed in pyparted (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Olivier Gayot (ogayot) wrote :

Debian has just picked up our fix and released 3.12.0-5 to unstable.

I filed https://bugs.launchpad.net/ubuntu/+source/pyparted/+bug/2025256 so we can go back to syncing.

Changed in pyparted (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.