=== 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_20.52.55/lib.eturnal.logs/run.2024-10-24_20.52.55/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_20.52.55/lib.eturnal.logs/run.2024-10-24_20.52.55/log_private/"}]

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

=== Started at 2024-10-24 20:52:57


*** User 2024-10-24 20:52:57.514 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

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


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


*** User 2024-10-24 20:52:57.514 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.514 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.514418 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.514 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.514598 ===
eturnal call ({get_password,<<"1729889577:alice">>}) returned {ok,
                                                               <<"SeP9qSxL+F0UK01MHhhaRO0LyCM=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.514 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.514741 ===
Handling API call: get_password("1729889577:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.514 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.514867 ===
eturnal call ({get_password,<<"1729889577:alice">>}) returned {ok,
                                                               <<"SeP9qSxL+F0UK01MHhhaRO0LyCM=">>}


*** User 2024-10-24 20:52:57.515 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.515 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.515065 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.515 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.515181 ===
eturnal call ({get_password,<<"1729889577:alice">>}) returned {ok,
                                                               <<"SeP9qSxL+F0UK01MHhhaRO0LyCM=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.515 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.515299 ===
Handling API call: get_password("1729889577:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.515 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.515410 ===
eturnal call ({get_password,<<"1729889577:alice">>}) returned {ok,
                                                               <<"SeP9qSxL+F0UK01MHhhaRO0LyCM=">>}


*** User 2024-10-24 20:52:57.515 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.515 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.515569 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.515 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.515684 ===
eturnal call ({get_password,<<"1729889577:alice">>}) returned {ok,
                                                               <<"SeP9qSxL+F0UK01MHhhaRO0LyCM=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.515 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.515797 ===
Handling API call: get_password("1729889577:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.515 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.515877 ===
eturnal call ({get_password,<<"1729889577:alice">>}) returned {ok,
                                                               <<"SeP9qSxL+F0UK01MHhhaRO0LyCM=">>}


*** User 2024-10-24 20:52:57.515 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.516 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.515987 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.516 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.516088 ===
eturnal call ({get_password,<<"1729889577:alice">>}) returned {ok,
                                                               <<"SeP9qSxL+F0UK01MHhhaRO0LyCM=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.516 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.516177 ===
Handling API call: get_password("1729889577:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.516 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.516246 ===
eturnal call ({get_password,<<"1729889577:alice">>}) returned {ok,
                                                               <<"SeP9qSxL+F0UK01MHhhaRO0LyCM=">>}


*** User 2024-10-24 20:52:57.516 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.516 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.516407 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.516 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.516519 ===
eturnal call ({get_password,<<"1729889577:alice">>}) returned {ok,
                                                               <<"SeP9qSxL+F0UK01MHhhaRO0LyCM=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.516 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.516623 ===
Handling API call: get_password("1729889577:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.516 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.516733 ===
eturnal call ({get_password,<<"1729889577:alice">>}) returned {ok,
                                                               <<"SeP9qSxL+F0UK01MHhhaRO0LyCM=">>}


*** User 2024-10-24 20:52:57.516 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.516 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.516875 ===
Handling API call: get_password("Invalid")


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


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.517 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.517047 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.517 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.517135 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.517 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.517188 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.517 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.517262 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.517 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.517312 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.517 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.517360 ===
Invalid argument(s): invalid:[]


*** User 2024-10-24 20:52:57.517 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.517 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.517408 ===
Handling API call: get_password([invalid])


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.517 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.517462 ===
Cannot convert user name to binary: [invalid]


*** User 2024-10-24 20:52:57.517 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.517 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.517513 ===
Handling API call: get_credentials([invalid], [])


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.517 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.517595 ===
Invalid argument(s): [invalid]:[]


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.517 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.517687 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.517 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.517761 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2024-10-24 20:52:57.517 ***🔗
=DEBUG REPORT==== 24-Oct-2024::20:52:57.517847 ===
Handling API call: get_password("alice")


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




=== Ended at 2024-10-24 20:52:57
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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