=== Test case: muc_SUITE:kicked_after_sending_malformed_presence/1 (click for source code)
=== Config value:
[{watchdog,<0.6093.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@86bdabdb5d0f.2024-04-16_11.58.25/big_tests.tests.muc_SUITE.logs/run.2024-04-16_12.10.39/muc_suite.kicked_after_sending_malformed_presence.224258.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@86bdabdb5d0f.2024-04-16_11.58.25/big_tests.tests.muc_SUITE.logs/run.2024-04-16_12.10.39/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@86bdabdb5d0f.2024-04-16_11.58.25"
=== Started at 2024-04-16 12:10:53
Could not find element wait_for_parallel_writer in Config.
*** User 2024-04-16 12:10:53.504 ***🔗
alicE_kicked_after_sending_malformed_presence_2850@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-16 12:10:53.505 ***🔗
alicE_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='996d3bd84c5aacd6' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 12:10:53.506 ***🔗
alicE_kicked_after_sending_malformed_presence_2850@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-16 12:10:53.506 ***🔗
alicE_kicked_after_sending_malformed_presence_2850@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2tpY2tlZF9hZnRlcl9zZW5kaW5nX21hbGZvcm1lZF9wcmVzZW5jZV8yODUwAG1hdHlncnlzYQ==</auth>
*** User 2024-04-16 12:10:53.507 ***🔗
alicE_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 12:10:53.508 ***🔗
alicE_kicked_after_sending_malformed_presence_2850@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-16 12:10:53.508 ***🔗
alicE_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='445e85368b1e66e1' from='localhost' version='1.0' xml:lang='en' to='alice_kicked_after_sending_malformed_presence_2850@localhost'>
*** User 2024-04-16 12:10:53.509 ***🔗
alicE_kicked_after_sending_malformed_presence_2850@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-16 12:10:53.509 ***🔗
alicE_kicked_after_sending_malformed_presence_2850@localhost/res1 out
<iq type='set' id='2be55d7d8925c3c8ccc77f4670f4a807'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 12:10:53.510 ***🔗
alicE_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<iq id='2be55d7d8925c3c8ccc77f4670f4a807' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_kicked_after_sending_malformed_presence_2850@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 12:10:53.510 ***🔗
alice_kicked_after_sending_malformed_presence_2850@localhost/res1 out
<iq type='set' id='a1c17b5ea6d0415206aa6a56f69f768a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 12:10:53.512 ***🔗
alice_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<iq from='localhost' to='alice_kicked_after_sending_malformed_presence_2850@localhost/res1' id='a1c17b5ea6d0415206aa6a56f69f768a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 12:10:53.513 ***🔗
alice_kicked_after_sending_malformed_presence_2850@localhost/res1 out
<presence/>
*** User 2024-04-16 12:10:53.515 ***🔗
alice_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<presence from='alice_kicked_after_sending_malformed_presence_2850@localhost/res1' to='alice_kicked_after_sending_malformed_presence_2850@localhost/res1'/>
*** User 2024-04-16 12:10:53.517 ***🔗
bOb_kicked_after_sending_malformed_presence_2850@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-16 12:10:53.518 ***🔗
bOb_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fdcea4a45076053a' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 12:10:53.518 ***🔗
bOb_kicked_after_sending_malformed_presence_2850@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-16 12:10:53.518 ***🔗
bOb_kicked_after_sending_malformed_presence_2850@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9raWNrZWRfYWZ0ZXJfc2VuZGluZ19tYWxmb3JtZWRfcHJlc2VuY2VfMjg1MABtYWtyb2xpa2E=</auth>
*** User 2024-04-16 12:10:53.522 ***🔗
bOb_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 12:10:53.523 ***🔗
bOb_kicked_after_sending_malformed_presence_2850@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-16 12:10:53.524 ***🔗
bOb_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3cad33cbba417438' from='localhost' version='1.0' xml:lang='en' to='bob_kicked_after_sending_malformed_presence_2850@localhost'>
*** User 2024-04-16 12:10:53.524 ***🔗
bOb_kicked_after_sending_malformed_presence_2850@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-16 12:10:53.524 ***🔗
bOb_kicked_after_sending_malformed_presence_2850@localhost/res1 out
<iq type='set' id='750ab1dd3fb47cc21915f6def46d1cfb'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 12:10:53.525 ***🔗
bOb_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<iq id='750ab1dd3fb47cc21915f6def46d1cfb' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_kicked_after_sending_malformed_presence_2850@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 12:10:53.525 ***🔗
bob_kicked_after_sending_malformed_presence_2850@localhost/res1 out
<iq type='set' id='ed2a1393659e22eb1c95ca2b865dbe63'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 12:10:53.526 ***🔗
bob_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<iq from='localhost' to='bob_kicked_after_sending_malformed_presence_2850@localhost/res1' id='ed2a1393659e22eb1c95ca2b865dbe63' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 12:10:53.527 ***🔗
bob_kicked_after_sending_malformed_presence_2850@localhost/res1 out
<presence/>
*** User 2024-04-16 12:10:53.530 ***🔗
bob_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<presence from='bob_kicked_after_sending_malformed_presence_2850@localhost/res1' to='bob_kicked_after_sending_malformed_presence_2850@localhost/res1'/>
*** User 2024-04-16 12:10:53.531 ***🔗
kate_kicked_after_sending_malformed_presence_2850@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-16 12:10:53.532 ***🔗
kate_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2510319b179ebf00' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 12:10:53.532 ***🔗
kate_kicked_after_sending_malformed_presence_2850@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-16 12:10:53.532 ***🔗
kate_kicked_after_sending_malformed_presence_2850@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfa2lja2VkX2FmdGVyX3NlbmRpbmdfbWFsZm9ybWVkX3ByZXNlbmNlXzI4NTAAbWFrcm93ZTtw</auth>
*** User 2024-04-16 12:10:53.534 ***🔗
kate_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 12:10:53.534 ***🔗
kate_kicked_after_sending_malformed_presence_2850@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-16 12:10:53.535 ***🔗
kate_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='19ce4987d084d35f' from='localhost' version='1.0' xml:lang='en' to='kate_kicked_after_sending_malformed_presence_2850@localhost'>
*** User 2024-04-16 12:10:53.536 ***🔗
kate_kicked_after_sending_malformed_presence_2850@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-16 12:10:53.536 ***🔗
kate_kicked_after_sending_malformed_presence_2850@localhost/res1 out
<iq type='set' id='81fe827fea59ef0e94c271c3f8447c17'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 12:10:53.537 ***🔗
kate_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<iq id='81fe827fea59ef0e94c271c3f8447c17' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_kicked_after_sending_malformed_presence_2850@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 12:10:53.537 ***🔗
kate_kicked_after_sending_malformed_presence_2850@localhost/res1 out
<iq type='set' id='8e96be86f2c44fab6d603661f8488efd'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 12:10:53.597 ***🔗
kate_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<iq from='localhost' to='kate_kicked_after_sending_malformed_presence_2850@localhost/res1' id='8e96be86f2c44fab6d603661f8488efd' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 12:10:53.597 ***🔗
kate_kicked_after_sending_malformed_presence_2850@localhost/res1 out
<presence/>
*** User 2024-04-16 12:10:53.599 ***🔗
kate_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<presence from='kate_kicked_after_sending_malformed_presence_2850@localhost/res1' to='kate_kicked_after_sending_malformed_presence_2850@localhost/res1'/>
*** User 2024-04-16 12:10:53.599 ***🔗
kate_kicked_after_sending_malformed_presence_2850@localhost/res1 out
<presence to='room-alice_kicked_after_sending_malformed_presence_2850@muc.localhost/kate_kicked_after_sending_malformed_presence_2850'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-04-16 12:10:53.602 ***🔗
kate_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_2850@muc.localhost/kate_kicked_after_sending_malformed_presence_2850' to='kate_kicked_after_sending_malformed_presence_2850@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-16 12:10:53.602 ***🔗
bob_kicked_after_sending_malformed_presence_2850@localhost/res1 out
<presence to='room-alice_kicked_after_sending_malformed_presence_2850@muc.localhost/bob_kicked_after_sending_malformed_presence_2850'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-04-16 12:10:53.604 ***🔗
bob_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_2850@muc.localhost/kate_kicked_after_sending_malformed_presence_2850' to='bob_kicked_after_sending_malformed_presence_2850@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2024-04-16 12:10:53.604 ***🔗
bob_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_2850@muc.localhost/bob_kicked_after_sending_malformed_presence_2850' to='bob_kicked_after_sending_malformed_presence_2850@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
<status code='110'/>
</x>
</presence>
*** User 2024-04-16 12:10:53.604 ***🔗
bob_kicked_after_sending_malformed_presence_2850@localhost/res1 out
<presence type='error' to='room-alice_kicked_after_sending_malformed_presence_2850@muc.localhost/bob_kicked_after_sending_malformed_presence_2850'/>
*** User 2024-04-16 12:10:53.605 ***🔗
bob_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<message from='room-alice_kicked_after_sending_malformed_presence_2850@muc.localhost' to='bob_kicked_after_sending_malformed_presence_2850@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2024-04-16 12:10:53.606 ***🔗
bob_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_2850@muc.localhost/bob_kicked_after_sending_malformed_presence_2850' to='bob_kicked_after_sending_malformed_presence_2850@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-16 12:10:53.606 ***🔗
alice_kicked_after_sending_malformed_presence_2850@localhost/res1 out
<presence to='room-alice_kicked_after_sending_malformed_presence_2850@muc.localhost/alice_kicked_after_sending_malformed_presence_2850'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-04-16 12:10:53.607 ***🔗
alice_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_2850@muc.localhost/kate_kicked_after_sending_malformed_presence_2850' to='alice_kicked_after_sending_malformed_presence_2850@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item jid='kate_kicked_after_sending_malformed_presence_2850@localhost/res1' affiliation='none' role='participant'/>
</x>
</presence>
*** User 2024-04-16 12:10:53.607 ***🔗
alice_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_2850@muc.localhost/alice_kicked_after_sending_malformed_presence_2850' to='alice_kicked_after_sending_malformed_presence_2850@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item jid='alice_kicked_after_sending_malformed_presence_2850@localhost/res1' affiliation='owner' role='moderator'/>
<status code='110'/>
</x>
</presence>
*** User 2024-04-16 12:10:53.607 ***🔗
alice_kicked_after_sending_malformed_presence_2850@localhost/res1 in
<message from='room-alice_kicked_after_sending_malformed_presence_2850@muc.localhost' to='alice_kicked_after_sending_malformed_presence_2850@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2024-04-16 12:10:53.607 ***🔗
kate_kicked_after_sending_malformed_presence_2850@localhost/res1 out
</stream:stream>
*** User 2024-04-16 12:10:53.608 ***🔗
kate_kicked_after_sending_malformed_presence_2850@localhost/res1 in
</stream:stream>
*** User 2024-04-16 12:10:53.608 ***🔗
bob_kicked_after_sending_malformed_presence_2850@localhost/res1 out
</stream:stream>
*** User 2024-04-16 12:10:53.609 ***🔗
bob_kicked_after_sending_malformed_presence_2850@localhost/res1 in
</stream:stream>
*** User 2024-04-16 12:10:53.609 ***🔗
alice_kicked_after_sending_malformed_presence_2850@localhost/res1 out
</stream:stream>
*** User 2024-04-16 12:10:53.609 ***🔗
alice_kicked_after_sending_malformed_presence_2850@localhost/res1 in
</stream:stream>
*** User 2024-04-16 12:10:53.610 ***🔗
waiting for room_archive_size is done in 0 miliseconds
=== Ended at 2024-04-16 12:10:53
=== successfully completed test case
=== === Returned value: ok