=== 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.991.0>},
     {tc_logfile,"/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-05-01_12.05.43/lib.eturnal.logs/run.2025-05-01_12.05.43/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-05-01_12.05.43/lib.eturnal.logs/run.2025-05-01_12.05.43/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-05-01_12.05.43"

=== Started at 2025-05-01 12:05:45


*** User 2025-05-01 12:05:45.160 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.160 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.160460 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.160 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.160713 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2025-05-01 12:05:45.164 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.164 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.164074 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.164 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.164275 ===
eturnal call ({get_password,<<"1746187545:alice">>}) returned {ok,
                                                               <<"046QJFam8ZgSZyE39lnfZhp2irU=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.164 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.164408 ===
Handling API call: get_password("1746187545:alice")


*** User 2025-05-01 12:05:45.164 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.164 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.164511 ===
eturnal call ({get_password,<<"1746187545:alice">>}) returned {ok,
                                                               <<"046QJFam8ZgSZyE39lnfZhp2irU=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.164 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.164685 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.164 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.164798 ===
eturnal call ({get_password,<<"1746187545:alice">>}) returned {ok,
                                                               <<"046QJFam8ZgSZyE39lnfZhp2irU=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.164 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.164904 ===
Handling API call: get_password("1746187545:alice")


*** User 2025-05-01 12:05:45.165 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.165 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.165019 ===
eturnal call ({get_password,<<"1746187545:alice">>}) returned {ok,
                                                               <<"046QJFam8ZgSZyE39lnfZhp2irU=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.165 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.165171 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.165 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.165298 ===
eturnal call ({get_password,<<"1746187545:alice">>}) returned {ok,
                                                               <<"046QJFam8ZgSZyE39lnfZhp2irU=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.165 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.165406 ===
Handling API call: get_password("1746187545:alice")


*** User 2025-05-01 12:05:45.165 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.165 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.165512 ===
eturnal call ({get_password,<<"1746187545:alice">>}) returned {ok,
                                                               <<"046QJFam8ZgSZyE39lnfZhp2irU=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.165 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.165672 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.165 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.165778 ===
eturnal call ({get_password,<<"1746187545:alice">>}) returned {ok,
                                                               <<"046QJFam8ZgSZyE39lnfZhp2irU=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.165 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.165893 ===
Handling API call: get_password("1746187545:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.166 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.165981 ===
eturnal call ({get_password,<<"1746187545:alice">>}) returned {ok,
                                                               <<"046QJFam8ZgSZyE39lnfZhp2irU=">>}


*** User 2025-05-01 12:05:45.166 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.166 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.166132 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.166 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.166246 ===
eturnal call ({get_password,<<"1746187545:alice">>}) returned {ok,
                                                               <<"046QJFam8ZgSZyE39lnfZhp2irU=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.166 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.166411 ===
Handling API call: get_password("1746187545:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.166 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.166518 ===
eturnal call ({get_password,<<"1746187545:alice">>}) returned {ok,
                                                               <<"046QJFam8ZgSZyE39lnfZhp2irU=">>}


*** User 2025-05-01 12:05:45.166 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.166 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.166673 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.166 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.166761 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.166 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.166849 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.166 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.166936 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.167 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.167003 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.167 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.167115 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.167 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.167226 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.167 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.167341 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.167 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.167421 ===
Handling API call: get_password([invalid])


*** User 2025-05-01 12:05:45.167 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.167 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.167523 ===
Cannot convert user name to binary: [invalid]


*** User 2025-05-01 12:05:45.167 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.167 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.167600 ===
Handling API call: get_credentials([invalid], [])


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.167 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.167679 ===
Invalid argument(s): [invalid]:[]


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.167 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.167773 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.167 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.167835 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.167 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.167917 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 12:05:45.168 ***🔗
=DEBUG REPORT==== 1-May-2025::12:05:45.167990 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2025-05-01 12:05:45
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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