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

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

=== Started at 2025-08-21 11:51:41


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

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


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


*** User 2025-08-21 11:51:41.803 ***🔗
Checking credentials valid for 86400

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


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:51:41.803 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:51:41.803346 ===
eturnal call ({get_password,<<"1755863501:alice">>}) returned {ok,
                                                               <<"o8735LxAZU2Bmtsk54mXJatnfNw=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:51:41.803 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:51:41.803516 ===
Handling API call: get_password("1755863501:alice")


*** User 2025-08-21 11:51:41.803 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:51:41.803 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:51:41.803616 ===
eturnal call ({get_password,<<"1755863501:alice">>}) returned {ok,
                                                               <<"o8735LxAZU2Bmtsk54mXJatnfNw=">>}


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


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:51:41.804 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:51:41.803986 ===
eturnal call ({get_password,<<"1755863501:alice">>}) returned {ok,
                                                               <<"o8735LxAZU2Bmtsk54mXJatnfNw=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:51:41.804 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:51:41.804144 ===
Handling API call: get_password("1755863501:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:51:41.804 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:51:41.804287 ===
eturnal call ({get_password,<<"1755863501:alice">>}) returned {ok,
                                                               <<"o8735LxAZU2Bmtsk54mXJatnfNw=">>}


*** User 2025-08-21 11:51:41.804 ***🔗
Checking credentials valid for 1440m

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


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:51:41.804 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:51:41.804611 ===
eturnal call ({get_password,<<"1755863501:alice">>}) returned {ok,
                                                               <<"o8735LxAZU2Bmtsk54mXJatnfNw=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:51:41.804 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:51:41.804765 ===
Handling API call: get_password("1755863501:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:51:41.805 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:51:41.804904 ===
eturnal call ({get_password,<<"1755863501:alice">>}) returned {ok,
                                                               <<"o8735LxAZU2Bmtsk54mXJatnfNw=">>}


*** User 2025-08-21 11:51:41.805 ***🔗
Checking credentials valid for 24h

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


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:51:41.805 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:51:41.805215 ===
eturnal call ({get_password,<<"1755863501:alice">>}) returned {ok,
                                                               <<"o8735LxAZU2Bmtsk54mXJatnfNw=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:51:41.805 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:51:41.805355 ===
Handling API call: get_password("1755863501:alice")


*** User 2025-08-21 11:51:41.805 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:51:41.805 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:51:41.805464 ===
eturnal call ({get_password,<<"1755863501:alice">>}) returned {ok,
                                                               <<"o8735LxAZU2Bmtsk54mXJatnfNw=">>}


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


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:51:41.805 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:51:41.805783 ===
eturnal call ({get_password,<<"1755863501:alice">>}) returned {ok,
                                                               <<"o8735LxAZU2Bmtsk54mXJatnfNw=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:51:41.805 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:51:41.805917 ===
Handling API call: get_password("1755863501:alice")


*** User 2025-08-21 11:51:41.806 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2025-08-21 11:51:41.806 ***🔗
=DEBUG REPORT==== 21-Aug-2025::11:51:41.806045 ===
eturnal call ({get_password,<<"1755863501:alice">>}) returned {ok,
                                                               <<"o8735LxAZU2Bmtsk54mXJatnfNw=">>}


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


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


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


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


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


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


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


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


*** User 2025-08-21 11:51:41.807 ***🔗
Checking invalid suffix

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


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


*** User 2025-08-21 11:51:41.807 ***🔗
Checking static credentials

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


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


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


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


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


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




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


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