Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1356798 - upstream tests in test_kickstart.py raise AttributeError due to get_partition_layout()
Summary: upstream tests in test_kickstart.py raise AttributeError due to get_partition...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: preupgrade-assistant
Version: 6.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Petr Hracek
QA Contact: Alois Mahdal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-15 04:50 UTC by Alois Mahdal
Modified: 2016-07-18 12:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-18 12:01:01 UTC


Attachments (Terms of Use)

Description Alois Mahdal 2016-07-15 04:50:11 UTC
Description of problem
======================

tests/test_kickstart.py fails with following errors:

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    :: [   LOG    ] :: file: ./tests/test_kickstart.py
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

    :: [  BEGIN   ] :: Run all tests in file: ./tests/test_kickstart.py :: actually running ' nosetests -vv ./tests/test_kickstart.py'
    nose.config: INFO: Excluding tests matching ['test_compose|test_final_compose|generate_test_xml']
    test_crypt_partitions (tests.test_kickstart.TestPartitioning) ... ERROR
    test_lvm_crypt_partitions (tests.test_kickstart.TestPartitioning) ... ERROR
    test_lvm_partitions (tests.test_kickstart.TestPartitioning) ... ERROR
    test_native_partitioning (tests.test_kickstart.TestPartitioning) ... ERROR
    test_raid_crypt_partitions (tests.test_kickstart.TestPartitioning) ... ERROR
    test_raid_second_partitions (tests.test_kickstart.TestPartitioning) ... ERROR

    ======================================================================
    ERROR: test_crypt_partitions (tests.test_kickstart.TestPartitioning)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/tmp/tmp.2cwvALWwAa/preupgrade-assistant/tests/test_kickstart.py", line 59, in test_crypt_partitions
        self.kg.get_partition_layout(lvm_lsblk, vgs_list, lvdisplay)
    AttributeError: 'KickstartGenerator' object has no attribute 'get_partition_layout'

    ======================================================================
    ERROR: test_lvm_crypt_partitions (tests.test_kickstart.TestPartitioning)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/tmp/tmp.2cwvALWwAa/preupgrade-assistant/tests/test_kickstart.py", line 45, in test_lvm_crypt_partitions
        self.kg.get_partition_layout(lvm_lsblk, vgs_list, lvdisplay)
    AttributeError: 'KickstartGenerator' object has no attribute 'get_partition_layout'

    ======================================================================
    ERROR: test_lvm_partitions (tests.test_kickstart.TestPartitioning)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/tmp/tmp.2cwvALWwAa/preupgrade-assistant/tests/test_kickstart.py", line 31, in test_lvm_partitions
        self.kg.get_partition_layout(lvm_lsblk, vgs_list, lvdisplay)
    AttributeError: 'KickstartGenerator' object has no attribute 'get_partition_layout'

    ======================================================================
    ERROR: test_native_partitioning (tests.test_kickstart.TestPartitioning)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/tmp/tmp.2cwvALWwAa/preupgrade-assistant/tests/test_kickstart.py", line 98, in test_native_partitioning
        self.kg.get_partition_layout(raid_lsblk, None, None)
    AttributeError: 'KickstartGenerator' object has no attribute 'get_partition_layout'

    ======================================================================
    ERROR: test_raid_crypt_partitions (tests.test_kickstart.TestPartitioning)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/tmp/tmp.2cwvALWwAa/preupgrade-assistant/tests/test_kickstart.py", line 69, in test_raid_crypt_partitions
        self.kg.get_partition_layout(raid_lsblk, None, None)
    AttributeError: 'KickstartGenerator' object has no attribute 'get_partition_layout'

    ======================================================================
    ERROR: test_raid_second_partitions (tests.test_kickstart.TestPartitioning)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/tmp/tmp.2cwvALWwAa/preupgrade-assistant/tests/test_kickstart.py", line 85, in test_raid_second_partitions
        self.kg.get_partition_layout(raid_lsblk, None, None)
    AttributeError: 'KickstartGenerator' object has no attribute 'get_partition_layout'

    ----------------------------------------------------------------------
    Ran 6 tests in 3.518s

    FAILED (errors=6)


Version-Release number of selected component
============================================

preupgrade-assistant-2.1.7.post18-1.el6.noarch


Note You need to log in before you can comment on or make changes to this bug.