=== 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-04-28_14.02.05/lib.eturnal.logs/run.2025-04-28_14.02.05/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-04-28_14.02.05/lib.eturnal.logs/run.2025-04-28_14.02.05/log_private/"}] === Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-04-28_14.02.05" === Started at 2025-04-28 14:02:08
*** User 2025-04-28 14:02:08.589 ***🔗 Checking credentials valid until 2009-10-30 11:00:00Z
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.589 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.589545 === Handling API call: get_credentials("2009-10-30 11:00:00Z", [])
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.589 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.589776 === eturnal call ({get_password,<<"1256900400">>}) returned {ok, <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}
*** User 2025-04-28 14:02:08.593 ***🔗 Checking credentials valid for 86400
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.593 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.593482 === Handling API call: get_credentials("86400", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.593 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.593639 === eturnal call ({get_password,<<"1745935328:alice">>}) returned {ok, <<"9SqEmpoifjGxM/k99OyPURqYS0s=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.593 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.593786 === Handling API call: get_password("1745935328:alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.594 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.593931 === eturnal call ({get_password,<<"1745935328:alice">>}) returned {ok, <<"9SqEmpoifjGxM/k99OyPURqYS0s=">>}
*** User 2025-04-28 14:02:08.594 ***🔗 Checking credentials valid for 86400s
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.594 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.594121 === Handling API call: get_credentials("86400s", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.594 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.594264 === eturnal call ({get_password,<<"1745935328:alice">>}) returned {ok, <<"9SqEmpoifjGxM/k99OyPURqYS0s=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.594 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.594396 === Handling API call: get_password("1745935328:alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.594 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.594514 === eturnal call ({get_password,<<"1745935328:alice">>}) returned {ok, <<"9SqEmpoifjGxM/k99OyPURqYS0s=">>}
*** User 2025-04-28 14:02:08.594 ***🔗 Checking credentials valid for 1440m
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.594 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.594685 === Handling API call: get_credentials("1440m", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.594 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.594848 === eturnal call ({get_password,<<"1745935328:alice">>}) returned {ok, <<"9SqEmpoifjGxM/k99OyPURqYS0s=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.595 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.594972 === Handling API call: get_password("1745935328:alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.595 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.595115 === eturnal call ({get_password,<<"1745935328:alice">>}) returned {ok, <<"9SqEmpoifjGxM/k99OyPURqYS0s=">>}
*** User 2025-04-28 14:02:08.595 ***🔗 Checking credentials valid for 24h
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.595 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.595287 === Handling API call: get_credentials("24h", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.595 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.595405 === eturnal call ({get_password,<<"1745935328:alice">>}) returned {ok, <<"9SqEmpoifjGxM/k99OyPURqYS0s=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.595 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.595538 === Handling API call: get_password("1745935328:alice")
*** User 2025-04-28 14:02:08.595 ***🔗 Checking credentials valid for 1d
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.595 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.595639 === eturnal call ({get_password,<<"1745935328:alice">>}) returned {ok, <<"9SqEmpoifjGxM/k99OyPURqYS0s=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.595 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.595846 === Handling API call: get_credentials("1d", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.596 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.595992 === eturnal call ({get_password,<<"1745935328:alice">>}) returned {ok, <<"9SqEmpoifjGxM/k99OyPURqYS0s=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.596 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.596127 === Handling API call: get_password("1745935328:alice")
*** User 2025-04-28 14:02:08.596 ***🔗 Checking invalid expiry
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.596 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.596288 === eturnal call ({get_password,<<"1745935328:alice">>}) returned {ok, <<"9SqEmpoifjGxM/k99OyPURqYS0s=">>}
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.596 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.596474 === Handling API call: get_password("Invalid")
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.596 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.596599 === eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.596 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.596736 === Handling API call: get_credentials("Invalid", [])
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.596 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.596881 === Invalid argument(s): "Invalid":[]
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.597 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.596990 === Handling API call: get_password(invalid)
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.597 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.597127 === Cannot convert user name to binary: invalid
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.597 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.597246 === Handling API call: get_credentials(invalid, [])
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.597 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.597344 === Invalid argument(s): invalid:[]
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.597 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.597445 === Handling API call: get_password([invalid])
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.597 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.597545 === Cannot convert user name to binary: [invalid]
*** User 2025-04-28 14:02:08.597 ***🔗 Checking invalid suffix
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.597 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.597615 === Handling API call: get_credentials([invalid], [])
*** User 2025-04-28 14:02:08.598 ***🔗 Checking static credentials
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.597 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.597716 === Invalid argument(s): [invalid]:[]
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.597 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.597871 === Handling API call: get_credentials(1256900400, invalid)
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.598 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.597953 === Invalid argument(s): 1256900400:invalid
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.598 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.598097 === Handling API call: get_password("alice")
*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 14:02:08.598 ***🔗 =DEBUG REPORT==== 28-Apr-2025::14:02:08.598203 === eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}
=== Ended at 2025-04-28 14:02:08 === successfully completed test case === === Returned value: {ok,"l0vesBob"}
Test run history | Top level test index | Latest test result