=== 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-04_08.50.24/lib.eturnal.logs/run.2025-05-04_08.50.24/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-04_08.50.24/lib.eturnal.logs/run.2025-05-04_08.50.24/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-05-04_08.50.24"

=== Started at 2025-05-04 08:50:26


*** User 2025-05-04 08:50:26.170 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.170 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.170714 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.171 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.170967 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2025-05-04 08:50:26.174 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.174 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.174267 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.174 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.174431 ===
eturnal call ({get_password,<<"1746435026:alice">>}) returned {ok,
                                                               <<"aHdTh9YD5kSG9HWwqqub5VXMNjM=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.174 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.174574 ===
Handling API call: get_password("1746435026:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.174 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.174695 ===
eturnal call ({get_password,<<"1746435026:alice">>}) returned {ok,
                                                               <<"aHdTh9YD5kSG9HWwqqub5VXMNjM=">>}


*** User 2025-05-04 08:50:26.174 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.174 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.174840 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.175 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.174947 ===
eturnal call ({get_password,<<"1746435026:alice">>}) returned {ok,
                                                               <<"aHdTh9YD5kSG9HWwqqub5VXMNjM=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.175 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.175079 ===
Handling API call: get_password("1746435026:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.175 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.175190 ===
eturnal call ({get_password,<<"1746435026:alice">>}) returned {ok,
                                                               <<"aHdTh9YD5kSG9HWwqqub5VXMNjM=">>}


*** User 2025-05-04 08:50:26.175 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.175 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.175339 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.175 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.175457 ===
eturnal call ({get_password,<<"1746435026:alice">>}) returned {ok,
                                                               <<"aHdTh9YD5kSG9HWwqqub5VXMNjM=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.175 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.175599 ===
Handling API call: get_password("1746435026:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.175 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.175712 ===
eturnal call ({get_password,<<"1746435026:alice">>}) returned {ok,
                                                               <<"aHdTh9YD5kSG9HWwqqub5VXMNjM=">>}


*** User 2025-05-04 08:50:26.175 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.175 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.175863 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.176 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.175947 ===
eturnal call ({get_password,<<"1746435026:alice">>}) returned {ok,
                                                               <<"aHdTh9YD5kSG9HWwqqub5VXMNjM=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.176 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.176037 ===
Handling API call: get_password("1746435026:alice")


*** User 2025-05-04 08:50:26.176 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.176 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.176137 ===
eturnal call ({get_password,<<"1746435026:alice">>}) returned {ok,
                                                               <<"aHdTh9YD5kSG9HWwqqub5VXMNjM=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.176 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.176252 ===
Handling API call: get_credentials("1d", "alice")


*** User 2025-05-04 08:50:26.176 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.176 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.176345 ===
eturnal call ({get_password,<<"1746435026:alice">>}) returned {ok,
                                                               <<"aHdTh9YD5kSG9HWwqqub5VXMNjM=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.176 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.176425 ===
Handling API call: get_password("1746435026:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.176 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.176497 ===
eturnal call ({get_password,<<"1746435026:alice">>}) returned {ok,
                                                               <<"aHdTh9YD5kSG9HWwqqub5VXMNjM=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.176 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.176604 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.176 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.176675 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.176 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.176736 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.176 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.176801 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.176 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.176851 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.177 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.176953 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.177 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.177050 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.177 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.177155 ===
Invalid argument(s): invalid:[]


*** User 2025-05-04 08:50:26.177 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.177 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.177250 ===
Handling API call: get_password([invalid])


*** User 2025-05-04 08:50:26.177 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.177 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.177328 ===
Cannot convert user name to binary: [invalid]


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.177 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.177413 ===
Handling API call: get_credentials([invalid], [])


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.177 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.177521 ===
Invalid argument(s): [invalid]:[]


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.177 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.177617 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.177 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.177677 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.177 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.177755 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-04 08:50:26.177 ***🔗
=DEBUG REPORT==== 4-May-2025::08:50:26.177827 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2025-05-04 08:50:26
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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