=== 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-05-01_21.06.13/lib.eturnal.logs/run.2025-05-01_21.06.13/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-05-01_21.06.13/lib.eturnal.logs/run.2025-05-01_21.06.13/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-05-01_21.06.13"

=== Started at 2025-05-01 21:06:15


*** User 2025-05-01 21:06:15.042 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.042 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.042522 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.042 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.042834 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2025-05-01 21:06:15.049 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.049 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.049479 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.049 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.049702 ===
eturnal call ({get_password,<<"1746219975:alice">>}) returned {ok,
                                                               <<"BWBKHZYt5IFGdJhqgxjAkYyDVVU=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.049 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.049897 ===
Handling API call: get_password("1746219975:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.050 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.050063 ===
eturnal call ({get_password,<<"1746219975:alice">>}) returned {ok,
                                                               <<"BWBKHZYt5IFGdJhqgxjAkYyDVVU=">>}


*** User 2025-05-01 21:06:15.050 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.050 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.050281 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.050 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.050439 ===
eturnal call ({get_password,<<"1746219975:alice">>}) returned {ok,
                                                               <<"BWBKHZYt5IFGdJhqgxjAkYyDVVU=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.050 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.050573 ===
Handling API call: get_password("1746219975:alice")


*** User 2025-05-01 21:06:15.050 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.050 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.050685 ===
eturnal call ({get_password,<<"1746219975:alice">>}) returned {ok,
                                                               <<"BWBKHZYt5IFGdJhqgxjAkYyDVVU=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.050 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.050868 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.051 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.051057 ===
eturnal call ({get_password,<<"1746219975:alice">>}) returned {ok,
                                                               <<"BWBKHZYt5IFGdJhqgxjAkYyDVVU=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.051 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.051219 ===
Handling API call: get_password("1746219975:alice")


*** User 2025-05-01 21:06:15.051 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.051 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.051361 ===
eturnal call ({get_password,<<"1746219975:alice">>}) returned {ok,
                                                               <<"BWBKHZYt5IFGdJhqgxjAkYyDVVU=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.051 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.051541 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.051 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.051670 ===
eturnal call ({get_password,<<"1746219975:alice">>}) returned {ok,
                                                               <<"BWBKHZYt5IFGdJhqgxjAkYyDVVU=">>}


*** User 2025-05-01 21:06:15.052 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.051 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.051775 ===
Handling API call: get_password("1746219975:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.052 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.051932 ===
eturnal call ({get_password,<<"1746219975:alice">>}) returned {ok,
                                                               <<"BWBKHZYt5IFGdJhqgxjAkYyDVVU=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.052 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.052061 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.052 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.052214 ===
eturnal call ({get_password,<<"1746219975:alice">>}) returned {ok,
                                                               <<"BWBKHZYt5IFGdJhqgxjAkYyDVVU=">>}


*** User 2025-05-01 21:06:15.052 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.052 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.052334 ===
Handling API call: get_password("1746219975:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.052 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.052434 ===
eturnal call ({get_password,<<"1746219975:alice">>}) returned {ok,
                                                               <<"BWBKHZYt5IFGdJhqgxjAkYyDVVU=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.052 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.052580 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.052 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.052682 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.052 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.052839 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.052 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.052932 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.053 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.053010 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.053 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.053091 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.053 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.053157 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.053 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.053244 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.053 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.053320 ===
Handling API call: get_password([invalid])


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.053 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.053432 ===
Cannot convert user name to binary: [invalid]


*** User 2025-05-01 21:06:15.053 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.053 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.053551 ===
Handling API call: get_credentials([invalid], [])


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.053 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.053637 ===
Invalid argument(s): [invalid]:[]


*** User 2025-05-01 21:06:15.054 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.053 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.053814 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.054 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.053939 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.054 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.054126 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 21:06:15.054 ***🔗
=DEBUG REPORT==== 1-May-2025::21:06:15.054248 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2025-05-01 21:06:15
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


Test run history | Top level test index | Latest test result