=== Test case: login_SUITE:log_one_scram_sha256/1 (click for source code)
=== Config value:
[{c2s_listener,#{access => c2s,module => mongoose_c2s_listener,
port => 5222,num_acceptors => 100,hibernate_after => 0,
backlog => 1024,shaper => c2s_shaper,
tls =>
#{module => fast_tls,mode => starttls,
certfile => "priv/ssl/fake_server.pem",
verify_mode => none,ciphers => "TLSv1.2:TLSv1.3",
dhfile => "priv/ssl/fake_dh_server.pem",
protocol_options =>
["no_sslv2","no_sslv3","no_tlsv1",
"no_tlsv1_1"]},
ip_version => 4,
ip_tuple => {0,0,0,0},
max_connections => infinity,reuse_port => false,
ip_address => "0",proto => tcp,max_stanza_size => 65536,
backwards_compatible_session => true,
c2s_state_timeout => 5000,connection_type => undefined,
proxy_protocol => false}},
{watchdog,<0.38728.0>},
{preset,"mysql_redis"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/login_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.login_SUITE.logs/run.2023-12-07_07.53.08/login_suite.log_one_scram_sha256.79235.html"},
{tc_group_properties,[{name,login_scram_tls},parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/login_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.login_SUITE.logs/run.2023-12-07_07.53.08/log_private/"},
{config_backup,#{{auth,<<"test type">>} =>
{ok,#{methods => [rdbms],
password =>
#{format => scram,
hash => [sha256],
scram_iterations => 64},
rdbms => #{users_number_estimate => false},
sasl_mechanisms =>
[cyrsasl_scram_sha512_plus,
cyrsasl_scram_sha512,
cyrsasl_scram_sha384_plus,
cyrsasl_scram_sha384,
cyrsasl_scram_sha256_plus,
cyrsasl_scram_sha256,
cyrsasl_scram_sha224_plus,
cyrsasl_scram_sha224,
cyrsasl_scram_sha1_plus,
cyrsasl_scram_sha1,cyrsasl_plain,
cyrsasl_anonymous,cyrsasl_oauth],
sasl_external => [standard],
max_users_per_domain => infinity}}}},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"matygrysa">>},
{ssl,true},
{ssl_opts,[{verify,verify_none}]}]},
{neustradamus,[{username,<<"neustradamus">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"scramshaplus">>},
{tls_module,fast_tls},
{ssl,true},
{ssl_opts,[{verify,verify_none}]}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d3b7dd7159a8.2023-12-07_07.46.41"
=== Started at 2023-12-07 07:53:11
*** User 2023-12-07 07:53:11.550 ***🔗
alicE_log_one_scram_sha256_1647@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-07 07:53:11.552 ***🔗
alicE_log_one_scram_sha256_1647@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a89c412f6b11a2a6' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-12-07 07:53:11.552 ***🔗
alicE_log_one_scram_sha256_1647@domain.example.com/res1 in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-512-PLUS</mechanism>
<mechanism>SCRAM-SHA-512</mechanism>
<mechanism>SCRAM-SHA-384-PLUS</mechanism>
<mechanism>SCRAM-SHA-384</mechanism>
<mechanism>SCRAM-SHA-256-PLUS</mechanism>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>SCRAM-SHA-224-PLUS</mechanism>
<mechanism>SCRAM-SHA-224</mechanism>
<mechanism>SCRAM-SHA-1-PLUS</mechanism>
<mechanism>SCRAM-SHA-1</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-12-07 07:53:11.552 ***🔗
alicE_log_one_scram_sha256_1647@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='SCRAM-SHA-256'>biwsbj1hbGljRV9sb2dfb25lX3NjcmFtX3NoYTI1Nl8xNjQ3LHI9RUpnVzhvSml3SkxJZVJyNEdPSG1ZZz09</auth>
*** User 2023-12-07 07:53:11.553 ***🔗
alicE_log_one_scram_sha256_1647@domain.example.com/res1 in
<challenge xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>cj1FSmdXOG9KaXdKTEllUnI0R09IbVlnPT1qR05ob2FnWmNva2ZSS1k3eXFCeWRnPT0scz15MTd1UDJRcWtYaFVXRFY4d2ZKVnBnPT0saT02NA==</challenge>
*** User 2023-12-07 07:53:11.554 ***🔗
alicE_log_one_scram_sha256_1647@domain.example.com/res1 out
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Yz1iaXdzLHI9RUpnVzhvSml3SkxJZVJyNEdPSG1ZZz09akdOaG9hZ1pjb2tmUktZN3lxQnlkZz09LHA9Z2Jib3IrSjhIQi92N2NXbDVtRU5VVFdDV3hreFBvV2ViYjBIT3llTW1EMD0=</response>
*** User 2023-12-07 07:53:11.554 ***🔗
alicE_log_one_scram_sha256_1647@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>dj1kNGdmOWY3b3lQVU1PcklyREdnbTIybU9yUlI5NjhQWVZOaFRpUjNDWVdrPQ==</success>
*** User 2023-12-07 07:53:11.554 ***🔗
alicE_log_one_scram_sha256_1647@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-07 07:53:11.555 ***🔗
alicE_log_one_scram_sha256_1647@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='385f55cd40e4d708' from='domain.example.com' version='1.0' xml:lang='en' to='alice_log_one_scram_sha256_1647@domain.example.com'>
*** User 2023-12-07 07:53:11.555 ***🔗
alicE_log_one_scram_sha256_1647@domain.example.com/res1 in
<stream:features>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-12-07 07:53:11.555 ***🔗
alicE_log_one_scram_sha256_1647@domain.example.com/res1 out
<iq type='set' id='41977f431b83228818a22cfe67f04f72'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-12-07 07:53:11.557 ***🔗
alicE_log_one_scram_sha256_1647@domain.example.com/res1 in
<iq id='41977f431b83228818a22cfe67f04f72' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_log_one_scram_sha256_1647@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-12-07 07:53:11.557 ***🔗
alice_log_one_scram_sha256_1647@domain.example.com/res1 out
<iq type='set' id='dbba92d639136f80f64b7d3c60aa97b3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-07 07:53:11.558 ***🔗
alice_log_one_scram_sha256_1647@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_log_one_scram_sha256_1647@domain.example.com/res1' id='dbba92d639136f80f64b7d3c60aa97b3' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-07 07:53:11.558 ***🔗
alice_log_one_scram_sha256_1647@domain.example.com/res1 out
<presence/>
*** User 2023-12-07 07:53:11.559 ***🔗
alice_log_one_scram_sha256_1647@domain.example.com/res1 in
<presence from='alice_log_one_scram_sha256_1647@domain.example.com/res1' to='alice_log_one_scram_sha256_1647@domain.example.com/res1'/>
*** User 2023-12-07 07:53:11.559 ***🔗
alice_log_one_scram_sha256_1647@domain.example.com/res1 out
<message type='chat' to='alice_log_one_scram_sha256_1647@domain.example.com/res1'>
<body>Hi!</body>
</message>
*** User 2023-12-07 07:53:11.560 ***🔗
alice_log_one_scram_sha256_1647@domain.example.com/res1 in
<message from='alice_log_one_scram_sha256_1647@domain.example.com/res1' to='alice_log_one_scram_sha256_1647@domain.example.com/res1' type='chat'>
<body>Hi!</body>
</message>
*** User 2023-12-07 07:53:11.560 ***🔗
alice_log_one_scram_sha256_1647@domain.example.com/res1 out
</stream:stream>
*** User 2023-12-07 07:53:11.561 ***🔗
alice_log_one_scram_sha256_1647@domain.example.com/res1 in
</stream:stream>
=== Ended at 2023-12-07 07:53:11
=== successfully completed test case
=== === Returned value: ok