=== 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.990.0>},
     {tc_logfile,"/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-02-07_11.38.58/lib.eturnal.logs/run.2025-02-07_11.38.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-02-07_11.38.58/lib.eturnal.logs/run.2025-02-07_11.38.58/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2025-02-07_11.38.58"

=== Started at 2025-02-07 11:39:00


*** User 2025-02-07 11:39:00.174 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.175 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.174947 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.175 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.175114 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2025-02-07 11:39:00.175 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.175 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.175331 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.175 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.175458 ===
eturnal call ({get_password,<<"1739014740:alice">>}) returned {ok,
                                                               <<"nRxvlA7/0y1axv8eQ37bh+GsEOw=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.175 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.175587 ===
Handling API call: get_password("1739014740:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.175 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.175704 ===
eturnal call ({get_password,<<"1739014740:alice">>}) returned {ok,
                                                               <<"nRxvlA7/0y1axv8eQ37bh+GsEOw=">>}


*** User 2025-02-07 11:39:00.175 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.175 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.175889 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.176 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.176031 ===
eturnal call ({get_password,<<"1739014740:alice">>}) returned {ok,
                                                               <<"nRxvlA7/0y1axv8eQ37bh+GsEOw=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.176 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.176157 ===
Handling API call: get_password("1739014740:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.176 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.176281 ===
eturnal call ({get_password,<<"1739014740:alice">>}) returned {ok,
                                                               <<"nRxvlA7/0y1axv8eQ37bh+GsEOw=">>}


*** User 2025-02-07 11:39:00.176 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.176 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.176448 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.176 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.176576 ===
eturnal call ({get_password,<<"1739014740:alice">>}) returned {ok,
                                                               <<"nRxvlA7/0y1axv8eQ37bh+GsEOw=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.176 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.176711 ===
Handling API call: get_password("1739014740:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.176 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.176834 ===
eturnal call ({get_password,<<"1739014740:alice">>}) returned {ok,
                                                               <<"nRxvlA7/0y1axv8eQ37bh+GsEOw=">>}


*** User 2025-02-07 11:39:00.176 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.177 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.176995 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.177 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.177112 ===
eturnal call ({get_password,<<"1739014740:alice">>}) returned {ok,
                                                               <<"nRxvlA7/0y1axv8eQ37bh+GsEOw=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.177 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.177231 ===
Handling API call: get_password("1739014740:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.177 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.177346 ===
eturnal call ({get_password,<<"1739014740:alice">>}) returned {ok,
                                                               <<"nRxvlA7/0y1axv8eQ37bh+GsEOw=">>}


*** User 2025-02-07 11:39:00.177 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.177 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.177536 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.177 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.177668 ===
eturnal call ({get_password,<<"1739014740:alice">>}) returned {ok,
                                                               <<"nRxvlA7/0y1axv8eQ37bh+GsEOw=">>}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.177 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.177782 ===
Handling API call: get_password("1739014740:alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.177 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.177890 ===
eturnal call ({get_password,<<"1739014740:alice">>}) returned {ok,
                                                               <<"nRxvlA7/0y1axv8eQ37bh+GsEOw=">>}


*** User 2025-02-07 11:39:00.178 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.178 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.178049 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.178 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.178143 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.178 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.178264 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.178 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.178356 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.178 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.178441 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.178 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.178531 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.178 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.178618 ===
Handling API call: get_credentials(invalid, [])


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.178 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.178709 ===
Invalid argument(s): invalid:[]


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.178 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.178790 ===
Handling API call: get_password([invalid])


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.179 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.178917 ===
Cannot convert user name to binary: [invalid]


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.179 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.179023 ===
Handling API call: get_credentials([invalid], [])


*** User 2025-02-07 11:39:00.179 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.179 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.179109 ===
Invalid argument(s): [invalid]:[]


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.179 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.179250 ===
Handling API call: get_credentials(1256900400, invalid)


*** User 2025-02-07 11:39:00.179 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.179 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.179348 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.179 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.179469 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2025-02-07 11:39:00.179 ***🔗
=DEBUG REPORT==== 7-Feb-2025::11:39:00.179558 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




=== Ended at 2025-02-07 11:39:00
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}


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