=== 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-11-01_23.23.56/lib.eturnal.logs/run.2025-11-01_23.23.57/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-11-01_23.23.56/lib.eturnal.logs/run.2025-11-01_23.23.57/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-11-01_23.23.56"

=== Started at 2025-11-01 23:23:58


*** User 2025-11-01 23:23:58.864 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.864 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.864503 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.864 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.864723 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2025-11-01 23:23:58.867 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.867 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.867869 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.868 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.868032 ===
eturnal call ({get_password,<<"1762125838:alice">>}) returned {ok,
                                                               <<"BNh87gbBb59HqDNBQ4jcHE2XsWY=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.868 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.868161 ===
Handling API call: get_password("1762125838:alice")


*** User 2025-11-01 23:23:58.868 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.868 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.868267 ===
eturnal call ({get_password,<<"1762125838:alice">>}) returned {ok,
                                                               <<"BNh87gbBb59HqDNBQ4jcHE2XsWY=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.868 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.868410 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.868 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.868544 ===
eturnal call ({get_password,<<"1762125838:alice">>}) returned {ok,
                                                               <<"BNh87gbBb59HqDNBQ4jcHE2XsWY=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.868 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.868680 ===
Handling API call: get_password("1762125838:alice")


*** User 2025-11-01 23:23:58.868 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.868 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.868774 ===
eturnal call ({get_password,<<"1762125838:alice">>}) returned {ok,
                                                               <<"BNh87gbBb59HqDNBQ4jcHE2XsWY=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.868 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.868910 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.869 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.869005 ===
eturnal call ({get_password,<<"1762125838:alice">>}) returned {ok,
                                                               <<"BNh87gbBb59HqDNBQ4jcHE2XsWY=">>}


*** User 2025-11-01 23:23:58.869 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.869 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.869099 ===
Handling API call: get_password("1762125838:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.869 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.869200 ===
eturnal call ({get_password,<<"1762125838:alice">>}) returned {ok,
                                                               <<"BNh87gbBb59HqDNBQ4jcHE2XsWY=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.869 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.869380 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.869 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.869496 ===
eturnal call ({get_password,<<"1762125838:alice">>}) returned {ok,
                                                               <<"BNh87gbBb59HqDNBQ4jcHE2XsWY=">>}


*** User 2025-11-01 23:23:58.869 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.869 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.869609 ===
Handling API call: get_password("1762125838:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.869 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.869733 ===
eturnal call ({get_password,<<"1762125838:alice">>}) returned {ok,
                                                               <<"BNh87gbBb59HqDNBQ4jcHE2XsWY=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.869 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.869900 ===
Handling API call: get_credentials("1d", "alice")


*** User 2025-11-01 23:23:58.870 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.870 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.870015 ===
eturnal call ({get_password,<<"1762125838:alice">>}) returned {ok,
                                                               <<"BNh87gbBb59HqDNBQ4jcHE2XsWY=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.870 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.870123 ===
Handling API call: get_password("1762125838:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.870 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.870229 ===
eturnal call ({get_password,<<"1762125838:alice">>}) returned {ok,
                                                               <<"BNh87gbBb59HqDNBQ4jcHE2XsWY=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.870 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.870365 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.870 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.870454 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.870 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.870547 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.870 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.870643 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.870 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.870721 ===
Handling API call: get_password(invalid)


*** User 2025-11-01 23:23:58.871 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.870 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.870788 ===
Cannot convert user name to binary: invalid


*** User 2025-11-01 23:23:58.871 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.870 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.870858 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.870 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.870930 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.871 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.870992 ===
Handling API call: get_password([invalid])


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.871 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.871055 ===
Cannot convert user name to binary: [invalid]


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.871 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.871135 ===
Handling API call: get_credentials([invalid], [])


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.871 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.871214 ===
Invalid argument(s): [invalid]:[]


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.871 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.871328 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.871 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.871403 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.871 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.871514 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-11-01 23:23:58.871 ***🔗
=DEBUG REPORT==== 1-Nov-2025::23:23:58.871600 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2025-11-01 23:23:58
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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