=== 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-15_14.01.02/lib.eturnal.logs/run.2024-10-15_14.01.02/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-15_14.01.02/lib.eturnal.logs/run.2024-10-15_14.01.02/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2024-10-15_14.01.02"

=== Started at 2024-10-15 14:01:04


*** User 2024-10-15 14:01:04.936 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.936 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.936066 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.936 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.936240 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2024-10-15 14:01:04.936 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.936 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.936453 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.936 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.936588 ===
eturnal call ({get_password,<<"1729087264:alice">>}) returned {ok,
                                                               <<"vbot8hLuQLKmNPfvDTH6NhbW3XM=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.936 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.936703 ===
Handling API call: get_password("1729087264:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.936 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.936828 ===
eturnal call ({get_password,<<"1729087264:alice">>}) returned {ok,
                                                               <<"vbot8hLuQLKmNPfvDTH6NhbW3XM=">>}


*** User 2024-10-15 14:01:04.936 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.937 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.937007 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.937 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.937124 ===
eturnal call ({get_password,<<"1729087264:alice">>}) returned {ok,
                                                               <<"vbot8hLuQLKmNPfvDTH6NhbW3XM=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.937 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.937232 ===
Handling API call: get_password("1729087264:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.937 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.937350 ===
eturnal call ({get_password,<<"1729087264:alice">>}) returned {ok,
                                                               <<"vbot8hLuQLKmNPfvDTH6NhbW3XM=">>}


*** User 2024-10-15 14:01:04.937 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.937 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.937493 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.937 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.937652 ===
eturnal call ({get_password,<<"1729087264:alice">>}) returned {ok,
                                                               <<"vbot8hLuQLKmNPfvDTH6NhbW3XM=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.937 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.937773 ===
Handling API call: get_password("1729087264:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.937 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.937876 ===
eturnal call ({get_password,<<"1729087264:alice">>}) returned {ok,
                                                               <<"vbot8hLuQLKmNPfvDTH6NhbW3XM=">>}


*** User 2024-10-15 14:01:04.938 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.938 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.938064 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.938 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.938202 ===
eturnal call ({get_password,<<"1729087264:alice">>}) returned {ok,
                                                               <<"vbot8hLuQLKmNPfvDTH6NhbW3XM=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.938 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.938319 ===
Handling API call: get_password("1729087264:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.938 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.938418 ===
eturnal call ({get_password,<<"1729087264:alice">>}) returned {ok,
                                                               <<"vbot8hLuQLKmNPfvDTH6NhbW3XM=">>}


*** User 2024-10-15 14:01:04.938 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.938 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.938569 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.938 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.938693 ===
eturnal call ({get_password,<<"1729087264:alice">>}) returned {ok,
                                                               <<"vbot8hLuQLKmNPfvDTH6NhbW3XM=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.938 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.938822 ===
Handling API call: get_password("1729087264:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.939 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.938970 ===
eturnal call ({get_password,<<"1729087264:alice">>}) returned {ok,
                                                               <<"vbot8hLuQLKmNPfvDTH6NhbW3XM=">>}


*** User 2024-10-15 14:01:04.939 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.939 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.939120 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.939 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.939258 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.939 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.939363 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.939 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.939440 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.939 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.939562 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.939 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.939658 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.939 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.939739 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.939 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.939825 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.939 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.939907 ===
Handling API call: get_password([invalid])


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.940 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.939976 ===
Cannot convert user name to binary: [invalid]


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.940 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.940074 ===
Handling API call: get_credentials([invalid], [])


*** User 2024-10-15 14:01:04.940 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.940 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.940140 ===
Invalid argument(s): [invalid]:[]


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.940 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.940223 ===
Handling API call: get_credentials(1256900400, invalid)


*** User 2024-10-15 14:01:04.940 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.940 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.940324 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.940 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.940475 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-15 14:01:04.940 ***🔗
=DEBUG REPORT==== 15-Oct-2024::14:01:04.940568 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2024-10-15 14:01:04
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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