=== 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-12-17_11.58.04/lib.eturnal.logs/run.2024-12-17_11.58.04/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-12-17_11.58.04/lib.eturnal.logs/run.2024-12-17_11.58.04/log_private/"}] === Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2024-12-17_11.58.04" === Started at 2024-12-17 11:58:06
*** User 2024-12-17 11:58:06.290 ***🔗 Checking credentials valid until 2009-10-30 11:00:00Z
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.290 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.290814 === Handling API call: get_credentials("2009-10-30 11:00:00Z", [])
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.291 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.290984 === eturnal call ({get_password,<<"1256900400">>}) returned {ok, <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}
*** User 2024-12-17 11:58:06.291 ***🔗 Checking credentials valid for 86400
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.291 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.291191 === Handling API call: get_credentials("86400", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.291 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.291323 === eturnal call ({get_password,<<"1734523086:alice">>}) returned {ok, <<"qesqhnjfJpryxDjwLc7AWcV5bM0=">>}
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.291 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.291452 === Handling API call: get_password("1734523086:alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.291 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.291551 === eturnal call ({get_password,<<"1734523086:alice">>}) returned {ok, <<"qesqhnjfJpryxDjwLc7AWcV5bM0=">>}
*** User 2024-12-17 11:58:06.291 ***🔗 Checking credentials valid for 86400s
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.291 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.291750 === Handling API call: get_credentials("86400s", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.291 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.291884 === eturnal call ({get_password,<<"1734523086:alice">>}) returned {ok, <<"qesqhnjfJpryxDjwLc7AWcV5bM0=">>}
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.292 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.291997 === Handling API call: get_password("1734523086:alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.292 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.292113 === eturnal call ({get_password,<<"1734523086:alice">>}) returned {ok, <<"qesqhnjfJpryxDjwLc7AWcV5bM0=">>}
*** User 2024-12-17 11:58:06.292 ***🔗 Checking credentials valid for 1440m
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.292 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.292291 === Handling API call: get_credentials("1440m", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.292 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.292415 === eturnal call ({get_password,<<"1734523086:alice">>}) returned {ok, <<"qesqhnjfJpryxDjwLc7AWcV5bM0=">>}
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.292 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.292536 === Handling API call: get_password("1734523086:alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.292 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.292645 === eturnal call ({get_password,<<"1734523086:alice">>}) returned {ok, <<"qesqhnjfJpryxDjwLc7AWcV5bM0=">>}
*** User 2024-12-17 11:58:06.292 ***🔗 Checking credentials valid for 24h
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.292 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.292797 === Handling API call: get_credentials("24h", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.293 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.292918 === eturnal call ({get_password,<<"1734523086:alice">>}) returned {ok, <<"qesqhnjfJpryxDjwLc7AWcV5bM0=">>}
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.293 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.293070 === Handling API call: get_password("1734523086:alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.293 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.293209 === eturnal call ({get_password,<<"1734523086:alice">>}) returned {ok, <<"qesqhnjfJpryxDjwLc7AWcV5bM0=">>}
*** User 2024-12-17 11:58:06.293 ***🔗 Checking credentials valid for 1d
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.293 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.293399 === Handling API call: get_credentials("1d", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.293 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.293533 === eturnal call ({get_password,<<"1734523086:alice">>}) returned {ok, <<"qesqhnjfJpryxDjwLc7AWcV5bM0=">>}
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.293 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.293686 === Handling API call: get_password("1734523086:alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.293 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.293817 === eturnal call ({get_password,<<"1734523086:alice">>}) returned {ok, <<"qesqhnjfJpryxDjwLc7AWcV5bM0=">>}
*** User 2024-12-17 11:58:06.293 ***🔗 Checking invalid expiry
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.294 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.293971 === Handling API call: get_password("Invalid")
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.294 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.294087 === eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.294 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.294185 === Handling API call: get_credentials("Invalid", [])
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.294 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.294263 === Invalid argument(s): "Invalid":[]
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.294 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.294373 === Handling API call: get_password(invalid)
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.294 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.294458 === Cannot convert user name to binary: invalid
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.294 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.294549 === Handling API call: get_credentials(invalid, [])
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.294 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.294660 === Invalid argument(s): invalid:[]
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.294 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.294733 === Handling API call: get_password([invalid])
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.294 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.294813 === Cannot convert user name to binary: [invalid]
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.294 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.294887 === Handling API call: get_credentials([invalid], [])
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.295 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.294967 === Invalid argument(s): [invalid]:[]
*** User 2024-12-17 11:58:06.295 ***🔗 Checking invalid suffix
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.295 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.295102 === Handling API call: get_credentials(1256900400, invalid)
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.295 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.295188 === Invalid argument(s): 1256900400:invalid
*** User 2024-12-17 11:58:06.295 ***🔗 Checking static credentials
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.295 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.295319 === Handling API call: get_password("alice")
*** System report during eturnal_SUITE:check_credentials/1 2024-12-17 11:58:06.295 ***🔗 =DEBUG REPORT==== 17-Dec-2024::11:58:06.295433 === eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}
=== Ended at 2024-12-17 11:58:06 === successfully completed test case === === Returned value: {ok,"l0vesBob"}
Test run history | Top level test index | Latest test result