python-gssapi icon indicating copy to clipboard operation
python-gssapi copied to clipboard

1.8.2: issues with testing `gssapi` using pytest

Open kloczek opened this issue 2 years ago • 1 comments

I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.

  • python3 -sBm build -w --no-isolation
  • because I'm calling build with --no-isolation I'm using during all processes only locally installed modules
  • install .whl file in </install/prefix>
  • run pytest with $PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>
  • build is performed in env which is cut off from access to the public network (pytest is executed with -m "not network")

I have issue with testing module on packaging and becaise almost all units are emmiting with the same errors I suppose that something is wrong with my testing procedure. I've been trying to have lookm on CI however I was unable to find necessary clues abot what I I'm doing wrongly. May I ask for some help/hints?

Here is pytest output:

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-gssapi-1.8.2-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-gssapi-1.8.2-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra -m 'not network' --import-mode=importlib
==================================================================================== test session starts ====================================================================================
platform linux -- Python 3.8.16, pytest-7.2.2, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/python-gssapi-1.8.2
collected 199 items

gssapi/tests/test_high_level.py EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE                                       [ 55%]
gssapi/tests/test_raw.py EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE.................EEEEEEEEEEEEEEEEEEE....                                                                     [100%]

========================================================================================== ERRORS ===========================================================================================
__________________________________________________ ERROR at setup of CredsTestCase.test_acquire_by_init_0_with_params_usage_mechs_lifetime __________________________________________________

cls = <class 'gssapi.tests.test_high_level.CredsTestCase'>

    @classmethod
    def setUpClass(cls):
>       super(_GSSAPIKerberosTestCase, cls).setUpClass()

gssapi/tests/test_high_level.py:33:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/k5test/unit.py:11: in setUpClass
    cls.realm = realm.K5Realm()
/usr/lib/python3.8/site-packages/k5test/realm.py:176: in __init__
    self.start_kdc()
/usr/lib/python3.8/site-packages/k5test/realm.py:591: in start_kdc
    self._kdc_proc = self._start_daemon(start_args, env, "starting...")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <k5test.realm.MITRealm object at 0x7f204d5f3070>, args = ['/usr/sbin/krb5kdc', '-n']
env = {'KPROPD_PORT': '61003', 'KPROP_PORT': '61003', 'KRB5CCNAME': '/tmp/tmpppbse519-krbtest/ccache', 'KRB5RCACHEDIR': '/tmp/tmpppbse519-krbtest', ...}, sentinel = 'starting...'

    def _start_daemon(self, args, env=None, sentinel=None):
        if env is None:
            env = self.env

        stdout = subprocess.PIPE if sentinel else subprocess.DEVNULL
        proc = subprocess.Popen(
            args,
            stdin=subprocess.DEVNULL,
            stdout=stdout,
            stderr=subprocess.STDOUT,
            env=env,
        )
        cmd = " ".join(args)
        while sentinel:
            line = proc.stdout.readline().decode()
            if line == "":
                code = proc.wait()
>               raise Exception(
                    "`{args}` failed to start "
                    "with code {code}".format(args=cmd, code=code)
                )
E               Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1

/usr/lib/python3.8/site-packages/k5test/realm.py:389: Exception
______________________________________________________ ERROR at setup of CredsTestCase.test_acquire_by_init_1_with_params_usage_mechs _______________________________________________________

cls = <class 'gssapi.tests.test_high_level.CredsTestCase'>

    @classmethod
    def setUpClass(cls):
>       super(_GSSAPIKerberosTestCase, cls).setUpClass()

gssapi/tests/test_high_level.py:33:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/k5test/unit.py:11: in setUpClass
    cls.realm = realm.K5Realm()
/usr/lib/python3.8/site-packages/k5test/realm.py:176: in __init__
    self.start_kdc()
/usr/lib/python3.8/site-packages/k5test/realm.py:591: in start_kdc
    self._kdc_proc = self._start_daemon(start_args, env, "starting...")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <k5test.realm.MITRealm object at 0x7f204d5f3070>, args = ['/usr/sbin/krb5kdc', '-n']
env = {'KPROPD_PORT': '61003', 'KPROP_PORT': '61003', 'KRB5CCNAME': '/tmp/tmpppbse519-krbtest/ccache', 'KRB5RCACHEDIR': '/tmp/tmpppbse519-krbtest', ...}, sentinel = 'starting...'

    def _start_daemon(self, args, env=None, sentinel=None):
        if env is None:
            env = self.env

        stdout = subprocess.PIPE if sentinel else subprocess.DEVNULL
        proc = subprocess.Popen(
            args,
            stdin=subprocess.DEVNULL,
            stdout=stdout,
            stderr=subprocess.STDOUT,
            env=env,
        )
        cmd = " ".join(args)
        while sentinel:
            line = proc.stdout.readline().decode()
            if line == "":
                code = proc.wait()
>               raise Exception(
                    "`{args}` failed to start "
                    "with code {code}".format(args=cmd, code=code)
                )
E               Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1

/usr/lib/python3.8/site-packages/k5test/realm.py:389: Exception
_____________________________________________________ ERROR at setup of CredsTestCase.test_acquire_by_init_2_with_params_usage_lifetime _____________________________________________________

cls = <class 'gssapi.tests.test_high_level.CredsTestCase'>

    @classmethod
    def setUpClass(cls):
>       super(_GSSAPIKerberosTestCase, cls).setUpClass()

gssapi/tests/test_high_level.py:33:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/k5test/unit.py:11: in setUpClass
    cls.realm = realm.K5Realm()
/usr/lib/python3.8/site-packages/k5test/realm.py:176: in __init__
    self.start_kdc()
/usr/lib/python3.8/site-packages/k5test/realm.py:591: in start_kdc
    self._kdc_proc = self._start_daemon(start_args, env, "starting...")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <k5test.realm.MITRealm object at 0x7f204d5f3070>, args = ['/usr/sbin/krb5kdc', '-n']
env = {'KPROPD_PORT': '61003', 'KPROP_PORT': '61003', 'KRB5CCNAME': '/tmp/tmpppbse519-krbtest/ccache', 'KRB5RCACHEDIR': '/tmp/tmpppbse519-krbtest', ...}, sentinel = 'starting...'

    def _start_daemon(self, args, env=None, sentinel=None):
        if env is None:
            env = self.env

        stdout = subprocess.PIPE if sentinel else subprocess.DEVNULL
        proc = subprocess.Popen(
            args,
            stdin=subprocess.DEVNULL,
            stdout=stdout,
            stderr=subprocess.STDOUT,
            env=env,
        )
        cmd = " ".join(args)
        while sentinel:
            line = proc.stdout.readline().decode()
            if line == "":
                code = proc.wait()
>               raise Exception(
                    "`{args}` failed to start "
                    "with code {code}".format(args=cmd, code=code)
                )
E               Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1

/usr/lib/python3.8/site-packages/k5test/realm.py:389: Exception
_________________________________________________________ ERROR at setup of CredsTestCase.test_acquire_by_init_3_with_params_usage __________________________________________________________

cls = <class 'gssapi.tests.test_high_level.CredsTestCase'>

    @classmethod
    def setUpClass(cls):
>       super(_GSSAPIKerberosTestCase, cls).setUpClass()

gssapi/tests/test_high_level.py:33:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/k5test/unit.py:11: in setUpClass
    cls.realm = realm.K5Realm()
/usr/lib/python3.8/site-packages/k5test/realm.py:176: in __init__
    self.start_kdc()
/usr/lib/python3.8/site-packages/k5test/realm.py:591: in start_kdc
    self._kdc_proc = self._start_daemon(start_args, env, "starting...")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <k5test.realm.MITRealm object at 0x7f204d5f3070>, args = ['/usr/sbin/krb5kdc', '-n']
env = {'KPROPD_PORT': '61003', 'KPROP_PORT': '61003', 'KRB5CCNAME': '/tmp/tmpppbse519-krbtest/ccache', 'KRB5RCACHEDIR': '/tmp/tmpppbse519-krbtest', ...}, sentinel = 'starting...'

    def _start_daemon(self, args, env=None, sentinel=None):
        if env is None:
            env = self.env

        stdout = subprocess.PIPE if sentinel else subprocess.DEVNULL
        proc = subprocess.Popen(
            args,
            stdin=subprocess.DEVNULL,
            stdout=stdout,
            stderr=subprocess.STDOUT,
            env=env,
        )
        cmd = " ".join(args)
        while sentinel:
            line = proc.stdout.readline().decode()
            if line == "":
                code = proc.wait()
>               raise Exception(
                    "`{args}` failed to start "
                    "with code {code}".format(args=cmd, code=code)
                )
E               Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1

/usr/lib/python3.8/site-packages/k5test/realm.py:389: Exception
_____________________________________________________ ERROR at setup of CredsTestCase.test_acquire_by_init_4_with_params_mechs_lifetime _____________________________________________________

cls = <class 'gssapi.tests.test_high_level.CredsTestCase'>

    @classmethod
    def setUpClass(cls):
>       super(_GSSAPIKerberosTestCase, cls).setUpClass()

gssapi/tests/test_high_level.py:33:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/k5test/unit.py:11: in setUpClass
    cls.realm = realm.K5Realm()
/usr/lib/python3.8/site-packages/k5test/realm.py:176: in __init__
    self.start_kdc()
/usr/lib/python3.8/site-packages/k5test/realm.py:591: in start_kdc
    self._kdc_proc = self._start_daemon(start_args, env, "starting...")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <k5test.realm.MITRealm object at 0x7f204d5f3070>, args = ['/usr/sbin/krb5kdc', '-n']
env = {'KPROPD_PORT': '61003', 'KPROP_PORT': '61003', 'KRB5CCNAME': '/tmp/tmpppbse519-krbtest/ccache', 'KRB5RCACHEDIR': '/tmp/tmpppbse519-krbtest', ...}, sentinel = 'starting...'

    def _start_daemon(self, args, env=None, sentinel=None):
        if env is None:
            env = self.env

        stdout = subprocess.PIPE if sentinel else subprocess.DEVNULL
        proc = subprocess.Popen(
            args,
            stdin=subprocess.DEVNULL,
            stdout=stdout,
            stderr=subprocess.STDOUT,
            env=env,
        )
        cmd = " ".join(args)
        while sentinel:
            line = proc.stdout.readline().decode()
            if line == "":
                code = proc.wait()
>               raise Exception(
                    "`{args}` failed to start "
                    "with code {code}".format(args=cmd, code=code)
                )
E               Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1

/usr/lib/python3.8/site-packages/k5test/realm.py:389: Exception
_________________________________________________________ ERROR at setup of CredsTestCase.test_acquire_by_init_5_with_params_mechs __________________________________________________________

cls = <class 'gssapi.tests.test_high_level.CredsTestCase'>

    @classmethod
    def setUpClass(cls):
>       super(_GSSAPIKerberosTestCase, cls).setUpClass()

gssapi/tests/test_high_level.py:33:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/k5test/unit.py:11: in setUpClass
    cls.realm = realm.K5Realm()
/usr/lib/python3.8/site-packages/k5test/realm.py:176: in __init__
    self.start_kdc()
/usr/lib/python3.8/site-packages/k5test/realm.py:591: in start_kdc
    self._kdc_proc = self._start_daemon(start_args, env, "starting...")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <k5test.realm.MITRealm object at 0x7f204d5f3070>, args = ['/usr/sbin/krb5kdc', '-n']
env = {'KPROPD_PORT': '61003', 'KPROP_PORT': '61003', 'KRB5CCNAME': '/tmp/tmpppbse519-krbtest/ccache', 'KRB5RCACHEDIR': '/tmp/tmpppbse519-krbtest', ...}, sentinel = 'starting...'

    def _start_daemon(self, args, env=None, sentinel=None):
        if env is None:
            env = self.env

        stdout = subprocess.PIPE if sentinel else subprocess.DEVNULL
        proc = subprocess.Popen(
            args,
            stdin=subprocess.DEVNULL,
            stdout=stdout,
            stderr=subprocess.STDOUT,
            env=env,
        )
        cmd = " ".join(args)
        while sentinel:
            line = proc.stdout.readline().decode()
            if line == "":
                code = proc.wait()
>               raise Exception(
                    "`{args}` failed to start "
                    "with code {code}".format(args=cmd, code=code)
                )
E               Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1

/usr/lib/python3.8/site-packages/k5test/realm.py:389: Exception
________________________________________________________ ERROR at setup of CredsTestCase.test_acquire_by_init_6_with_params_lifetime ________________________________________________________

cls = <class 'gssapi.tests.test_high_level.CredsTestCase'>

    @classmethod
    def setUpClass(cls):
>       super(_GSSAPIKerberosTestCase, cls).setUpClass()

gssapi/tests/test_high_level.py:33:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/k5test/unit.py:11: in setUpClass
    cls.realm = realm.K5Realm()
/usr/lib/python3.8/site-packages/k5test/realm.py:176: in __init__
    self.start_kdc()
/usr/lib/python3.8/site-packages/k5test/realm.py:591: in start_kdc
    self._kdc_proc = self._start_daemon(start_args, env, "starting...")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <k5test.realm.MITRealm object at 0x7f204d5f3070>, args = ['/usr/sbin/krb5kdc', '-n']
env = {'KPROPD_PORT': '61003', 'KPROP_PORT': '61003', 'KRB5CCNAME': '/tmp/tmpppbse519-krbtest/ccache', 'KRB5RCACHEDIR': '/tmp/tmpppbse519-krbtest', ...}, sentinel = 'starting...'

    def _start_daemon(self, args, env=None, sentinel=None):
        if env is None:
            env = self.env

        stdout = subprocess.PIPE if sentinel else subprocess.DEVNULL
        proc = subprocess.Popen(
            args,
            stdin=subprocess.DEVNULL,
            stdout=stdout,
            stderr=subprocess.STDOUT,
            env=env,
        )
        cmd = " ".join(args)
        while sentinel:
            line = proc.stdout.readline().decode()
            if line == "":
                code = proc.wait()
>               raise Exception(
                    "`{args}` failed to start "
                    "with code {code}".format(args=cmd, code=code)
                )
E               Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1

/usr/lib/python3.8/site-packages/k5test/realm.py:389: Exception
__________________________________________________________ ERROR at setup of CredsTestCase.test_acquire_by_init_7_with_params_none __________________________________________________________

cls = <class 'gssapi.tests.test_high_level.CredsTestCase'>

    @classmethod
    def setUpClass(cls):
>       super(_GSSAPIKerberosTestCase, cls).setUpClass()

gssapi/tests/test_high_level.py:33:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/k5test/unit.py:11: in setUpClass
    cls.realm = realm.K5Realm()
/usr/lib/python3.8/site-packages/k5test/realm.py:176: in __init__
    self.start_kdc()
/usr/lib/python3.8/site-packages/k5test/realm.py:591: in start_kdc
    self._kdc_proc = self._start_daemon(start_args, env, "starting...")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <k5test.realm.MITRealm object at 0x7f204d5f3070>, args = ['/usr/sbin/krb5kdc', '-n']
env = {'KPROPD_PORT': '61003', 'KPROP_PORT': '61003', 'KRB5CCNAME': '/tmp/tmpppbse519-krbtest/ccache', 'KRB5RCACHEDIR': '/tmp/tmpppbse519-krbtest', ...}, sentinel = 'starting...'

    def _start_daemon(self, args, env=None, sentinel=None):
        if env is None:
            env = self.env

        stdout = subprocess.PIPE if sentinel else subprocess.DEVNULL
        proc = subprocess.Popen(
            args,
            stdin=subprocess.DEVNULL,
            stdout=stdout,
            stderr=subprocess.STDOUT,
            env=env,
        )
        cmd = " ".join(args)
        while sentinel:
            line = proc.stdout.readline().decode()
            if line == "":
                code = proc.wait()
>               raise Exception(
                    "`{args}` failed to start "
                    "with code {code}".format(args=cmd, code=code)
                )
E               Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1

/usr/lib/python3.8/site-packages/k5test/realm.py:389: Exception
_________________________________________________ ERROR at setup of CredsTestCase.test_acquire_by_method_0_with_params_usage_mechs_lifetime _________________________________________________

cls = <class 'gssapi.tests.test_high_level.CredsTestCase'>

    @classmethod
    def setUpClass(cls):
>       super(_GSSAPIKerberosTestCase, cls).setUpClass()

gssapi/tests/test_high_level.py:33:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/k5test/unit.py:11: in setUpClass
    cls.realm = realm.K5Realm()
/usr/lib/python3.8/site-packages/k5test/realm.py:176: in __init__
    self.start_kdc()
/usr/lib/python3.8/site-packages/k5test/realm.py:591: in start_kdc
    self._kdc_proc = self._start_daemon(start_args, env, "starting...")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <k5test.realm.MITRealm object at 0x7f204d5f3070>, args = ['/usr/sbin/krb5kdc', '-n']
env = {'KPROPD_PORT': '61003', 'KPROP_PORT': '61003', 'KRB5CCNAME': '/tmp/tmpppbse519-krbtest/ccache', 'KRB5RCACHEDIR': '/tmp/tmpppbse519-krbtest', ...}, sentinel = 'starting...'

    def _start_daemon(self, args, env=None, sentinel=None):
        if env is None:
            env = self.env

        stdout = subprocess.PIPE if sentinel else subprocess.DEVNULL
        proc = subprocess.Popen(
            args,
            stdin=subprocess.DEVNULL,
            stdout=stdout,
            stderr=subprocess.STDOUT,
            env=env,
        )
        cmd = " ".join(args)
        while sentinel:
            line = proc.stdout.readline().decode()
            if line == "":
                code = proc.wait()
>               raise Exception(
                    "`{args}` failed to start "
                    "with code {code}".format(args=cmd, code=code)
                )
E               Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1

/usr/lib/python3.8/site-packages/k5test/realm.py:389: Exception
_____________________________________________________ ERROR at setup of CredsTestCase.test_acquire_by_method_1_with_params_usage_mechs ______________________________________________________

cls = <class 'gssapi.tests.test_high_level.CredsTestCase'>

    @classmethod
    def setUpClass(cls):
>       super(_GSSAPIKerberosTestCase, cls).setUpClass()

gssapi/tests/test_high_level.py:33:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/k5test/unit.py:11: in setUpClass
    cls.realm = realm.K5Realm()
/usr/lib/python3.8/site-packages/k5test/realm.py:176: in __init__
    self.start_kdc()
/usr/lib/python3.8/site-packages/k5test/realm.py:591: in start_kdc
    self._kdc_proc = self._start_daemon(start_args, env, "starting...")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <k5test.realm.MITRealm object at 0x7f204d5f3070>, args = ['/usr/sbin/krb5kdc', '-n']
env = {'KPROPD_PORT': '61003', 'KPROP_PORT': '61003', 'KRB5CCNAME': '/tmp/tmpppbse519-krbtest/ccache', 'KRB5RCACHEDIR': '/tmp/tmpppbse519-krbtest', ...}, sentinel = 'starting...'

    def _start_daemon(self, args, env=None, sentinel=None):
        if env is None:
            env = self.env

        stdout = subprocess.PIPE if sentinel else subprocess.DEVNULL
        proc = subprocess.Popen(
            args,
            stdin=subprocess.DEVNULL,
            stdout=stdout,
            stderr=subprocess.STDOUT,
            env=env,
        )
        cmd = " ".join(args)
        while sentinel:
            line = proc.stdout.readline().decode()
            if line == "":
                code = proc.wait()
>               raise Exception(
                    "`{args}` failed to start "
                    "with code {code}".format(args=cmd, code=code)
                )
E               Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1

/usr/lib/python3.8/site-packages/k5test/realm.py:389: Exception

[..]

_________________________________________________________________ ERROR at setup of TestWrapUnwrap.test_get_mic_iov_length __________________________________________________________________

cls = <class 'gssapi.tests.test_raw.TestWrapUnwrap'>

    @classmethod
    def setUpClass(cls):
>       cls.realm = realm.K5Realm()

/usr/lib/python3.8/site-packages/k5test/unit.py:11:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/k5test/realm.py:176: in __init__
    self.start_kdc()
/usr/lib/python3.8/site-packages/k5test/realm.py:591: in start_kdc
    self._kdc_proc = self._start_daemon(start_args, env, "starting...")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <k5test.realm.MITRealm object at 0x7f204cb4cbe0>, args = ['/usr/sbin/krb5kdc', '-n']
env = {'KPROPD_PORT': '61003', 'KPROP_PORT': '61003', 'KRB5CCNAME': '/tmp/tmp_0dg0235-krbtest/ccache', 'KRB5RCACHEDIR': '/tmp/tmp_0dg0235-krbtest', ...}, sentinel = 'starting...'

    def _start_daemon(self, args, env=None, sentinel=None):
        if env is None:
            env = self.env

        stdout = subprocess.PIPE if sentinel else subprocess.DEVNULL
        proc = subprocess.Popen(
            args,
            stdin=subprocess.DEVNULL,
            stdout=stdout,
            stderr=subprocess.STDOUT,
            env=env,
        )
        cmd = " ".join(args)
        while sentinel:
            line = proc.stdout.readline().decode()
            if line == "":
                code = proc.wait()
>               raise Exception(
                    "`{args}` failed to start "
                    "with code {code}".format(args=cmd, code=code)
                )
E               Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1

/usr/lib/python3.8/site-packages/k5test/realm.py:389: Exception
______________________________________________________________ ERROR at setup of TestWrapUnwrap.test_import_export_sec_context ______________________________________________________________

cls = <class 'gssapi.tests.test_raw.TestWrapUnwrap'>

    @classmethod
    def setUpClass(cls):
>       super(_GSSAPIKerberosTestCase, cls).setUpClass()

gssapi/tests/test_raw.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/k5test/unit.py:11: in setUpClass
    cls.realm = realm.K5Realm()
/usr/lib/python3.8/site-packages/k5test/realm.py:176: in __init__
    self.start_kdc()
/usr/lib/python3.8/site-packages/k5test/realm.py:591: in start_kdc
    self._kdc_proc = self._start_daemon(start_args, env, "starting...")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <k5test.realm.MITRealm object at 0x7f204cb4cbe0>, args = ['/usr/sbin/krb5kdc', '-n']
env = {'KPROPD_PORT': '61003', 'KPROP_PORT': '61003', 'KRB5CCNAME': '/tmp/tmp_0dg0235-krbtest/ccache', 'KRB5RCACHEDIR': '/tmp/tmp_0dg0235-krbtest', ...}, sentinel = 'starting...'

    def _start_daemon(self, args, env=None, sentinel=None):
        if env is None:
            env = self.env

        stdout = subprocess.PIPE if sentinel else subprocess.DEVNULL
        proc = subprocess.Popen(
            args,
            stdin=subprocess.DEVNULL,
            stdout=stdout,
            stderr=subprocess.STDOUT,
            env=env,
        )
        cmd = " ".join(args)
        while sentinel:
            line = proc.stdout.readline().decode()
            if line == "":
                code = proc.wait()
>               raise Exception(
                    "`{args}` failed to start "
                    "with code {code}".format(args=cmd, code=code)
                )
E               Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1

/usr/lib/python3.8/site-packages/k5test/realm.py:389: Exception
_________________________________________________________ ERROR at setup of TestWrapUnwrap.test_verify_mic_iov_bad_mic_raises_error _________________________________________________________

cls = <class 'gssapi.tests.test_raw.TestWrapUnwrap'>

    @classmethod
    def setUpClass(cls):
>       cls.realm = realm.K5Realm()

/usr/lib/python3.8/site-packages/k5test/unit.py:11:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/k5test/realm.py:176: in __init__
    self.start_kdc()
/usr/lib/python3.8/site-packages/k5test/realm.py:591: in start_kdc
    self._kdc_proc = self._start_daemon(start_args, env, "starting...")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <k5test.realm.MITRealm object at 0x7f204cb4cbe0>, args = ['/usr/sbin/krb5kdc', '-n']
env = {'KPROPD_PORT': '61003', 'KPROP_PORT': '61003', 'KRB5CCNAME': '/tmp/tmp_0dg0235-krbtest/ccache', 'KRB5RCACHEDIR': '/tmp/tmp_0dg0235-krbtest', ...}, sentinel = 'starting...'

    def _start_daemon(self, args, env=None, sentinel=None):
        if env is None:
            env = self.env

        stdout = subprocess.PIPE if sentinel else subprocess.DEVNULL
        proc = subprocess.Popen(
            args,
            stdin=subprocess.DEVNULL,
            stdout=stdout,
            stderr=subprocess.STDOUT,
            env=env,
        )
        cmd = " ".join(args)
        while sentinel:
            line = proc.stdout.readline().decode()
            if line == "":
                code = proc.wait()
>               raise Exception(
                    "`{args}` failed to start "
                    "with code {code}".format(args=cmd, code=code)
                )
E               Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1

/usr/lib/python3.8/site-packages/k5test/realm.py:389: Exception
___________________________________________________________________ ERROR at setup of TestWrapUnwrap.test_wrap_size_limit ___________________________________________________________________

cls = <class 'gssapi.tests.test_raw.TestWrapUnwrap'>

    @classmethod
    def setUpClass(cls):
>       super(_GSSAPIKerberosTestCase, cls).setUpClass()

gssapi/tests/test_raw.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/site-packages/k5test/unit.py:11: in setUpClass
    cls.realm = realm.K5Realm()
/usr/lib/python3.8/site-packages/k5test/realm.py:176: in __init__
    self.start_kdc()
/usr/lib/python3.8/site-packages/k5test/realm.py:591: in start_kdc
    self._kdc_proc = self._start_daemon(start_args, env, "starting...")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <k5test.realm.MITRealm object at 0x7f204cb4cbe0>, args = ['/usr/sbin/krb5kdc', '-n']
env = {'KPROPD_PORT': '61003', 'KPROP_PORT': '61003', 'KRB5CCNAME': '/tmp/tmp_0dg0235-krbtest/ccache', 'KRB5RCACHEDIR': '/tmp/tmp_0dg0235-krbtest', ...}, sentinel = 'starting...'

    def _start_daemon(self, args, env=None, sentinel=None):
        if env is None:
            env = self.env

        stdout = subprocess.PIPE if sentinel else subprocess.DEVNULL
        proc = subprocess.Popen(
            args,
            stdin=subprocess.DEVNULL,
            stdout=stdout,
            stderr=subprocess.STDOUT,
            env=env,
        )
        cmd = " ".join(args)
        while sentinel:
            line = proc.stdout.readline().decode()
            if line == "":
                code = proc.wait()
>               raise Exception(
                    "`{args}` failed to start "
                    "with code {code}".format(args=cmd, code=code)
                )
E               Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1

/usr/lib/python3.8/site-packages/k5test/realm.py:389: Exception
================================================================================== short test summary info ==================================================================================
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_acquire_by_init_0_with_params_usage_mechs_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_acquire_by_init_1_with_params_usage_mechs - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_acquire_by_init_2_with_params_usage_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_acquire_by_init_3_with_params_usage - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_acquire_by_init_4_with_params_mechs_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_acquire_by_init_5_with_params_mechs - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_acquire_by_init_6_with_params_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_acquire_by_init_7_with_params_none - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_acquire_by_method_0_with_params_usage_mechs_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_acquire_by_method_1_with_params_usage_mechs - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_acquire_by_method_2_with_params_usage_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_acquire_by_method_3_with_params_usage - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_acquire_by_method_4_with_params_mechs_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_acquire_by_method_5_with_params_mechs - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_acquire_by_method_6_with_params_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_acquire_by_method_7_with_params_none - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_add - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_add_with_impersonate - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_create_from_other - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_export - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_import_by_init - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_00_with_params_mechs_usage_lifetime_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_01_with_params_mechs_usage_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_02_with_params_mechs_usage_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_03_with_params_mechs_usage - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_04_with_params_mechs_lifetime_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_05_with_params_mechs_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_06_with_params_mechs_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_07_with_params_mechs - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_08_with_params_usage_lifetime_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_09_with_params_usage_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_10_with_params_usage_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_11_with_params_usage - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_12_with_params_lifetime_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_13_with_params_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_14_with_params_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_15_with_params_none - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_by_mech_00_with_params_usage_accept_lifetime_init_lifetime_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_by_mech_01_with_params_usage_accept_lifetime_init_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_by_mech_02_with_params_usage_accept_lifetime_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_by_mech_03_with_params_usage_accept_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_by_mech_04_with_params_usage_init_lifetime_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_by_mech_05_with_params_usage_init_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_by_mech_06_with_params_usage_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_by_mech_07_with_params_usage - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_by_mech_08_with_params_accept_lifetime_init_lifetime_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_by_mech_09_with_params_accept_lifetime_init_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_by_mech_10_with_params_accept_lifetime_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_by_mech_11_with_params_accept_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_by_mech_12_with_params_init_lifetime_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_by_mech_13_with_params_init_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_by_mech_14_with_params_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_inquire_by_mech_15_with_params_none - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_pickle_unpickle - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_store_acquire - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_store_into_acquire_from - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::CredsTestCase::test_store_into_add_from - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::MechsTestCase::test_indicate_mechs - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::MechsTestCase::test_mech_inquiry - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::MechsTestCase::test_sasl_properties - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::NamesTestCase::test_basic_get_set_del_name_attribute_no_auth - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::NamesTestCase::test_canoncialize_and_export - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::NamesTestCase::test_canonicalize - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::NamesTestCase::test_compare - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::NamesTestCase::test_copy - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::NamesTestCase::test_create_from_composite_token_no_attrs - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::NamesTestCase::test_create_from_composite_token_with_attrs - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::NamesTestCase::test_create_from_name_and_type - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::NamesTestCase::test_create_from_name_no_type - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::NamesTestCase::test_create_from_other - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::NamesTestCase::test_create_from_token - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::NamesTestCase::test_display_as - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::NamesTestCase::test_export_name_composite_no_attrs - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::NamesTestCase::test_export_name_composite_with_attrs - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::NamesTestCase::test_is_mech_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::NamesTestCase::test_to_bytes - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::NamesTestCase::test_to_str - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::NamesTestCase::test_to_unicode - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_bad_channel_bindings_raises_error - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_channel_bindings - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_complete_on_partially_completed - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_create_from_other - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_create_new_accept - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_create_new_init_00_with_params_channel_bindings_mech_flags_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_create_new_init_01_with_params_channel_bindings_mech_flags - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_create_new_init_02_with_params_channel_bindings_mech_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_create_new_init_03_with_params_channel_bindings_mech - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_create_new_init_04_with_params_channel_bindings_flags_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_create_new_init_05_with_params_channel_bindings_flags - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_create_new_init_06_with_params_channel_bindings_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_create_new_init_07_with_params_channel_bindings - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_create_new_init_08_with_params_mech_flags_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_create_new_init_09_with_params_mech_flags - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_create_new_init_10_with_params_mech_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_create_new_init_11_with_params_mech - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_create_new_init_12_with_params_flags_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_create_new_init_13_with_params_flags - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_create_new_init_14_with_params_lifetime - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_create_new_init_15_with_params_none - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_defer_step_error_on_complete_property_access - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_defer_step_error_on_method - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_encrypt_decrypt - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_encrypt_decrypt_throws_error_on_no_encryption - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_export_create_from_token - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_get_signature - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_get_wrap_size_limit - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_init_throws_error_on_invalid_args - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_initiate_accept_steps - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_pickle_unpickle - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_verify_signature_raise - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_high_level.py::SecurityContextTestCase::test_wrap_unwrap - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_acquire_cred_with_password - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_acquire_creds - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_acquire_creds_impersonate_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_add_cred - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_add_cred_impersonate_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_add_cred_with_password - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_always_get_delegated_creds - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_basic_get_set_delete_name_attributes_no_auth - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_canonicalize_export_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_compare_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_context_time - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_create_oid_from_bytes - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_cred_import_export - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_display_mech_attr - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_display_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_display_status - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_duplicate_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_error_dispatch - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_import_export_name_composite - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_import_export_name_composite_no_attrs - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_import_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_indicate_mechs - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_inquire_context - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_inquire_cred_by_oid_impersonator - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_inquire_creds - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_inquire_mechs_for_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_inquire_name_mech_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_inquire_name_not_mech_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_inquire_name_with_attrs - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_inquire_names_for_mech - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_inquire_sec_context_by_oid - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_inquire_sec_context_by_oid_should_raise_error - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_krb5_ccache_name - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_krb5_export_lucid_sec_context - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_krb5_extract_authtime_from_sec_context - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_krb5_extract_authz_data_from_sec_context - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_krb5_get_tkt_flags - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_krb5_import_cred - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_krb5_set_allowable_enctypes - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_rfc5587 - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_sasl_names - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_set_cred_option - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_set_cred_option_should_raise_error - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_set_neg_mechs - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_set_sec_context_option - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_set_sec_context_option_fail - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_store_cred_acquire_cred - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestBaseUtilities::test_store_cred_into_acquire_cred - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestInitContext::test_basic_init_default_ctx - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestAcceptContext::test_bad_channel_binding_raises_error - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestAcceptContext::test_basic_accept_context - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestAcceptContext::test_basic_accept_context_no_acceptor_creds - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestAcceptContext::test_channel_bindings - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestWrapUnwrap::test_basic_aead_wrap_unwrap - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestWrapUnwrap::test_basic_aead_wrap_unwrap_bad_assoc_raises_error - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestWrapUnwrap::test_basic_aead_wrap_unwrap_no_assoc - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestWrapUnwrap::test_basic_iov_wrap_unwrap_autoalloc - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestWrapUnwrap::test_basic_iov_wrap_unwrap_prealloc - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestWrapUnwrap::test_basic_verify_mic - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestWrapUnwrap::test_basic_verify_mic_iov - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestWrapUnwrap::test_basic_wrap_unwrap - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestWrapUnwrap::test_get_mic - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestWrapUnwrap::test_get_mic_iov - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestWrapUnwrap::test_get_mic_iov_length - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestWrapUnwrap::test_import_export_sec_context - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestWrapUnwrap::test_verify_mic_iov_bad_mic_raises_error - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
ERROR gssapi/tests/test_raw.py::TestWrapUnwrap::test_wrap_size_limit - Exception: `/usr/sbin/krb5kdc -n` failed to start with code 1
============================================================================== 21 passed, 178 errors in 10.09s ==============================================================================

Here is list of installed modules in build env

Package                       Version
----------------------------- -----------------
alabaster                     0.7.13
astroid                       2.15.0
attrs                         22.2.0
Babel                         2.12.1
build                         0.10.0
charset-normalizer            3.1.0
commonmark                    0.9.1
Cython                        0.29.33
decorator                     5.1.1
distro                        1.8.0
docutils                      0.19
exceptiongroup                1.0.0
gpg                           1.18.0-unknown
idna                          3.4
imagesize                     1.4.1
importlib-metadata            6.1.0
iniconfig                     2.0.0
Jinja2                        3.1.2
k5test                        0.10.3
lazy-object-proxy             1.9.0
libcomps                      0.1.19
MarkupSafe                    2.1.2
packaging                     23.0
parameterized                 0.8.1
pip                           23.0.1
pluggy                        1.0.0
Pygments                      2.14.0
pyproject_hooks               1.0.0
pytest                        7.2.2
python-dateutil               2.8.2
pytz                          2023.2
PyYAML                        6.0
recommonmark                  0.7.1
requests                      2.28.2
rpm                           4.17.0
setuptools                    65.6.3
six                           1.16.0
snowballstemmer               2.2.0
Sphinx                        6.1.3
sphinx-autoapi                1.9.0
sphinxcontrib-applehelp       1.0.4
sphinxcontrib-devhelp         1.0.2.dev20230202
sphinxcontrib-htmlhelp        2.0.0
sphinxcontrib-jsmath          1.0.1.dev20230128
sphinxcontrib-qthelp          1.0.3.dev20230128
sphinxcontrib-serializinghtml 1.1.5
tomli                         2.0.1
typing_extensions             4.5.0
Unidecode                     1.3.4
urllib3                       1.26.15
wheel                         0.38.4
wrapt                         1.14.1
zipp                          3.15.0

kloczek avatar Apr 01 '23 16:04 kloczek

Internally the test suite uses k5test which is where this exception is occurring. Unfortunately there are a lot of layers that can make it hard to capture this output from Popen redirection to the unittest stdout capturing.

If this was me I would

  • Try and run /usr/sbin/krb5kdc -n interactively and see if it works, if it doesn't hopefully it gives you a clear error
  • Add some file logging to _start_daemon on your local k5test install
    • Best to just run 1 test to remove some of the extra noise

build is performed in env which is cut off from access to the public network (pytest is executed with -m "not network")

AFAIK this requires the actual tests themselves to include a network marker which this repo does not have.

jborean93 avatar Apr 11 '23 01:04 jborean93