=== 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.987.0>},
     {tc_logfile,"/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2026-03-08_18.10.56/lib.eturnal.logs/run.2026-03-08_18.10.57/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-03-08_18.10.56/lib.eturnal.logs/run.2026-03-08_18.10.57/log_private/"}]

=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2026-03-08_18.10.56"

=== Started at 2026-03-08 18:10:58


*** User 2026-03-08 18:10:58.401 ***🔗
Checking credentials valid until 2009-10-30 11:00:00Z

*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.401 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.401353 ===
Handling API call: get_credentials("2009-10-30 11:00:00Z", [])


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.401 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.401572 ===
eturnal call ({get_password,<<"1256900400">>}) returned {ok,
                                                         <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}


*** User 2026-03-08 18:10:58.404 ***🔗
Checking credentials valid for 86400

*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.404 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.404785 ===
Handling API call: get_credentials("86400", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.405 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.404955 ===
eturnal call ({get_password,<<"1773079858:alice">>}) returned {ok,
                                                               <<"bRvchbfARrpo7eQoqP9i246XkoY=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.405 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.405131 ===
Handling API call: get_password("1773079858:alice")


*** User 2026-03-08 18:10:58.405 ***🔗
Checking credentials valid for 86400s

*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.405 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.405254 ===
eturnal call ({get_password,<<"1773079858:alice">>}) returned {ok,
                                                               <<"bRvchbfARrpo7eQoqP9i246XkoY=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.405 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.405431 ===
Handling API call: get_credentials("86400s", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.405 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.405557 ===
eturnal call ({get_password,<<"1773079858:alice">>}) returned {ok,
                                                               <<"bRvchbfARrpo7eQoqP9i246XkoY=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.405 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.405685 ===
Handling API call: get_password("1773079858:alice")


*** User 2026-03-08 18:10:58.405 ***🔗
Checking credentials valid for 1440m

*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.405 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.405796 ===
eturnal call ({get_password,<<"1773079858:alice">>}) returned {ok,
                                                               <<"bRvchbfARrpo7eQoqP9i246XkoY=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.406 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.405958 ===
Handling API call: get_credentials("1440m", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.406 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.406131 ===
eturnal call ({get_password,<<"1773079858:alice">>}) returned {ok,
                                                               <<"bRvchbfARrpo7eQoqP9i246XkoY=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.406 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.406244 ===
Handling API call: get_password("1773079858:alice")


*** User 2026-03-08 18:10:58.406 ***🔗
Checking credentials valid for 24h

*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.406 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.406357 ===
eturnal call ({get_password,<<"1773079858:alice">>}) returned {ok,
                                                               <<"bRvchbfARrpo7eQoqP9i246XkoY=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.406 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.406519 ===
Handling API call: get_credentials("24h", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.406 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.406649 ===
eturnal call ({get_password,<<"1773079858:alice">>}) returned {ok,
                                                               <<"bRvchbfARrpo7eQoqP9i246XkoY=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.406 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.406783 ===
Handling API call: get_password("1773079858:alice")


*** User 2026-03-08 18:10:58.407 ***🔗
Checking credentials valid for 1d

*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.406 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.406888 ===
eturnal call ({get_password,<<"1773079858:alice">>}) returned {ok,
                                                               <<"bRvchbfARrpo7eQoqP9i246XkoY=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.407 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.407115 ===
Handling API call: get_credentials("1d", "alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.407 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.407239 ===
eturnal call ({get_password,<<"1773079858:alice">>}) returned {ok,
                                                               <<"bRvchbfARrpo7eQoqP9i246XkoY=">>}


*** User 2026-03-08 18:10:58.407 ***🔗
Checking invalid expiry

*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.407 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.407370 ===
Handling API call: get_password("1773079858:alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.407 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.407473 ===
eturnal call ({get_password,<<"1773079858:alice">>}) returned {ok,
                                                               <<"bRvchbfARrpo7eQoqP9i246XkoY=">>}


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.407 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.407646 ===
Handling API call: get_password("Invalid")


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.407 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.407746 ===
eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.407 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.407842 ===
Handling API call: get_credentials("Invalid", [])


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.408 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.407942 ===
Invalid argument(s): "Invalid":[]


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.408 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.408035 ===
Handling API call: get_password(invalid)


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.408 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.408169 ===
Cannot convert user name to binary: invalid


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.408 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.408257 ===
Handling API call: get_credentials(invalid, [])


*** User 2026-03-08 18:10:58.408 ***🔗
Checking invalid suffix

*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.408 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.408366 ===
Invalid argument(s): invalid:[]


*** User 2026-03-08 18:10:58.409 ***🔗
Checking static credentials

*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.408 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.408450 ===
Handling API call: get_password([invalid])


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.408 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.408536 ===
Cannot convert user name to binary: [invalid]


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.408 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.408635 ===
Handling API call: get_credentials([invalid], [])


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.408 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.408727 ===
Invalid argument(s): [invalid]:[]


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.408 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.408857 ===
Handling API call: get_credentials(1256900400, invalid)


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.409 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.408953 ===
Invalid argument(s): 1256900400:invalid


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.409 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.409105 ===
Handling API call: get_password("alice")


*** System report during eturnal_SUITE:check_credentials/1 2026-03-08 18:10:58.409 ***🔗
=DEBUG REPORT==== 8-Mar-2026::18:10:58.409201 ===
eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}




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


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