=== Test case: muc_SUITE:kicked_after_sending_malformed_presence/1 (click for source code)
=== Config value:
[{watchdog,<0.40361.0>},
{preset,"internal_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@8dadd8a9c704.2024-03-29_09.14.50/big_tests.tests.muc_SUITE.logs/run.2024-03-29_09.26.38/muc_suite.kicked_after_sending_malformed_presence.23684.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@8dadd8a9c704.2024-03-29_09.14.50/big_tests.tests.muc_SUITE.logs/run.2024-03-29_09.26.38/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,backend => mnesia,iqdisc => parallel},
mod_roster =>
#{backend => mnesia,iqdisc => one_queue,versioning => false,
store_current_id => false},
mod_amp => #{},
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_presence => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
ack_freq => 1,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
resume_timeout => 600},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue}}},
{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@8dadd8a9c704.2024-03-29_09.14.50"
=== Started at 2024-03-29 09:26:51
*** User 2024-03-29 09:26:51.953 ***🔗
alicE_kicked_after_sending_malformed_presence_1385@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-03-29 09:26:51.956 ***🔗
alicE_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1d105154258cd67a' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-29 09:26:51.956 ***🔗
alicE_kicked_after_sending_malformed_presence_1385@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-03-29 09:26:51.957 ***🔗
alicE_kicked_after_sending_malformed_presence_1385@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2tpY2tlZF9hZnRlcl9zZW5kaW5nX21hbGZvcm1lZF9wcmVzZW5jZV8xMzg1AG1hdHlncnlzYQ==</auth>
*** User 2024-03-29 09:26:51.958 ***🔗
alicE_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-29 09:26:51.959 ***🔗
alicE_kicked_after_sending_malformed_presence_1385@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-03-29 09:26:51.960 ***🔗
alicE_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c4aa76d960b3e10a' from='localhost' version='1.0' xml:lang='en' to='alice_kicked_after_sending_malformed_presence_1385@localhost'>
*** User 2024-03-29 09:26:51.960 ***🔗
alicE_kicked_after_sending_malformed_presence_1385@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-03-29 09:26:51.961 ***🔗
alicE_kicked_after_sending_malformed_presence_1385@localhost/res1 out
<iq type='set' id='235b12aaebac7b1b71ef158c40f98e8f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-29 09:26:51.964 ***🔗
alicE_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<iq id='235b12aaebac7b1b71ef158c40f98e8f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_kicked_after_sending_malformed_presence_1385@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-29 09:26:51.964 ***🔗
alice_kicked_after_sending_malformed_presence_1385@localhost/res1 out
<iq type='set' id='97da164c648bc099198b9216dc8af958'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-29 09:26:51.966 ***🔗
alice_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<iq from='localhost' to='alice_kicked_after_sending_malformed_presence_1385@localhost/res1' id='97da164c648bc099198b9216dc8af958' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-29 09:26:51.967 ***🔗
alice_kicked_after_sending_malformed_presence_1385@localhost/res1 out
<presence/>
*** User 2024-03-29 09:26:51.969 ***🔗
alice_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<presence from='alice_kicked_after_sending_malformed_presence_1385@localhost/res1' to='alice_kicked_after_sending_malformed_presence_1385@localhost/res1'/>
*** User 2024-03-29 09:26:51.973 ***🔗
bOb_kicked_after_sending_malformed_presence_1385@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-03-29 09:26:51.975 ***🔗
bOb_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f1baacfee099f578' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-29 09:26:51.976 ***🔗
bOb_kicked_after_sending_malformed_presence_1385@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-03-29 09:26:51.977 ***🔗
bOb_kicked_after_sending_malformed_presence_1385@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9raWNrZWRfYWZ0ZXJfc2VuZGluZ19tYWxmb3JtZWRfcHJlc2VuY2VfMTM4NQBtYWtyb2xpa2E=</auth>
*** User 2024-03-29 09:26:51.978 ***🔗
bOb_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-29 09:26:51.979 ***🔗
bOb_kicked_after_sending_malformed_presence_1385@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-03-29 09:26:51.984 ***🔗
bOb_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3a19f090c423fd88' from='localhost' version='1.0' xml:lang='en' to='bob_kicked_after_sending_malformed_presence_1385@localhost'>
*** User 2024-03-29 09:26:51.985 ***🔗
bOb_kicked_after_sending_malformed_presence_1385@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-03-29 09:26:51.985 ***🔗
bOb_kicked_after_sending_malformed_presence_1385@localhost/res1 out
<iq type='set' id='0e4db4664f3c57910b0b4eb8f65d83de'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-29 09:26:52.036 ***🔗
bOb_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<iq id='0e4db4664f3c57910b0b4eb8f65d83de' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_kicked_after_sending_malformed_presence_1385@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-29 09:26:52.036 ***🔗
bob_kicked_after_sending_malformed_presence_1385@localhost/res1 out
<iq type='set' id='e0114ec8faeca45370a062eefe76834c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-29 09:26:52.038 ***🔗
bob_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<iq from='localhost' to='bob_kicked_after_sending_malformed_presence_1385@localhost/res1' id='e0114ec8faeca45370a062eefe76834c' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-29 09:26:52.038 ***🔗
bob_kicked_after_sending_malformed_presence_1385@localhost/res1 out
<presence/>
*** User 2024-03-29 09:26:52.039 ***🔗
bob_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<presence from='bob_kicked_after_sending_malformed_presence_1385@localhost/res1' to='bob_kicked_after_sending_malformed_presence_1385@localhost/res1'/>
*** User 2024-03-29 09:26:52.042 ***🔗
kate_kicked_after_sending_malformed_presence_1385@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-03-29 09:26:52.044 ***🔗
kate_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b09778ae936c3a8' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-29 09:26:52.045 ***🔗
kate_kicked_after_sending_malformed_presence_1385@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-03-29 09:26:52.045 ***🔗
kate_kicked_after_sending_malformed_presence_1385@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfa2lja2VkX2FmdGVyX3NlbmRpbmdfbWFsZm9ybWVkX3ByZXNlbmNlXzEzODUAbWFrcm93ZTtw</auth>
*** User 2024-03-29 09:26:52.046 ***🔗
kate_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-29 09:26:52.046 ***🔗
kate_kicked_after_sending_malformed_presence_1385@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-03-29 09:26:52.050 ***🔗
kate_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a1dbdd098aa256b3' from='localhost' version='1.0' xml:lang='en' to='kate_kicked_after_sending_malformed_presence_1385@localhost'>
*** User 2024-03-29 09:26:52.050 ***🔗
kate_kicked_after_sending_malformed_presence_1385@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-03-29 09:26:52.050 ***🔗
kate_kicked_after_sending_malformed_presence_1385@localhost/res1 out
<iq type='set' id='cb021a5817e68263f9fb17924d24028d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-29 09:26:52.052 ***🔗
kate_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<iq id='cb021a5817e68263f9fb17924d24028d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_kicked_after_sending_malformed_presence_1385@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-29 09:26:52.052 ***🔗
kate_kicked_after_sending_malformed_presence_1385@localhost/res1 out
<iq type='set' id='b500b41f35e41603ec21af4bf302a528'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-29 09:26:52.053 ***🔗
kate_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<iq from='localhost' to='kate_kicked_after_sending_malformed_presence_1385@localhost/res1' id='b500b41f35e41603ec21af4bf302a528' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-29 09:26:52.053 ***🔗
kate_kicked_after_sending_malformed_presence_1385@localhost/res1 out
<presence/>
*** User 2024-03-29 09:26:52.054 ***🔗
kate_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<presence from='kate_kicked_after_sending_malformed_presence_1385@localhost/res1' to='kate_kicked_after_sending_malformed_presence_1385@localhost/res1'/>
*** User 2024-03-29 09:26:52.054 ***🔗
kate_kicked_after_sending_malformed_presence_1385@localhost/res1 out
<presence to='room-alice_kicked_after_sending_malformed_presence_1385@muc.localhost/kate_kicked_after_sending_malformed_presence_1385'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-03-29 09:26:52.055 ***🔗
kate_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_1385@muc.localhost/kate_kicked_after_sending_malformed_presence_1385' to='kate_kicked_after_sending_malformed_presence_1385@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
<status code='110'/>
<status code='201'/>
</x>
</presence>
*** User 2024-03-29 09:26:52.055 ***🔗
bob_kicked_after_sending_malformed_presence_1385@localhost/res1 out
<presence to='room-alice_kicked_after_sending_malformed_presence_1385@muc.localhost/bob_kicked_after_sending_malformed_presence_1385'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-03-29 09:26:52.056 ***🔗
bob_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_1385@muc.localhost/kate_kicked_after_sending_malformed_presence_1385' to='bob_kicked_after_sending_malformed_presence_1385@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2024-03-29 09:26:52.057 ***🔗
bob_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_1385@muc.localhost/bob_kicked_after_sending_malformed_presence_1385' to='bob_kicked_after_sending_malformed_presence_1385@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
<status code='110'/>
</x>
</presence>
*** User 2024-03-29 09:26:52.057 ***🔗
bob_kicked_after_sending_malformed_presence_1385@localhost/res1 out
<presence type='error' to='room-alice_kicked_after_sending_malformed_presence_1385@muc.localhost/bob_kicked_after_sending_malformed_presence_1385'/>
*** User 2024-03-29 09:26:52.057 ***🔗
bob_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<message from='room-alice_kicked_after_sending_malformed_presence_1385@muc.localhost' to='bob_kicked_after_sending_malformed_presence_1385@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2024-03-29 09:26:52.058 ***🔗
bob_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_1385@muc.localhost/bob_kicked_after_sending_malformed_presence_1385' to='bob_kicked_after_sending_malformed_presence_1385@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-03-29 09:26:52.058 ***🔗
alice_kicked_after_sending_malformed_presence_1385@localhost/res1 out
<presence to='room-alice_kicked_after_sending_malformed_presence_1385@muc.localhost/alice_kicked_after_sending_malformed_presence_1385'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-03-29 09:26:52.058 ***🔗
alice_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_1385@muc.localhost/kate_kicked_after_sending_malformed_presence_1385' to='alice_kicked_after_sending_malformed_presence_1385@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item jid='kate_kicked_after_sending_malformed_presence_1385@localhost/res1' affiliation='none' role='participant'/>
</x>
</presence>
*** User 2024-03-29 09:26:52.059 ***🔗
alice_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_1385@muc.localhost/alice_kicked_after_sending_malformed_presence_1385' to='alice_kicked_after_sending_malformed_presence_1385@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item jid='alice_kicked_after_sending_malformed_presence_1385@localhost/res1' affiliation='owner' role='moderator'/>
<status code='110'/>
</x>
</presence>
*** User 2024-03-29 09:26:52.063 ***🔗
alice_kicked_after_sending_malformed_presence_1385@localhost/res1 in
<message from='room-alice_kicked_after_sending_malformed_presence_1385@muc.localhost' to='alice_kicked_after_sending_malformed_presence_1385@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2024-03-29 09:26:52.063 ***🔗
kate_kicked_after_sending_malformed_presence_1385@localhost/res1 out
</stream:stream>
*** User 2024-03-29 09:26:52.063 ***🔗
kate_kicked_after_sending_malformed_presence_1385@localhost/res1 in
</stream:stream>
*** User 2024-03-29 09:26:52.063 ***🔗
bob_kicked_after_sending_malformed_presence_1385@localhost/res1 out
</stream:stream>
*** User 2024-03-29 09:26:52.065 ***🔗
bob_kicked_after_sending_malformed_presence_1385@localhost/res1 in
</stream:stream>
*** User 2024-03-29 09:26:52.065 ***🔗
alice_kicked_after_sending_malformed_presence_1385@localhost/res1 out
</stream:stream>
*** User 2024-03-29 09:26:52.066 ***🔗
alice_kicked_after_sending_malformed_presence_1385@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-29 09:26:52
=== successfully completed test case
=== === Returned value: ok