=== Test case: eturnal_SUITE:check_credentials/1 (click for source code)

=== Config value:

    [{address,{127,0,0,1}},
     {udp_port,34780},
     {tcp_port,34780},
     {tls_port,53490},
     {auto_port,34781},
     {watchdog,<0.990.0>},
     {tc_logfile,"/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-01-03_14.28.19/lib.eturnal.logs/run.2025-01-03_14.28.19/eturnal_suite.check_credentials.html"},
     {tc_group_properties,[]},
     {tc_group_path,[]},
     {data_dir,"/home/runner/work/eturnal/eturnal/_build/test/lib/eturnal/test/eturnal_SUITE_data/"},
     {priv_dir,"/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-01-03_14.28.19/lib.eturnal.logs/run.2025-01-03_14.28.19/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-01-03_14.28.19"

=== Started at 2025-01-03 14:28:20


*** User 2025-01-03 14:28:20.875 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.876 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.875942 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.876 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.876127 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2025-01-03 14:28:20.876 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.876 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.876342 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.876 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.876482 ===
eturnal call ({get_password,<<"1736000900:alice">>}) returned {ok,
                                                               <<"ql0Ks8mxcJ+6D9GC9pI0qjsQ7nQ=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.876 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.876628 ===
Handling API call: get_password("1736000900:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.876 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.876759 ===
eturnal call ({get_password,<<"1736000900:alice">>}) returned {ok,
                                                               <<"ql0Ks8mxcJ+6D9GC9pI0qjsQ7nQ=">>}


*** User 2025-01-03 14:28:20.876 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.877 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.876951 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.877 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.877069 ===
eturnal call ({get_password,<<"1736000900:alice">>}) returned {ok,
                                                               <<"ql0Ks8mxcJ+6D9GC9pI0qjsQ7nQ=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.877 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.877180 ===
Handling API call: get_password("1736000900:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.877 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.877284 ===
eturnal call ({get_password,<<"1736000900:alice">>}) returned {ok,
                                                               <<"ql0Ks8mxcJ+6D9GC9pI0qjsQ7nQ=">>}


*** User 2025-01-03 14:28:20.877 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.877 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.877419 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.877 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.877548 ===
eturnal call ({get_password,<<"1736000900:alice">>}) returned {ok,
                                                               <<"ql0Ks8mxcJ+6D9GC9pI0qjsQ7nQ=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.877 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.877665 ===
Handling API call: get_password("1736000900:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.877 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.877774 ===
eturnal call ({get_password,<<"1736000900:alice">>}) returned {ok,
                                                               <<"ql0Ks8mxcJ+6D9GC9pI0qjsQ7nQ=">>}


*** User 2025-01-03 14:28:20.877 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.878 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.877948 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.878 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.878068 ===
eturnal call ({get_password,<<"1736000900:alice">>}) returned {ok,
                                                               <<"ql0Ks8mxcJ+6D9GC9pI0qjsQ7nQ=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.878 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.878207 ===
Handling API call: get_password("1736000900:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.878 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.878312 ===
eturnal call ({get_password,<<"1736000900:alice">>}) returned {ok,
                                                               <<"ql0Ks8mxcJ+6D9GC9pI0qjsQ7nQ=">>}


*** User 2025-01-03 14:28:20.878 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.878 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.878473 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.878 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.878593 ===
eturnal call ({get_password,<<"1736000900:alice">>}) returned {ok,
                                                               <<"ql0Ks8mxcJ+6D9GC9pI0qjsQ7nQ=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.878 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.878711 ===
Handling API call: get_password("1736000900:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.878 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.878827 ===
eturnal call ({get_password,<<"1736000900:alice">>}) returned {ok,
                                                               <<"ql0Ks8mxcJ+6D9GC9pI0qjsQ7nQ=">>}


*** User 2025-01-03 14:28:20.878 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.879 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.878967 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.879 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.879080 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.879 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.879176 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.879 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.879262 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.879 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.879353 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.879 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.879429 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.879 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.879517 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.879 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.879611 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.879 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.879693 ===
Handling API call: get_password([invalid])


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.879 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.879774 ===
Cannot convert user name to binary: [invalid]


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.879 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.879853 ===
Handling API call: get_credentials([invalid], [])


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.879 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.879934 ===
Invalid argument(s): [invalid]:[]


*** User 2025-01-03 14:28:20.880 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.880 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.880050 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.880 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.880144 ===
Invalid argument(s): 1256900400:invalid


*** User 2025-01-03 14:28:20.880 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.880 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.880259 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-01-03 14:28:20.880 ***🔗
=DEBUG REPORT==== 3-Jan-2025::14:28:20.880352 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2025-01-03 14:28:20
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


Test run history | Top level test index | Latest test result