=== 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.996.0>},
     {tc_logfile,"/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2024-03-14_20.17.02/lib.eturnal.logs/run.2024-03-14_20.17.02/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.2024-03-14_20.17.02/lib.eturnal.logs/run.2024-03-14_20.17.02/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2024-03-14_20.17.02"

=== Started at 2024-03-14 20:17:04


*** User 2024-03-14 20:17:04.094 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.095 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.094956 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.095 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.095108 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2024-03-14 20:17:04.095 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.095 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.095249 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.095 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.095382 ===
eturnal call ({get_password,<<"1710533824:alice">>}) returned {ok,
                                                               <<"gIkgJDe1eSjF7wt1E6e1OboWG8k=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.095 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.095510 ===
Handling API call: get_password("1710533824:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.095 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.095612 ===
eturnal call ({get_password,<<"1710533824:alice">>}) returned {ok,
                                                               <<"gIkgJDe1eSjF7wt1E6e1OboWG8k=">>}


*** User 2024-03-14 20:17:04.095 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.095 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.095764 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.095 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.095889 ===
eturnal call ({get_password,<<"1710533824:alice">>}) returned {ok,
                                                               <<"gIkgJDe1eSjF7wt1E6e1OboWG8k=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.096 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.096002 ===
Handling API call: get_password("1710533824:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.096 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.096099 ===
eturnal call ({get_password,<<"1710533824:alice">>}) returned {ok,
                                                               <<"gIkgJDe1eSjF7wt1E6e1OboWG8k=">>}


*** User 2024-03-14 20:17:04.096 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.096 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.096213 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.096 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.096309 ===
eturnal call ({get_password,<<"1710533824:alice">>}) returned {ok,
                                                               <<"gIkgJDe1eSjF7wt1E6e1OboWG8k=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.096 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.096425 ===
Handling API call: get_password("1710533824:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.096 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.096504 ===
eturnal call ({get_password,<<"1710533824:alice">>}) returned {ok,
                                                               <<"gIkgJDe1eSjF7wt1E6e1OboWG8k=">>}


*** User 2024-03-14 20:17:04.096 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.096 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.096611 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.096 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.096687 ===
eturnal call ({get_password,<<"1710533824:alice">>}) returned {ok,
                                                               <<"gIkgJDe1eSjF7wt1E6e1OboWG8k=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.096 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.096771 ===
Handling API call: get_password("1710533824:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.096 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.096838 ===
eturnal call ({get_password,<<"1710533824:alice">>}) returned {ok,
                                                               <<"gIkgJDe1eSjF7wt1E6e1OboWG8k=">>}


*** User 2024-03-14 20:17:04.096 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.097 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.096975 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.097 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.097108 ===
eturnal call ({get_password,<<"1710533824:alice">>}) returned {ok,
                                                               <<"gIkgJDe1eSjF7wt1E6e1OboWG8k=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.097 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.097233 ===
Handling API call: get_password("1710533824:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.097 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.097323 ===
eturnal call ({get_password,<<"1710533824:alice">>}) returned {ok,
                                                               <<"gIkgJDe1eSjF7wt1E6e1OboWG8k=">>}


*** User 2024-03-14 20:17:04.097 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.097 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.097582 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.097 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.097703 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.097 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.097799 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.097 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.097905 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.098 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.097985 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.098 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.098072 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.098 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.098161 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.098 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.098271 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.098 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.098384 ===
Handling API call: get_password([invalid])


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.098 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.098475 ===
Cannot convert user name to binary: [invalid]


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.098 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.098549 ===
Handling API call: get_credentials([invalid], [])


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.098 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.098619 ===
Invalid argument(s): [invalid]:[]


*** User 2024-03-14 20:17:04.098 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.098 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.098746 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.098 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.098846 ===
Invalid argument(s): 1256900400:invalid


*** User 2024-03-14 20:17:04.098 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.098 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.098935 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-03-14 20:17:04.099 ***🔗
=DEBUG REPORT==== 14-Mar-2024::20:17:04.099000 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2024-03-14 20:17:04
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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