Skip to content

Commit

Permalink
pam/integration-tests: Use Ubuntu Mono font for VHS tests by default
Browse files Browse the repository at this point in the history
  • Loading branch information
3v1n0 committed Nov 18, 2024
1 parent 671525e commit c579afa
Show file tree
Hide file tree
Showing 35 changed files with 302 additions and 461 deletions.
1 change: 1 addition & 0 deletions .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ env:
ffmpeg
openssh-client
openssh-server
ubuntu-mono
# In Rust the grpc stubs are generated at build time
# so we always need to install the protobuf compilers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ Gimme your password


PAM Info Message: auth=incomplete
PAM Authenticate() for user "user-integration-switch-broker" exited with error (PAM exit code: 2
5): The return value should be ignored by PAM dispatch
PAM Authenticate() for user "user-integration-switch-broker" exited with error (PAM exit code: 25): The return
value should be ignored by PAM dispatch
PAM AcctMgmt() exited with error (PAM exit code: 26): Critical error - immediate abort
>
────────────────────────────────────────────────────────────────────────────────
Expand Down Expand Up @@ -86,8 +86,8 @@ PAM AcctMgmt() exited with error (PAM exit code: 26): Critical error - immediate


PAM Info Message: auth=incomplete
PAM Authenticate() for user "user-integration-switch-broker" exited with error (PAM exit code: 2
5): The return value should be ignored by PAM dispatch
PAM Authenticate() for user "user-integration-switch-broker" exited with error (PAM exit code: 25): The return
value should be ignored by PAM dispatch
PAM AcctMgmt() exited with error (PAM exit code: 26): Critical error - immediate abort
>
────────────────────────────────────────────────────────────────────────────────
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ Username: root
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK}
PAM Info Message: auth=incomplete
PAM Authenticate() for user "root" exited with error (PAM exit code: 25): The return value shoul
d be ignored by PAM dispatch
PAM Authenticate() for user "root" exited with error (PAM exit code: 25): The return value should be ignored b
y PAM dispatch
PAM AcctMgmt() exited with error (PAM exit code: 26): Critical error - immediate abort
>
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK}
PAM Info Message: auth=incomplete
PAM Authenticate() for user "root" exited with error (PAM exit code: 25): The return value shoul
d be ignored by PAM dispatch
PAM Authenticate() for user "root" exited with error (PAM exit code: 25): The return value should be ignored b
y PAM dispatch
PAM AcctMgmt() exited with error (PAM exit code: 26): Critical error - immediate abort
>
────────────────────────────────────────────────────────────────────────────────
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK}
PAM Info Message: auth=incomplete
PAM Authenticate() for user "root" exited with error (PAM exit code: 25): The return value shoul
d be ignored by PAM dispatch
PAM Authenticate() for user "root" exited with error (PAM exit code: 25): The return value should be ignored b
y PAM dispatch
PAM AcctMgmt() exited with error (PAM exit code: 26): Critical error - immediate abort
>
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK}
PAM Info Message: auth=incomplete
PAM Authenticate() for user "root" exited with error (PAM exit code: 25): The return value shoul
d be ignored by PAM dispatch
PAM Authenticate() for user "root" exited with error (PAM exit code: 25): The return value should be ignored b
y PAM dispatch
PAM AcctMgmt() exited with error (PAM exit code: 26): Critical error - immediate abort
>
>
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK}
PAM Info Message: auth=incomplete
PAM Authenticate() for user "root" exited with error (PAM exit code: 25): The return value shoul
d be ignored by PAM dispatch
PAM Authenticate() for user "root" exited with error (PAM exit code: 25): The return value should be ignored b
y PAM dispatch
PAM AcctMgmt() exited with error (PAM exit code: 26): Critical error - immediate abort
>
>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK}
PAM Error Message: could not get current available brokers: permission denied: this action is on
ly allowed for root users. Current user is XXXX
PAM Error Message: could not get current available brokers: permission denied: this action is only allowed for
root users. Current user is XXXX
PAM Authenticate() for user "" exited with error (PAM exit code: 4): System error
PAM Info Message: acct=incomplete
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM
dispatch
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM dispatch
>
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK}
PAM Error Message: could not get current available brokers: permission denied: this action is on
ly allowed for root users. Current user is XXXX
PAM Error Message: could not get current available brokers: permission denied: this action is only allowed for
root users. Current user is XXXX
PAM Authenticate() for user "" exited with error (PAM exit code: 4): System error
PAM Info Message: acct=incomplete
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM
dispatch
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM dispatch
>
────────────────────────────────────────────────────────────────────────────────
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,17 @@ invalid password 'wrongpass', should be 'goodpass'
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK}
PAM Error Message: invalid password 'wrongpass', should be 'goodpass'
PAM Authenticate() for user "user-integration-max-attempts" exited with error (PAM exit code: 7)
: Authentication failure
PAM Authenticate() for user "user-integration-max-attempts" exited with error (PAM exit code: 7): Authenticati
on failure
PAM Info Message: acct=incomplete
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM
dispatch
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM dispatch
>
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK}
PAM Error Message: invalid password 'wrongpass', should be 'goodpass'
PAM Authenticate() for user "user-integration-max-attempts" exited with error (PAM exit code: 7)
: Authentication failure
PAM Authenticate() for user "user-integration-max-attempts" exited with error (PAM exit code: 7): Authenticati
on failure
PAM Info Message: acct=incomplete
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM
dispatch
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM dispatch
>
────────────────────────────────────────────────────────────────────────────────
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ Username: user-unexistent
PAM Error Message: can't select broker: user "user-unexistent" does not exist
PAM Authenticate() for user "user-unexistent" exited with error (PAM exit code: 4): System error
PAM Info Message: acct=incomplete
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM
dispatch
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM dispatch
>
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK}
Expand Down Expand Up @@ -68,7 +67,6 @@ dispatch
PAM Error Message: can't select broker: user "user-unexistent" does not exist
PAM Authenticate() for user "user-unexistent" exited with error (PAM exit code: 4): System error
PAM Info Message: acct=incomplete
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM
dispatch
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM dispatch
>
────────────────────────────────────────────────────────────────────────────────
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ Username: user-local-broker


PAM Info Message: auth=incomplete
PAM Authenticate() for user "user-local-broker" exited with error (PAM exit code: 25): The retur
n value should be ignored by PAM dispatch
PAM Authenticate() for user "user-local-broker" exited with error (PAM exit code: 25): The return value should
be ignored by PAM dispatch
PAM AcctMgmt() exited with error (PAM exit code: 26): Critical error - immediate abort
>
────────────────────────────────────────────────────────────────────────────────
Expand Down Expand Up @@ -65,8 +65,8 @@ PAM AcctMgmt() exited with error (PAM exit code: 26): Critical error - immediate


PAM Info Message: auth=incomplete
PAM Authenticate() for user "user-local-broker" exited with error (PAM exit code: 25): The retur
n value should be ignored by PAM dispatch
PAM Authenticate() for user "user-local-broker" exited with error (PAM exit code: 25): The return value should
be ignored by PAM dispatch
PAM AcctMgmt() exited with error (PAM exit code: 26): Critical error - immediate abort
>
────────────────────────────────────────────────────────────────────────────────
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,18 @@ Gimme your password
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK}
Gimme your password
PAM Error Message: cancel requested
PAM Authenticate() for user "user-integration-sigint" exited with error (PAM exit code: 26): Cri
tical error - immediate abort
PAM Authenticate() for user "user-integration-sigint" exited with error (PAM exit code: 26): Critical error -
immediate abort
PAM Info Message: acct=incomplete
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM
dispatch
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM dispatch
>
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd login socket=${AUTHD_TESTS_CLI_AUTHENTICATE_TESTS_SOCK}
Gimme your password
PAM Error Message: cancel requested
PAM Authenticate() for user "user-integration-sigint" exited with error (PAM exit code: 26): Cri
tical error - immediate abort
PAM Authenticate() for user "user-integration-sigint" exited with error (PAM exit code: 26): Critical error -
immediate abort
PAM Info Message: acct=incomplete
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM
dispatch
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM dispatch
>
────────────────────────────────────────────────────────────────────────────────
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ Username: user-local-broker


PAM Info Message: chauthtok=incomplete
PAM ChangeAuthTok() for user "user-local-broker" exited with error (PAM exit code: 25): The retu
rn value should be ignored by PAM dispatch
PAM ChangeAuthTok() for user "user-local-broker" exited with error (PAM exit code: 25): The return value shoul
d be ignored by PAM dispatch
PAM AcctMgmt() exited with error (PAM exit code: 26): Critical error - immediate abort
>
────────────────────────────────────────────────────────────────────────────────
Expand Down Expand Up @@ -65,8 +65,8 @@ PAM AcctMgmt() exited with error (PAM exit code: 26): Critical error - immediate


PAM Info Message: chauthtok=incomplete
PAM ChangeAuthTok() for user "user-local-broker" exited with error (PAM exit code: 25): The retu
rn value should be ignored by PAM dispatch
PAM ChangeAuthTok() for user "user-local-broker" exited with error (PAM exit code: 25): The return value shoul
d be ignored by PAM dispatch
PAM AcctMgmt() exited with error (PAM exit code: 26): Critical error - immediate abort
>
────────────────────────────────────────────────────────────────────────────────
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,18 @@ Gimme your password
> ./pam_authd passwd socket=${AUTHD_TESTS_CLI_AUTHTOK_TESTS_SOCK}
Gimme your password
PAM Error Message: cancel requested
PAM ChangeAuthTok() for user "user-integration-sigint" exited with error (PAM exit code: 26): Cr
itical error - immediate abort
PAM ChangeAuthTok() for user "user-integration-sigint" exited with error (PAM exit code: 26): Critical error -
immediate abort
PAM Info Message: acct=incomplete
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM
dispatch
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM dispatch
>
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd passwd socket=${AUTHD_TESTS_CLI_AUTHTOK_TESTS_SOCK}
Gimme your password
PAM Error Message: cancel requested
PAM ChangeAuthTok() for user "user-integration-sigint" exited with error (PAM exit code: 26): Cr
itical error - immediate abort
PAM ChangeAuthTok() for user "user-integration-sigint" exited with error (PAM exit code: 26): Critical error -
immediate abort
PAM Info Message: acct=incomplete
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM
dispatch
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM dispatch
>
────────────────────────────────────────────────────────────────────────────────
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,17 @@ invalid password 'wrongpass', should be 'goodpass'
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd passwd socket=${AUTHD_TESTS_CLI_AUTHTOK_TESTS_SOCK}
PAM Error Message: invalid password 'wrongpass', should be 'goodpass'
PAM ChangeAuthTok() for user "user-integration-max-attempts" exited with error (PAM exit code: 7
): Authentication failure
PAM ChangeAuthTok() for user "user-integration-max-attempts" exited with error (PAM exit code: 7): Authenticat
ion failure
PAM Info Message: acct=incomplete
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM
dispatch
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM dispatch
>
────────────────────────────────────────────────────────────────────────────────
> ./pam_authd passwd socket=${AUTHD_TESTS_CLI_AUTHTOK_TESTS_SOCK}
PAM Error Message: invalid password 'wrongpass', should be 'goodpass'
PAM ChangeAuthTok() for user "user-integration-max-attempts" exited with error (PAM exit code: 7
): Authentication failure
PAM ChangeAuthTok() for user "user-integration-max-attempts" exited with error (PAM exit code: 7): Authenticat
ion failure
PAM Info Message: acct=incomplete
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM
dispatch
PAM AcctMgmt() exited with error (PAM exit code: 25): The return value should be ignored by PAM dispatch
>
────────────────────────────────────────────────────────────────────────────────
Loading

0 comments on commit c579afa

Please sign in to comment.