Description of problem: GetLabelsTestCase fails when building pyparted on aarch64. AArch64 uses GPT partitions, but apparently pyparted does not yet recognize this for AArch64. Version-Release number of selected component (if applicable): pyparted-3.9.3-1.fc21 How reproducible: consistently Steps to Reproduce: 1. Example koji build: http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=2354502 Actual results: FAIL: runTest (tests.test_parted_parted.GetLabelsTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pyparted-3.9.3/tests/test_parted_parted.py", line 50, in runTest self.assertGreater(len(parted.getLabels()), 0) AssertionError: 0 not greater than 0 Expected results: test passes Additional info: The attached patch adds AArch64 support for GPT and fixes the test failure.
Created attachment 900443 [details] patch to fix failing testcase GetLabelsTestCase
Resolving this today. Have a backlog of pyparted fixes like this that I was waiting on until after 7.0 GA. Will get this pushed out quickly.