=== 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-18_12.58.41/lib.eturnal.logs/run.2026-09-18_12.58.41/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-18_12.58.41/lib.eturnal.logs/run.2026-09-18_12.58.41/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2026-09-18_12.58.41"

=== Started at 2026-09-18 12:58:43


*** User 2026-09-18 12:58:43.083 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.083 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.083874 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.084 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.084067 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2026-09-18 12:58:43.087 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.087 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.087221 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.087 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.087378 ===
eturnal call ({get_password,<<"1789822723:alice">>}) returned {ok,
                                                               <<"tRCffBubG/dKvUvZPuNwk5lGrI4=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.087 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.087548 ===
Handling API call: get_password("1789822723:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.087 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.087673 ===
eturnal call ({get_password,<<"1789822723:alice">>}) returned {ok,
                                                               <<"tRCffBubG/dKvUvZPuNwk5lGrI4=">>}


*** User 2026-09-18 12:58:43.087 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.087 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.087876 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.088 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.088003 ===
eturnal call ({get_password,<<"1789822723:alice">>}) returned {ok,
                                                               <<"tRCffBubG/dKvUvZPuNwk5lGrI4=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.088 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.088128 ===
Handling API call: get_password("1789822723:alice")


*** User 2026-09-18 12:58:43.088 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.088 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.088252 ===
eturnal call ({get_password,<<"1789822723:alice">>}) returned {ok,
                                                               <<"tRCffBubG/dKvUvZPuNwk5lGrI4=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.088 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.088416 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.088 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.088567 ===
eturnal call ({get_password,<<"1789822723:alice">>}) returned {ok,
                                                               <<"tRCffBubG/dKvUvZPuNwk5lGrI4=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.088 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.088701 ===
Handling API call: get_password("1789822723:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.088 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.088819 ===
eturnal call ({get_password,<<"1789822723:alice">>}) returned {ok,
                                                               <<"tRCffBubG/dKvUvZPuNwk5lGrI4=">>}


*** User 2026-09-18 12:58:43.088 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.089 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.089006 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.089 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.089144 ===
eturnal call ({get_password,<<"1789822723:alice">>}) returned {ok,
                                                               <<"tRCffBubG/dKvUvZPuNwk5lGrI4=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.089 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.089278 ===
Handling API call: get_password("1789822723:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.089 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.089397 ===
eturnal call ({get_password,<<"1789822723:alice">>}) returned {ok,
                                                               <<"tRCffBubG/dKvUvZPuNwk5lGrI4=">>}


*** User 2026-09-18 12:58:43.089 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.089 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.089562 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.089 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.089679 ===
eturnal call ({get_password,<<"1789822723:alice">>}) returned {ok,
                                                               <<"tRCffBubG/dKvUvZPuNwk5lGrI4=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.089 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.089785 ===
Handling API call: get_password("1789822723:alice")


*** User 2026-09-18 12:58:43.090 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.089 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.089901 ===
eturnal call ({get_password,<<"1789822723:alice">>}) returned {ok,
                                                               <<"tRCffBubG/dKvUvZPuNwk5lGrI4=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.090 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.090019 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.090 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.090097 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.090 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.090166 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.090 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.090221 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.090 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.090272 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.090 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.090323 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.090 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.090380 ===
Handling API call: get_credentials(invalid, [])


*** User 2026-09-18 12:58:43.090 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.090 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.090440 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.090 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.090492 ===
Handling API call: get_password([invalid])


*** User 2026-09-18 12:58:43.091 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.090 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.090543 ===
Cannot convert user name to binary: [invalid]


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.090 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.090630 ===
Handling API call: get_credentials([invalid], [])


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.090 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.090743 ===
Invalid argument(s): [invalid]:[]


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.091 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.090929 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.091 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.091033 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.091 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.091164 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-18 12:58:43.091 ***🔗
=DEBUG REPORT==== 18-Sep-2026::12:58:43.091287 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




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


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