=== 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_20.33.02/lib.eturnal.logs/run.2026-09-17_20.33.02/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_20.33.02/lib.eturnal.logs/run.2026-09-17_20.33.02/log_private/"}]
=== Current directory is "/home/runner/work/eturnal/eturnal/_build/test/logs/ct_run.nonode@nohost.2026-09-17_20.33.02"
=== Started at 2026-09-17 20:33:03
*** User 2026-09-17 20:33:03.639 ***🔗 Checking credentials valid until 2009-10-30 11:00:00Z
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.639 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.639214 === Handling API call: get_credentials("2009-10-30 11:00:00Z", [])
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.639 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.639404 === eturnal call ({get_password,<<"1256900400">>}) returned {ok, <<"uEKlpcME7MNMMVRV8rUFPCTIFEs=">>}
*** User 2026-09-17 20:33:03.644 ***🔗 Checking credentials valid for 86400
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.645 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.644955 === Handling API call: get_credentials("86400", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.645 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.645144 === eturnal call ({get_password,<<"1789763583:alice">>}) returned {ok, <<"CfpgVCdFtB9iDqytkgPIyeP1/GE=">>}
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.645 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.645280 === Handling API call: get_password("1789763583:alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.645 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.645417 === eturnal call ({get_password,<<"1789763583:alice">>}) returned {ok, <<"CfpgVCdFtB9iDqytkgPIyeP1/GE=">>}
*** User 2026-09-17 20:33:03.645 ***🔗 Checking credentials valid for 86400s
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.645 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.645611 === Handling API call: get_credentials("86400s", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.645 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.645749 === eturnal call ({get_password,<<"1789763583:alice">>}) returned {ok, <<"CfpgVCdFtB9iDqytkgPIyeP1/GE=">>}
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.645 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.645880 === Handling API call: get_password("1789763583:alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.646 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.645991 === eturnal call ({get_password,<<"1789763583:alice">>}) returned {ok, <<"CfpgVCdFtB9iDqytkgPIyeP1/GE=">>}
*** User 2026-09-17 20:33:03.646 ***🔗 Checking credentials valid for 1440m
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.646 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.646188 === Handling API call: get_credentials("1440m", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.646 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.646333 === eturnal call ({get_password,<<"1789763583:alice">>}) returned {ok, <<"CfpgVCdFtB9iDqytkgPIyeP1/GE=">>}
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.646 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.646461 === Handling API call: get_password("1789763583:alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.646 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.646582 === eturnal call ({get_password,<<"1789763583:alice">>}) returned {ok, <<"CfpgVCdFtB9iDqytkgPIyeP1/GE=">>}
*** User 2026-09-17 20:33:03.646 ***🔗 Checking credentials valid for 24h
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.646 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.646750 === Handling API call: get_credentials("24h", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.646 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.646897 === eturnal call ({get_password,<<"1789763583:alice">>}) returned {ok, <<"CfpgVCdFtB9iDqytkgPIyeP1/GE=">>}
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.647 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.647014 === Handling API call: get_password("1789763583:alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.647 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.647160 === eturnal call ({get_password,<<"1789763583:alice">>}) returned {ok, <<"CfpgVCdFtB9iDqytkgPIyeP1/GE=">>}
*** User 2026-09-17 20:33:03.647 ***🔗 Checking credentials valid for 1d
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.647 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.647323 === Handling API call: get_credentials("1d", "alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.647 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.647445 === eturnal call ({get_password,<<"1789763583:alice">>}) returned {ok, <<"CfpgVCdFtB9iDqytkgPIyeP1/GE=">>}
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.647 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.647588 === Handling API call: get_password("1789763583:alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.647 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.647692 === eturnal call ({get_password,<<"1789763583:alice">>}) returned {ok, <<"CfpgVCdFtB9iDqytkgPIyeP1/GE=">>}
*** User 2026-09-17 20:33:03.647 ***🔗 Checking invalid expiry
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.647 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.647853 === Handling API call: get_password("Invalid")
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.648 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.647961 === eturnal call ({get_password,<<"Invalid">>}) returned {error,no_credentials}
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.648 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.648078 === Handling API call: get_credentials("Invalid", [])
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.648 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.648200 === Invalid argument(s): "Invalid":[]
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.648 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.648290 === Handling API call: get_password(invalid)
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.648 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.648382 === Cannot convert user name to binary: invalid
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.648 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.648471 === Handling API call: get_credentials(invalid, [])
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.648 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.648583 === Invalid argument(s): invalid:[]
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.648 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.648673 === Handling API call: get_password([invalid])
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.648 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.648760 === Cannot convert user name to binary: [invalid]
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.648 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.648848 === Handling API call: get_credentials([invalid], [])
*** User 2026-09-17 20:33:03.649 ***🔗 Checking invalid suffix
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.649 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.648948 === Invalid argument(s): [invalid]:[]
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.649 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.649115 === Handling API call: get_credentials(1256900400, invalid)
*** User 2026-09-17 20:33:03.649 ***🔗 Checking static credentials
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.649 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.649233 === Invalid argument(s): 1256900400:invalid
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.649 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.649370 === Handling API call: get_password("alice")
*** System report during eturnal_SUITE:check_credentials/1 2026-09-17 20:33:03.649 ***🔗 =DEBUG REPORT==== 17-Sep-2026::20:33:03.649475 === eturnal call ({get_password,<<"alice">>}) returned {ok,<<"l0vesBob">>}
=== Ended at 2026-09-17 20:33:03
=== successfully completed test case
=== === Returned value: {ok,"l0vesBob"}
Test run history | Top level test index | Latest test result