=== 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.2025-02-07_12.15.57/lib.eturnal.logs/run.2025-02-07_12.15.57/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.2025-02-07_12.15.57/lib.eturnal.logs/run.2025-02-07_12.15.57/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-02-07_12.15.57"

=== Started at 2025-02-07 12:16:00


*** User 2025-02-07 12:16:00.038 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.038 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.038844 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.039 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.039030 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2025-02-07 12:16:00.039 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.039 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.039255 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.039 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.039396 ===
eturnal call ({get_password,<<"1739016960:alice">>}) returned {ok,
                                                               <<"3AnLNe3lzLiYT0/r/vqfPK5jEzg=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.039 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.039527 ===
Handling API call: get_password("1739016960:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.039 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.039663 ===
eturnal call ({get_password,<<"1739016960:alice">>}) returned {ok,
                                                               <<"3AnLNe3lzLiYT0/r/vqfPK5jEzg=">>}


*** User 2025-02-07 12:16:00.039 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.039 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.039848 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.040 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.039978 ===
eturnal call ({get_password,<<"1739016960:alice">>}) returned {ok,
                                                               <<"3AnLNe3lzLiYT0/r/vqfPK5jEzg=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.040 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.040098 ===
Handling API call: get_password("1739016960:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.040 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.040193 ===
eturnal call ({get_password,<<"1739016960:alice">>}) returned {ok,
                                                               <<"3AnLNe3lzLiYT0/r/vqfPK5jEzg=">>}


*** User 2025-02-07 12:16:00.040 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.040 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.040353 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.040 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.040470 ===
eturnal call ({get_password,<<"1739016960:alice">>}) returned {ok,
                                                               <<"3AnLNe3lzLiYT0/r/vqfPK5jEzg=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.040 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.040594 ===
Handling API call: get_password("1739016960:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.040 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.040694 ===
eturnal call ({get_password,<<"1739016960:alice">>}) returned {ok,
                                                               <<"3AnLNe3lzLiYT0/r/vqfPK5jEzg=">>}


*** User 2025-02-07 12:16:00.040 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.040 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.040837 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.041 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.040952 ===
eturnal call ({get_password,<<"1739016960:alice">>}) returned {ok,
                                                               <<"3AnLNe3lzLiYT0/r/vqfPK5jEzg=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.041 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.041062 ===
Handling API call: get_password("1739016960:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.041 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.041173 ===
eturnal call ({get_password,<<"1739016960:alice">>}) returned {ok,
                                                               <<"3AnLNe3lzLiYT0/r/vqfPK5jEzg=">>}


*** User 2025-02-07 12:16:00.041 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.041 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.041318 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.041 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.041442 ===
eturnal call ({get_password,<<"1739016960:alice">>}) returned {ok,
                                                               <<"3AnLNe3lzLiYT0/r/vqfPK5jEzg=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.041 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.041550 ===
Handling API call: get_password("1739016960:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.041 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.041640 ===
eturnal call ({get_password,<<"1739016960:alice">>}) returned {ok,
                                                               <<"3AnLNe3lzLiYT0/r/vqfPK5jEzg=">>}


*** User 2025-02-07 12:16:00.041 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.041 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.041785 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.041 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.041895 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.042 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.041989 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.042 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.042074 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.042 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.042154 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.042 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.042253 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.042 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.042323 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.042 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.042402 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.042 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.042472 ===
Handling API call: get_password([invalid])


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.042 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.042556 ===
Cannot convert user name to binary: [invalid]


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.042 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.042650 ===
Handling API call: get_credentials([invalid], [])


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.042 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.042723 ===
Invalid argument(s): [invalid]:[]


*** User 2025-02-07 12:16:00.042 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.042 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.042827 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.042 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.042891 ===
Invalid argument(s): 1256900400:invalid


*** User 2025-02-07 12:16:00.043 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.043 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.043046 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 12:16:00.043 ***🔗
=DEBUG REPORT==== 7-Feb-2025::12:16:00.043143 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2025-02-07 12:16:00
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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