=== Test case: muc_SUITE:kicked_after_sending_malformed_presence/1 (click for source code)
=== Config value:
[{watchdog,<0.6347.2>},
{preset,"pgsql_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a3455d6f2f61.2024-04-09_11.34.59/big_tests.tests.muc_SUITE.logs/run.2024-04-09_11.46.38/muc_suite.kicked_after_sending_malformed_presence.61061.html"},
{tc_group_properties,[{name,occupant},parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/muc_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@a3455d6f2f61.2024-04-09_11.34.59/big_tests.tests.muc_SUITE.logs/run.2024-04-09_11.46.38/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_amp => #{},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{number_of_segments => 5,strategy => fifo,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue},
mod_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
users_can_see_hidden_services => false},
mod_presence => #{},
mod_register =>
#{access => register,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
iqdisc => one_queue,password_strength => 0,
registration_watchers => []},
mod_roster =>
#{backend => rdbms,iqdisc => one_queue,store_current_id => false,
versioning => false},
mod_sic => #{iqdisc => one_queue},
mod_stream_management =>
#{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
buffer_max => 100,resume_timeout => 600,
stale_h =>
#{enabled => false,geriatric => 3600,repeat_after => 1800}},
mod_vcard =>
#{backend => rdbms,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,matches => 30,search => true}}},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"localhost">>},
{password,<<"makrolika">>}]},
{kate,[{username,<<"kate">>},
{server,<<"localhost">>},
{password,<<"makrowe;p">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a3455d6f2f61.2024-04-09_11.34.59"
=== Started at 2024-04-09 11:46:51
Could not find element wait_for_parallel_writer in Config.
*** User 2024-04-09 11:46:51.728 ***🔗
alicE_kicked_after_sending_malformed_presence_2835@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-09 11:46:51.729 ***🔗
alicE_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dae675522896598f' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-09 11:46:51.730 ***🔗
alicE_kicked_after_sending_malformed_presence_2835@localhost/res1 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-04-09 11:46:51.730 ***🔗
alicE_kicked_after_sending_malformed_presence_2835@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2tpY2tlZF9hZnRlcl9zZW5kaW5nX21hbGZvcm1lZF9wcmVzZW5jZV8yODM1AG1hdHlncnlzYQ==</auth>
*** User 2024-04-09 11:46:51.733 ***🔗
alicE_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-09 11:46:51.734 ***🔗
alicE_kicked_after_sending_malformed_presence_2835@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-09 11:46:51.734 ***🔗
alicE_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e9e70e78829d3602' from='localhost' version='1.0' xml:lang='en' to='alice_kicked_after_sending_malformed_presence_2835@localhost'>
*** User 2024-04-09 11:46:51.735 ***🔗
alicE_kicked_after_sending_malformed_presence_2835@localhost/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 2024-04-09 11:46:51.735 ***🔗
alicE_kicked_after_sending_malformed_presence_2835@localhost/res1 out
<iq type='set' id='38d181423fa78394aa5ac1044e9dec9e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-09 11:46:51.735 ***🔗
alicE_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<iq id='38d181423fa78394aa5ac1044e9dec9e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_kicked_after_sending_malformed_presence_2835@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-09 11:46:51.736 ***🔗
alice_kicked_after_sending_malformed_presence_2835@localhost/res1 out
<iq type='set' id='ee0964c4f97c57a9494b5d920eb1ecd1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:46:51.737 ***🔗
alice_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<iq from='localhost' to='alice_kicked_after_sending_malformed_presence_2835@localhost/res1' id='ee0964c4f97c57a9494b5d920eb1ecd1' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:46:51.738 ***🔗
alice_kicked_after_sending_malformed_presence_2835@localhost/res1 out
<presence/>
*** User 2024-04-09 11:46:51.741 ***🔗
alice_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<presence from='alice_kicked_after_sending_malformed_presence_2835@localhost/res1' to='alice_kicked_after_sending_malformed_presence_2835@localhost/res1'/>
*** User 2024-04-09 11:46:51.744 ***🔗
bOb_kicked_after_sending_malformed_presence_2835@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-09 11:46:51.745 ***🔗
bOb_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='38ed4332e9c28cd3' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-09 11:46:51.745 ***🔗
bOb_kicked_after_sending_malformed_presence_2835@localhost/res1 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-04-09 11:46:51.745 ***🔗
bOb_kicked_after_sending_malformed_presence_2835@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9raWNrZWRfYWZ0ZXJfc2VuZGluZ19tYWxmb3JtZWRfcHJlc2VuY2VfMjgzNQBtYWtyb2xpa2E=</auth>
*** User 2024-04-09 11:46:51.747 ***🔗
bOb_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-09 11:46:51.747 ***🔗
bOb_kicked_after_sending_malformed_presence_2835@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-09 11:46:51.748 ***🔗
bOb_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='620e04c8df9a1820' from='localhost' version='1.0' xml:lang='en' to='bob_kicked_after_sending_malformed_presence_2835@localhost'>
*** User 2024-04-09 11:46:51.748 ***🔗
bOb_kicked_after_sending_malformed_presence_2835@localhost/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 2024-04-09 11:46:51.748 ***🔗
bOb_kicked_after_sending_malformed_presence_2835@localhost/res1 out
<iq type='set' id='c3ecb254ed8b1b704ee140514ac4b2b4'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-09 11:46:51.749 ***🔗
bOb_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<iq id='c3ecb254ed8b1b704ee140514ac4b2b4' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_kicked_after_sending_malformed_presence_2835@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-09 11:46:51.749 ***🔗
bob_kicked_after_sending_malformed_presence_2835@localhost/res1 out
<iq type='set' id='673a3c92d8c424ddc56f7fbee5eb52e4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:46:51.750 ***🔗
bob_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<iq from='localhost' to='bob_kicked_after_sending_malformed_presence_2835@localhost/res1' id='673a3c92d8c424ddc56f7fbee5eb52e4' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:46:51.752 ***🔗
bob_kicked_after_sending_malformed_presence_2835@localhost/res1 out
<presence/>
*** User 2024-04-09 11:46:51.753 ***🔗
bob_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<presence from='bob_kicked_after_sending_malformed_presence_2835@localhost/res1' to='bob_kicked_after_sending_malformed_presence_2835@localhost/res1'/>
*** User 2024-04-09 11:46:51.755 ***🔗
kate_kicked_after_sending_malformed_presence_2835@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-09 11:46:51.816 ***🔗
kate_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='959165ff7cf66e1d' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-09 11:46:51.817 ***🔗
kate_kicked_after_sending_malformed_presence_2835@localhost/res1 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-04-09 11:46:51.817 ***🔗
kate_kicked_after_sending_malformed_presence_2835@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfa2lja2VkX2FmdGVyX3NlbmRpbmdfbWFsZm9ybWVkX3ByZXNlbmNlXzI4MzUAbWFrcm93ZTtw</auth>
*** User 2024-04-09 11:46:51.819 ***🔗
kate_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-09 11:46:51.819 ***🔗
kate_kicked_after_sending_malformed_presence_2835@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-09 11:46:51.819 ***🔗
kate_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='89942e56068001d9' from='localhost' version='1.0' xml:lang='en' to='kate_kicked_after_sending_malformed_presence_2835@localhost'>
*** User 2024-04-09 11:46:51.820 ***🔗
kate_kicked_after_sending_malformed_presence_2835@localhost/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 2024-04-09 11:46:51.820 ***🔗
kate_kicked_after_sending_malformed_presence_2835@localhost/res1 out
<iq type='set' id='d509f9f32cdf2e171eba9bc15a8edd3a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-09 11:46:51.820 ***🔗
kate_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<iq id='d509f9f32cdf2e171eba9bc15a8edd3a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_kicked_after_sending_malformed_presence_2835@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-09 11:46:51.820 ***🔗
kate_kicked_after_sending_malformed_presence_2835@localhost/res1 out
<iq type='set' id='977f4a785d6078b6f1e734a2360c1893'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:46:51.821 ***🔗
kate_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<iq from='localhost' to='kate_kicked_after_sending_malformed_presence_2835@localhost/res1' id='977f4a785d6078b6f1e734a2360c1893' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-09 11:46:51.821 ***🔗
kate_kicked_after_sending_malformed_presence_2835@localhost/res1 out
<presence/>
*** User 2024-04-09 11:46:51.823 ***🔗
kate_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<presence from='kate_kicked_after_sending_malformed_presence_2835@localhost/res1' to='kate_kicked_after_sending_malformed_presence_2835@localhost/res1'/>
*** User 2024-04-09 11:46:51.823 ***🔗
kate_kicked_after_sending_malformed_presence_2835@localhost/res1 out
<presence to='room-alice_kicked_after_sending_malformed_presence_2835@muc.localhost/kate_kicked_after_sending_malformed_presence_2835'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-04-09 11:46:51.824 ***🔗
kate_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_2835@muc.localhost/kate_kicked_after_sending_malformed_presence_2835' to='kate_kicked_after_sending_malformed_presence_2835@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
<status code='110'/>
<status code='201'/>
</x>
</presence>
*** User 2024-04-09 11:46:51.824 ***🔗
bob_kicked_after_sending_malformed_presence_2835@localhost/res1 out
<presence to='room-alice_kicked_after_sending_malformed_presence_2835@muc.localhost/bob_kicked_after_sending_malformed_presence_2835'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-04-09 11:46:51.825 ***🔗
bob_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_2835@muc.localhost/kate_kicked_after_sending_malformed_presence_2835' to='bob_kicked_after_sending_malformed_presence_2835@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2024-04-09 11:46:51.825 ***🔗
bob_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_2835@muc.localhost/bob_kicked_after_sending_malformed_presence_2835' to='bob_kicked_after_sending_malformed_presence_2835@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
<status code='110'/>
</x>
</presence>
*** User 2024-04-09 11:46:51.825 ***🔗
bob_kicked_after_sending_malformed_presence_2835@localhost/res1 out
<presence type='error' to='room-alice_kicked_after_sending_malformed_presence_2835@muc.localhost/bob_kicked_after_sending_malformed_presence_2835'/>
*** User 2024-04-09 11:46:51.825 ***🔗
bob_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<message from='room-alice_kicked_after_sending_malformed_presence_2835@muc.localhost' to='bob_kicked_after_sending_malformed_presence_2835@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2024-04-09 11:46:51.826 ***🔗
bob_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_2835@muc.localhost/bob_kicked_after_sending_malformed_presence_2835' to='bob_kicked_after_sending_malformed_presence_2835@localhost/res1' type='unavailable'>
<status>This participant is kicked from the room because he sent an error presence: badformed error stanza</status>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='none'/>
<status code='110'/>
</x>
</presence>
*** User 2024-04-09 11:46:51.826 ***🔗
alice_kicked_after_sending_malformed_presence_2835@localhost/res1 out
<presence to='room-alice_kicked_after_sending_malformed_presence_2835@muc.localhost/alice_kicked_after_sending_malformed_presence_2835'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-04-09 11:46:51.827 ***🔗
alice_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_2835@muc.localhost/kate_kicked_after_sending_malformed_presence_2835' to='alice_kicked_after_sending_malformed_presence_2835@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item jid='kate_kicked_after_sending_malformed_presence_2835@localhost/res1' affiliation='none' role='participant'/>
</x>
</presence>
*** User 2024-04-09 11:46:51.827 ***🔗
alice_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_2835@muc.localhost/alice_kicked_after_sending_malformed_presence_2835' to='alice_kicked_after_sending_malformed_presence_2835@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item jid='alice_kicked_after_sending_malformed_presence_2835@localhost/res1' affiliation='owner' role='moderator'/>
<status code='110'/>
</x>
</presence>
*** User 2024-04-09 11:46:51.827 ***🔗
alice_kicked_after_sending_malformed_presence_2835@localhost/res1 in
<message from='room-alice_kicked_after_sending_malformed_presence_2835@muc.localhost' to='alice_kicked_after_sending_malformed_presence_2835@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2024-04-09 11:46:51.827 ***🔗
kate_kicked_after_sending_malformed_presence_2835@localhost/res1 out
</stream:stream>
*** User 2024-04-09 11:46:51.827 ***🔗
kate_kicked_after_sending_malformed_presence_2835@localhost/res1 in
</stream:stream>
*** User 2024-04-09 11:46:51.827 ***🔗
bob_kicked_after_sending_malformed_presence_2835@localhost/res1 out
</stream:stream>
*** User 2024-04-09 11:46:51.828 ***🔗
bob_kicked_after_sending_malformed_presence_2835@localhost/res1 in
</stream:stream>
*** User 2024-04-09 11:46:51.828 ***🔗
alice_kicked_after_sending_malformed_presence_2835@localhost/res1 out
</stream:stream>
*** User 2024-04-09 11:46:51.829 ***🔗
alice_kicked_after_sending_malformed_presence_2835@localhost/res1 in
</stream:stream>
*** User 2024-04-09 11:46:51.830 ***🔗
waiting for room_archive_size is done in 0 miliseconds
=== Ended at 2024-04-09 11:46:51
=== successfully completed test case
=== === Returned value: ok