=== 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-11-15_13.36.33/lib.eturnal.logs/run.2024-11-15_13.36.33/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-11-15_13.36.33/lib.eturnal.logs/run.2024-11-15_13.36.33/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2024-11-15_13.36.33"

=== Started at 2024-11-15 13:36:35


*** User 2024-11-15 13:36:35.585 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.586 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.585908 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.586 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.586070 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2024-11-15 13:36:35.586 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.586 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.586277 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.586 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.586462 ===
eturnal call ({get_password,<<"1731764195:alice">>}) returned {ok,
                                                               <<"8cFw3YW59yrbonAK2iGz5HG4CmA=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.586 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.586624 ===
Handling API call: get_password("1731764195:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.586 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.586757 ===
eturnal call ({get_password,<<"1731764195:alice">>}) returned {ok,
                                                               <<"8cFw3YW59yrbonAK2iGz5HG4CmA=">>}


*** User 2024-11-15 13:36:35.586 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.587 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.586965 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.587 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.587084 ===
eturnal call ({get_password,<<"1731764195:alice">>}) returned {ok,
                                                               <<"8cFw3YW59yrbonAK2iGz5HG4CmA=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.587 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.587193 ===
Handling API call: get_password("1731764195:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.587 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.587299 ===
eturnal call ({get_password,<<"1731764195:alice">>}) returned {ok,
                                                               <<"8cFw3YW59yrbonAK2iGz5HG4CmA=">>}


*** User 2024-11-15 13:36:35.587 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.587 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.587441 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.587 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.587559 ===
eturnal call ({get_password,<<"1731764195:alice">>}) returned {ok,
                                                               <<"8cFw3YW59yrbonAK2iGz5HG4CmA=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.587 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.587671 ===
Handling API call: get_password("1731764195:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.587 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.587761 ===
eturnal call ({get_password,<<"1731764195:alice">>}) returned {ok,
                                                               <<"8cFw3YW59yrbonAK2iGz5HG4CmA=">>}


*** User 2024-11-15 13:36:35.587 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.587 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.587894 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.588 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.587994 ===
eturnal call ({get_password,<<"1731764195:alice">>}) returned {ok,
                                                               <<"8cFw3YW59yrbonAK2iGz5HG4CmA=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.588 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.588096 ===
Handling API call: get_password("1731764195:alice")


*** User 2024-11-15 13:36:35.588 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.588 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.588169 ===
eturnal call ({get_password,<<"1731764195:alice">>}) returned {ok,
                                                               <<"8cFw3YW59yrbonAK2iGz5HG4CmA=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.588 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.588293 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.588 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.588383 ===
eturnal call ({get_password,<<"1731764195:alice">>}) returned {ok,
                                                               <<"8cFw3YW59yrbonAK2iGz5HG4CmA=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.588 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.588465 ===
Handling API call: get_password("1731764195:alice")


*** User 2024-11-15 13:36:35.588 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.588 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.588549 ===
eturnal call ({get_password,<<"1731764195:alice">>}) returned {ok,
                                                               <<"8cFw3YW59yrbonAK2iGz5HG4CmA=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.588 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.588656 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.588 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.588723 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.588 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.588819 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.588 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.588923 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.589 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.589006 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.589 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.589143 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.589 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.589208 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.589 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.589290 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.589 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.589355 ===
Handling API call: get_password([invalid])


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.589 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.589413 ===
Cannot convert user name to binary: [invalid]


*** User 2024-11-15 13:36:35.589 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.589 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.589467 ===
Handling API call: get_credentials([invalid], [])


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.589 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.589531 ===
Invalid argument(s): [invalid]:[]


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.589 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.589643 ===
Handling API call: get_credentials(1256900400, invalid)


*** User 2024-11-15 13:36:35.589 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.589 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.589743 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.589 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.589881 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-11-15 13:36:35.590 ***🔗
=DEBUG REPORT==== 15-Nov-2024::13:36:35.589976 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2024-11-15 13:36:35
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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