=== 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-02-11_15.48.58/lib.eturnal.logs/run.2025-02-11_15.48.58/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-02-11_15.48.58/lib.eturnal.logs/run.2025-02-11_15.48.58/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-02-11_15.48.58"

=== Started at 2025-02-11 15:48:59


*** User 2025-02-11 15:48:59.887 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.887 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.887929 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.888 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.888082 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2025-02-11 15:48:59.888 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.888 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.888271 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.888 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.888422 ===
eturnal call ({get_password,<<"1739375339:alice">>}) returned {ok,
                                                               <<"WDHuXzSkdLsljZ5zbsLdGd2D2Ak=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.888 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.888551 ===
Handling API call: get_password("1739375339:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.888 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.888655 ===
eturnal call ({get_password,<<"1739375339:alice">>}) returned {ok,
                                                               <<"WDHuXzSkdLsljZ5zbsLdGd2D2Ak=">>}


*** User 2025-02-11 15:48:59.888 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.888 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.888815 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.889 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.888930 ===
eturnal call ({get_password,<<"1739375339:alice">>}) returned {ok,
                                                               <<"WDHuXzSkdLsljZ5zbsLdGd2D2Ak=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.889 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.889044 ===
Handling API call: get_password("1739375339:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.889 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.889151 ===
eturnal call ({get_password,<<"1739375339:alice">>}) returned {ok,
                                                               <<"WDHuXzSkdLsljZ5zbsLdGd2D2Ak=">>}


*** User 2025-02-11 15:48:59.889 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.889 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.889308 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.889 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.889434 ===
eturnal call ({get_password,<<"1739375339:alice">>}) returned {ok,
                                                               <<"WDHuXzSkdLsljZ5zbsLdGd2D2Ak=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.889 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.889544 ===
Handling API call: get_password("1739375339:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.889 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.889638 ===
eturnal call ({get_password,<<"1739375339:alice">>}) returned {ok,
                                                               <<"WDHuXzSkdLsljZ5zbsLdGd2D2Ak=">>}


*** User 2025-02-11 15:48:59.889 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.889 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.889766 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.889 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.889860 ===
eturnal call ({get_password,<<"1739375339:alice">>}) returned {ok,
                                                               <<"WDHuXzSkdLsljZ5zbsLdGd2D2Ak=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.889 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.889947 ===
Handling API call: get_password("1739375339:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.890 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.890019 ===
eturnal call ({get_password,<<"1739375339:alice">>}) returned {ok,
                                                               <<"WDHuXzSkdLsljZ5zbsLdGd2D2Ak=">>}


*** User 2025-02-11 15:48:59.890 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.890 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.890175 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.890 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.890294 ===
eturnal call ({get_password,<<"1739375339:alice">>}) returned {ok,
                                                               <<"WDHuXzSkdLsljZ5zbsLdGd2D2Ak=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.890 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.890406 ===
Handling API call: get_password("1739375339:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.890 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.890524 ===
eturnal call ({get_password,<<"1739375339:alice">>}) returned {ok,
                                                               <<"WDHuXzSkdLsljZ5zbsLdGd2D2Ak=">>}


*** User 2025-02-11 15:48:59.890 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.890 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.890662 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.890 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.890774 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.890 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.890869 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.891 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.890956 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.891 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.891020 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.891 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.891083 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.891 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.891138 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.891 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.891193 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.891 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.891242 ===
Handling API call: get_password([invalid])


*** User 2025-02-11 15:48:59.891 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.891 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.891290 ===
Cannot convert user name to binary: [invalid]


*** User 2025-02-11 15:48:59.891 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.891 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.891371 ===
Handling API call: get_credentials([invalid], [])


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.891 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.891445 ===
Invalid argument(s): [invalid]:[]


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.891 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.891538 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.891 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.891597 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.891 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.891680 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-11 15:48:59.891 ***🔗
=DEBUG REPORT==== 11-Feb-2025::15:48:59.891754 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2025-02-11 15:48:59
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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