=== Test case: mim_c2s_SUITE:invalid_resource_fails_to_log/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,
tls =>
#{module => fast_tls,mode => starttls,verify_mode => none,
ciphers => "TLSv1.2:TLSv1.3",
protocol_options =>
["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"],
certfile => "priv/ssl/fake_server.pem",
dhfile => "priv/ssl/fake_dh_server.pem"},
ip_address => "0",shaper => c2s_shaper,proto => tcp,
ip_tuple => {0,0,0,0},
ip_version => 4,connection_type => undefined,
proxy_protocol => false,max_connections => infinity,
max_stanza_size => 65536,c2s_state_timeout => 5000,
backwards_compatible_session => true,reuse_port => false}},
{watchdog,<0.1425.0>},
{escalus_overrides,
[{initial_activity,#Fun<mim_c2s_SUITE.0.17191332>},
{start_ready_clients,fun mim_c2s_SUITE:escalus_start/2}]},
{preset,"pgsql_mnesia"},
{mim_data_dir,
"/home/circleci/project/big_tests/tests/mim_c2s_SUITE_data"},
{tc_logfile,
"/home/circleci/project/big_tests/ct_report/ct_run.test@d081adacb998.2024-01-14_19.39.56/big_tests.tests.mim_c2s_SUITE.logs/run.2024-01-14_19.39.57/mim_c2s_suite.invalid_resource_fails_to_log.514.html"},
{tc_group_properties,[{name,basic},parallel]},
{tc_group_path,[]},
{data_dir,
"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/mim_c2s_SUITE_data/"},
{priv_dir,
"/home/circleci/project/big_tests/ct_report/ct_run.test@d081adacb998.2024-01-14_19.39.56/big_tests.tests.mim_c2s_SUITE.logs/run.2024-01-14_19.39.57/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,iqdisc => parallel,backend => rdbms},
mod_roster =>
#{iqdisc => one_queue,backend => rdbms,versioning => false,
store_current_id => false},
mod_register =>
#{access => register,iqdisc => one_queue,
registration_watchers => [],password_strength => 0,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
mod_sic => #{iqdisc => one_queue},
mod_amp => #{},mod_presence => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
buffer_max => 100,ack_freq => 1,resume_timeout => 600},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_carboncopy => #{iqdisc => no_queue}}},
{escalus_users,
[{alice,
[{username,<<"alicE">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"matygrysa">>},
{connection_steps,
[start_stream,stream_features,maybe_use_ssl,authenticate,
bind]}]},
{alice_bis,
[{username,<<"alicE">>},
{server,<<"domain.example.org">>},
{host,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,
[{username,<<"bOb">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrolika">>},
{connection_steps,
[start_stream,stream_features,maybe_use_ssl,authenticate,
bind]}]},
{carol,
[{username,<<"carol">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"jinglebells">>},
{transport,escalus_bosh},
{path,<<"/http-bind">>},
{port,5280}]},
{geralt_s,
[{username,<<"geralt_s">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"witcher_s">>},
{transport,escalus_ws},
{ssl,true},
{port,5285},
{wspath,<<"/ws-xmpp">>},
{ssl_opts,[{verify,verify_none}]}]},
{carol_s,
[{username,<<"carol_s">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"jinglebells_s">>},
{transport,escalus_bosh},
{ssl,true},
{path,<<"/http-bind">>},
{port,5285},
{ssl_opts,[{verify,verify_none}]}]},
{kate,
[{username,<<"kate">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrowe;p">>}]},
{mike,
[{username,<<"mike">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"nicniema">>}]},
{geralt,
[{username,<<"geralt">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"witcher">>},
{transport,escalus_ws},
{port,5280},
{wspath,<<"/ws-xmpp">>}]},
{admin,
[{username,<<"admin">>},
{server,<<"localhost">>},
{password,<<"bruce_almighty">>}]},
{secure_joe,
[{username,<<"secure_joe">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"break_me">>},
{starttls,required}]},
{clusterguy,
[{username,<<"clusterguy">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"distributionftw">>},
{port,5232}]},
{clusterbuddy,
[{username,<<"clusterbuddy">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"wasssssssup">>},
{port,5232}]},
{alice3,
[{username,<<"alice">>},
{server,<<"example.com">>},
{host,<<"localhost">>},
{password,<<"makota2">>}]},
{bob3,
[{username,<<"bob">>},
{server,<<"example.org">>},
{host,<<"localhost">>},
{password,<<"makota3">>},
{port,5232}]},
{john,
[{username,<<"john">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"cosontuma">>}]},
{neustradamus,
[{username,<<"neustradamus">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"scramshaplus">>},
{starttls,required},
{tls_module,fast_tls}]},
{hacker,
[{username,<<"hacker">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"bringdowntheserver">>},
{port,5223}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d081adacb998.2024-01-14_19.39.56"
=== Started at 2024-01-14 19:39:57
*** User 2024-01-14 19:39:57.668 ***🔗
alicE_invalid_resource_fails_to_log_11@domain.example.com out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-01-14 19:39:57.676 ***🔗
alicE_invalid_resource_fails_to_log_11@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6612f121dea1e402' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-01-14 19:39:57.682 ***🔗
alicE_invalid_resource_fails_to_log_11@domain.example.com in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-01-14 19:39:57.695 ***🔗
alicE_invalid_resource_fails_to_log_11@domain.example.com out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ludmFsaWRfcmVzb3VyY2VfZmFpbHNfdG9fbG9nXzExAG1hdHlncnlzYQ==</auth>
*** User 2024-01-14 19:39:57.696 ***🔗
alicE_invalid_resource_fails_to_log_11@domain.example.com in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-01-14 19:39:57.696 ***🔗
alicE_invalid_resource_fails_to_log_11@domain.example.com out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-01-14 19:39:57.697 ***🔗
alicE_invalid_resource_fails_to_log_11@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bba7f6a35e06ab44' from='domain.example.com' version='1.0' xml:lang='en' to='alice_invalid_resource_fails_to_log_11@domain.example.com'>
*** User 2024-01-14 19:39:57.697 ***🔗
alicE_invalid_resource_fails_to_log_11@domain.example.com in
<stream:features>
<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 2024-01-14 19:39:57.697 ***🔗
alicE_invalid_resource_fails_to_log_11@domain.example.com out
<iq type='set' id='dad6243be2b052ae9e4198fea8d6cbfa'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>î¾»</resource>
</bind>
</iq>
*** User 2024-01-14 19:39:57.697 ***🔗
alicE_invalid_resource_fails_to_log_11@domain.example.com in
<iq type='error' id='dad6243be2b052ae9e4198fea8d6cbfa'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>î¾»</resource>
</bind>
<error code='400' type='modify'>
<bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</iq>
*** User 2024-01-14 19:39:57.701 ***🔗
alicE_invalid_resource_fails_to_log_11@domain.example.com out
</stream:stream>
*** User 2024-01-14 19:39:57.702 ***🔗
alicE_invalid_resource_fails_to_log_11@domain.example.com in
</stream:stream>
=== Ended at 2024-01-14 19:39:57
=== successfully completed test case
=== === Returned value: already_stopped