=== 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.990.0>},
     {tc_logfile,"/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2024-10-24_13.08.28/lib.eturnal.logs/run.2024-10-24_13.08.29/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.2024-10-24_13.08.28/lib.eturnal.logs/run.2024-10-24_13.08.29/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2024-10-24_13.08.28"

=== Started at 2024-10-24 13:08:30


*** User 2024-10-24 13:08:30.689 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.689 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.689462 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.689 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.689663 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2024-10-24 13:08:30.689 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.689 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.689909 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.690 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.690051 ===
eturnal call ({get_password,<<"1729861710:alice">>}) returned {ok,
                                                               <<"tbMkKZimTznQwuAxGKQUGmuMU74=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.690 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.690155 ===
Handling API call: get_password("1729861710:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.690 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.690269 ===
eturnal call ({get_password,<<"1729861710:alice">>}) returned {ok,
                                                               <<"tbMkKZimTznQwuAxGKQUGmuMU74=">>}


*** User 2024-10-24 13:08:30.690 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.690 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.690408 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.690 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.690501 ===
eturnal call ({get_password,<<"1729861710:alice">>}) returned {ok,
                                                               <<"tbMkKZimTznQwuAxGKQUGmuMU74=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.690 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.690578 ===
Handling API call: get_password("1729861710:alice")


*** User 2024-10-24 13:08:30.690 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.690 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.690657 ===
eturnal call ({get_password,<<"1729861710:alice">>}) returned {ok,
                                                               <<"tbMkKZimTznQwuAxGKQUGmuMU74=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.690 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.690767 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.690 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.690843 ===
eturnal call ({get_password,<<"1729861710:alice">>}) returned {ok,
                                                               <<"tbMkKZimTznQwuAxGKQUGmuMU74=">>}


*** User 2024-10-24 13:08:30.691 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.690 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.690925 ===
Handling API call: get_password("1729861710:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.691 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.690997 ===
eturnal call ({get_password,<<"1729861710:alice">>}) returned {ok,
                                                               <<"tbMkKZimTznQwuAxGKQUGmuMU74=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.691 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.691102 ===
Handling API call: get_credentials("24h", "alice")


*** User 2024-10-24 13:08:30.691 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.691 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.691189 ===
eturnal call ({get_password,<<"1729861710:alice">>}) returned {ok,
                                                               <<"tbMkKZimTznQwuAxGKQUGmuMU74=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.691 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.691276 ===
Handling API call: get_password("1729861710:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.691 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.691352 ===
eturnal call ({get_password,<<"1729861710:alice">>}) returned {ok,
                                                               <<"tbMkKZimTznQwuAxGKQUGmuMU74=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.691 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.691453 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.691 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.691606 ===
eturnal call ({get_password,<<"1729861710:alice">>}) returned {ok,
                                                               <<"tbMkKZimTznQwuAxGKQUGmuMU74=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.691 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.691724 ===
Handling API call: get_password("1729861710:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.691 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.691838 ===
eturnal call ({get_password,<<"1729861710:alice">>}) returned {ok,
                                                               <<"tbMkKZimTznQwuAxGKQUGmuMU74=">>}


*** User 2024-10-24 13:08:30.691 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.692 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.691980 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.692 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.692087 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.692 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.692203 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.692 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.692312 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.692 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.692431 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.692 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.692528 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.692 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.692615 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.692 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.692711 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.692 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.692775 ===
Handling API call: get_password([invalid])


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.692 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.692858 ===
Cannot convert user name to binary: [invalid]


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.692 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.692944 ===
Handling API call: get_credentials([invalid], [])


*** User 2024-10-24 13:08:30.693 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.693 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.693007 ===
Invalid argument(s): [invalid]:[]


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.693 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.693098 ===
Handling API call: get_credentials(1256900400, invalid)


*** User 2024-10-24 13:08:30.693 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.693 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.693168 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.693 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.693258 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 13:08:30.693 ***🔗
=DEBUG REPORT==== 24-Oct-2024::13:08:30.693367 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2024-10-24 13:08:30
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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