=== 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_17.18.58/lib.eturnal.logs/run.2026-09-17_17.18.58/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_17.18.58/lib.eturnal.logs/run.2026-09-17_17.18.58/log_private/"}]

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

=== Started at 2026-09-17 17:19:00


*** User 2026-09-17 17:19:00.374 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

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


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


*** User 2026-09-17 17:19:00.380 ***🔗
Checking credentials valid for 86400

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


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.380 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.380606 ===
eturnal call ({get_password,<<"1789751940:alice">>}) returned {ok,
                                                               <<"EUx1XVRSRgJM2HU0ryUAo/nn1pQ=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.380 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.380756 ===
Handling API call: get_password("1789751940:alice")


*** User 2026-09-17 17:19:00.380 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.380 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.380851 ===
eturnal call ({get_password,<<"1789751940:alice">>}) returned {ok,
                                                               <<"EUx1XVRSRgJM2HU0ryUAo/nn1pQ=">>}


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


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.381 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.381146 ===
eturnal call ({get_password,<<"1789751940:alice">>}) returned {ok,
                                                               <<"EUx1XVRSRgJM2HU0ryUAo/nn1pQ=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.381 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.381286 ===
Handling API call: get_password("1789751940:alice")


*** User 2026-09-17 17:19:00.381 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.381 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.381404 ===
eturnal call ({get_password,<<"1789751940:alice">>}) returned {ok,
                                                               <<"EUx1XVRSRgJM2HU0ryUAo/nn1pQ=">>}


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


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.381 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.381674 ===
eturnal call ({get_password,<<"1789751940:alice">>}) returned {ok,
                                                               <<"EUx1XVRSRgJM2HU0ryUAo/nn1pQ=">>}


*** User 2026-09-17 17:19:00.382 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.381 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.381827 ===
Handling API call: get_password("1789751940:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.382 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.381935 ===
eturnal call ({get_password,<<"1789751940:alice">>}) returned {ok,
                                                               <<"EUx1XVRSRgJM2HU0ryUAo/nn1pQ=">>}


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


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.382 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.382269 ===
eturnal call ({get_password,<<"1789751940:alice">>}) returned {ok,
                                                               <<"EUx1XVRSRgJM2HU0ryUAo/nn1pQ=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.382 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.382399 ===
Handling API call: get_password("1789751940:alice")


*** User 2026-09-17 17:19:00.382 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.382 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.382520 ===
eturnal call ({get_password,<<"1789751940:alice">>}) returned {ok,
                                                               <<"EUx1XVRSRgJM2HU0ryUAo/nn1pQ=">>}


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


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.382 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.382871 ===
eturnal call ({get_password,<<"1789751940:alice">>}) returned {ok,
                                                               <<"EUx1XVRSRgJM2HU0ryUAo/nn1pQ=">>}


*** User 2026-09-17 17:19:00.383 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.383 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.383014 ===
Handling API call: get_password("1789751940:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.383 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.383126 ===
eturnal call ({get_password,<<"1789751940:alice">>}) returned {ok,
                                                               <<"EUx1XVRSRgJM2HU0ryUAo/nn1pQ=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.383 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.383290 ===
Handling API call: get_password("Invalid")


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


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


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.383 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.383608 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.383 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.383689 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.383 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.383801 ===
Cannot convert user name to binary: invalid


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


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.384 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.383985 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.384 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.384068 ===
Handling API call: get_password([invalid])


*** User 2026-09-17 17:19:00.384 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.384 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.384162 ===
Cannot convert user name to binary: [invalid]


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


*** User 2026-09-17 17:19:00.384 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.384 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.384358 ===
Invalid argument(s): [invalid]:[]


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.384 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.384513 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.384 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.384623 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 17:19:00.384 ***🔗
=DEBUG REPORT==== 17-Sep-2026::17:19:00.384794 ===
Handling API call: get_password("alice")


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




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


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