=== 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.924.0>},
     {tc_logfile,"/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2026-09-17_20.44.46/lib.eturnal.logs/run.2026-09-17_20.44.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.2026-09-17_20.44.46/lib.eturnal.logs/run.2026-09-17_20.44.47/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2026-09-17_20.44.46"

=== Started at 2026-09-17 20:44:47


*** User 2026-09-17 20:44:47.851 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.852 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.851953 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.852 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.852118 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2026-09-17 20:44:47.853 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.853 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.853852 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.854 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.853948 ===
eturnal call ({get_password,<<"1789764287:alice">>}) returned {ok,
                                                               <<"B+jxEM3vqsm++MiU7wngR6So/Lk=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.854 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.854017 ===
Handling API call: get_password("1789764287:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.854 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.854084 ===
eturnal call ({get_password,<<"1789764287:alice">>}) returned {ok,
                                                               <<"B+jxEM3vqsm++MiU7wngR6So/Lk=">>}


*** User 2026-09-17 20:44:47.854 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.854 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.854176 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.854 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.854254 ===
eturnal call ({get_password,<<"1789764287:alice">>}) returned {ok,
                                                               <<"B+jxEM3vqsm++MiU7wngR6So/Lk=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.854 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.854308 ===
Handling API call: get_password("1789764287:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.854 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.854348 ===
eturnal call ({get_password,<<"1789764287:alice">>}) returned {ok,
                                                               <<"B+jxEM3vqsm++MiU7wngR6So/Lk=">>}


*** User 2026-09-17 20:44:47.854 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.854 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.854407 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.854 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.854450 ===
eturnal call ({get_password,<<"1789764287:alice">>}) returned {ok,
                                                               <<"B+jxEM3vqsm++MiU7wngR6So/Lk=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.854 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.854492 ===
Handling API call: get_password("1789764287:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.854 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.854533 ===
eturnal call ({get_password,<<"1789764287:alice">>}) returned {ok,
                                                               <<"B+jxEM3vqsm++MiU7wngR6So/Lk=">>}


*** User 2026-09-17 20:44:47.854 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.854 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.854599 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.854 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.854642 ===
eturnal call ({get_password,<<"1789764287:alice">>}) returned {ok,
                                                               <<"B+jxEM3vqsm++MiU7wngR6So/Lk=">>}


*** User 2026-09-17 20:44:47.854 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.854 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.854676 ===
Handling API call: get_password("1789764287:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.854 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.854705 ===
eturnal call ({get_password,<<"1789764287:alice">>}) returned {ok,
                                                               <<"B+jxEM3vqsm++MiU7wngR6So/Lk=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.854 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.854745 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.854 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.854812 ===
eturnal call ({get_password,<<"1789764287:alice">>}) returned {ok,
                                                               <<"B+jxEM3vqsm++MiU7wngR6So/Lk=">>}


*** User 2026-09-17 20:44:47.854 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.854 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.854877 ===
Handling API call: get_password("1789764287:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.854 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.854915 ===
eturnal call ({get_password,<<"1789764287:alice">>}) returned {ok,
                                                               <<"B+jxEM3vqsm++MiU7wngR6So/Lk=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.855 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.854973 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.855 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.855022 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.855 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.855059 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.855 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.855097 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.855 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.855134 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.855 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.855171 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.855 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.855209 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.855 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.855261 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.855 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.855306 ===
Handling API call: get_password([invalid])


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.855 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.855342 ===
Cannot convert user name to binary: [invalid]


*** User 2026-09-17 20:44:47.855 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.855 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.855374 ===
Handling API call: get_credentials([invalid], [])


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.855 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.855414 ===
Invalid argument(s): [invalid]:[]


*** User 2026-09-17 20:44:47.855 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.855 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.855477 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.855 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.855522 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.855 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.855574 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:44:47.855 ***🔗
=DEBUG REPORT==== 17-Sep-2026::20:44:47.855612 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2026-09-17 20:44:47
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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