=== 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-03-24_18.32.16/lib.eturnal.logs/run.2025-03-24_18.32.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-03-24_18.32.16/lib.eturnal.logs/run.2025-03-24_18.32.17/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-03-24_18.32.16"

=== Started at 2025-03-24 18:32:17


*** User 2025-03-24 18:32:17.579 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.579 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.579793 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.580 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.579977 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2025-03-24 18:32:17.583 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.584 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.583974 ===
Handling API call: get_credentials("86400", "alice")


*** User 2025-03-24 18:32:17.584 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.584 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.584178 ===
eturnal call ({get_password,<<"1742927537:alice">>}) returned {ok,
                                                               <<"xswiE4IpRVrE4/4u84qcNqyEgDc=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.584 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.584328 ===
Handling API call: get_password("1742927537:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.584 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.584433 ===
eturnal call ({get_password,<<"1742927537:alice">>}) returned {ok,
                                                               <<"xswiE4IpRVrE4/4u84qcNqyEgDc=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.584 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.584570 ===
Handling API call: get_credentials("86400s", "alice")


*** User 2025-03-24 18:32:17.585 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.584 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.584738 ===
eturnal call ({get_password,<<"1742927537:alice">>}) returned {ok,
                                                               <<"xswiE4IpRVrE4/4u84qcNqyEgDc=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.584 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.584891 ===
Handling API call: get_password("1742927537:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.585 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.585044 ===
eturnal call ({get_password,<<"1742927537:alice">>}) returned {ok,
                                                               <<"xswiE4IpRVrE4/4u84qcNqyEgDc=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.585 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.585224 ===
Handling API call: get_credentials("1440m", "alice")


*** User 2025-03-24 18:32:17.585 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.585 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.585398 ===
eturnal call ({get_password,<<"1742927537:alice">>}) returned {ok,
                                                               <<"xswiE4IpRVrE4/4u84qcNqyEgDc=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.585 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.585534 ===
Handling API call: get_password("1742927537:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.585 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.585652 ===
eturnal call ({get_password,<<"1742927537:alice">>}) returned {ok,
                                                               <<"xswiE4IpRVrE4/4u84qcNqyEgDc=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.585 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.585825 ===
Handling API call: get_credentials("24h", "alice")


*** User 2025-03-24 18:32:17.586 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.586 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.585961 ===
eturnal call ({get_password,<<"1742927537:alice">>}) returned {ok,
                                                               <<"xswiE4IpRVrE4/4u84qcNqyEgDc=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.586 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.586099 ===
Handling API call: get_password("1742927537:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.586 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.586210 ===
eturnal call ({get_password,<<"1742927537:alice">>}) returned {ok,
                                                               <<"xswiE4IpRVrE4/4u84qcNqyEgDc=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.586 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.586375 ===
Handling API call: get_credentials("1d", "alice")


*** User 2025-03-24 18:32:17.586 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.586 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.586499 ===
eturnal call ({get_password,<<"1742927537:alice">>}) returned {ok,
                                                               <<"xswiE4IpRVrE4/4u84qcNqyEgDc=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.586 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.586658 ===
Handling API call: get_password("1742927537:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.586 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.586779 ===
eturnal call ({get_password,<<"1742927537:alice">>}) returned {ok,
                                                               <<"xswiE4IpRVrE4/4u84qcNqyEgDc=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.587 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.586934 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.587 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.587070 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.587 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.587175 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.587 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.587263 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.587 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.587374 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.587 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.587477 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.587 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.587567 ===
Handling API call: get_credentials(invalid, [])


*** User 2025-03-24 18:32:17.588 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.587 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.587675 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.587 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.587789 ===
Handling API call: get_password([invalid])


*** User 2025-03-24 18:32:17.588 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.587 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.587894 ===
Cannot convert user name to binary: [invalid]


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.588 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.588005 ===
Handling API call: get_credentials([invalid], [])


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.588 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.588112 ===
Invalid argument(s): [invalid]:[]


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.588 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.588247 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.588 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.588342 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.588 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.588478 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-03-24 18:32:17.588 ***🔗
=DEBUG REPORT==== 24-Mar-2025::18:32:17.588614 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2025-03-24 18:32:17
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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