=== 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.991.0>}, {tc_logfile,"/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-03-24_12.16.56/lib.eturnal.logs/run.2025-03-24_12.16.56/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-03-24_12.16.56/lib.eturnal.logs/run.2025-03-24_12.16.56/log_private/"}] === Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-03-24_12.16.56" === Started at 2025-03-24 12:16:57
*** User 2025-03-24 12:16:57.623 ***🔗 Checking credentials valid until 2009-10-30 11:00:00Z
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.623 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.623241 === Handling API call: get_credentials("2009-10-30 11:00:00Z", [])
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.623 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.623417 === eturnal call ({get_password,<<"1256900400">>}) returned {ok, <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}
*** User 2025-03-24 12:16:57.630 ***🔗 Checking credentials valid for 86400
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.630 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.630506 === Handling API call: get_credentials("86400", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.630 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.630689 === eturnal call ({get_password,<<"1742905017:alice">>}) returned {ok, <<"KSyuq865cnaEutV4ddujoWPLyZQ=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.630 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.630856 === Handling API call: get_password("1742905017:alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.631 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.630997 === eturnal call ({get_password,<<"1742905017:alice">>}) returned {ok, <<"KSyuq865cnaEutV4ddujoWPLyZQ=">>}
*** User 2025-03-24 12:16:57.631 ***🔗 Checking credentials valid for 86400s
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.631 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.631195 === Handling API call: get_credentials("86400s", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.631 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.631332 === eturnal call ({get_password,<<"1742905017:alice">>}) returned {ok, <<"KSyuq865cnaEutV4ddujoWPLyZQ=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.631 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.631459 === Handling API call: get_password("1742905017:alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.631 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.631577 === eturnal call ({get_password,<<"1742905017:alice">>}) returned {ok, <<"KSyuq865cnaEutV4ddujoWPLyZQ=">>}
*** User 2025-03-24 12:16:57.631 ***🔗 Checking credentials valid for 1440m
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.631 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.631729 === Handling API call: get_credentials("1440m", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.631 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.631861 === eturnal call ({get_password,<<"1742905017:alice">>}) returned {ok, <<"KSyuq865cnaEutV4ddujoWPLyZQ=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.632 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.631966 === Handling API call: get_password("1742905017:alice")
*** User 2025-03-24 12:16:57.632 ***🔗 Checking credentials valid for 24h
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.632 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.632049 === eturnal call ({get_password,<<"1742905017:alice">>}) returned {ok, <<"KSyuq865cnaEutV4ddujoWPLyZQ=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.632 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.632175 === Handling API call: get_credentials("24h", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.632 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.632348 === eturnal call ({get_password,<<"1742905017:alice">>}) returned {ok, <<"KSyuq865cnaEutV4ddujoWPLyZQ=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.632 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.632502 === Handling API call: get_password("1742905017:alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.632 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.632637 === eturnal call ({get_password,<<"1742905017:alice">>}) returned {ok, <<"KSyuq865cnaEutV4ddujoWPLyZQ=">>}
*** User 2025-03-24 12:16:57.632 ***🔗 Checking credentials valid for 1d
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.632 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.632825 === Handling API call: get_credentials("1d", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.633 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.632943 === eturnal call ({get_password,<<"1742905017:alice">>}) returned {ok, <<"KSyuq865cnaEutV4ddujoWPLyZQ=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.633 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.633091 === Handling API call: get_password("1742905017:alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.633 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.633216 === eturnal call ({get_password,<<"1742905017:alice">>}) returned {ok, <<"KSyuq865cnaEutV4ddujoWPLyZQ=">>}
*** User 2025-03-24 12:16:57.633 ***🔗 Checking invalid expiry
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.633 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.633393 === Handling API call: get_password("Invalid")
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.633 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.633518 === eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.633 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.633645 === Handling API call: get_credentials("Invalid", [])
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.633 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.633735 === Invalid argument(s): "Invalid":[]
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.633 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.633845 === Handling API call: get_password(invalid)
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.633 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.633944 === Cannot convert user name to binary: invalid
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.634 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.634011 === Handling API call: get_credentials(invalid, [])
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.634 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.634114 === Invalid argument(s): invalid:[]
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.634 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.634190 === Handling API call: get_password([invalid])
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.634 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.634275 === Cannot convert user name to binary: [invalid]
*** User 2025-03-24 12:16:57.634 ***🔗 Checking invalid suffix
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.634 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.634353 === Handling API call: get_credentials([invalid], [])
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.634 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.634449 === Invalid argument(s): [invalid]:[]
*** User 2025-03-24 12:16:57.634 ***🔗 Checking static credentials
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.634 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.634567 === Handling API call: get_credentials(1256900400, invalid)
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.634 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.634665 === Invalid argument(s): 1256900400:invalid
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.634 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.634770 === Handling API call: get_password("alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 12:16:57.634 ***🔗 =DEBUG REPORT==== 24-Mar-2025::12:16:57.634851 === eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}
=== Ended at 2025-03-24 12:16:57 === successfully completed test case === === Returned value: {ok,"l0vesBob"}
Test run history | Top level test index | Latest test result