-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Description
Here is relevant part of the output:
--- FAIL: TestNativeAuthenticate (9.96s)
native_test.go:21: Compiling C Module library at /tmp/TestNativeAuthenticate260004598/002/pam_authd_exectestnativeauthenticate.so
native_test.go:21: Running compiler command: /usr/bin/cc -o /tmp/TestNativeAuthenticate260004598/002/pam_authd_exectestnativeauthenticate.so ./pam/go-exec/module.c -Wall -Werror -g3 -O0 -DAUTHD_TEST_MODULE=1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -pthread -Wl,--as-needed -Wl,--allow-shlib-undefined -shared -fPIC -Wl,--unresolved-symbols=report-all -Wl,-soname,pam_authd_exectestnativeauthenticate -lpam -lgio-2.0 -lgobject-2.0 -lglib-2.0
native_test.go:21: Compiling Exec child at /tmp/TestNativeAuthenticate260004598/003/authd-pam
native_test.go:21: go build -C pam -gcflags=all=-N -l -tags=pam_debug
--- FAIL: TestNativeAuthenticate/Authenticate_user_with_mfa (30.22s)
native_test.go:279: updating golden file testdata/TestNativeAuthenticate/golden/authenticate_user_with_mfa
native_test.go:285:
Error Trace: /home/adombeck/projects/authd/pam/integration-tests/vhs-helpers_test.go:345
/home/adombeck/projects/authd/pam/integration-tests/native_test.go:285
Error: " 5. Use your phone +1...\n 6. Pin code\n 7. Use a QR code\n 8. Authentication code\nOr enter 'r' to go back to choose the provider\nChoose your authentication method:\n> 1\n== Password authentication ==\nEnter 'r' to cancel the request and go back to select the authentication method\nGimme your password:\n>\n== Use your fido device foo ==\nPress Enter to wait for authentication or enter 'r' to go back to select the authentication meth\nod\nPlug your fido device and press with your thumb:\n> r\n== Authentication method selection ==\n 1. Use your fido device foo\n 2. Use your phone +33...\n 3. Authentication code\nOr enter 'r' to go back to choose the provider\nChoose your authentication method:\n> 1\n== Use your fido device foo ==\nPress Enter to wait for authentication or enter 'r' to go back to select the authentication meth\nod\nPlug your fido device and press with your thumb:\n> r\n== Authentication method selection ==\n 1. Use your fido device foo\n 2. Use your phone +33...\n 3. Authentication code\nOr enter 'r' to go back to choose the provider\nChoose your authentication method:\n> 2\n== Use your phone +33... ==\nPress Enter to wait for authentication or enter 'r' to go back to select the authentication meth\nod\nUnlock your phone +33... or accept request on web interface:\n>\n== Use your fido device foo ==\nPress Enter to wait for authentication or enter 'r' to go back to select the authentication meth\nod\nPlug your fido device and press with your thumb:\n>\nPAM Authenticate()\n User: \"user-mfa-integration-auth\"\n Result: success\n────────────────────────────────────────────────────────────────────────────────\n" does not contain "PAM AcctMgmt()\n User: \"user-mfa-integration-auth\""
Test: TestNativeAuthenticate/Authenticate_user_with_mfa
Messages: Golden file does not include required value, consider increasing the terminal size:
5. Use your phone +1...
6. Pin code
7. Use a QR code
8. Authentication code
Or enter 'r' to go back to choose the provider
Choose your authentication method:
> 1
== Password authentication ==
Enter 'r' to cancel the request and go back to select the authentication method
Gimme your password:
>
== Use your fido device foo ==
Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth
od
Plug your fido device and press with your thumb:
> r
== Authentication method selection ==
1. Use your fido device foo
2. Use your phone +33...
3. Authentication code
Or enter 'r' to go back to choose the provider
Choose your authentication method:
> 1
== Use your fido device foo ==
Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth
od
Plug your fido device and press with your thumb:
> r
== Authentication method selection ==
1. Use your fido device foo
2. Use your phone +33...
3. Authentication code
Or enter 'r' to go back to choose the provider
Choose your authentication method:
> 2
== Use your phone +33... ==
Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth
od
Unlock your phone +33... or accept request on web interface:
>
== Use your fido device foo ==
Press Enter to wait for authentication or enter 'r' to go back to select the authentication meth
od
Plug your fido device and press with your thumb:
>
PAM Authenticate()
User: "user-mfa-integration-auth"
Result: success
────────────────────────────────────────────────────────────────────────────────
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels