=== 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.2026-03-08_18.40.24/lib.eturnal.logs/run.2026-03-08_18.40.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.2026-03-08_18.40.24/lib.eturnal.logs/run.2026-03-08_18.40.24/log_private/"}]
=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2026-03-08_18.40.24"
=== Started at 2026-03-08 18:40:27
*** User 2026-03-08 18:40:27.254 ***🔗 Checking credentials valid until 2009-10-30 11:00:00Z
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.254 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.254627 === Handling API call: get_credentials("2009-10-30 11:00:00Z", [])
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.254 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.254819 === eturnal call ({get_password,<<"1256900400">>}) returned {ok, <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}
*** User 2026-03-08 18:40:27.260 ***🔗 Checking credentials valid for 86400
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.260 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.260783 === Handling API call: get_credentials("86400", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.261 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.260928 === eturnal call ({get_password,<<"1773081627:alice">>}) returned {ok, <<"XmXNSTY/IvPd6w4LlP7dX2bL17k=">>}
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.261 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.261062 === Handling API call: get_password("1773081627:alice")
*** User 2026-03-08 18:40:27.261 ***🔗 Checking credentials valid for 86400s
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.261 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.261169 === eturnal call ({get_password,<<"1773081627:alice">>}) returned {ok, <<"XmXNSTY/IvPd6w4LlP7dX2bL17k=">>}
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.261 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.261340 === Handling API call: get_credentials("86400s", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.261 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.261465 === eturnal call ({get_password,<<"1773081627:alice">>}) returned {ok, <<"XmXNSTY/IvPd6w4LlP7dX2bL17k=">>}
*** User 2026-03-08 18:40:27.261 ***🔗 Checking credentials valid for 1440m
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.261 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.261598 === Handling API call: get_password("1773081627:alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.261 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.261713 === eturnal call ({get_password,<<"1773081627:alice">>}) returned {ok, <<"XmXNSTY/IvPd6w4LlP7dX2bL17k=">>}
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.261 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.261859 === Handling API call: get_credentials("1440m", "alice")
*** User 2026-03-08 18:40:27.262 ***🔗 Checking credentials valid for 24h
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.262 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.261982 === eturnal call ({get_password,<<"1773081627:alice">>}) returned {ok, <<"XmXNSTY/IvPd6w4LlP7dX2bL17k=">>}
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.262 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.262063 === Handling API call: get_password("1773081627:alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.262 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.262153 === eturnal call ({get_password,<<"1773081627:alice">>}) returned {ok, <<"XmXNSTY/IvPd6w4LlP7dX2bL17k=">>}
*** User 2026-03-08 18:40:27.262 ***🔗 Checking credentials valid for 1d
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.262 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.262270 === Handling API call: get_credentials("24h", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.262 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.262348 === eturnal call ({get_password,<<"1773081627:alice">>}) returned {ok, <<"XmXNSTY/IvPd6w4LlP7dX2bL17k=">>}
*** User 2026-03-08 18:40:27.263 ***🔗 Checking invalid expiry
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.262 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.262436 === Handling API call: get_password("1773081627:alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.262 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.262529 === eturnal call ({get_password,<<"1773081627:alice">>}) returned {ok, <<"XmXNSTY/IvPd6w4LlP7dX2bL17k=">>}
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.262 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.262639 === Handling API call: get_credentials("1d", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.262 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.262765 === eturnal call ({get_password,<<"1773081627:alice">>}) returned {ok, <<"XmXNSTY/IvPd6w4LlP7dX2bL17k=">>}
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.262 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.262849 === Handling API call: get_password("1773081627:alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.263 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.262988 === eturnal call ({get_password,<<"1773081627:alice">>}) returned {ok, <<"XmXNSTY/IvPd6w4LlP7dX2bL17k=">>}
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.263 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.263108 === Handling API call: get_password("Invalid")
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.263 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.263214 === eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.263 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.263309 === Handling API call: get_credentials("Invalid", [])
*** User 2026-03-08 18:40:27.264 ***🔗 Checking invalid suffix
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.263 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.263396 === Invalid argument(s): "Invalid":[]
*** User 2026-03-08 18:40:27.264 ***🔗 Checking static credentials
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.263 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.263483 === Handling API call: get_password(invalid)
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.263 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.263557 === Cannot convert user name to binary: invalid
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.263 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.263641 === Handling API call: get_credentials(invalid, [])
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.263 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.263746 === Invalid argument(s): invalid:[]
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.263 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.263827 === Handling API call: get_password([invalid])
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.263 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.263915 === Cannot convert user name to binary: [invalid]
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.264 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.264001 === Handling API call: get_credentials([invalid], [])
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.264 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.264074 === Invalid argument(s): [invalid]:[]
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.264 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.264163 === Handling API call: get_credentials(1256900400, invalid)
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.264 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.264225 === Invalid argument(s): 1256900400:invalid
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.264 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.264303 === Handling API call: get_password("alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:40:27.264 ***🔗 =DEBUG REPORT==== 8-Mar-2026::18:40:27.264355 === eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}
=== Ended at 2026-03-08 18:40:27
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}
Test run history | Top level test index | Latest test result