=== 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-10-21_13.17.57/lib.eturnal.logs/run.2026-10-21_13.17.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.2026-10-21_13.17.57/lib.eturnal.logs/run.2026-10-21_13.17.57/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2026-10-21_13.17.57"

=== Started at 2026-10-21 13:17:59


*** User 2026-10-21 13:17:59.373 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.373 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.373215 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.373 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.373487 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2026-10-21 13:17:59.378 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.378 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.378859 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.379 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.379195 ===
eturnal call ({get_password,<<"1792675079:alice">>}) returned {ok,
                                                               <<"+vFzvPUp47bgn+iC+0f0sAAhKHY=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.379 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.379362 ===
Handling API call: get_password("1792675079:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.379 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.379471 ===
eturnal call ({get_password,<<"1792675079:alice">>}) returned {ok,
                                                               <<"+vFzvPUp47bgn+iC+0f0sAAhKHY=">>}


*** User 2026-10-21 13:17:59.379 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.379 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.379645 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.379 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.379838 ===
eturnal call ({get_password,<<"1792675079:alice">>}) returned {ok,
                                                               <<"+vFzvPUp47bgn+iC+0f0sAAhKHY=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.380 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.380009 ===
Handling API call: get_password("1792675079:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.380 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.380164 ===
eturnal call ({get_password,<<"1792675079:alice">>}) returned {ok,
                                                               <<"+vFzvPUp47bgn+iC+0f0sAAhKHY=">>}


*** User 2026-10-21 13:17:59.380 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.380 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.380379 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.380 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.380533 ===
eturnal call ({get_password,<<"1792675079:alice">>}) returned {ok,
                                                               <<"+vFzvPUp47bgn+iC+0f0sAAhKHY=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.380 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.380687 ===
Handling API call: get_password("1792675079:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.380 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.380810 ===
eturnal call ({get_password,<<"1792675079:alice">>}) returned {ok,
                                                               <<"+vFzvPUp47bgn+iC+0f0sAAhKHY=">>}


*** User 2026-10-21 13:17:59.380 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.381 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.380978 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.381 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.381106 ===
eturnal call ({get_password,<<"1792675079:alice">>}) returned {ok,
                                                               <<"+vFzvPUp47bgn+iC+0f0sAAhKHY=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.381 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.381213 ===
Handling API call: get_password("1792675079:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.381 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.381345 ===
eturnal call ({get_password,<<"1792675079:alice">>}) returned {ok,
                                                               <<"+vFzvPUp47bgn+iC+0f0sAAhKHY=">>}


*** User 2026-10-21 13:17:59.381 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.381 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.381539 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.381 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.381688 ===
eturnal call ({get_password,<<"1792675079:alice">>}) returned {ok,
                                                               <<"+vFzvPUp47bgn+iC+0f0sAAhKHY=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.381 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.381840 ===
Handling API call: get_password("1792675079:alice")


*** User 2026-10-21 13:17:59.382 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.382 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.381951 ===
eturnal call ({get_password,<<"1792675079:alice">>}) returned {ok,
                                                               <<"+vFzvPUp47bgn+iC+0f0sAAhKHY=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.382 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.382084 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.382 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.382200 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.382 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.382327 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.382 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.382421 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.382 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.382484 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.382 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.382537 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.382 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.382588 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.382 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.382637 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.382 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.382689 ===
Handling API call: get_password([invalid])


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.382 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.382789 ===
Cannot convert user name to binary: [invalid]


*** User 2026-10-21 13:17:59.383 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.382 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.382886 ===
Handling API call: get_credentials([invalid], [])


*** User 2026-10-21 13:17:59.383 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.383 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.382967 ===
Invalid argument(s): [invalid]:[]


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.383 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.383092 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.383 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.383151 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.383 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.383248 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-21 13:17:59.383 ***🔗
=DEBUG REPORT==== 21-Oct-2026::13:17:59.383370 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2026-10-21 13:17:59
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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