=== Test case: muc_SUITE:kicked_after_sending_malformed_presence/1 (click for source code)

=== Config value:

    [{watchdog,<0.31969.0>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
     {preset,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.muc_SUITE.logs/run.2022-03-03_10.35.57/muc_suite.kicked_after_sending_malformed_presence.15236.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@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.muc_SUITE.logs/run.2022-03-03_10.35.57/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{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 => [],mod_sic => [],mod_stream_management => [],
        mod_vcard =>
            [{backend,ldap},
             {host,{prefix,<<"vjud.">>}},
             {ldap_base,"ou=Users,dc=esl,dc=com"},
             {ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}},
     {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@fdcb4a001941.2022-03-03_10.29.25"

=== Started at 2022-03-03 10:36:12


*** CT 2022-03-03 10:36:12.727 *** View log from node mongooseim@localhost when started mongooseim@localhost_4471.html
*** CT 2022-03-03 10:36:12.728 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2321.html

*** User 2022-03-03 10:36:12.802 ***
alicE_kicked_after_sending_malformed_presence_762@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-03-03 10:36:12.805 ***
alicE_kicked_after_sending_malformed_presence_762@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7b7defb06d241b93' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:12.805 ***
alicE_kicked_after_sending_malformed_presence_762@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>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-03-03 10:36:12.806 ***
alicE_kicked_after_sending_malformed_presence_762@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2tpY2tlZF9hZnRlcl9zZW5kaW5nX21hbGZvcm1lZF9wcmVzZW5jZV83NjIAbWF0eWdyeXNh</auth>



*** User 2022-03-03 10:36:12.809 ***
alicE_kicked_after_sending_malformed_presence_762@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:36:12.809 ***
alicE_kicked_after_sending_malformed_presence_762@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-03-03 10:36:12.810 ***
alicE_kicked_after_sending_malformed_presence_762@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='79520c5dfa9bed33' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:12.810 ***
alicE_kicked_after_sending_malformed_presence_762@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-03-03 10:36:12.811 ***
alicE_kicked_after_sending_malformed_presence_762@localhost/res1 out
<iq type='set' id='9ecbaadd04ede94d07248f9770d52c2b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:36:12.875 ***
alicE_kicked_after_sending_malformed_presence_762@localhost/res1 in
<iq id='9ecbaadd04ede94d07248f9770d52c2b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_kicked_after_sending_malformed_presence_762@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:36:12.876 ***
alicE_kicked_after_sending_malformed_presence_762@localhost/res1 out
<iq type='set' id='2d1c5445dd95e136b3eda004f0831947'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:12.877 ***
alicE_kicked_after_sending_malformed_presence_762@localhost/res1 in
<iq type='result' id='2d1c5445dd95e136b3eda004f0831947'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:12.877 ***
alicE_kicked_after_sending_malformed_presence_762@localhost/res1 out
<presence/>



*** User 2022-03-03 10:36:12.879 ***
alicE_kicked_after_sending_malformed_presence_762@localhost/res1 in
<presence from='alicE_kicked_after_sending_malformed_presence_762@localhost/res1' to='alice_kicked_after_sending_malformed_presence_762@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:36:12.880 ***
bOb_kicked_after_sending_malformed_presence_762@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-03-03 10:36:12.882 ***
bOb_kicked_after_sending_malformed_presence_762@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3109a0ca2df1bbbd' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:12.882 ***
bOb_kicked_after_sending_malformed_presence_762@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>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-03-03 10:36:12.882 ***
bOb_kicked_after_sending_malformed_presence_762@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9raWNrZWRfYWZ0ZXJfc2VuZGluZ19tYWxmb3JtZWRfcHJlc2VuY2VfNzYyAG1ha3JvbGlrYQ==</auth>



*** User 2022-03-03 10:36:12.888 ***
bOb_kicked_after_sending_malformed_presence_762@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:36:12.888 ***
bOb_kicked_after_sending_malformed_presence_762@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-03-03 10:36:12.889 ***
bOb_kicked_after_sending_malformed_presence_762@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='62ff3c8b6b780928' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:12.889 ***
bOb_kicked_after_sending_malformed_presence_762@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-03-03 10:36:12.889 ***
bOb_kicked_after_sending_malformed_presence_762@localhost/res1 out
<iq type='set' id='7ebb11e13b08396d0ba1df0ea869e033'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:36:12.890 ***
bOb_kicked_after_sending_malformed_presence_762@localhost/res1 in
<iq id='7ebb11e13b08396d0ba1df0ea869e033' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_kicked_after_sending_malformed_presence_762@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:36:12.890 ***
bOb_kicked_after_sending_malformed_presence_762@localhost/res1 out
<iq type='set' id='3abf09d24d070afbca4b66c018c928b3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:12.891 ***
bOb_kicked_after_sending_malformed_presence_762@localhost/res1 in
<iq type='result' id='3abf09d24d070afbca4b66c018c928b3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:12.891 ***
bOb_kicked_after_sending_malformed_presence_762@localhost/res1 out
<presence/>



*** User 2022-03-03 10:36:12.892 ***
bOb_kicked_after_sending_malformed_presence_762@localhost/res1 in
<presence from='bOb_kicked_after_sending_malformed_presence_762@localhost/res1' to='bob_kicked_after_sending_malformed_presence_762@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:36:12.894 ***
kate_kicked_after_sending_malformed_presence_762@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-03-03 10:36:12.896 ***
kate_kicked_after_sending_malformed_presence_762@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2d90c1bf0d31939b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:12.896 ***
kate_kicked_after_sending_malformed_presence_762@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>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-03-03 10:36:12.896 ***
kate_kicked_after_sending_malformed_presence_762@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfa2lja2VkX2FmdGVyX3NlbmRpbmdfbWFsZm9ybWVkX3ByZXNlbmNlXzc2MgBtYWtyb3dlO3A=</auth>



*** User 2022-03-03 10:36:12.900 ***
kate_kicked_after_sending_malformed_presence_762@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:36:12.900 ***
kate_kicked_after_sending_malformed_presence_762@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-03-03 10:36:12.900 ***
kate_kicked_after_sending_malformed_presence_762@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9cbd83e36be5d62a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:12.900 ***
kate_kicked_after_sending_malformed_presence_762@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-03-03 10:36:12.901 ***
kate_kicked_after_sending_malformed_presence_762@localhost/res1 out
<iq type='set' id='8b33012fac28976445b1fbc545da108b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:36:12.901 ***
kate_kicked_after_sending_malformed_presence_762@localhost/res1 in
<iq id='8b33012fac28976445b1fbc545da108b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_kicked_after_sending_malformed_presence_762@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:36:12.902 ***
kate_kicked_after_sending_malformed_presence_762@localhost/res1 out
<iq type='set' id='0be43cefc8dba73c8bdc631222220abc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:12.903 ***
kate_kicked_after_sending_malformed_presence_762@localhost/res1 in
<iq type='result' id='0be43cefc8dba73c8bdc631222220abc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:12.903 ***
kate_kicked_after_sending_malformed_presence_762@localhost/res1 out
<presence/>



*** User 2022-03-03 10:36:12.905 ***
kate_kicked_after_sending_malformed_presence_762@localhost/res1 in
<presence from='kate_kicked_after_sending_malformed_presence_762@localhost/res1' to='kate_kicked_after_sending_malformed_presence_762@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:36:12.905 ***
kate_kicked_after_sending_malformed_presence_762@localhost/res1 out
<presence to='room-alice_kicked_after_sending_malformed_presence_762@muc.localhost/kate_kicked_after_sending_malformed_presence_762'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-03-03 10:36:12.906 ***
kate_kicked_after_sending_malformed_presence_762@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_762@muc.localhost/kate_kicked_after_sending_malformed_presence_762' to='kate_kicked_after_sending_malformed_presence_762@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-03-03 10:36:12.907 ***
bOb_kicked_after_sending_malformed_presence_762@localhost/res1 out
<presence to='room-alice_kicked_after_sending_malformed_presence_762@muc.localhost/bOb_kicked_after_sending_malformed_presence_762'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-03-03 10:36:12.908 ***
bOb_kicked_after_sending_malformed_presence_762@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_762@muc.localhost/kate_kicked_after_sending_malformed_presence_762' to='bOb_kicked_after_sending_malformed_presence_762@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-03-03 10:36:12.909 ***
bOb_kicked_after_sending_malformed_presence_762@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_762@muc.localhost/bOb_kicked_after_sending_malformed_presence_762' to='bOb_kicked_after_sending_malformed_presence_762@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-03-03 10:36:12.909 ***
bOb_kicked_after_sending_malformed_presence_762@localhost/res1 out
<presence type='error' to='room-alice_kicked_after_sending_malformed_presence_762@muc.localhost/bOb_kicked_after_sending_malformed_presence_762'/>



*** User 2022-03-03 10:36:12.909 ***
bOb_kicked_after_sending_malformed_presence_762@localhost/res1 in
<message from='room-alice_kicked_after_sending_malformed_presence_762@muc.localhost' to='bOb_kicked_after_sending_malformed_presence_762@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-03-03 10:36:12.910 ***
bOb_kicked_after_sending_malformed_presence_762@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_762@muc.localhost/bOb_kicked_after_sending_malformed_presence_762' to='bOb_kicked_after_sending_malformed_presence_762@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-03-03 10:36:12.911 ***
alicE_kicked_after_sending_malformed_presence_762@localhost/res1 out
<presence to='room-alice_kicked_after_sending_malformed_presence_762@muc.localhost/alicE_kicked_after_sending_malformed_presence_762'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-03-03 10:36:12.912 ***
alicE_kicked_after_sending_malformed_presence_762@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_762@muc.localhost/kate_kicked_after_sending_malformed_presence_762' to='alicE_kicked_after_sending_malformed_presence_762@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_kicked_after_sending_malformed_presence_762@localhost/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-03-03 10:36:12.912 ***
alicE_kicked_after_sending_malformed_presence_762@localhost/res1 in
<presence from='room-alice_kicked_after_sending_malformed_presence_762@muc.localhost/alicE_kicked_after_sending_malformed_presence_762' to='alicE_kicked_after_sending_malformed_presence_762@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='alicE_kicked_after_sending_malformed_presence_762@localhost/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-03-03 10:36:12.912 ***
alicE_kicked_after_sending_malformed_presence_762@localhost/res1 in
<message from='room-alice_kicked_after_sending_malformed_presence_762@muc.localhost' to='alicE_kicked_after_sending_malformed_presence_762@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-03-03 10:36:12.912 ***
kate_kicked_after_sending_malformed_presence_762@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:36:12.912 ***
kate_kicked_after_sending_malformed_presence_762@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:36:12.912 ***
bOb_kicked_after_sending_malformed_presence_762@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:36:12.913 ***
bOb_kicked_after_sending_malformed_presence_762@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:36:12.913 ***
alicE_kicked_after_sending_malformed_presence_762@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:36:12.913 ***
alicE_kicked_after_sending_malformed_presence_762@localhost/res1 in
</stream:stream>
*** CT 2022-03-03 10:36:12.992 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2321.html
*** CT 2022-03-03 10:36:12.993 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4471.html



=== Ended at 2022-03-03 10:36:13
=== successfully completed test case
=== === Returned value: ok