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

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

=== Started at 2025-05-01 13:23:42


*** User 2025-05-01 13:23:42.040 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

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


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


*** User 2025-05-01 13:23:42.043 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.043 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.043882 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.044 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.044025 ===
eturnal call ({get_password,<<"1746192222:alice">>}) returned {ok,
                                                               <<"XbfRgfl3UMSjXyK4G6tg6ge3c5A=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.044 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.044194 ===
Handling API call: get_password("1746192222:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.044 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.044322 ===
eturnal call ({get_password,<<"1746192222:alice">>}) returned {ok,
                                                               <<"XbfRgfl3UMSjXyK4G6tg6ge3c5A=">>}


*** User 2025-05-01 13:23:42.044 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.044 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.044497 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.044 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.044641 ===
eturnal call ({get_password,<<"1746192222:alice">>}) returned {ok,
                                                               <<"XbfRgfl3UMSjXyK4G6tg6ge3c5A=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.044 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.044740 ===
Handling API call: get_password("1746192222:alice")


*** User 2025-05-01 13:23:42.044 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.044 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.044876 ===
eturnal call ({get_password,<<"1746192222:alice">>}) returned {ok,
                                                               <<"XbfRgfl3UMSjXyK4G6tg6ge3c5A=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.045 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.045006 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.045 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.045097 ===
eturnal call ({get_password,<<"1746192222:alice">>}) returned {ok,
                                                               <<"XbfRgfl3UMSjXyK4G6tg6ge3c5A=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.045 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.045185 ===
Handling API call: get_password("1746192222:alice")


*** User 2025-05-01 13:23:42.045 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.045 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.045289 ===
eturnal call ({get_password,<<"1746192222:alice">>}) returned {ok,
                                                               <<"XbfRgfl3UMSjXyK4G6tg6ge3c5A=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.045 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.045444 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.045 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.045544 ===
eturnal call ({get_password,<<"1746192222:alice">>}) returned {ok,
                                                               <<"XbfRgfl3UMSjXyK4G6tg6ge3c5A=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.045 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.045669 ===
Handling API call: get_password("1746192222:alice")


*** User 2025-05-01 13:23:42.045 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.045 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.045812 ===
eturnal call ({get_password,<<"1746192222:alice">>}) returned {ok,
                                                               <<"XbfRgfl3UMSjXyK4G6tg6ge3c5A=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.046 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.045998 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.046 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.046135 ===
eturnal call ({get_password,<<"1746192222:alice">>}) returned {ok,
                                                               <<"XbfRgfl3UMSjXyK4G6tg6ge3c5A=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.046 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.046256 ===
Handling API call: get_password("1746192222:alice")


*** User 2025-05-01 13:23:42.046 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.046 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.046380 ===
eturnal call ({get_password,<<"1746192222:alice">>}) returned {ok,
                                                               <<"XbfRgfl3UMSjXyK4G6tg6ge3c5A=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.046 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.046553 ===
Handling API call: get_password("Invalid")


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


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.046 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.046725 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.046 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.046850 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.047 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.046942 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.047 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.047046 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.047 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.047140 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.047 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.047229 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.047 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.047326 ===
Handling API call: get_password([invalid])


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.047 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.047420 ===
Cannot convert user name to binary: [invalid]


*** User 2025-05-01 13:23:42.047 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.047 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.047505 ===
Handling API call: get_credentials([invalid], [])


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.047 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.047602 ===
Invalid argument(s): [invalid]:[]


*** User 2025-05-01 13:23:42.047 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.047 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.047724 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.047 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.047832 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-05-01 13:23:42.048 ***🔗
=DEBUG REPORT==== 1-May-2025::13:23:42.047945 ===
Handling API call: get_password("alice")


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




=== Ended at 2025-05-01 13:23:42
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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