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

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

=== Started at 2026-09-17 16:26:12


*** User 2026-09-17 16:26:12.653 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

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


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


*** User 2026-09-17 16:26:12.657 ***🔗
Checking credentials valid for 86400

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


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.657 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.657664 ===
eturnal call ({get_password,<<"1789748772:alice">>}) returned {ok,
                                                               <<"ZGTfqr/27S8A2pTbalQV1jk4vkg=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.657 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.657793 ===
Handling API call: get_password("1789748772:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.657 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.657891 ===
eturnal call ({get_password,<<"1789748772:alice">>}) returned {ok,
                                                               <<"ZGTfqr/27S8A2pTbalQV1jk4vkg=">>}


*** User 2026-09-17 16:26:12.658 ***🔗
Checking credentials valid for 86400s

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


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.658 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.658143 ===
eturnal call ({get_password,<<"1789748772:alice">>}) returned {ok,
                                                               <<"ZGTfqr/27S8A2pTbalQV1jk4vkg=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.658 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.658234 ===
Handling API call: get_password("1789748772:alice")


*** User 2026-09-17 16:26:12.658 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.658 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.658325 ===
eturnal call ({get_password,<<"1789748772:alice">>}) returned {ok,
                                                               <<"ZGTfqr/27S8A2pTbalQV1jk4vkg=">>}


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


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.658 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.658520 ===
eturnal call ({get_password,<<"1789748772:alice">>}) returned {ok,
                                                               <<"ZGTfqr/27S8A2pTbalQV1jk4vkg=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.658 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.658604 ===
Handling API call: get_password("1789748772:alice")


*** User 2026-09-17 16:26:12.658 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.658 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.658667 ===
eturnal call ({get_password,<<"1789748772:alice">>}) returned {ok,
                                                               <<"ZGTfqr/27S8A2pTbalQV1jk4vkg=">>}


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


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.658 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.658894 ===
eturnal call ({get_password,<<"1789748772:alice">>}) returned {ok,
                                                               <<"ZGTfqr/27S8A2pTbalQV1jk4vkg=">>}


*** User 2026-09-17 16:26:12.659 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.659 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.658987 ===
Handling API call: get_password("1789748772:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.659 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.659067 ===
eturnal call ({get_password,<<"1789748772:alice">>}) returned {ok,
                                                               <<"ZGTfqr/27S8A2pTbalQV1jk4vkg=">>}


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


*** User 2026-09-17 16:26:12.659 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.659 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.659257 ===
eturnal call ({get_password,<<"1789748772:alice">>}) returned {ok,
                                                               <<"ZGTfqr/27S8A2pTbalQV1jk4vkg=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.659 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.659382 ===
Handling API call: get_password("1789748772:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.659 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.659466 ===
eturnal call ({get_password,<<"1789748772:alice">>}) returned {ok,
                                                               <<"ZGTfqr/27S8A2pTbalQV1jk4vkg=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.659 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.659572 ===
Handling API call: get_password("Invalid")


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


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


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.659 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.659802 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.659 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.659856 ===
Handling API call: get_password(invalid)


*** User 2026-09-17 16:26:12.660 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.659 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.659906 ===
Cannot convert user name to binary: invalid


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


*** User 2026-09-17 16:26:12.660 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.660 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.660031 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.660 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.660095 ===
Handling API call: get_password([invalid])


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.660 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.660152 ===
Cannot convert user name to binary: [invalid]


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


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.660 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.660289 ===
Invalid argument(s): [invalid]:[]


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.660 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.660416 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.660 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.660494 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 16:26:12.660 ***🔗
=DEBUG REPORT==== 17-Sep-2026::16:26:12.660590 ===
Handling API call: get_password("alice")


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




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


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