=== 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-21_11.20.31/lib.eturnal.logs/run.2025-08-21_11.20.31/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-21_11.20.31/lib.eturnal.logs/run.2025-08-21_11.20.31/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-08-21_11.20.31"

=== Started at 2025-08-21 11:20:32


*** User 2025-08-21 11:20:32.755 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.755 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.755141 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.755 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.755337 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2025-08-21 11:20:32.758 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.758 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.758633 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.758 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.758797 ===
eturnal call ({get_password,<<"1755861632:alice">>}) returned {ok,
                                                               <<"nIvThkS5bLjCV6go/aTQtuqCgjQ=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.759 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.758957 ===
Handling API call: get_password("1755861632:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.759 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.759067 ===
eturnal call ({get_password,<<"1755861632:alice">>}) returned {ok,
                                                               <<"nIvThkS5bLjCV6go/aTQtuqCgjQ=">>}


*** User 2025-08-21 11:20:32.759 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.759 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.759226 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.759 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.759398 ===
eturnal call ({get_password,<<"1755861632:alice">>}) returned {ok,
                                                               <<"nIvThkS5bLjCV6go/aTQtuqCgjQ=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.759 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.759553 ===
Handling API call: get_password("1755861632:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.759 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.759665 ===
eturnal call ({get_password,<<"1755861632:alice">>}) returned {ok,
                                                               <<"nIvThkS5bLjCV6go/aTQtuqCgjQ=">>}


*** User 2025-08-21 11:20:32.759 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.759 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.759825 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.760 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.759929 ===
eturnal call ({get_password,<<"1755861632:alice">>}) returned {ok,
                                                               <<"nIvThkS5bLjCV6go/aTQtuqCgjQ=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.760 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.760050 ===
Handling API call: get_password("1755861632:alice")


*** User 2025-08-21 11:20:32.760 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.760 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.760145 ===
eturnal call ({get_password,<<"1755861632:alice">>}) returned {ok,
                                                               <<"nIvThkS5bLjCV6go/aTQtuqCgjQ=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.760 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.760305 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.760 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.760421 ===
eturnal call ({get_password,<<"1755861632:alice">>}) returned {ok,
                                                               <<"nIvThkS5bLjCV6go/aTQtuqCgjQ=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.760 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.760518 ===
Handling API call: get_password("1755861632:alice")


*** User 2025-08-21 11:20:32.760 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.760 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.760634 ===
eturnal call ({get_password,<<"1755861632:alice">>}) returned {ok,
                                                               <<"nIvThkS5bLjCV6go/aTQtuqCgjQ=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.760 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.760778 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.761 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.760920 ===
eturnal call ({get_password,<<"1755861632:alice">>}) returned {ok,
                                                               <<"nIvThkS5bLjCV6go/aTQtuqCgjQ=">>}


*** User 2025-08-21 11:20:32.761 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.761 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.761041 ===
Handling API call: get_password("1755861632:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.761 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.761134 ===
eturnal call ({get_password,<<"1755861632:alice">>}) returned {ok,
                                                               <<"nIvThkS5bLjCV6go/aTQtuqCgjQ=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.761 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.761292 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.761 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.761391 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.761 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.761476 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.761 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.761554 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.761 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.761627 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.761 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.761692 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.761 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.761756 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.761 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.761828 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.761 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.761892 ===
Handling API call: get_password([invalid])


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.762 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.761967 ===
Cannot convert user name to binary: [invalid]


*** User 2025-08-21 11:20:32.762 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.762 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.762051 ===
Handling API call: get_credentials([invalid], [])


*** User 2025-08-21 11:20:32.762 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.762 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.762125 ===
Invalid argument(s): [invalid]:[]


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.762 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.762238 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.762 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.762339 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.762 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.762484 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:20:32.762 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:20:32.762577 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2025-08-21 11:20:32
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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