=== 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.987.0>},
     {tc_logfile,"/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-08-24_17.04.04/lib.eturnal.logs/run.2025-08-24_17.04.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.2025-08-24_17.04.04/lib.eturnal.logs/run.2025-08-24_17.04.04/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-08-24_17.04.04"

=== Started at 2025-08-24 17:04:05


*** User 2025-08-24 17:04:05.673 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.673 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.673733 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.674 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.673906 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2025-08-24 17:04:05.677 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.677 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.677249 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.677 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.677393 ===
eturnal call ({get_password,<<"1756141445:alice">>}) returned {ok,
                                                               <<"o34dutIFLJw6LEzJWh3VrycE8g8=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.677 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.677520 ===
Handling API call: get_password("1756141445:alice")


*** User 2025-08-24 17:04:05.677 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.677 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.677631 ===
eturnal call ({get_password,<<"1756141445:alice">>}) returned {ok,
                                                               <<"o34dutIFLJw6LEzJWh3VrycE8g8=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.677 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.677818 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.678 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.677957 ===
eturnal call ({get_password,<<"1756141445:alice">>}) returned {ok,
                                                               <<"o34dutIFLJw6LEzJWh3VrycE8g8=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.678 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.678079 ===
Handling API call: get_password("1756141445:alice")


*** User 2025-08-24 17:04:05.678 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.678 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.678190 ===
eturnal call ({get_password,<<"1756141445:alice">>}) returned {ok,
                                                               <<"o34dutIFLJw6LEzJWh3VrycE8g8=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.678 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.678373 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.678 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.678501 ===
eturnal call ({get_password,<<"1756141445:alice">>}) returned {ok,
                                                               <<"o34dutIFLJw6LEzJWh3VrycE8g8=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.678 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.678627 ===
Handling API call: get_password("1756141445:alice")


*** User 2025-08-24 17:04:05.678 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.678 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.678757 ===
eturnal call ({get_password,<<"1756141445:alice">>}) returned {ok,
                                                               <<"o34dutIFLJw6LEzJWh3VrycE8g8=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.679 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.678945 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.679 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.679065 ===
eturnal call ({get_password,<<"1756141445:alice">>}) returned {ok,
                                                               <<"o34dutIFLJw6LEzJWh3VrycE8g8=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.679 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.679184 ===
Handling API call: get_password("1756141445:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.679 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.679298 ===
eturnal call ({get_password,<<"1756141445:alice">>}) returned {ok,
                                                               <<"o34dutIFLJw6LEzJWh3VrycE8g8=">>}


*** User 2025-08-24 17:04:05.679 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.679 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.679470 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.679 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.679600 ===
eturnal call ({get_password,<<"1756141445:alice">>}) returned {ok,
                                                               <<"o34dutIFLJw6LEzJWh3VrycE8g8=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.679 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.679727 ===
Handling API call: get_password("1756141445:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.679 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.679858 ===
eturnal call ({get_password,<<"1756141445:alice">>}) returned {ok,
                                                               <<"o34dutIFLJw6LEzJWh3VrycE8g8=">>}


*** User 2025-08-24 17:04:05.680 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.680 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.680054 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.680 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.680158 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.680 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.680272 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.680 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.680359 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.680 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.680442 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.680 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.680535 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.680 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.680619 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.680 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.680710 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.680 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.680788 ===
Handling API call: get_password([invalid])


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.681 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.681008 ===
Cannot convert user name to binary: [invalid]


*** User 2025-08-24 17:04:05.681 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.681 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.681113 ===
Handling API call: get_credentials([invalid], [])


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.681 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.681200 ===
Invalid argument(s): [invalid]:[]


*** User 2025-08-24 17:04:05.681 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.681 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.681368 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.681 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.681473 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.681 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.681606 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 17:04:05.681 ***🔗
=DEBUG REPORT==== 24-Aug-2025::17:04:05.681699 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2025-08-24 17:04:05
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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