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

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

=== Started at 2024-10-10 11:41:48


*** User 2024-10-10 11:41:48.908 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

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


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.909 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.908936 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2024-10-10 11:41:48.909 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.909 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.909191 ===
Handling API call: get_credentials("86400", "alice")


*** User 2024-10-10 11:41:48.909 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.909 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.909445 ===
eturnal call ({get_password,<<"1728646908:alice">>}) returned {ok,
                                                               <<"JPbzpgQO5i67Sno0To6M0z+QP/c=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.909 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.909575 ===
Handling API call: get_password("1728646908:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.909 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.909695 ===
eturnal call ({get_password,<<"1728646908:alice">>}) returned {ok,
                                                               <<"JPbzpgQO5i67Sno0To6M0z+QP/c=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.909 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.909913 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.910 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.910054 ===
eturnal call ({get_password,<<"1728646908:alice">>}) returned {ok,
                                                               <<"JPbzpgQO5i67Sno0To6M0z+QP/c=">>}


*** User 2024-10-10 11:41:48.910 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.910 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.910193 ===
Handling API call: get_password("1728646908:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.910 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.910317 ===
eturnal call ({get_password,<<"1728646908:alice">>}) returned {ok,
                                                               <<"JPbzpgQO5i67Sno0To6M0z+QP/c=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.910 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.910491 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.910 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.910630 ===
eturnal call ({get_password,<<"1728646908:alice">>}) returned {ok,
                                                               <<"JPbzpgQO5i67Sno0To6M0z+QP/c=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.910 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.910758 ===
Handling API call: get_password("1728646908:alice")


*** User 2024-10-10 11:41:48.911 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.910 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.910867 ===
eturnal call ({get_password,<<"1728646908:alice">>}) returned {ok,
                                                               <<"JPbzpgQO5i67Sno0To6M0z+QP/c=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.911 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.911040 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.911 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.911211 ===
eturnal call ({get_password,<<"1728646908:alice">>}) returned {ok,
                                                               <<"JPbzpgQO5i67Sno0To6M0z+QP/c=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.911 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.911345 ===
Handling API call: get_password("1728646908:alice")


*** User 2024-10-10 11:41:48.911 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.911 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.911467 ===
eturnal call ({get_password,<<"1728646908:alice">>}) returned {ok,
                                                               <<"JPbzpgQO5i67Sno0To6M0z+QP/c=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.911 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.911663 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.911 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.911818 ===
eturnal call ({get_password,<<"1728646908:alice">>}) returned {ok,
                                                               <<"JPbzpgQO5i67Sno0To6M0z+QP/c=">>}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.912 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.911984 ===
Handling API call: get_password("1728646908:alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.912 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.912134 ===
eturnal call ({get_password,<<"1728646908:alice">>}) returned {ok,
                                                               <<"JPbzpgQO5i67Sno0To6M0z+QP/c=">>}


*** User 2024-10-10 11:41:48.912 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.912 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.912313 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.912 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.912419 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.912 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.912552 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.912 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.912674 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.912 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.912787 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.913 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.912907 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.913 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.913033 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.913 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.913128 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.913 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.913228 ===
Handling API call: get_password([invalid])


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.913 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.913312 ===
Cannot convert user name to binary: [invalid]


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.913 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.913399 ===
Handling API call: get_credentials([invalid], [])


*** User 2024-10-10 11:41:48.913 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.913 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.913509 ===
Invalid argument(s): [invalid]:[]


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.913 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.913654 ===
Handling API call: get_credentials(1256900400, invalid)


*** User 2024-10-10 11:41:48.913 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.913 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.913766 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.913 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.913914 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2024-10-10 11:41:48.914 ***🔗
=DEBUG REPORT==== 10-Oct-2024::11:41:48.914012 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2024-10-10 11:41:48
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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