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

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

=== Started at 2026-10-18 18:19:17


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

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


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


*** User 2026-10-18 18:19:17.903 ***🔗
Checking credentials valid for 86400

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


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:19:17.903 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:19:17.903369 ===
eturnal call ({get_password,<<"1792433957:alice">>}) returned {ok,
                                                               <<"Gajo97C4xl/cJ/lOaCHP1OtqMB8=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:19:17.903 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:19:17.903500 ===
Handling API call: get_password("1792433957:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:19:17.903 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:19:17.903592 ===
eturnal call ({get_password,<<"1792433957:alice">>}) returned {ok,
                                                               <<"Gajo97C4xl/cJ/lOaCHP1OtqMB8=">>}


*** User 2026-10-18 18:19:17.903 ***🔗
Checking credentials valid for 86400s

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


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:19:17.903 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:19:17.903925 ===
eturnal call ({get_password,<<"1792433957:alice">>}) returned {ok,
                                                               <<"Gajo97C4xl/cJ/lOaCHP1OtqMB8=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:19:17.904 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:19:17.904020 ===
Handling API call: get_password("1792433957:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:19:17.904 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:19:17.904105 ===
eturnal call ({get_password,<<"1792433957:alice">>}) returned {ok,
                                                               <<"Gajo97C4xl/cJ/lOaCHP1OtqMB8=">>}


*** User 2026-10-18 18:19:17.904 ***🔗
Checking credentials valid for 1440m

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


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:19:17.904 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:19:17.904316 ===
eturnal call ({get_password,<<"1792433957:alice">>}) returned {ok,
                                                               <<"Gajo97C4xl/cJ/lOaCHP1OtqMB8=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:19:17.904 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:19:17.904400 ===
Handling API call: get_password("1792433957:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:19:17.904 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:19:17.904494 ===
eturnal call ({get_password,<<"1792433957:alice">>}) returned {ok,
                                                               <<"Gajo97C4xl/cJ/lOaCHP1OtqMB8=">>}


*** User 2026-10-18 18:19:17.904 ***🔗
Checking credentials valid for 24h

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


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:19:17.904 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:19:17.904770 ===
eturnal call ({get_password,<<"1792433957:alice">>}) returned {ok,
                                                               <<"Gajo97C4xl/cJ/lOaCHP1OtqMB8=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:19:17.904 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:19:17.904877 ===
Handling API call: get_password("1792433957:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:19:17.905 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:19:17.904967 ===
eturnal call ({get_password,<<"1792433957:alice">>}) returned {ok,
                                                               <<"Gajo97C4xl/cJ/lOaCHP1OtqMB8=">>}


*** User 2026-10-18 18:19:17.905 ***🔗
Checking credentials valid for 1d

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


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:19:17.905 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:19:17.905196 ===
eturnal call ({get_password,<<"1792433957:alice">>}) returned {ok,
                                                               <<"Gajo97C4xl/cJ/lOaCHP1OtqMB8=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:19:17.905 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:19:17.905304 ===
Handling API call: get_password("1792433957:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-10-18 18:19:17.905 ***🔗
=DEBUG REPORT==== 18-Oct-2026::18:19:17.905378 ===
eturnal call ({get_password,<<"1792433957:alice">>}) returned {ok,
                                                               <<"Gajo97C4xl/cJ/lOaCHP1OtqMB8=">>}


*** User 2026-10-18 18:19:17.905 ***🔗
Checking invalid expiry

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


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


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


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


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


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


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


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


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


*** User 2026-10-18 18:19:17.906 ***🔗
Checking invalid suffix

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


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


*** User 2026-10-18 18:19:17.906 ***🔗
Checking static credentials

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


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


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


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


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




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


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