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

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

=== Started at 2025-04-04 11:35:19


*** User 2025-04-04 11:35:19.331 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.331 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.331576 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.331 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.331838 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2025-04-04 11:35:19.335 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.335 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.335038 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.335 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.335223 ===
eturnal call ({get_password,<<"1743852919:alice">>}) returned {ok,
                                                               <<"DtM3IYK8stJIrFqtxQAQFQZrti0=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.335 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.335378 ===
Handling API call: get_password("1743852919:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.335 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.335517 ===
eturnal call ({get_password,<<"1743852919:alice">>}) returned {ok,
                                                               <<"DtM3IYK8stJIrFqtxQAQFQZrti0=">>}


*** User 2025-04-04 11:35:19.335 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.335 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.335755 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.336 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.335913 ===
eturnal call ({get_password,<<"1743852919:alice">>}) returned {ok,
                                                               <<"DtM3IYK8stJIrFqtxQAQFQZrti0=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.336 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.336077 ===
Handling API call: get_password("1743852919:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.336 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.336205 ===
eturnal call ({get_password,<<"1743852919:alice">>}) returned {ok,
                                                               <<"DtM3IYK8stJIrFqtxQAQFQZrti0=">>}


*** User 2025-04-04 11:35:19.336 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.336 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.336393 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.336 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.336538 ===
eturnal call ({get_password,<<"1743852919:alice">>}) returned {ok,
                                                               <<"DtM3IYK8stJIrFqtxQAQFQZrti0=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.336 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.336689 ===
Handling API call: get_password("1743852919:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.336 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.336806 ===
eturnal call ({get_password,<<"1743852919:alice">>}) returned {ok,
                                                               <<"DtM3IYK8stJIrFqtxQAQFQZrti0=">>}


*** User 2025-04-04 11:35:19.336 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.337 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.336957 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.337 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.337086 ===
eturnal call ({get_password,<<"1743852919:alice">>}) returned {ok,
                                                               <<"DtM3IYK8stJIrFqtxQAQFQZrti0=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.337 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.337207 ===
Handling API call: get_password("1743852919:alice")


*** User 2025-04-04 11:35:19.337 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.337 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.337308 ===
eturnal call ({get_password,<<"1743852919:alice">>}) returned {ok,
                                                               <<"DtM3IYK8stJIrFqtxQAQFQZrti0=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.337 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.337501 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.337 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.337682 ===
eturnal call ({get_password,<<"1743852919:alice">>}) returned {ok,
                                                               <<"DtM3IYK8stJIrFqtxQAQFQZrti0=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.337 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.337841 ===
Handling API call: get_password("1743852919:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.338 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.337958 ===
eturnal call ({get_password,<<"1743852919:alice">>}) returned {ok,
                                                               <<"DtM3IYK8stJIrFqtxQAQFQZrti0=">>}


*** User 2025-04-04 11:35:19.338 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.338 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.338118 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.338 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.338225 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.338 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.338326 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.338 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.338419 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.338 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.338528 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.338 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.338631 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.338 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.338719 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.338 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.338819 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.338 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.338904 ===
Handling API call: get_password([invalid])


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.339 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.338984 ===
Cannot convert user name to binary: [invalid]


*** User 2025-04-04 11:35:19.339 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.339 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.339077 ===
Handling API call: get_credentials([invalid], [])


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.339 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.339161 ===
Invalid argument(s): [invalid]:[]


*** User 2025-04-04 11:35:19.339 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.339 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.339293 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.339 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.339384 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.339 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.339497 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-04-04 11:35:19.339 ***🔗
=DEBUG REPORT==== 4-Apr-2025::11:35:19.339603 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2025-04-04 11:35:19
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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