=== 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.54.44/lib.eturnal.logs/run.2025-11-01_23.54.44/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.54.44/lib.eturnal.logs/run.2025-11-01_23.54.44/log_private/"}]
=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-11-01_23.54.44"
=== Started at 2025-11-01 23:54:46
*** User 2025-11-01 23:54:46.844 ***🔗 Checking credentials valid until 2009-10-30 11:00:00Z
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.844 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.844374 === Handling API call: get_credentials("2009-10-30 11:00:00Z", [])
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.844 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.844542 === eturnal call ({get_password,<<"1256900400">>}) returned {ok, <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}
*** User 2025-11-01 23:54:46.847 ***🔗 Checking credentials valid for 86400
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.847 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.847787 === Handling API call: get_credentials("86400", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.848 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.847977 === eturnal call ({get_password,<<"1762127686:alice">>}) returned {ok, <<"WRiXfrAT64BK0Rk0cQLKV9RWKBs=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.848 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.848122 === Handling API call: get_password("1762127686:alice")
*** User 2025-11-01 23:54:46.848 ***🔗 Checking credentials valid for 86400s
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.848 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.848238 === eturnal call ({get_password,<<"1762127686:alice">>}) returned {ok, <<"WRiXfrAT64BK0Rk0cQLKV9RWKBs=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.848 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.848406 === Handling API call: get_credentials("86400s", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.848 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.848557 === eturnal call ({get_password,<<"1762127686:alice">>}) returned {ok, <<"WRiXfrAT64BK0Rk0cQLKV9RWKBs=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.848 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.848689 === Handling API call: get_password("1762127686:alice")
*** User 2025-11-01 23:54:46.848 ***🔗 Checking credentials valid for 1440m
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.848 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.848788 === eturnal call ({get_password,<<"1762127686:alice">>}) returned {ok, <<"WRiXfrAT64BK0Rk0cQLKV9RWKBs=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.849 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.848974 === Handling API call: get_credentials("1440m", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.849 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.849111 === eturnal call ({get_password,<<"1762127686:alice">>}) returned {ok, <<"WRiXfrAT64BK0Rk0cQLKV9RWKBs=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.849 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.849235 === Handling API call: get_password("1762127686:alice")
*** User 2025-11-01 23:54:46.849 ***🔗 Checking credentials valid for 24h
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.849 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.849388 === eturnal call ({get_password,<<"1762127686:alice">>}) returned {ok, <<"WRiXfrAT64BK0Rk0cQLKV9RWKBs=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.849 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.849578 === Handling API call: get_credentials("24h", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.849 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.849719 === eturnal call ({get_password,<<"1762127686:alice">>}) returned {ok, <<"WRiXfrAT64BK0Rk0cQLKV9RWKBs=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.849 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.849848 === Handling API call: get_password("1762127686:alice")
*** User 2025-11-01 23:54:46.850 ***🔗 Checking credentials valid for 1d
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.850 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.849986 === eturnal call ({get_password,<<"1762127686:alice">>}) returned {ok, <<"WRiXfrAT64BK0Rk0cQLKV9RWKBs=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.850 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.850157 === Handling API call: get_credentials("1d", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.850 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.850307 === eturnal call ({get_password,<<"1762127686:alice">>}) returned {ok, <<"WRiXfrAT64BK0Rk0cQLKV9RWKBs=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.850 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.850454 === Handling API call: get_password("1762127686:alice")
*** User 2025-11-01 23:54:46.850 ***🔗 Checking invalid expiry
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.850 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.850581 === eturnal call ({get_password,<<"1762127686:alice">>}) returned {ok, <<"WRiXfrAT64BK0Rk0cQLKV9RWKBs=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.850 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.850751 === Handling API call: get_password("Invalid")
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.850 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.850855 === eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.851 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.850973 === Handling API call: get_credentials("Invalid", [])
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.851 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.851059 === Invalid argument(s): "Invalid":[]
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.851 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.851140 === Handling API call: get_password(invalid)
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.851 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.851214 === Cannot convert user name to binary: invalid
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.851 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.851289 === Handling API call: get_credentials(invalid, [])
*** User 2025-11-01 23:54:46.851 ***🔗 Checking invalid suffix
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.851 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.851370 === Invalid argument(s): invalid:[]
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.851 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.851443 === Handling API call: get_password([invalid])
*** User 2025-11-01 23:54:46.852 ***🔗 Checking static credentials
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.851 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.851520 === Cannot convert user name to binary: [invalid]
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.851 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.851612 === Handling API call: get_credentials([invalid], [])
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.851 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.851698 === Invalid argument(s): [invalid]:[]
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.851 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.851840 === Handling API call: get_credentials(1256900400, invalid)
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.852 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.851962 === Invalid argument(s): 1256900400:invalid
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.852 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.852096 === Handling API call: get_password("alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:54:46.852 ***🔗 =DEBUG REPORT==== 1-Nov-2025::23:54:46.852194 === eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}
=== Ended at 2025-11-01 23:54:46
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}
Test run history | Top level test index | Latest test result