=== 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.991.0>},
     {tc_logfile,"/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-04-28_16.17.58/lib.eturnal.logs/run.2025-04-28_16.17.58/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.2025-04-28_16.17.58/lib.eturnal.logs/run.2025-04-28_16.17.58/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-04-28_16.17.58"

=== Started at 2025-04-28 16:18:01


*** User 2025-04-28 16:18:01.811 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.811 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.811769 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.812 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.811989 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2025-04-28 16:18:01.814 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.815 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.814902 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.815 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.815088 ===
eturnal call ({get_password,<<"1745943481:alice">>}) returned {ok,
                                                               <<"IuWH41e2gmvGsmNedas+32iz61w=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.815 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.815219 ===
Handling API call: get_password("1745943481:alice")


*** User 2025-04-28 16:18:01.815 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.815 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.815334 ===
eturnal call ({get_password,<<"1745943481:alice">>}) returned {ok,
                                                               <<"IuWH41e2gmvGsmNedas+32iz61w=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.815 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.815525 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.815 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.815642 ===
eturnal call ({get_password,<<"1745943481:alice">>}) returned {ok,
                                                               <<"IuWH41e2gmvGsmNedas+32iz61w=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.815 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.815767 ===
Handling API call: get_password("1745943481:alice")


*** User 2025-04-28 16:18:01.815 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.815 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.815855 ===
eturnal call ({get_password,<<"1745943481:alice">>}) returned {ok,
                                                               <<"IuWH41e2gmvGsmNedas+32iz61w=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.816 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.816013 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.816 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.816115 ===
eturnal call ({get_password,<<"1745943481:alice">>}) returned {ok,
                                                               <<"IuWH41e2gmvGsmNedas+32iz61w=">>}


*** User 2025-04-28 16:18:01.816 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.816 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.816222 ===
Handling API call: get_password("1745943481:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.816 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.816312 ===
eturnal call ({get_password,<<"1745943481:alice">>}) returned {ok,
                                                               <<"IuWH41e2gmvGsmNedas+32iz61w=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.816 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.816440 ===
Handling API call: get_credentials("24h", "alice")


*** User 2025-04-28 16:18:01.816 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.816 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.816527 ===
eturnal call ({get_password,<<"1745943481:alice">>}) returned {ok,
                                                               <<"IuWH41e2gmvGsmNedas+32iz61w=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.816 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.816601 ===
Handling API call: get_password("1745943481:alice")


*** User 2025-04-28 16:18:01.817 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.816 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.816677 ===
eturnal call ({get_password,<<"1745943481:alice">>}) returned {ok,
                                                               <<"IuWH41e2gmvGsmNedas+32iz61w=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.816 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.816788 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.816 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.816866 ===
eturnal call ({get_password,<<"1745943481:alice">>}) returned {ok,
                                                               <<"IuWH41e2gmvGsmNedas+32iz61w=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.817 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.816947 ===
Handling API call: get_password("1745943481:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.817 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.817037 ===
eturnal call ({get_password,<<"1745943481:alice">>}) returned {ok,
                                                               <<"IuWH41e2gmvGsmNedas+32iz61w=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.817 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.817147 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.817 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.817259 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.817 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.817360 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.817 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.817458 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.817 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.817539 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.817 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.817647 ===
Cannot convert user name to binary: invalid


*** User 2025-04-28 16:18:01.818 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.817 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.817750 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.817 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.817839 ===
Invalid argument(s): invalid:[]


*** User 2025-04-28 16:18:01.818 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.818 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.817935 ===
Handling API call: get_password([invalid])


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.818 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.818042 ===
Cannot convert user name to binary: [invalid]


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.818 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.818128 ===
Handling API call: get_credentials([invalid], [])


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.818 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.818243 ===
Invalid argument(s): [invalid]:[]


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.818 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.818371 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.818 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.818454 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.818 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.818596 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-04-28 16:18:01.818 ***🔗
=DEBUG REPORT==== 28-Apr-2025::16:18:01.818692 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2025-04-28 16:18:01
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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