Skip to content

Mpsk devices

Mpsk devices #1336

GitHub Actions / JUnit Test Report failed Sep 18, 2024 in 0s

1296 tests run, 1282 passed, 1 skipped, 13 failed.

Annotations

Check failure on line 1 in TestMPSKValidators

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestMPSKValidators.test_bad_macs[ff:ff:ff:ff:ff]

packaging.utils.InvalidName: Name cannot be empty
Raw output
tests/model/test_mpsk.py:39: in test_bad_macs
    mpsk_client = MPSKClient(
<string>:4: in __init__
    ???
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:564: in _initialize_instance
    with util.safe_reraise():
../venv/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py:146: in __exit__
    raise exc_value.with_traceback(exc_tb)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:562: in _initialize_instance
    manager.original_init(*mixed[1:], **kwargs)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/decl_base.py:2142: in _declarative_constructor
    setattr(self, k, kwargs[k])
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:537: in __set__
    self.impl.set(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1277: in set
    value = self.fire_replace_event(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1292: in fire_replace_event
    value = fn(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/events.py:2573: in wrap
    return fn(target, *arg)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/util.py:326: in set_
    return validator(state.obj(), key, value)
pycroft/model/mpsk_client.py:42: in validate_name
    raise InvalidName("Name cannot be empty")
E   packaging.utils.InvalidName: Name cannot be empty

Check failure on line 1 in TestMPSKValidators

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestMPSKValidators.test_bad_macs[ff:ff:ff:ff:ff:ff]

packaging.utils.InvalidName: Name cannot be empty
Raw output
tests/model/test_mpsk.py:39: in test_bad_macs
    mpsk_client = MPSKClient(
<string>:4: in __init__
    ???
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:564: in _initialize_instance
    with util.safe_reraise():
../venv/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py:146: in __exit__
    raise exc_value.with_traceback(exc_tb)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:562: in _initialize_instance
    manager.original_init(*mixed[1:], **kwargs)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/decl_base.py:2142: in _declarative_constructor
    setattr(self, k, kwargs[k])
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:537: in __set__
    self.impl.set(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1277: in set
    value = self.fire_replace_event(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1292: in fire_replace_event
    value = fn(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/events.py:2573: in wrap
    return fn(target, *arg)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/util.py:326: in set_
    return validator(state.obj(), key, value)
pycroft/model/mpsk_client.py:42: in validate_name
    raise InvalidName("Name cannot be empty")
E   packaging.utils.InvalidName: Name cannot be empty

Check failure on line 1 in TestMPSKValidators

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestMPSKValidators.test_bad_macs[ff:asjfjsdaf:ff:ff:ff:ff]

packaging.utils.InvalidName: Name cannot be empty
Raw output
tests/model/test_mpsk.py:39: in test_bad_macs
    mpsk_client = MPSKClient(
<string>:4: in __init__
    ???
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:564: in _initialize_instance
    with util.safe_reraise():
../venv/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py:146: in __exit__
    raise exc_value.with_traceback(exc_tb)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:562: in _initialize_instance
    manager.original_init(*mixed[1:], **kwargs)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/decl_base.py:2142: in _declarative_constructor
    setattr(self, k, kwargs[k])
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:537: in __set__
    self.impl.set(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1277: in set
    value = self.fire_replace_event(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1292: in fire_replace_event
    value = fn(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/events.py:2573: in wrap
    return fn(target, *arg)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/util.py:326: in set_
    return validator(state.obj(), key, value)
pycroft/model/mpsk_client.py:42: in validate_name
    raise InvalidName("Name cannot be empty")
E   packaging.utils.InvalidName: Name cannot be empty

Check failure on line 1 in TestMPSKValidators

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestMPSKValidators.test_bad_macs[aj:00:ff:1f:ff:ff]

packaging.utils.InvalidName: Name cannot be empty
Raw output
tests/model/test_mpsk.py:39: in test_bad_macs
    mpsk_client = MPSKClient(
<string>:4: in __init__
    ???
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:564: in _initialize_instance
    with util.safe_reraise():
../venv/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py:146: in __exit__
    raise exc_value.with_traceback(exc_tb)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:562: in _initialize_instance
    manager.original_init(*mixed[1:], **kwargs)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/decl_base.py:2142: in _declarative_constructor
    setattr(self, k, kwargs[k])
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:537: in __set__
    self.impl.set(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1277: in set
    value = self.fire_replace_event(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1292: in fire_replace_event
    value = fn(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/events.py:2573: in wrap
    return fn(target, *arg)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/util.py:326: in set_
    return validator(state.obj(), key, value)
pycroft/model/mpsk_client.py:42: in validate_name
    raise InvalidName("Name cannot be empty")
E   packaging.utils.InvalidName: Name cannot be empty

Check failure on line 1 in TestMPSKValidators

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestMPSKValidators.test_bad_macs[ff:ff:ff:ff:ff:ff:ff]

packaging.utils.InvalidName: Name cannot be empty
Raw output
tests/model/test_mpsk.py:39: in test_bad_macs
    mpsk_client = MPSKClient(
<string>:4: in __init__
    ???
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:564: in _initialize_instance
    with util.safe_reraise():
../venv/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py:146: in __exit__
    raise exc_value.with_traceback(exc_tb)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:562: in _initialize_instance
    manager.original_init(*mixed[1:], **kwargs)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/decl_base.py:2142: in _declarative_constructor
    setattr(self, k, kwargs[k])
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:537: in __set__
    self.impl.set(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1277: in set
    value = self.fire_replace_event(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1292: in fire_replace_event
    value = fn(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/events.py:2573: in wrap
    return fn(target, *arg)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/util.py:326: in set_
    return validator(state.obj(), key, value)
pycroft/model/mpsk_client.py:42: in validate_name
    raise InvalidName("Name cannot be empty")
E   packaging.utils.InvalidName: Name cannot be empty

Check failure on line 1 in TestMPSKValidators

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestMPSKValidators.test_no_name

Failed: DID NOT RAISE <class 'packaging.utils.InvalidName'>
Raw output
tests/model/test_mpsk.py:54: in test_no_name
    with pytest.raises(InvalidName):
E   Failed: DID NOT RAISE <class 'packaging.utils.InvalidName'>

Check failure on line 1 in TestMPSKValidators

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestMPSKValidators.test_no_mac

packaging.utils.InvalidName: Name cannot be empty
Raw output
tests/model/test_mpsk.py:58: in test_no_mac
    mpsk_client = MPSKClient(name="00:00:00:00:00:00", owner=user)
<string>:4: in __init__
    ???
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:564: in _initialize_instance
    with util.safe_reraise():
../venv/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py:146: in __exit__
    raise exc_value.with_traceback(exc_tb)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:562: in _initialize_instance
    manager.original_init(*mixed[1:], **kwargs)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/decl_base.py:2142: in _declarative_constructor
    setattr(self, k, kwargs[k])
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:537: in __set__
    self.impl.set(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1277: in set
    value = self.fire_replace_event(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1292: in fire_replace_event
    value = fn(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/events.py:2573: in wrap
    return fn(target, *arg)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/util.py:326: in set_
    return validator(state.obj(), key, value)
pycroft/model/mpsk_client.py:42: in validate_name
    raise InvalidName("Name cannot be empty")
E   packaging.utils.InvalidName: Name cannot be empty

Check failure on line 1 in TestMPSKValidators

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestMPSKValidators.test_no_owner

packaging.utils.InvalidName: Name cannot be empty
Raw output
tests/model/test_mpsk.py:64: in test_no_owner
    mpsk_client = MPSKClient(mac="00:00:00:00:00:00", name="as")
<string>:4: in __init__
    ???
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:564: in _initialize_instance
    with util.safe_reraise():
../venv/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py:146: in __exit__
    raise exc_value.with_traceback(exc_tb)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:562: in _initialize_instance
    manager.original_init(*mixed[1:], **kwargs)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/decl_base.py:2142: in _declarative_constructor
    setattr(self, k, kwargs[k])
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:537: in __set__
    self.impl.set(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1277: in set
    value = self.fire_replace_event(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1292: in fire_replace_event
    value = fn(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/events.py:2573: in wrap
    return fn(target, *arg)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/util.py:326: in set_
    return validator(state.obj(), key, value)
pycroft/model/mpsk_client.py:42: in validate_name
    raise InvalidName("Name cannot be empty")
E   packaging.utils.InvalidName: Name cannot be empty

Check failure on line 1 in TestMPSKValidators

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestMPSKValidators.test_names[ a ]

packaging.utils.InvalidName: Name cannot be empty
Raw output
tests/model/test_mpsk.py:80: in test_names
    mpsk_client = MPSKClient(mac="00:00:00:00:00:00", name=name, owner=user)
<string>:4: in __init__
    ???
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:564: in _initialize_instance
    with util.safe_reraise():
../venv/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py:146: in __exit__
    raise exc_value.with_traceback(exc_tb)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:562: in _initialize_instance
    manager.original_init(*mixed[1:], **kwargs)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/decl_base.py:2142: in _declarative_constructor
    setattr(self, k, kwargs[k])
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:537: in __set__
    self.impl.set(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1277: in set
    value = self.fire_replace_event(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1292: in fire_replace_event
    value = fn(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/events.py:2573: in wrap
    return fn(target, *arg)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/util.py:326: in set_
    return validator(state.obj(), key, value)
pycroft/model/mpsk_client.py:42: in validate_name
    raise InvalidName("Name cannot be empty")
E   packaging.utils.InvalidName: Name cannot be empty

Check failure on line 1 in TestMPSKValidators

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestMPSKValidators.test_names[ a]

packaging.utils.InvalidName: Name cannot be empty
Raw output
tests/model/test_mpsk.py:80: in test_names
    mpsk_client = MPSKClient(mac="00:00:00:00:00:00", name=name, owner=user)
<string>:4: in __init__
    ???
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:564: in _initialize_instance
    with util.safe_reraise():
../venv/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py:146: in __exit__
    raise exc_value.with_traceback(exc_tb)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:562: in _initialize_instance
    manager.original_init(*mixed[1:], **kwargs)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/decl_base.py:2142: in _declarative_constructor
    setattr(self, k, kwargs[k])
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:537: in __set__
    self.impl.set(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1277: in set
    value = self.fire_replace_event(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1292: in fire_replace_event
    value = fn(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/events.py:2573: in wrap
    return fn(target, *arg)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/util.py:326: in set_
    return validator(state.obj(), key, value)
pycroft/model/mpsk_client.py:42: in validate_name
    raise InvalidName("Name cannot be empty")
E   packaging.utils.InvalidName: Name cannot be empty

Check failure on line 1 in TestMPSKValidators

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestMPSKValidators.test_names[ff:asjfjsdaf:ff:ff:ff:ff]

packaging.utils.InvalidName: Name cannot be empty
Raw output
tests/model/test_mpsk.py:80: in test_names
    mpsk_client = MPSKClient(mac="00:00:00:00:00:00", name=name, owner=user)
<string>:4: in __init__
    ???
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:564: in _initialize_instance
    with util.safe_reraise():
../venv/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py:146: in __exit__
    raise exc_value.with_traceback(exc_tb)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:562: in _initialize_instance
    manager.original_init(*mixed[1:], **kwargs)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/decl_base.py:2142: in _declarative_constructor
    setattr(self, k, kwargs[k])
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:537: in __set__
    self.impl.set(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1277: in set
    value = self.fire_replace_event(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1292: in fire_replace_event
    value = fn(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/events.py:2573: in wrap
    return fn(target, *arg)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/util.py:326: in set_
    return validator(state.obj(), key, value)
pycroft/model/mpsk_client.py:42: in validate_name
    raise InvalidName("Name cannot be empty")
E   packaging.utils.InvalidName: Name cannot be empty

Check failure on line 1 in TestMPSKValidators

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestMPSKValidators.test_names[aj:00:ff:1f:ff:ff]

packaging.utils.InvalidName: Name cannot be empty
Raw output
tests/model/test_mpsk.py:80: in test_names
    mpsk_client = MPSKClient(mac="00:00:00:00:00:00", name=name, owner=user)
<string>:4: in __init__
    ???
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:564: in _initialize_instance
    with util.safe_reraise():
../venv/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py:146: in __exit__
    raise exc_value.with_traceback(exc_tb)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:562: in _initialize_instance
    manager.original_init(*mixed[1:], **kwargs)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/decl_base.py:2142: in _declarative_constructor
    setattr(self, k, kwargs[k])
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:537: in __set__
    self.impl.set(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1277: in set
    value = self.fire_replace_event(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1292: in fire_replace_event
    value = fn(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/events.py:2573: in wrap
    return fn(target, *arg)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/util.py:326: in set_
    return validator(state.obj(), key, value)
pycroft/model/mpsk_client.py:42: in validate_name
    raise InvalidName("Name cannot be empty")
E   packaging.utils.InvalidName: Name cannot be empty

Check failure on line 1 in TestMPSKValidators

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestMPSKValidators.test_names[ff:ff:ff:ff:ff:ff:ff]

packaging.utils.InvalidName: Name cannot be empty
Raw output
tests/model/test_mpsk.py:80: in test_names
    mpsk_client = MPSKClient(mac="00:00:00:00:00:00", name=name, owner=user)
<string>:4: in __init__
    ???
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:564: in _initialize_instance
    with util.safe_reraise():
../venv/lib/python3.11/site-packages/sqlalchemy/util/langhelpers.py:146: in __exit__
    raise exc_value.with_traceback(exc_tb)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/state.py:562: in _initialize_instance
    manager.original_init(*mixed[1:], **kwargs)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/decl_base.py:2142: in _declarative_constructor
    setattr(self, k, kwargs[k])
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:537: in __set__
    self.impl.set(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1277: in set
    value = self.fire_replace_event(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1292: in fire_replace_event
    value = fn(
../venv/lib/python3.11/site-packages/sqlalchemy/orm/events.py:2573: in wrap
    return fn(target, *arg)
../venv/lib/python3.11/site-packages/sqlalchemy/orm/util.py:326: in set_
    return validator(state.obj(), key, value)
pycroft/model/mpsk_client.py:42: in validate_name
    raise InvalidName("Name cannot be empty")
E   packaging.utils.InvalidName: Name cannot be empty