Skip to content

Self-check failures due to 'useuefi' parameter? #295

@jas4711

Description

@jas4711

Hi. I get self-test errors like the following in https://salsa.debian.org/jas/oz/-/jobs/2444739

tests/factory/test_factory.py::test_fedora_core FAILED                   [  3%]
...
    def test_fedora_core():
        for version in ["1", "2", "3", "4", "5", "6"]:
            for arch in ["i386", "x86_64"]:
                for installtype in ["url", "iso"]:
>                   runtest(distro='FedoraCore', version=version, arch=arch,
                            installtype=installtype, expect_success=True)
tests/factory/test_factory.py:121: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/factory/test_factory.py:98: in runtest
    oz.GuestFactory.guest_factory(tdl, config, None)
/usr/lib/python3/dist-packages/oz/GuestFactory.py:105: in guest_factory
    klass = getattr(module, importname).get_class(tdl, config, auto,
/usr/lib/python3/dist-packages/oz/FedoraCore.py:96: in get_class
    return FedoraCoreGuest(tdl, config, auto, output_disk, netdev, diskbus,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self = <oz.FedoraCore.FedoraCoreGuest object at 0x7f9d4ede4e50>
tdl = <oz.TDL.TDL object at 0x7f9d4ede4880>
config = <configparser.SafeConfigParser object at 0x7f9d4ede4910>, auto = None
output_disk = None, netdev = None, diskbus = None, macaddress = None
    def __init__(self, tdl, config, auto, output_disk, netdev, diskbus,
                 macaddress):
        self.config = version_to_config[tdl.update]
>       oz.RedHat.RedHatLinuxCDGuest.__init__(self, tdl, config, auto,
                                              output_disk, netdev, diskbus,
                                              True, True, self.config.initrdtype,
                                              macaddress)
E       TypeError: __init__() missing 1 required positional argument: 'useuefi'
/usr/lib/python3/dist-packages/oz/FedoraCore.py:62: TypeError

As far as I can tell, it seems related to b7728d5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions