=== 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-09-20_16.10.25/lib.eturnal.logs/run.2024-09-20_16.10.25/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-09-20_16.10.25/lib.eturnal.logs/run.2024-09-20_16.10.25/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2024-09-20_16.10.25"

=== Started at 2024-09-20 16:10:32


*** User 2024-09-20 16:10:32.747 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.747 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.747183 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.747 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.747343 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2024-09-20 16:10:32.747 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.747 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.747569 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.747 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.747731 ===
eturnal call ({get_password,<<"1726935032:alice">>}) returned {ok,
                                                               <<"u7OGEqhSZDuiJFA09izYhdtbalg=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.747 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.747882 ===
Handling API call: get_password("1726935032:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.748 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.748007 ===
eturnal call ({get_password,<<"1726935032:alice">>}) returned {ok,
                                                               <<"u7OGEqhSZDuiJFA09izYhdtbalg=">>}


*** User 2024-09-20 16:10:32.748 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.748 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.748195 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.748 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.748340 ===
eturnal call ({get_password,<<"1726935032:alice">>}) returned {ok,
                                                               <<"u7OGEqhSZDuiJFA09izYhdtbalg=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.748 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.748472 ===
Handling API call: get_password("1726935032:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.748 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.748593 ===
eturnal call ({get_password,<<"1726935032:alice">>}) returned {ok,
                                                               <<"u7OGEqhSZDuiJFA09izYhdtbalg=">>}


*** User 2024-09-20 16:10:32.748 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.748 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.748776 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.749 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.748915 ===
eturnal call ({get_password,<<"1726935032:alice">>}) returned {ok,
                                                               <<"u7OGEqhSZDuiJFA09izYhdtbalg=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.749 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.749043 ===
Handling API call: get_password("1726935032:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.749 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.749159 ===
eturnal call ({get_password,<<"1726935032:alice">>}) returned {ok,
                                                               <<"u7OGEqhSZDuiJFA09izYhdtbalg=">>}


*** User 2024-09-20 16:10:32.749 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.749 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.749350 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.749 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.749494 ===
eturnal call ({get_password,<<"1726935032:alice">>}) returned {ok,
                                                               <<"u7OGEqhSZDuiJFA09izYhdtbalg=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.749 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.749639 ===
Handling API call: get_password("1726935032:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.749 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.749764 ===
eturnal call ({get_password,<<"1726935032:alice">>}) returned {ok,
                                                               <<"u7OGEqhSZDuiJFA09izYhdtbalg=">>}


*** User 2024-09-20 16:10:32.749 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.750 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.749929 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.750 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.750064 ===
eturnal call ({get_password,<<"1726935032:alice">>}) returned {ok,
                                                               <<"u7OGEqhSZDuiJFA09izYhdtbalg=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.750 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.750190 ===
Handling API call: get_password("1726935032:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.750 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.750312 ===
eturnal call ({get_password,<<"1726935032:alice">>}) returned {ok,
                                                               <<"u7OGEqhSZDuiJFA09izYhdtbalg=">>}


*** User 2024-09-20 16:10:32.750 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.750 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.750457 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.750 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.750586 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.750 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.750712 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.750 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.750805 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.750 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.750913 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.751 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.751009 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.751 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.751079 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.751 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.751190 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.751 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.751279 ===
Handling API call: get_password([invalid])


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.751 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.751366 ===
Cannot convert user name to binary: [invalid]


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.751 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.751469 ===
Handling API call: get_credentials([invalid], [])


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.751 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.751566 ===
Invalid argument(s): [invalid]:[]


*** User 2024-09-20 16:10:32.751 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.751 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.751702 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.751 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.751802 ===
Invalid argument(s): 1256900400:invalid


*** User 2024-09-20 16:10:32.751 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.752 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.751941 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-09-20 16:10:32.752 ***🔗
=DEBUG REPORT==== 20-Sep-2024::16:10:32.752077 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2024-09-20 16:10:32
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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