=== 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.987.0>},
{tc_logfile,"/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-11-01_23.12.46/lib.eturnal.logs/run.2025-11-01_23.12.46/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-11-01_23.12.46/lib.eturnal.logs/run.2025-11-01_23.12.46/log_private/"}]
=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-11-01_23.12.46"
=== Started at 2025-11-01 23:12:48
*** User 2025-11-01 23:12:48.133 ***🔗 Checking credentials valid until 2009-10-30 11:00:00Z
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.133 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.133664 === Handling API call: get_credentials("2009-10-30 11:00:00Z", [])
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.133 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.133827 === eturnal call ({get_password,<<"1256900400">>}) returned {ok, <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}
*** User 2025-11-01 23:12:48.137 ***🔗 Checking credentials valid for 86400
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.137 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.137398 === Handling API call: get_credentials("86400", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.137 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.137580 === eturnal call ({get_password,<<"1762125168:alice">>}) returned {ok, <<"I7tgR5JEzF/+5/nB8Amr7icfZ/E=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.137 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.137710 === Handling API call: get_password("1762125168:alice")
*** User 2025-11-01 23:12:48.137 ***🔗 Checking credentials valid for 86400s
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.137 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.137807 === eturnal call ({get_password,<<"1762125168:alice">>}) returned {ok, <<"I7tgR5JEzF/+5/nB8Amr7icfZ/E=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.138 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.137951 === Handling API call: get_credentials("86400s", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.138 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.138080 === eturnal call ({get_password,<<"1762125168:alice">>}) returned {ok, <<"I7tgR5JEzF/+5/nB8Amr7icfZ/E=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.138 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.138195 === Handling API call: get_password("1762125168:alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.138 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.138293 === eturnal call ({get_password,<<"1762125168:alice">>}) returned {ok, <<"I7tgR5JEzF/+5/nB8Amr7icfZ/E=">>}
*** User 2025-11-01 23:12:48.138 ***🔗 Checking credentials valid for 1440m
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.138 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.138443 === Handling API call: get_credentials("1440m", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.138 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.138570 === eturnal call ({get_password,<<"1762125168:alice">>}) returned {ok, <<"I7tgR5JEzF/+5/nB8Amr7icfZ/E=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.138 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.138671 === Handling API call: get_password("1762125168:alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.138 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.138778 === eturnal call ({get_password,<<"1762125168:alice">>}) returned {ok, <<"I7tgR5JEzF/+5/nB8Amr7icfZ/E=">>}
*** User 2025-11-01 23:12:48.138 ***🔗 Checking credentials valid for 24h
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.139 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.138938 === Handling API call: get_credentials("24h", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.139 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.139050 === eturnal call ({get_password,<<"1762125168:alice">>}) returned {ok, <<"I7tgR5JEzF/+5/nB8Amr7icfZ/E=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.139 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.139156 === Handling API call: get_password("1762125168:alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.139 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.139258 === eturnal call ({get_password,<<"1762125168:alice">>}) returned {ok, <<"I7tgR5JEzF/+5/nB8Amr7icfZ/E=">>}
*** User 2025-11-01 23:12:48.139 ***🔗 Checking credentials valid for 1d
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.139 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.139398 === Handling API call: get_credentials("1d", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.139 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.139528 === eturnal call ({get_password,<<"1762125168:alice">>}) returned {ok, <<"I7tgR5JEzF/+5/nB8Amr7icfZ/E=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.139 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.139627 === Handling API call: get_password("1762125168:alice")
*** User 2025-11-01 23:12:48.139 ***🔗 Checking invalid expiry
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.139 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.139709 === eturnal call ({get_password,<<"1762125168:alice">>}) returned {ok, <<"I7tgR5JEzF/+5/nB8Amr7icfZ/E=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.139 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.139819 === Handling API call: get_password("Invalid")
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.139 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.139890 === eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.139 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.139954 === Handling API call: get_credentials("Invalid", [])
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.140 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.140008 === Invalid argument(s): "Invalid":[]
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.140 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.140068 === Handling API call: get_password(invalid)
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.140 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.140120 === Cannot convert user name to binary: invalid
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.140 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.140169 === Handling API call: get_credentials(invalid, [])
*** User 2025-11-01 23:12:48.140 ***🔗 Checking invalid suffix
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.140 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.140231 === Invalid argument(s): invalid:[]
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.140 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.140328 === Handling API call: get_password([invalid])
*** User 2025-11-01 23:12:48.140 ***🔗 Checking static credentials
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.140 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.140414 === Cannot convert user name to binary: [invalid]
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.140 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.140531 === Handling API call: get_credentials([invalid], [])
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.140 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.140611 === Invalid argument(s): [invalid]:[]
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.140 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.140729 === Handling API call: get_credentials(1256900400, invalid)
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.140 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.140797 === Invalid argument(s): 1256900400:invalid
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.140 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.140881 === Handling API call: get_password("alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:12:48.141 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:12:48.140957 === eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}
=== Ended at 2025-11-01 23:12:48
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}
Test run history | Top level test index | Latest test result