=== 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-18_14.57.26/lib.eturnal.logs/run.2024-10-18_14.57.26/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-18_14.57.26/lib.eturnal.logs/run.2024-10-18_14.57.26/log_private/"}] === Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2024-10-18_14.57.26" === Started at 2024-10-18 14:57:28
*** User 2024-10-18 14:57:28.169 ***🔗 Checking credentials valid until 2009-10-30 11:00:00Z
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.169 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.169279 === Handling API call: get_credentials("2009-10-30 11:00:00Z", [])
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.169 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.169455 === eturnal call ({get_password,<<"1256900400">>}) returned {ok, <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}
*** User 2024-10-18 14:57:28.169 ***🔗 Checking credentials valid for 86400
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.169 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.169625 === Handling API call: get_credentials("86400", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.169 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.169767 === eturnal call ({get_password,<<"1729349848:alice">>}) returned {ok, <<"jGfkNYgITGtfdK3yEZJwbW1SNz4=">>}
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.169 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.169890 === Handling API call: get_password("1729349848:alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.170 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.170000 === eturnal call ({get_password,<<"1729349848:alice">>}) returned {ok, <<"jGfkNYgITGtfdK3yEZJwbW1SNz4=">>}
*** User 2024-10-18 14:57:28.170 ***🔗 Checking credentials valid for 86400s
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.170 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.170154 === Handling API call: get_credentials("86400s", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.170 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.170261 === eturnal call ({get_password,<<"1729349848:alice">>}) returned {ok, <<"jGfkNYgITGtfdK3yEZJwbW1SNz4=">>}
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.170 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.170413 === Handling API call: get_password("1729349848:alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.170 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.170522 === eturnal call ({get_password,<<"1729349848:alice">>}) returned {ok, <<"jGfkNYgITGtfdK3yEZJwbW1SNz4=">>}
*** User 2024-10-18 14:57:28.170 ***🔗 Checking credentials valid for 1440m
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.170 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.170656 === Handling API call: get_credentials("1440m", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.170 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.170774 === eturnal call ({get_password,<<"1729349848:alice">>}) returned {ok, <<"jGfkNYgITGtfdK3yEZJwbW1SNz4=">>}
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.170 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.170884 === Handling API call: get_password("1729349848:alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.171 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.170972 === eturnal call ({get_password,<<"1729349848:alice">>}) returned {ok, <<"jGfkNYgITGtfdK3yEZJwbW1SNz4=">>}
*** User 2024-10-18 14:57:28.171 ***🔗 Checking credentials valid for 24h
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.171 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.171121 === Handling API call: get_credentials("24h", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.171 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.171235 === eturnal call ({get_password,<<"1729349848:alice">>}) returned {ok, <<"jGfkNYgITGtfdK3yEZJwbW1SNz4=">>}
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.171 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.171340 === Handling API call: get_password("1729349848:alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.171 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.171431 === eturnal call ({get_password,<<"1729349848:alice">>}) returned {ok, <<"jGfkNYgITGtfdK3yEZJwbW1SNz4=">>}
*** User 2024-10-18 14:57:28.171 ***🔗 Checking credentials valid for 1d
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.171 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.171573 === Handling API call: get_credentials("1d", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.171 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.171678 === eturnal call ({get_password,<<"1729349848:alice">>}) returned {ok, <<"jGfkNYgITGtfdK3yEZJwbW1SNz4=">>}
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.171 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.171772 === Handling API call: get_password("1729349848:alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.171 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.171863 === eturnal call ({get_password,<<"1729349848:alice">>}) returned {ok, <<"jGfkNYgITGtfdK3yEZJwbW1SNz4=">>}
*** User 2024-10-18 14:57:28.171 ***🔗 Checking invalid expiry
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.172 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.171970 === Handling API call: get_password("Invalid")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.172 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.172028 === eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.172 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.172139 === Handling API call: get_credentials("Invalid", [])
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.172 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.172266 === Invalid argument(s): "Invalid":[]
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.172 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.172363 === Handling API call: get_password(invalid)
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.172 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.172450 === Cannot convert user name to binary: invalid
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.172 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.172507 === Handling API call: get_credentials(invalid, [])
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.172 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.172555 === Invalid argument(s): invalid:[]
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.172 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.172602 === Handling API call: get_password([invalid])
*** User 2024-10-18 14:57:28.172 ***🔗 Checking invalid suffix
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.172 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.172664 === Cannot convert user name to binary: [invalid]
*** User 2024-10-18 14:57:28.173 ***🔗 Checking static credentials
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.172 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.172746 === Handling API call: get_credentials([invalid], [])
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.172 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.172837 === Invalid argument(s): [invalid]:[]
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.172 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.172944 === Handling API call: get_credentials(1256900400, invalid)
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.173 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.173007 === Invalid argument(s): 1256900400:invalid
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.173 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.173084 === Handling API call: get_password("alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-10-18 14:57:28.173 ***🔗 =DEBUG REPORT==== 18-Oct-2024::14:57:28.173151 === eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}
=== Ended at 2024-10-18 14:57:28 === successfully completed test case === === Returned value: {ok,"l0vesBob"}
Test run history | Top level test index | Latest test result