=== Test case: muc_light_legacy_SUITE:block_user/1 (click for source code)

=== Config value:

    [{watchdog,<0.22718.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/muc_light_legacy_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.muc_light_legacy_SUITE.logs/run.2022-03-04_11.24.16/muc_light_legacy_suite.block_user.html"},
     {tc_group_properties,[{name,blocking},{repeat_until_all_ok,3},sequence]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/muc_light_legacy_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.muc_light_legacy_SUITE.logs/run.2022-03-04_11.24.16/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">>}]},
                     {mike,[{username,<<"mike">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"nicniema">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52"

=== Started at 2022-03-04 11:24:20


*** CT 2022-03-04 11:24:20.232 *** View log from node mongooseim@localhost when started mongooseim@localhost_2342.html
*** CT 2022-03-04 11:24:20.233 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_606.html

*** User 2022-03-04 11:24:20.254 ***
alicE@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-03-04 11:24:20.255 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c8fa33cbe0f1b298' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:20.255 ***
alicE@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-03-04 11:24:20.255 ***
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-03-04 11:24:20.256 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:24:20.256 ***
alicE@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-03-04 11:24:20.256 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bbb8902738426e87' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:20.256 ***
alicE@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-03-04 11:24:20.256 ***
alicE@domain.example.com/res1 out
<iq type='set' id='d252dc36b2971a7c85831b7c1e60bcd2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:24:20.256 ***
alicE@domain.example.com/res1 in
<iq id='d252dc36b2971a7c85831b7c1e60bcd2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:24:20.257 ***
alicE@domain.example.com/res1 out
<iq type='set' id='5845e90cbd25d9dcf9fd452ec5225194'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:20.257 ***
alicE@domain.example.com/res1 in
<iq type='result' id='5845e90cbd25d9dcf9fd452ec5225194'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:20.257 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:24:20.258 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:24:20.259 ***
bOb@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-03-04 11:24:20.259 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e2e6ce961ba50193' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:20.259 ***
bOb@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-03-04 11:24:20.259 ***
bOb@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-03-04 11:24:20.260 ***
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:24:20.260 ***
bOb@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-03-04 11:24:20.260 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1936943a684fa696' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:20.260 ***
bOb@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-03-04 11:24:20.261 ***
bOb@domain.example.com/res1 out
<iq type='set' id='504964d485bc33fa884ac4b3f82b937e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:24:20.261 ***
bOb@domain.example.com/res1 in
<iq id='504964d485bc33fa884ac4b3f82b937e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:24:20.261 ***
bOb@domain.example.com/res1 out
<iq type='set' id='3030b2d42b0eecf88cc44177f282dc3d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:20.261 ***
bOb@domain.example.com/res1 in
<iq type='result' id='3030b2d42b0eecf88cc44177f282dc3d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:20.261 ***
bOb@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:24:20.262 ***
bOb@domain.example.com/res1 in
<presence from='bOb@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:24:20.263 ***
kate@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-03-04 11:24:20.263 ***
kate@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='762a15f7e3f043bc' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:20.263 ***
kate@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-03-04 11:24:20.263 ***
kate@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGUAbWFrcm93ZTtw</auth>



*** User 2022-03-04 11:24:20.264 ***
kate@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:24:20.264 ***
kate@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-03-04 11:24:20.264 ***
kate@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='307a840b82f4e5e0' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:20.264 ***
kate@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-03-04 11:24:20.265 ***
kate@domain.example.com/res1 out
<iq type='set' id='c3edfd60671244aa5cd1e4e76631844f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:24:20.265 ***
kate@domain.example.com/res1 in
<iq id='c3edfd60671244aa5cd1e4e76631844f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:24:20.265 ***
kate@domain.example.com/res1 out
<iq type='set' id='dad45e9efe6c58dc001c5eca3e7dbca4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:20.265 ***
kate@domain.example.com/res1 in
<iq type='result' id='dad45e9efe6c58dc001c5eca3e7dbca4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:20.265 ***
kate@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:24:20.266 ***
kate@domain.example.com/res1 in
<presence from='kate@domain.example.com/res1' to='kate@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:24:20.267 ***
bOb@domain.example.com/res1 out
<iq type='set' id='cc8071b7dfd1b6002d66ec9b98ed8cb7'>
	<query xmlns='jabber:iq:privacy'>
		<list name='urn:xmpp:muclight:0'>
			<item order='1' type='jid' value='groupchats.domain.example.com/alice@domain.example.com' action='deny'/>
		</list>
	</query>
</iq>



*** User 2022-03-04 11:24:20.270 ***
bOb@domain.example.com/res1 in
<iq from='bOb@domain.example.com' to='bOb@domain.example.com/res1' id='cc8071b7dfd1b6002d66ec9b98ed8cb7' type='result'/>



*** User 2022-03-04 11:24:20.270 ***
alicE@domain.example.com/res1 out
<iq type='set' id='618b5da76bf44b708098f147580466dc' to='testroom2@groupchats.domain.example.com'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item affiliation='member' jid='bob@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-04 11:24:20.272 ***
alicE@domain.example.com/res1 in
<iq from='testroom2@groupchats.domain.example.com' to='alicE@domain.example.com/res1' id='618b5da76bf44b708098f147580466dc' type='result'/>



*** User 2022-03-04 11:24:20.272 ***
kate@domain.example.com/res1 out
<iq type='set' id='524b369d816ba501a26c1573058e2983' to='testroom2@groupchats.domain.example.com'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item affiliation='member' jid='bob@domain.example.com'/>
	</query>
</iq>



*** User 2022-03-04 11:24:20.276 ***
alicE@domain.example.com/res1 in
<presence from='testroom2@groupchats.domain.example.com/bob@domain.example.com' to='alice@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' jid='bob@domain.example.com' role='participant' nick='bob@domain.example.com'/>
	</x>
</presence>



*** User 2022-03-04 11:24:20.276 ***
kate@domain.example.com/res1 in
<presence from='testroom2@groupchats.domain.example.com/bob@domain.example.com' to='kate@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' jid='bob@domain.example.com' role='participant' nick='bob@domain.example.com'/>
	</x>
</presence>



*** User 2022-03-04 11:24:20.276 ***
bOb@domain.example.com/res1 in
<message from='testroom2@groupchats.domain.example.com' to='bob@domain.example.com'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<invite from='kate@domain.example.com'/>
	</x>
</message>



*** User 2022-03-04 11:24:20.276 ***
kate@domain.example.com/res1 in
<iq from='testroom2@groupchats.domain.example.com' to='kate@domain.example.com/res1' id='524b369d816ba501a26c1573058e2983' type='result'/>



*** User 2022-03-04 11:24:20.277 ***
kate@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:24:20.277 ***
kate@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-04 11:24:20.277 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:24:20.277 ***
bOb@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-04 11:24:20.277 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:24:20.277 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-04 11:24:20.285 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_606.html
*** CT 2022-03-04 11:24:20.285 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2342.html



=== Ended at 2022-03-04 11:24:20
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result