core: app entitlements #26030
Triggered via pull request
November 25, 2024 14:14
Status
Failure
Total duration
19m 30s
Artifacts
–
ci-main.yml
on: pull_request
Matrix: lint
Matrix: test-e2e
Matrix: test-migrations-from-stable
Matrix: test-unittest
Matrix: build
pr-comment
0s
Annotations
25 errors
lint (pending-migrations)
Process completed with exit code 2.
|
test-unittest - PostgreSQL 16-alpine:
authentik/providers/oauth2/tests/test_userinfo.py#L58
TestUserinfo.test_userinfo_normal
AssertionError: {'sub': 'bar', 'name': '0iCD8Xg9XfuLBmSkfy5[187 chars]: []} != {'name': '0iCD8Xg9XfuLBmSkfy5P', 'given_nam[154 chars]bar'}
- {'entitlements': [],
- 'given_name': '0iCD8Xg9XfuLBmSkfy5P',
? ^
+ {'given_name': '0iCD8Xg9XfuLBmSkfy5P',
? ^
'groups': ['0iCD8Xg9XfuLBmSkfy5P'],
'name': '0iCD8Xg9XfuLBmSkfy5P',
'nickname': '0iCD8Xg9XfuLBmSkfy5P',
'preferred_username': '0iCD8Xg9XfuLBmSkfy5P',
- 'roles': [],
'sub': 'bar'}
|
test-unittest - PostgreSQL 16-alpine:
authentik/providers/oauth2/tests/test_userinfo.py#L58
TestUserinfo.test_userinfo_invalid_scope
AssertionError: {'sub': 'bar', 'name': '1y5ZY7iP8cd7ZzGJS3N[187 chars]: []} != {'name': '1y5ZY7iP8cd7ZzGJS3Np', 'given_nam[154 chars]bar'}
- {'entitlements': [],
- 'given_name': '1y5ZY7iP8cd7ZzGJS3Np',
? ^
+ {'given_name': '1y5ZY7iP8cd7ZzGJS3Np',
? ^
'groups': ['1y5ZY7iP8cd7ZzGJS3Np'],
'name': '1y5ZY7iP8cd7ZzGJS3Np',
'nickname': '1y5ZY7iP8cd7ZzGJS3Np',
'preferred_username': '1y5ZY7iP8cd7ZzGJS3Np',
- 'roles': [],
'sub': 'bar'}
|
test-unittest - PostgreSQL 16-alpine:
authentik/core/tests/test_application_entitlements.py#L58
TestApplicationEntitlements.test_group_indirect
TypeError: asdict() should be called on dataclass instances
|
test-unittest - PostgreSQL 16-alpine:
authentik/core/tests/test_application_entitlements.py#L58
TestApplicationEntitlements.test_group
TypeError: asdict() should be called on dataclass instances
|
test-unittest - PostgreSQL 16-alpine:
authentik/core/tests/test_application_entitlements.py#L58
TestApplicationEntitlements.test_user
TypeError: asdict() should be called on dataclass instances
|
test-unittest - PostgreSQL 16-alpine
Process completed with exit code 2.
|
test-migrations-from-stable - PostgreSQL 16-alpine:
authentik/providers/oauth2/tests/test_userinfo.py#L58
TestUserinfo.test_userinfo_invalid_scope
AssertionError: {'sub': 'bar', 'name': 'AYlzvDThTUNOagAdP7m[187 chars]: []} != {'name': 'AYlzvDThTUNOagAdP7mQ', 'given_nam[154 chars]bar'}
- {'entitlements': [],
- 'given_name': 'AYlzvDThTUNOagAdP7mQ',
? ^
+ {'given_name': 'AYlzvDThTUNOagAdP7mQ',
? ^
'groups': ['AYlzvDThTUNOagAdP7mQ'],
'name': 'AYlzvDThTUNOagAdP7mQ',
'nickname': 'AYlzvDThTUNOagAdP7mQ',
'preferred_username': 'AYlzvDThTUNOagAdP7mQ',
- 'roles': [],
'sub': 'bar'}
|
test-migrations-from-stable - PostgreSQL 16-alpine:
authentik/providers/oauth2/tests/test_userinfo.py#L58
TestUserinfo.test_userinfo_normal
AssertionError: {'sub': 'bar', 'name': 'XFLuVe27K5FDegNSZ68[187 chars]: []} != {'name': 'XFLuVe27K5FDegNSZ68e', 'given_nam[154 chars]bar'}
- {'entitlements': [],
- 'given_name': 'XFLuVe27K5FDegNSZ68e',
? ^
+ {'given_name': 'XFLuVe27K5FDegNSZ68e',
? ^
'groups': ['XFLuVe27K5FDegNSZ68e'],
'name': 'XFLuVe27K5FDegNSZ68e',
'nickname': 'XFLuVe27K5FDegNSZ68e',
'preferred_username': 'XFLuVe27K5FDegNSZ68e',
- 'roles': [],
'sub': 'bar'}
|
test-migrations-from-stable - PostgreSQL 16-alpine:
authentik/core/tests/test_application_entitlements.py#L58
TestApplicationEntitlements.test_user
TypeError: asdict() should be called on dataclass instances
|
test-migrations-from-stable - PostgreSQL 16-alpine:
authentik/core/tests/test_application_entitlements.py#L58
TestApplicationEntitlements.test_group_indirect
TypeError: asdict() should be called on dataclass instances
|
test-migrations-from-stable - PostgreSQL 16-alpine:
authentik/core/tests/test_application_entitlements.py#L58
TestApplicationEntitlements.test_group
TypeError: asdict() should be called on dataclass instances
|
test-migrations-from-stable - PostgreSQL 16-alpine
Process completed with exit code 2.
|
test-migrations-from-stable - PostgreSQL 15-alpine:
authentik/core/tests/test_application_entitlements.py#L58
TestApplicationEntitlements.test_user
TypeError: asdict() should be called on dataclass instances
|
test-migrations-from-stable - PostgreSQL 15-alpine:
authentik/core/tests/test_application_entitlements.py#L58
TestApplicationEntitlements.test_group
TypeError: asdict() should be called on dataclass instances
|
test-migrations-from-stable - PostgreSQL 15-alpine:
authentik/core/tests/test_application_entitlements.py#L58
TestApplicationEntitlements.test_group_indirect
TypeError: asdict() should be called on dataclass instances
|
test-migrations-from-stable - PostgreSQL 15-alpine:
authentik/providers/oauth2/tests/test_userinfo.py#L58
TestUserinfo.test_userinfo_normal
AssertionError: {'sub': 'bar', 'name': 'rY87YIStSvJk4rIrWrD[187 chars]: []} != {'name': 'rY87YIStSvJk4rIrWrD9', 'given_nam[154 chars]bar'}
- {'entitlements': [],
- 'given_name': 'rY87YIStSvJk4rIrWrD9',
? ^
+ {'given_name': 'rY87YIStSvJk4rIrWrD9',
? ^
'groups': ['rY87YIStSvJk4rIrWrD9'],
'name': 'rY87YIStSvJk4rIrWrD9',
'nickname': 'rY87YIStSvJk4rIrWrD9',
'preferred_username': 'rY87YIStSvJk4rIrWrD9',
- 'roles': [],
'sub': 'bar'}
|
test-migrations-from-stable - PostgreSQL 15-alpine:
authentik/providers/oauth2/tests/test_userinfo.py#L58
TestUserinfo.test_userinfo_invalid_scope
AssertionError: {'sub': 'bar', 'name': 'ULuN50rGO4kCxkbVjTd[187 chars]: []} != {'name': 'ULuN50rGO4kCxkbVjTdU', 'given_nam[154 chars]bar'}
- {'entitlements': [],
- 'given_name': 'ULuN50rGO4kCxkbVjTdU',
? ^
+ {'given_name': 'ULuN50rGO4kCxkbVjTdU',
? ^
'groups': ['ULuN50rGO4kCxkbVjTdU'],
'name': 'ULuN50rGO4kCxkbVjTdU',
'nickname': 'ULuN50rGO4kCxkbVjTdU',
'preferred_username': 'ULuN50rGO4kCxkbVjTdU',
- 'roles': [],
'sub': 'bar'}
|
test-migrations-from-stable - PostgreSQL 15-alpine
Process completed with exit code 2.
|
test-unittest - PostgreSQL 15-alpine:
authentik/providers/oauth2/tests/test_userinfo.py#L58
TestUserinfo.test_userinfo_normal
AssertionError: {'sub': 'bar', 'name': 'v2b5JC5EUcK6EjsRR4f[187 chars]: []} != {'name': 'v2b5JC5EUcK6EjsRR4fY', 'given_nam[154 chars]bar'}
- {'entitlements': [],
- 'given_name': 'v2b5JC5EUcK6EjsRR4fY',
? ^
+ {'given_name': 'v2b5JC5EUcK6EjsRR4fY',
? ^
'groups': ['v2b5JC5EUcK6EjsRR4fY'],
'name': 'v2b5JC5EUcK6EjsRR4fY',
'nickname': 'v2b5JC5EUcK6EjsRR4fY',
'preferred_username': 'v2b5JC5EUcK6EjsRR4fY',
- 'roles': [],
'sub': 'bar'}
|
test-unittest - PostgreSQL 15-alpine:
authentik/providers/oauth2/tests/test_userinfo.py#L58
TestUserinfo.test_userinfo_invalid_scope
AssertionError: {'sub': 'bar', 'name': 'ktXZJ0zHy4wjcbkV1NC[187 chars]: []} != {'name': 'ktXZJ0zHy4wjcbkV1NCr', 'given_nam[154 chars]bar'}
- {'entitlements': [],
- 'given_name': 'ktXZJ0zHy4wjcbkV1NCr',
? ^
+ {'given_name': 'ktXZJ0zHy4wjcbkV1NCr',
? ^
'groups': ['ktXZJ0zHy4wjcbkV1NCr'],
'name': 'ktXZJ0zHy4wjcbkV1NCr',
'nickname': 'ktXZJ0zHy4wjcbkV1NCr',
'preferred_username': 'ktXZJ0zHy4wjcbkV1NCr',
- 'roles': [],
'sub': 'bar'}
|
test-unittest - PostgreSQL 15-alpine:
authentik/core/tests/test_application_entitlements.py#L58
TestApplicationEntitlements.test_group
TypeError: asdict() should be called on dataclass instances
|
test-unittest - PostgreSQL 15-alpine:
authentik/core/tests/test_application_entitlements.py#L58
TestApplicationEntitlements.test_group_indirect
TypeError: asdict() should be called on dataclass instances
|
test-unittest - PostgreSQL 15-alpine:
authentik/core/tests/test_application_entitlements.py#L58
TestApplicationEntitlements.test_user
TypeError: asdict() should be called on dataclass instances
|
test-unittest - PostgreSQL 15-alpine
Process completed with exit code 2.
|