=== Test case: muc_SUITE:kicked_after_sending_malformed_presence/1 (click for source code)
=== Config value:
[{watchdog,<0.3546.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
{preset,"internal_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@e940550c5ac4.2022-04-29_13.53.57/big_tests.tests.muc_SUITE.logs/run.2022-04-29_14.00.59/muc_suite.kicked_after_sending_malformed_presence.11141.html"},
{tc_group_properties,[{name,occupant},{repeat_until_all_ok,3},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@e940550c5ac4.2022-04-29_13.53.57/big_tests.tests.muc_SUITE.logs/run.2022-04-29_14.00.59/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_commands => #{},
mod_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
users_can_see_hidden_services => false},
mod_muc_commands => #{},mod_muc_light_commands => #{},
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 => mnesia,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 => mnesia,
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@e940550c5ac4.2022-04-29_13.53.57"
=== Started at 2022-04-29 14:01:13
*** User 2022-04-29 14:01:14.100 ***
alicE_kicked_after_sending_malformed_presence_991@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-29 14:01:14.101 ***
alicE_kicked_after_sending_malformed_presence_991@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3c5bdcf277cd106c' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-29 14:01:14.102 ***
alicE_kicked_after_sending_malformed_presence_991@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-04-29 14:01:14.102 ***
alicE_kicked_after_sending_malformed_presence_991@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2tpY2tlZF9hZnRlcl9zZW5kaW5nX21hbGZvcm1lZF9wcmVzZW5jZV85OTEAbWF0eWdyeXNh</auth>
*** User 2022-04-29 14:01:14.103 ***
alicE_kicked_after_sending_malformed_presence_991@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-29 14:01:14.103 ***
alicE_kicked_after_sending_malformed_presence_991@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-29 14:01:14.104 ***
alicE_kicked_after_sending_malformed_presence_991@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2ad7c937b5f269ca' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-29 14:01:14.104 ***
alicE_kicked_after_sending_malformed_presence_991@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-04-29 14:01:14.105 ***
alicE_kicked_after_sending_malformed_presence_991@localhost/res1 out
<iq type='set' id='a3bf3ba0540297f643ea712130964b68'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-29 14:01:14.105 ***
alicE_kicked_after_sending_malformed_presence_991@localhost/res1 in
<iq id='a3bf3ba0540297f643ea712130964b68' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_kicked_after_sending_malformed_presence_991@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-29 14:01:14.106 ***
alicE_kicked_after_sending_malformed_presence_991@localhost/res1 out
<iq type='set' id='4df1371689dd15f7250ca9b73a6fa03c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-29 14:01:14.106 ***
alicE_kicked_after_sending_malformed_presence_991@localhost/res1 in
<iq type='result' id='4df1371689dd15f7250ca9b73a6fa03c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-29 14:01:14.107 ***
alicE_kicked_after_sending_malformed_presence_991@localhost/res1 out
<presence/>
*** User 2022-04-29 14:01:14.107 ***
alicE_kicked_after_sending_malformed_presence_991@localhost/res1 in
<presence from='alicE_kicked_after_sending_malformed_presence_991@localhost/res1' to='alice_kicked_after_sending_malformed_presence_991@localhost/res1' xml:lang='en'/>
*** User 2022-04-29 14:01:14.108 ***
bOb_kicked_after_sending_malformed_presence_991@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-29 14:01:14.110 ***
bOb_kicked_after_sending_malformed_presence_991@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9c34250917fba1f3' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-29 14:01:14.110 ***
bOb_kicked_after_sending_malformed_presence_991@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-04-29 14:01:14.110 ***
bOb_kicked_after_sending_malformed_presence_991@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9raWNrZWRfYWZ0ZXJfc2VuZGluZ19tYWxmb3JtZWRfcHJlc2VuY2VfOTkxAG1ha3JvbGlrYQ==</auth>
*** User 2022-04-29 14:01:14.111 ***
bOb_kicked_after_sending_malformed_presence_991@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-29 14:01:14.111 ***
bOb_kicked_after_sending_malformed_presence_991@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-29 14:01:14.164 ***
bOb_kicked_after_sending_malformed_presence_991@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d944f4ff382a4eac' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-29 14:01:14.165 ***
bOb_kicked_after_sending_malformed_presence_991@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-04-29 14:01:14.165 ***
bOb_kicked_after_sending_malformed_presence_991@localhost/res1 out
<iq type='set' id='7b0dc9b01dbfff5ad2ea3f15759850a6'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-29 14:01:14.166 ***
bOb_kicked_after_sending_malformed_presence_991@localhost/res1 in
<iq id='7b0dc9b01dbfff5ad2ea3f15759850a6' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_kicked_after_sending_malformed_presence_991@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-29 14:01:14.166 ***
bOb_kicked_after_sending_malformed_presence_991@localhost/res1 out
<iq type='set' id='e1746cc66b4a2a278a38026cc51c2666'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-29 14:01:14.168 ***
bOb_kicked_after_sending_malformed_presence_991@localhost/res1 in
<iq type='result' id='e1746cc66b4a2a278a38026cc51c2666'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-29 14:01:14.168 ***
bOb_kicked_after_sending_malformed_presence_991@localhost/res1 out
<presence/>
*** User 2022-04-29 14:01:14.169 ***
bOb_kicked_after_sending_malformed_presence_991@localhost/res1 in
<presence from='bOb_kicked_after_sending_malformed_presence_991@localhost/res1' to='bob_kicked_after_sending_malformed_presence_991@localhost/res1' xml:lang='en'/>
*** User 2022-04-29 14:01:14.171 ***
kate_kicked_after_sending_malformed_presence_991@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-29 14:01:14.172 ***
kate_kicked_after_sending_malformed_presence_991@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c190bbb15fec576c' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-29 14:01:14.172 ***
kate_kicked_after_sending_malformed_presence_991@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-04-29 14:01:14.172 ***
kate_kicked_after_sending_malformed_presence_991@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfa2lja2VkX2FmdGVyX3NlbmRpbmdfbWFsZm9ybWVkX3ByZXNlbmNlXzk5MQBtYWtyb3dlO3A=</auth>
*** User 2022-04-29 14:01:14.173 ***
kate_kicked_after_sending_malformed_presence_991@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-29 14:01:14.173 ***
kate_kicked_after_sending_malformed_presence_991@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-04-29 14:01:14.174 ***
kate_kicked_after_sending_malformed_presence_991@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='decc3a6368fb4dd7' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-29 14:01:14.174 ***
kate_kicked_after_sending_malformed_presence_991@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-04-29 14:01:14.174 ***
kate_kicked_after_sending_malformed_presence_991@localhost/res1 out
<iq type='set' id='97dbbded0155bb3629fa8af35f4724f8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-29 14:01:14.175 ***
kate_kicked_after_sending_malformed_presence_991@localhost/res1 in
<iq id='97dbbded0155bb3629fa8af35f4724f8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_kicked_after_sending_malformed_presence_991@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-29 14:01:14.175 ***
kate_kicked_after_sending_malformed_presence_991@localhost/res1 out
<iq type='set' id='3415e43ece123cdbbabf5c21cfb5b389'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-29 14:01:14.176 ***
kate_kicked_after_sending_malformed_presence_991@localhost/res1 in
<iq type='result' id='3415e43ece123cdbbabf5c21cfb5b389'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-29 14:01:14.177 ***
kate_kicked_after_sending_malformed_presence_991@localhost/res1 out
<presence/>
*** User 2022-04-29 14:01:14.178 ***
kate_kicked_after_sending_malformed_presence_991@localhost/res1 in
<presence from='kate_kicked_after_sending_malformed_presence_991@localhost/res1' to='kate_kicked_after_sending_malformed_presence_991@localhost/res1' xml:lang='en'/>
*** User 2022-04-29 14:01:14.178 ***
kate_kicked_after_sending_malformed_presence_991@localhost/res1 out
<presence to='room-alice_kicked_after_sending_malformed_presence_991@muc.localhost/kate_kicked_after_sending_malformed_presence_991'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-04-29 14:01:14.179 ***
kate_kicked_after_sending_malformed_presence_991@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_991@muc.localhost/kate_kicked_after_sending_malformed_presence_991' to='kate_kicked_after_sending_malformed_presence_991@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
<status code='110'/>
<status code='201'/>
</x>
</presence>
*** User 2022-04-29 14:01:14.179 ***
bOb_kicked_after_sending_malformed_presence_991@localhost/res1 out
<presence to='room-alice_kicked_after_sending_malformed_presence_991@muc.localhost/bOb_kicked_after_sending_malformed_presence_991'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-04-29 14:01:14.180 ***
bOb_kicked_after_sending_malformed_presence_991@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_991@muc.localhost/kate_kicked_after_sending_malformed_presence_991' to='bOb_kicked_after_sending_malformed_presence_991@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2022-04-29 14:01:14.181 ***
bOb_kicked_after_sending_malformed_presence_991@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_991@muc.localhost/bOb_kicked_after_sending_malformed_presence_991' to='bOb_kicked_after_sending_malformed_presence_991@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
<status code='110'/>
</x>
</presence>
*** User 2022-04-29 14:01:14.181 ***
bOb_kicked_after_sending_malformed_presence_991@localhost/res1 out
<presence type='error' to='room-alice_kicked_after_sending_malformed_presence_991@muc.localhost/bOb_kicked_after_sending_malformed_presence_991'/>
*** User 2022-04-29 14:01:14.181 ***
bOb_kicked_after_sending_malformed_presence_991@localhost/res1 in
<message from='room-alice_kicked_after_sending_malformed_presence_991@muc.localhost' to='bOb_kicked_after_sending_malformed_presence_991@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-04-29 14:01:14.182 ***
bOb_kicked_after_sending_malformed_presence_991@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_991@muc.localhost/bOb_kicked_after_sending_malformed_presence_991' to='bOb_kicked_after_sending_malformed_presence_991@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#user'>
<item affiliation='none' role='none'/>
<status code='110'/>
</x>
</presence>
*** User 2022-04-29 14:01:14.183 ***
alicE_kicked_after_sending_malformed_presence_991@localhost/res1 out
<presence to='room-alice_kicked_after_sending_malformed_presence_991@muc.localhost/alicE_kicked_after_sending_malformed_presence_991'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-04-29 14:01:14.184 ***
alicE_kicked_after_sending_malformed_presence_991@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_991@muc.localhost/kate_kicked_after_sending_malformed_presence_991' to='alicE_kicked_after_sending_malformed_presence_991@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item jid='kate_kicked_after_sending_malformed_presence_991@localhost/res1' affiliation='none' role='participant'/>
</x>
</presence>
*** User 2022-04-29 14:01:14.184 ***
alicE_kicked_after_sending_malformed_presence_991@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_991@muc.localhost/alicE_kicked_after_sending_malformed_presence_991' to='alicE_kicked_after_sending_malformed_presence_991@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item jid='alicE_kicked_after_sending_malformed_presence_991@localhost/res1' affiliation='owner' role='moderator'/>
<status code='110'/>
</x>
</presence>
*** User 2022-04-29 14:01:14.185 ***
alicE_kicked_after_sending_malformed_presence_991@localhost/res1 in
<message from='room-alice_kicked_after_sending_malformed_presence_991@muc.localhost' to='alicE_kicked_after_sending_malformed_presence_991@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-04-29 14:01:14.186 ***
kate_kicked_after_sending_malformed_presence_991@localhost/res1 out
</stream:stream>
*** User 2022-04-29 14:01:14.186 ***
kate_kicked_after_sending_malformed_presence_991@localhost/res1 in
</stream:stream>
*** User 2022-04-29 14:01:14.186 ***
bOb_kicked_after_sending_malformed_presence_991@localhost/res1 out
</stream:stream>
*** User 2022-04-29 14:01:14.187 ***
bOb_kicked_after_sending_malformed_presence_991@localhost/res1 in
</stream:stream>
*** User 2022-04-29 14:01:14.187 ***
alicE_kicked_after_sending_malformed_presence_991@localhost/res1 out
</stream:stream>
*** User 2022-04-29 14:01:14.187 ***
alicE_kicked_after_sending_malformed_presence_991@localhost/res1 in
</stream:stream>
=== Ended at 2022-04-29 14:01:14
=== successfully completed test case
=== === Returned value: ok