=== 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.990.0>}, {tc_logfile,"/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2024-10-24_19.21.56/lib.eturnal.logs/run.2024-10-24_19.21.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.2024-10-24_19.21.56/lib.eturnal.logs/run.2024-10-24_19.21.57/log_private/"}] === Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2024-10-24_19.21.56" === Started at 2024-10-24 19:21:59
*** User 2024-10-24 19:21:59.267 ***🔗 Checking credentials valid until 2009-10-30 11:00:00Z
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.267 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.267347 === Handling API call: get_credentials("2009-10-30 11:00:00Z", [])
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.267 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.267492 === eturnal call ({get_password,<<"1256900400">>}) returned {ok, <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}
*** User 2024-10-24 19:21:59.267 ***🔗 Checking credentials valid for 86400
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.267 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.267696 === Handling API call: get_credentials("86400", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.268 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.267878 === eturnal call ({get_password,<<"1729884119:alice">>}) returned {ok, <<"RtmNvYOMd6mQFKdsk5gCGIGaijU=">>}
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.268 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.268041 === Handling API call: get_password("1729884119:alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.268 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.268177 === eturnal call ({get_password,<<"1729884119:alice">>}) returned {ok, <<"RtmNvYOMd6mQFKdsk5gCGIGaijU=">>}
*** User 2024-10-24 19:21:59.268 ***🔗 Checking credentials valid for 86400s
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.268 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.268351 === Handling API call: get_credentials("86400s", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.268 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.268475 === eturnal call ({get_password,<<"1729884119:alice">>}) returned {ok, <<"RtmNvYOMd6mQFKdsk5gCGIGaijU=">>}
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.268 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.268591 === Handling API call: get_password("1729884119:alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.268 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.268701 === eturnal call ({get_password,<<"1729884119:alice">>}) returned {ok, <<"RtmNvYOMd6mQFKdsk5gCGIGaijU=">>}
*** User 2024-10-24 19:21:59.268 ***🔗 Checking credentials valid for 1440m
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.268 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.268841 === Handling API call: get_credentials("1440m", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.269 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.268959 === eturnal call ({get_password,<<"1729884119:alice">>}) returned {ok, <<"RtmNvYOMd6mQFKdsk5gCGIGaijU=">>}
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.269 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.269082 === Handling API call: get_password("1729884119:alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.269 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.269179 === eturnal call ({get_password,<<"1729884119:alice">>}) returned {ok, <<"RtmNvYOMd6mQFKdsk5gCGIGaijU=">>}
*** User 2024-10-24 19:21:59.269 ***🔗 Checking credentials valid for 24h
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.269 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.269334 === Handling API call: get_credentials("24h", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.269 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.269456 === eturnal call ({get_password,<<"1729884119:alice">>}) returned {ok, <<"RtmNvYOMd6mQFKdsk5gCGIGaijU=">>}
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.269 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.269570 === Handling API call: get_password("1729884119:alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.269 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.269668 === eturnal call ({get_password,<<"1729884119:alice">>}) returned {ok, <<"RtmNvYOMd6mQFKdsk5gCGIGaijU=">>}
*** User 2024-10-24 19:21:59.269 ***🔗 Checking credentials valid for 1d
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.269 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.269821 === Handling API call: get_credentials("1d", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.270 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.269931 === eturnal call ({get_password,<<"1729884119:alice">>}) returned {ok, <<"RtmNvYOMd6mQFKdsk5gCGIGaijU=">>}
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.270 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.270041 === Handling API call: get_password("1729884119:alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.270 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.270150 === eturnal call ({get_password,<<"1729884119:alice">>}) returned {ok, <<"RtmNvYOMd6mQFKdsk5gCGIGaijU=">>}
*** User 2024-10-24 19:21:59.270 ***🔗 Checking invalid expiry
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.270 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.270294 === Handling API call: get_password("Invalid")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.270 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.270411 === eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.270 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.270514 === Handling API call: get_credentials("Invalid", [])
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.270 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.270591 === Invalid argument(s): "Invalid":[]
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.270 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.270670 === Handling API call: get_password(invalid)
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.270 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.270740 === Cannot convert user name to binary: invalid
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.270 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.270812 === Handling API call: get_credentials(invalid, [])
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.270 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.270889 === Invalid argument(s): invalid:[]
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.271 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.270969 === Handling API call: get_password([invalid])
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.271 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.271048 === Cannot convert user name to binary: [invalid]
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.271 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.271139 === Handling API call: get_credentials([invalid], [])
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.271 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.271227 === Invalid argument(s): [invalid]:[]
*** User 2024-10-24 19:21:59.271 ***🔗 Checking invalid suffix
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.271 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.271322 === Handling API call: get_credentials(1256900400, invalid)
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.271 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.271443 === Invalid argument(s): 1256900400:invalid
*** User 2024-10-24 19:21:59.271 ***🔗 Checking static credentials
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.271 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.271559 === Handling API call: get_password("alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 19:21:59.271 ***🔗 =DEBUG REPORT==== 24-Oct-2024::19:21:59.271647 === eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}
=== Ended at 2024-10-24 19:21:59 === successfully completed test case === === Returned value: {ok,"l0vesBob"}
Test run history | Top level test index | Latest test result