=== Test case: muc_SUITE:kicked_after_sending_malformed_presence/1 (click for source code)
=== Config value:
[{watchdog,<0.16864.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
{preset,"odbc_mssql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.muc_SUITE.logs/run.2022-01-27_12.34.19/muc_suite.kicked_after_sending_malformed_presence.95235.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.muc_SUITE.logs/run.2022-01-27_12.34.19/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{mod_adhoc => [],mod_amp => [],mod_bosh => [],
mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
mod_carboncopy => [],mod_commands => [],
mod_disco => [{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"}]},
{welcome_message,{[],[]}}],
mod_roster => [{backend,rdbms}],
mod_sic => [],mod_stream_management => [],
mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrolika">>}]},
{kate,[{username,<<"kate">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrowe;p">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57"
=== Started at 2022-01-27 12:34:37
*** User 2022-01-27 12:34:38.436 ***
alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 12:34:38.439 ***
alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c9ad82870b71b591' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:34:38.439 ***
alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/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-01-27 12:34:38.439 ***
alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2tpY2tlZF9hZnRlcl9zZW5kaW5nX21hbGZvcm1lZF9wcmVzZW5jZV8xNTgzAG1hdHlncnlzYQ==</auth>
*** User 2022-01-27 12:34:38.441 ***
alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 12:34:38.441 ***
alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 12:34:38.442 ***
alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1c27f0eb688844e8' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:34:38.442 ***
alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/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-01-27 12:34:38.442 ***
alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
<iq type='set' id='4a34a4f6e95be944701a32737a69888c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 12:34:38.443 ***
alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<iq id='4a34a4f6e95be944701a32737a69888c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-01-27 12:34:38.443 ***
alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
<iq type='set' id='c86adc6ae8edc7618af84d8d6dedbc8f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:34:38.444 ***
alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<iq type='result' id='c86adc6ae8edc7618af84d8d6dedbc8f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:34:38.444 ***
alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
<presence/>
*** User 2022-01-27 12:34:38.446 ***
alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<presence from='alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1' to='alice_kicked_after_sending_malformed_presence_1583@domain.example.com/res1' xml:lang='en'/>
*** User 2022-01-27 12:34:38.447 ***
bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 12:34:38.447 ***
bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4f7710196aab2dd6' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:34:38.447 ***
bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/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-01-27 12:34:38.448 ***
bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9raWNrZWRfYWZ0ZXJfc2VuZGluZ19tYWxmb3JtZWRfcHJlc2VuY2VfMTU4MwBtYWtyb2xpa2E=</auth>
*** User 2022-01-27 12:34:38.450 ***
bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 12:34:38.450 ***
bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 12:34:38.451 ***
bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9b1e3c4e0e49f528' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:34:38.451 ***
bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/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-01-27 12:34:38.451 ***
bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
<iq type='set' id='a9e3d4a19906fc4a736e08be5ed93869'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 12:34:38.452 ***
bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<iq id='a9e3d4a19906fc4a736e08be5ed93869' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-01-27 12:34:38.452 ***
bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
<iq type='set' id='1cf843d7821a0acf0d1ece25ff97dcfc'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:34:38.453 ***
bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<iq type='result' id='1cf843d7821a0acf0d1ece25ff97dcfc'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:34:38.453 ***
bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
<presence/>
*** User 2022-01-27 12:34:38.455 ***
bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<presence from='bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1' to='bob_kicked_after_sending_malformed_presence_1583@domain.example.com/res1' xml:lang='en'/>
*** User 2022-01-27 12:34:38.456 ***
kate_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 12:34:38.457 ***
kate_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cb52199e57b6d4ff' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:34:38.457 ***
kate_kicked_after_sending_malformed_presence_1583@domain.example.com/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-01-27 12:34:38.457 ***
kate_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfa2lja2VkX2FmdGVyX3NlbmRpbmdfbWFsZm9ybWVkX3ByZXNlbmNlXzE1ODMAbWFrcm93ZTtw</auth>
*** User 2022-01-27 12:34:38.459 ***
kate_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 12:34:38.459 ***
kate_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-27 12:34:38.459 ***
kate_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9ab20ad09b80f3b3' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-01-27 12:34:38.460 ***
kate_kicked_after_sending_malformed_presence_1583@domain.example.com/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-01-27 12:34:38.460 ***
kate_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
<iq type='set' id='75d24150774a6945a235da8afdc036fb'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 12:34:38.460 ***
kate_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<iq id='75d24150774a6945a235da8afdc036fb' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_kicked_after_sending_malformed_presence_1583@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-01-27 12:34:38.460 ***
kate_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
<iq type='set' id='04958595a7179153c995e159a1cfee72'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:34:38.463 ***
kate_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<iq type='result' id='04958595a7179153c995e159a1cfee72'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 12:34:38.463 ***
kate_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
<presence/>
*** User 2022-01-27 12:34:38.465 ***
kate_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<presence from='kate_kicked_after_sending_malformed_presence_1583@domain.example.com/res1' to='kate_kicked_after_sending_malformed_presence_1583@domain.example.com/res1' xml:lang='en'/>
*** User 2022-01-27 12:34:38.465 ***
kate_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
<presence to='room-alice_kicked_after_sending_malformed_presence_1583@groupchats.domain.example.com/kate_kicked_after_sending_malformed_presence_1583'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-01-27 12:34:38.466 ***
kate_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_1583@groupchats.domain.example.com/kate_kicked_after_sending_malformed_presence_1583' to='kate_kicked_after_sending_malformed_presence_1583@domain.example.com/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-01-27 12:34:38.467 ***
bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
<presence to='room-alice_kicked_after_sending_malformed_presence_1583@groupchats.domain.example.com/bOb_kicked_after_sending_malformed_presence_1583'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-01-27 12:34:38.468 ***
bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_1583@groupchats.domain.example.com/kate_kicked_after_sending_malformed_presence_1583' to='bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2022-01-27 12:34:38.468 ***
bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_1583@groupchats.domain.example.com/bOb_kicked_after_sending_malformed_presence_1583' to='bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
<status code='110'/>
</x>
</presence>
*** User 2022-01-27 12:34:38.468 ***
bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
<presence type='error' to='room-alice_kicked_after_sending_malformed_presence_1583@groupchats.domain.example.com/bOb_kicked_after_sending_malformed_presence_1583'/>
*** User 2022-01-27 12:34:38.468 ***
bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<message from='room-alice_kicked_after_sending_malformed_presence_1583@groupchats.domain.example.com' to='bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-01-27 12:34:38.469 ***
bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_1583@groupchats.domain.example.com/bOb_kicked_after_sending_malformed_presence_1583' to='bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/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-01-27 12:34:38.469 ***
alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
<presence to='room-alice_kicked_after_sending_malformed_presence_1583@groupchats.domain.example.com/alicE_kicked_after_sending_malformed_presence_1583'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-01-27 12:34:38.470 ***
alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_1583@groupchats.domain.example.com/kate_kicked_after_sending_malformed_presence_1583' to='alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item jid='kate_kicked_after_sending_malformed_presence_1583@domain.example.com/res1' affiliation='none' role='participant'/>
</x>
</presence>
*** User 2022-01-27 12:34:38.471 ***
alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_1583@groupchats.domain.example.com/alicE_kicked_after_sending_malformed_presence_1583' to='alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item jid='alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1' affiliation='owner' role='moderator'/>
<status code='110'/>
</x>
</presence>
*** User 2022-01-27 12:34:38.471 ***
alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
<message from='room-alice_kicked_after_sending_malformed_presence_1583@groupchats.domain.example.com' to='alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-01-27 12:34:38.471 ***
kate_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
</stream:stream>
*** User 2022-01-27 12:34:38.472 ***
kate_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
</stream:stream>
*** User 2022-01-27 12:34:38.472 ***
bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
</stream:stream>
*** User 2022-01-27 12:34:38.472 ***
bOb_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
</stream:stream>
*** User 2022-01-27 12:34:38.472 ***
alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 out
</stream:stream>
*** User 2022-01-27 12:34:38.472 ***
alicE_kicked_after_sending_malformed_presence_1583@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-01-27 12:34:38
=== successfully completed test case
=== === Returned value: ok