=== 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_14.53.57/lib.eturnal.logs/run.2026-03-08_14.53.57/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_14.53.57/lib.eturnal.logs/run.2026-03-08_14.53.57/log_private/"}]
=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2026-03-08_14.53.57"
=== Started at 2026-03-08 14:54:00
*** User 2026-03-08 14:54:00.023 ***🔗 Checking credentials valid until 2009-10-30 11:00:00Z
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.023 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.023884 === Handling API call: get_credentials("2009-10-30 11:00:00Z", [])
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.024 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.024047 === eturnal call ({get_password,<<"1256900400">>}) returned {ok, <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}
*** User 2026-03-08 14:54:00.028 ***🔗 Checking credentials valid for 86400
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.028 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.028240 === Handling API call: get_credentials("86400", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.028 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.028420 === eturnal call ({get_password,<<"1773068040:alice">>}) returned {ok, <<"T0ncbRRPdkYWVlhlPeiT+T4Fjdk=">>}
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.028 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.028562 === Handling API call: get_password("1773068040:alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.028 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.028709 === eturnal call ({get_password,<<"1773068040:alice">>}) returned {ok, <<"T0ncbRRPdkYWVlhlPeiT+T4Fjdk=">>}
*** User 2026-03-08 14:54:00.028 ***🔗 Checking credentials valid for 86400s
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.028 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.028885 === Handling API call: get_credentials("86400s", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.029 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.029009 === eturnal call ({get_password,<<"1773068040:alice">>}) returned {ok, <<"T0ncbRRPdkYWVlhlPeiT+T4Fjdk=">>}
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.029 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.029154 === Handling API call: get_password("1773068040:alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.029 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.029295 === eturnal call ({get_password,<<"1773068040:alice">>}) returned {ok, <<"T0ncbRRPdkYWVlhlPeiT+T4Fjdk=">>}
*** User 2026-03-08 14:54:00.029 ***🔗 Checking credentials valid for 1440m
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.029 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.029489 === Handling API call: get_credentials("1440m", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.029 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.029650 === eturnal call ({get_password,<<"1773068040:alice">>}) returned {ok, <<"T0ncbRRPdkYWVlhlPeiT+T4Fjdk=">>}
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.029 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.029791 === Handling API call: get_password("1773068040:alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.030 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.029967 === eturnal call ({get_password,<<"1773068040:alice">>}) returned {ok, <<"T0ncbRRPdkYWVlhlPeiT+T4Fjdk=">>}
*** User 2026-03-08 14:54:00.030 ***🔗 Checking credentials valid for 24h
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.030 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.030167 === Handling API call: get_credentials("24h", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.030 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.030354 === eturnal call ({get_password,<<"1773068040:alice">>}) returned {ok, <<"T0ncbRRPdkYWVlhlPeiT+T4Fjdk=">>}
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.030 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.030517 === Handling API call: get_password("1773068040:alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.030 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.030667 === eturnal call ({get_password,<<"1773068040:alice">>}) returned {ok, <<"T0ncbRRPdkYWVlhlPeiT+T4Fjdk=">>}
*** User 2026-03-08 14:54:00.030 ***🔗 Checking credentials valid for 1d
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.030 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.030862 === Handling API call: get_credentials("1d", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.031 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.031024 === eturnal call ({get_password,<<"1773068040:alice">>}) returned {ok, <<"T0ncbRRPdkYWVlhlPeiT+T4Fjdk=">>}
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.031 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.031166 === Handling API call: get_password("1773068040:alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.031 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.031348 === eturnal call ({get_password,<<"1773068040:alice">>}) returned {ok, <<"T0ncbRRPdkYWVlhlPeiT+T4Fjdk=">>}
*** User 2026-03-08 14:54:00.031 ***🔗 Checking invalid expiry
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.031 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.031561 === Handling API call: get_password("Invalid")
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.031 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.031680 === eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.031 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.031796 === Handling API call: get_credentials("Invalid", [])
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.031 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.031904 === Invalid argument(s): "Invalid":[]
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.032 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.031988 === Handling API call: get_password(invalid)
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.032 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.032094 === Cannot convert user name to binary: invalid
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.032 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.032232 === Handling API call: get_credentials(invalid, [])
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.032 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.032349 === Invalid argument(s): invalid:[]
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.032 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.032448 === Handling API call: get_password([invalid])
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.032 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.032571 === Cannot convert user name to binary: [invalid]
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.032 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.032676 === Handling API call: get_credentials([invalid], [])
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.032 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.032776 === Invalid argument(s): [invalid]:[]
*** User 2026-03-08 14:54:00.032 ***🔗 Checking invalid suffix
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.033 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.032940 === Handling API call: get_credentials(1256900400, invalid)
*** User 2026-03-08 14:54:00.033 ***🔗 Checking static credentials
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.033 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.033050 === Invalid argument(s): 1256900400:invalid
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.033 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.033157 === Handling API call: get_password("alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 14:54:00.033 ***🔗 =DEBUG REPORT==== 8-Mar-2026::14:54:00.033268 === eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}
=== Ended at 2026-03-08 14:54:00
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}
Test run history | Top level test index | Latest test result