=== 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-24_16.36.58/lib.eturnal.logs/run.2025-08-24_16.36.59/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-24_16.36.58/lib.eturnal.logs/run.2025-08-24_16.36.59/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-08-24_16.36.58"

=== Started at 2025-08-24 16:37:03


*** User 2025-08-24 16:37:03.380 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.380 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.380244 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.380 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.380451 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2025-08-24 16:37:03.383 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.384 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.384001 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.384 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.384190 ===
eturnal call ({get_password,<<"1756139823:alice">>}) returned {ok,
                                                               <<"8sXthkkZXmgqyMwe/WVJo8K5cq0=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.384 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.384335 ===
Handling API call: get_password("1756139823:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.384 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.384469 ===
eturnal call ({get_password,<<"1756139823:alice">>}) returned {ok,
                                                               <<"8sXthkkZXmgqyMwe/WVJo8K5cq0=">>}


*** User 2025-08-24 16:37:03.384 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.384 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.384654 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.384 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.384800 ===
eturnal call ({get_password,<<"1756139823:alice">>}) returned {ok,
                                                               <<"8sXthkkZXmgqyMwe/WVJo8K5cq0=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.384 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.384934 ===
Handling API call: get_password("1756139823:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.385 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.385044 ===
eturnal call ({get_password,<<"1756139823:alice">>}) returned {ok,
                                                               <<"8sXthkkZXmgqyMwe/WVJo8K5cq0=">>}


*** User 2025-08-24 16:37:03.385 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.385 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.385205 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.385 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.385357 ===
eturnal call ({get_password,<<"1756139823:alice">>}) returned {ok,
                                                               <<"8sXthkkZXmgqyMwe/WVJo8K5cq0=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.385 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.385493 ===
Handling API call: get_password("1756139823:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.385 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.385618 ===
eturnal call ({get_password,<<"1756139823:alice">>}) returned {ok,
                                                               <<"8sXthkkZXmgqyMwe/WVJo8K5cq0=">>}


*** User 2025-08-24 16:37:03.385 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.385 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.385816 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.386 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.385936 ===
eturnal call ({get_password,<<"1756139823:alice">>}) returned {ok,
                                                               <<"8sXthkkZXmgqyMwe/WVJo8K5cq0=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.386 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.386083 ===
Handling API call: get_password("1756139823:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.386 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.386210 ===
eturnal call ({get_password,<<"1756139823:alice">>}) returned {ok,
                                                               <<"8sXthkkZXmgqyMwe/WVJo8K5cq0=">>}


*** User 2025-08-24 16:37:03.386 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.386 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.386399 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.386 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.386584 ===
eturnal call ({get_password,<<"1756139823:alice">>}) returned {ok,
                                                               <<"8sXthkkZXmgqyMwe/WVJo8K5cq0=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.386 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.386760 ===
Handling API call: get_password("1756139823:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.387 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.386902 ===
eturnal call ({get_password,<<"1756139823:alice">>}) returned {ok,
                                                               <<"8sXthkkZXmgqyMwe/WVJo8K5cq0=">>}


*** User 2025-08-24 16:37:03.387 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.387 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.387083 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.387 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.387213 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.387 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.387324 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.387 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.387416 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.387 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.387507 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.387 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.387591 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.387 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.387669 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.387 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.387767 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.387 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.387859 ===
Handling API call: get_password([invalid])


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.387 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.387943 ===
Cannot convert user name to binary: [invalid]


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.388 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.388020 ===
Handling API call: get_credentials([invalid], [])


*** User 2025-08-24 16:37:03.388 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.388 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.388112 ===
Invalid argument(s): [invalid]:[]


*** User 2025-08-24 16:37:03.388 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.388 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.388210 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.388 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.388280 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.388 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.388367 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-08-24 16:37:03.388 ***🔗
=DEBUG REPORT==== 24-Aug-2025::16:37:03.388446 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2025-08-24 16:37:03
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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