=== 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-18_18.16.56/lib.eturnal.logs/run.2026-10-18_18.16.56/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-18_18.16.56/lib.eturnal.logs/run.2026-10-18_18.16.56/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2026-10-18_18.16.56"

=== Started at 2026-10-18 18:16:58


*** User 2026-10-18 18:16:58.245 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.245 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.245591 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.245 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.245819 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2026-10-18 18:16:58.249 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.249 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.249116 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.249 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.249370 ===
eturnal call ({get_password,<<"1792433818:alice">>}) returned {ok,
                                                               <<"NFKlCwOzdoCZBHwQkqLSiwzXEfE=">>}


*** User 2026-10-18 18:16:58.249 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.249 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.249551 ===
Handling API call: get_password("1792433818:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.249 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.249674 ===
eturnal call ({get_password,<<"1792433818:alice">>}) returned {ok,
                                                               <<"NFKlCwOzdoCZBHwQkqLSiwzXEfE=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.249 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.249844 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.250 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.249985 ===
eturnal call ({get_password,<<"1792433818:alice">>}) returned {ok,
                                                               <<"NFKlCwOzdoCZBHwQkqLSiwzXEfE=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.250 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.250116 ===
Handling API call: get_password("1792433818:alice")


*** User 2026-10-18 18:16:58.250 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.250 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.250232 ===
eturnal call ({get_password,<<"1792433818:alice">>}) returned {ok,
                                                               <<"NFKlCwOzdoCZBHwQkqLSiwzXEfE=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.250 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.250426 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.250 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.250579 ===
eturnal call ({get_password,<<"1792433818:alice">>}) returned {ok,
                                                               <<"NFKlCwOzdoCZBHwQkqLSiwzXEfE=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.250 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.250695 ===
Handling API call: get_password("1792433818:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.250 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.250825 ===
eturnal call ({get_password,<<"1792433818:alice">>}) returned {ok,
                                                               <<"NFKlCwOzdoCZBHwQkqLSiwzXEfE=">>}


*** User 2026-10-18 18:16:58.250 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.251 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.250978 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.251 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.251072 ===
eturnal call ({get_password,<<"1792433818:alice">>}) returned {ok,
                                                               <<"NFKlCwOzdoCZBHwQkqLSiwzXEfE=">>}


*** User 2026-10-18 18:16:58.251 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.251 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.251156 ===
Handling API call: get_password("1792433818:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.251 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.251234 ===
eturnal call ({get_password,<<"1792433818:alice">>}) returned {ok,
                                                               <<"NFKlCwOzdoCZBHwQkqLSiwzXEfE=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.251 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.251374 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.251 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.251465 ===
eturnal call ({get_password,<<"1792433818:alice">>}) returned {ok,
                                                               <<"NFKlCwOzdoCZBHwQkqLSiwzXEfE=">>}


*** User 2026-10-18 18:16:58.251 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.251 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.251564 ===
Handling API call: get_password("1792433818:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.251 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.251694 ===
eturnal call ({get_password,<<"1792433818:alice">>}) returned {ok,
                                                               <<"NFKlCwOzdoCZBHwQkqLSiwzXEfE=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.251 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.251879 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.252 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.252027 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.252 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.252140 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.252 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.252230 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.252 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.252321 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.252 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.252450 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.252 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.252532 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.252 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.252593 ===
Invalid argument(s): invalid:[]


*** User 2026-10-18 18:16:58.252 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.252 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.252650 ===
Handling API call: get_password([invalid])


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.252 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.252723 ===
Cannot convert user name to binary: [invalid]


*** User 2026-10-18 18:16:58.253 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.252 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.252778 ===
Handling API call: get_credentials([invalid], [])


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.252 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.252870 ===
Invalid argument(s): [invalid]:[]


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.253 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.252998 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.253 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.253083 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.253 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.253190 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:16:58.253 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:16:58.253271 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2026-10-18 18:16:58
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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