=== 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-02-10_17.20.30/lib.eturnal.logs/run.2025-02-10_17.20.30/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-02-10_17.20.30/lib.eturnal.logs/run.2025-02-10_17.20.30/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-02-10_17.20.30"

=== Started at 2025-02-10 17:20:32


*** User 2025-02-10 17:20:32.807 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.807 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.807676 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.807 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.807858 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2025-02-10 17:20:32.808 ***🔗
Checking credentials valid for 86400

*** User 2025-02-10 17:20:32.808 ***🔗
Checking credentials valid for 86400s

*** User 2025-02-10 17:20:32.809 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.808 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.808058 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.808 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.808210 ===
eturnal call ({get_password,<<"1739294432:alice">>}) returned {ok,
                                                               <<"o0nhva+B8uAVaubiFE1TKZk2YOI=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.808 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.808332 ===
Handling API call: get_password("1739294432:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.808 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.808442 ===
eturnal call ({get_password,<<"1739294432:alice">>}) returned {ok,
                                                               <<"o0nhva+B8uAVaubiFE1TKZk2YOI=">>}


*** User 2025-02-10 17:20:32.809 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.808 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.808592 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.808 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.808719 ===
eturnal call ({get_password,<<"1739294432:alice">>}) returned {ok,
                                                               <<"o0nhva+B8uAVaubiFE1TKZk2YOI=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.808 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.808831 ===
Handling API call: get_password("1739294432:alice")


*** User 2025-02-10 17:20:32.809 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.809 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.808944 ===
eturnal call ({get_password,<<"1739294432:alice">>}) returned {ok,
                                                               <<"o0nhva+B8uAVaubiFE1TKZk2YOI=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.809 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.809084 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.809 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.809211 ===
eturnal call ({get_password,<<"1739294432:alice">>}) returned {ok,
                                                               <<"o0nhva+B8uAVaubiFE1TKZk2YOI=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.809 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.809299 ===
Handling API call: get_password("1739294432:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.809 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.809370 ===
eturnal call ({get_password,<<"1739294432:alice">>}) returned {ok,
                                                               <<"o0nhva+B8uAVaubiFE1TKZk2YOI=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.809 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.809481 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.809 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.809572 ===
eturnal call ({get_password,<<"1739294432:alice">>}) returned {ok,
                                                               <<"o0nhva+B8uAVaubiFE1TKZk2YOI=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.809 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.809662 ===
Handling API call: get_password("1739294432:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.809 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.809728 ===
eturnal call ({get_password,<<"1739294432:alice">>}) returned {ok,
                                                               <<"o0nhva+B8uAVaubiFE1TKZk2YOI=">>}


*** User 2025-02-10 17:20:32.810 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.809 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.809830 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.810 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.809964 ===
eturnal call ({get_password,<<"1739294432:alice">>}) returned {ok,
                                                               <<"o0nhva+B8uAVaubiFE1TKZk2YOI=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.810 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.810087 ===
Handling API call: get_password("1739294432:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.810 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.810219 ===
eturnal call ({get_password,<<"1739294432:alice">>}) returned {ok,
                                                               <<"o0nhva+B8uAVaubiFE1TKZk2YOI=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.810 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.810389 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.810 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.810512 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.810 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.810603 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.810 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.810693 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.810 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.810771 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.810 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.810850 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.810 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.810929 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.811 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.811010 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.811 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.811073 ===
Handling API call: get_password([invalid])


*** User 2025-02-10 17:20:32.811 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.811 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.811156 ===
Cannot convert user name to binary: [invalid]


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.811 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.811240 ===
Handling API call: get_credentials([invalid], [])


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.811 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.811331 ===
Invalid argument(s): [invalid]:[]


*** User 2025-02-10 17:20:32.811 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.811 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.811495 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.811 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.811584 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.811 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.811714 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-10 17:20:32.811 ***🔗
=DEBUG REPORT==== 10-Feb-2025::17:20:32.811807 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2025-02-10 17:20:32
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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