=== 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.924.0>},
{tc_logfile,"/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2026-09-17_16.18.04/lib.eturnal.logs/run.2026-09-17_16.18.04/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.2026-09-17_16.18.04/lib.eturnal.logs/run.2026-09-17_16.18.04/log_private/"}]
=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2026-09-17_16.18.04"
=== Started at 2026-09-17 16:18:06
*** User 2026-09-17 16:18:06.797 ***🔗 Checking credentials valid until 2009-10-30 11:00:00Z
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.797 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.797850 === Handling API call: get_credentials("2009-10-30 11:00:00Z", [])
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.798 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.798000 === eturnal call ({get_password,<<"1256900400">>}) returned {ok, <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}
*** User 2026-09-17 16:18:06.799 ***🔗 Checking credentials valid for 86400
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.799 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.799724 === Handling API call: get_credentials("86400", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.799 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.799818 === eturnal call ({get_password,<<"1789748286:alice">>}) returned {ok, <<"rzcUVokgEDMZiwIP6zZGJItFZUQ=">>}
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.799 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.799879 === Handling API call: get_password("1789748286:alice")
*** User 2026-09-17 16:18:06.799 ***🔗 Checking credentials valid for 86400s
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.799 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.799923 === eturnal call ({get_password,<<"1789748286:alice">>}) returned {ok, <<"rzcUVokgEDMZiwIP6zZGJItFZUQ=">>}
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.800 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.799979 === Handling API call: get_credentials("86400s", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.800 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.800031 === eturnal call ({get_password,<<"1789748286:alice">>}) returned {ok, <<"rzcUVokgEDMZiwIP6zZGJItFZUQ=">>}
*** User 2026-09-17 16:18:06.800 ***🔗 Checking credentials valid for 1440m
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.800 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.800102 === Handling API call: get_password("1789748286:alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.800 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.800141 === eturnal call ({get_password,<<"1789748286:alice">>}) returned {ok, <<"rzcUVokgEDMZiwIP6zZGJItFZUQ=">>}
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.800 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.800185 === Handling API call: get_credentials("1440m", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.800 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.800217 === eturnal call ({get_password,<<"1789748286:alice">>}) returned {ok, <<"rzcUVokgEDMZiwIP6zZGJItFZUQ=">>}
*** User 2026-09-17 16:18:06.800 ***🔗 Checking credentials valid for 24h
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.800 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.800246 === Handling API call: get_password("1789748286:alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.800 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.800279 === eturnal call ({get_password,<<"1789748286:alice">>}) returned {ok, <<"rzcUVokgEDMZiwIP6zZGJItFZUQ=">>}
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.800 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.800363 === Handling API call: get_credentials("24h", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.800 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.800417 === eturnal call ({get_password,<<"1789748286:alice">>}) returned {ok, <<"rzcUVokgEDMZiwIP6zZGJItFZUQ=">>}
*** User 2026-09-17 16:18:06.800 ***🔗 Checking credentials valid for 1d
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.800 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.800472 === Handling API call: get_password("1789748286:alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.800 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.800512 === eturnal call ({get_password,<<"1789748286:alice">>}) returned {ok, <<"rzcUVokgEDMZiwIP6zZGJItFZUQ=">>}
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.800 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.800561 === Handling API call: get_credentials("1d", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.800 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.800620 === eturnal call ({get_password,<<"1789748286:alice">>}) returned {ok, <<"rzcUVokgEDMZiwIP6zZGJItFZUQ=">>}
*** User 2026-09-17 16:18:06.800 ***🔗 Checking invalid expiry
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.800 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.800683 === Handling API call: get_password("1789748286:alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.800 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.800725 === eturnal call ({get_password,<<"1789748286:alice">>}) returned {ok, <<"rzcUVokgEDMZiwIP6zZGJItFZUQ=">>}
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.800 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.800803 === Handling API call: get_password("Invalid")
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.800 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.800851 === eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.800 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.800888 === Handling API call: get_credentials("Invalid", [])
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.800 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.800924 === Invalid argument(s): "Invalid":[]
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.800 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.800949 === Handling API call: get_password(invalid)
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.800 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.800972 === Cannot convert user name to binary: invalid
*** User 2026-09-17 16:18:06.801 ***🔗 Checking invalid suffix
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.801 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.800999 === Handling API call: get_credentials(invalid, [])
*** User 2026-09-17 16:18:06.801 ***🔗 Checking static credentials
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.801 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.801038 === Invalid argument(s): invalid:[]
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.801 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.801063 === Handling API call: get_password([invalid])
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.801 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.801089 === Cannot convert user name to binary: [invalid]
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.801 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.801114 === Handling API call: get_credentials([invalid], [])
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.801 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.801139 === Invalid argument(s): [invalid]:[]
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.801 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.801175 === Handling API call: get_credentials(1256900400, invalid)
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.801 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.801201 === Invalid argument(s): 1256900400:invalid
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.801 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.801236 === Handling API call: get_password("alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:18:06.801 ***🔗 =DEBUG REPORT==== 17-Sep-2026::16:18:06.801262 === eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}
=== Ended at 2026-09-17 16:18:06
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}
Test run history | Top level test index | Latest test result