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

=== Config value:

    [{watchdog,<0.21237.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/muc_light_legacy_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.muc_light_legacy_SUITE.logs/run.2022-02-02_15.14.15/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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.muc_light_legacy_SUITE.logs/run.2022-02-02_15.14.15/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@7a520fcf4274.2022-02-02_15.07.36"

=== Started at 2022-02-02 15:14:17


*** CT 2022-02-02 15:14:17.377 *** View log from node mongooseim@localhost when started mongooseim@localhost_2258.html
*** CT 2022-02-02 15:14:17.378 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_591.html

*** User 2022-02-02 15:14:17.391 ***
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-02-02 15:14:17.391 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f379256dfe6b9a0e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:14:17.392 ***
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-02-02 15:14:17.392 ***
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-02-02 15:14:17.392 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:14:17.392 ***
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-02-02 15:14:17.393 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d93f2552f413a8b9' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:14:17.393 ***
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-02-02 15:14:17.393 ***
alicE@domain.example.com/res1 out
<iq type='set' id='a45ead57cad7044116173fe4ea6777be'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:14:17.393 ***
alicE@domain.example.com/res1 in
<iq id='a45ead57cad7044116173fe4ea6777be' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:14:17.393 ***
alicE@domain.example.com/res1 out
<iq type='set' id='dcc87373f14f042900a4ae930e0fb921'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:14:17.394 ***
alicE@domain.example.com/res1 in
<iq type='result' id='dcc87373f14f042900a4ae930e0fb921'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:14:17.394 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:14:17.395 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:14:17.395 ***
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-02-02 15:14:17.396 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e57782b606e52277' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:14:17.396 ***
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-02-02 15:14:17.396 ***
bOb@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-02-02 15:14:17.397 ***
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:14:17.397 ***
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-02-02 15:14:17.397 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1a4cf96734e32d4b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:14:17.397 ***
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-02-02 15:14:17.397 ***
bOb@domain.example.com/res1 out
<iq type='set' id='0cfb6892e4b69b4dbc7a193e77d67513'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:14:17.397 ***
bOb@domain.example.com/res1 in
<iq id='0cfb6892e4b69b4dbc7a193e77d67513' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:14:17.397 ***
bOb@domain.example.com/res1 out
<iq type='set' id='5b19c67e754456fdb476b4580c56744e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:14:17.398 ***
bOb@domain.example.com/res1 in
<iq type='result' id='5b19c67e754456fdb476b4580c56744e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:14:17.398 ***
bOb@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:14:17.399 ***
bOb@domain.example.com/res1 in
<presence from='bOb@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:14:17.399 ***
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-02-02 15:14:17.400 ***
kate@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2bdabb377a2909e4' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:14:17.400 ***
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-02-02 15:14:17.400 ***
kate@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGUAbWFrcm93ZTtw</auth>



*** User 2022-02-02 15:14:17.400 ***
kate@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:14:17.401 ***
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-02-02 15:14:17.401 ***
kate@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7d96c9fda3572f0c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:14:17.401 ***
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-02-02 15:14:17.401 ***
kate@domain.example.com/res1 out
<iq type='set' id='de29ac111f40774f8bbc4bd38ed189ed'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:14:17.401 ***
kate@domain.example.com/res1 in
<iq id='de29ac111f40774f8bbc4bd38ed189ed' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:14:17.401 ***
kate@domain.example.com/res1 out
<iq type='set' id='0f9551b2e673430057fa82c2d3d5be59'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:14:17.402 ***
kate@domain.example.com/res1 in
<iq type='result' id='0f9551b2e673430057fa82c2d3d5be59'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:14:17.402 ***
kate@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:14:17.403 ***
kate@domain.example.com/res1 in
<presence from='kate@domain.example.com/res1' to='kate@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:14:17.403 ***
bOb@domain.example.com/res1 out
<iq type='set' id='f2c1a034ff946d71bf9d7d202f9654f8'>
	<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-02-02 15:14:17.404 ***
bOb@domain.example.com/res1 in
<iq from='bOb@domain.example.com' to='bOb@domain.example.com/res1' id='f2c1a034ff946d71bf9d7d202f9654f8' type='result'/>



*** User 2022-02-02 15:14:17.404 ***
alicE@domain.example.com/res1 out
<iq type='set' id='f873181dafaff37e5c67a43b5d200b26' 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-02-02 15:14:17.405 ***
alicE@domain.example.com/res1 in
<iq from='testroom2@groupchats.domain.example.com' to='alicE@domain.example.com/res1' id='f873181dafaff37e5c67a43b5d200b26' type='result'/>



*** User 2022-02-02 15:14:17.405 ***
kate@domain.example.com/res1 out
<iq type='set' id='f0c54076b3f982abae50dc7c6dad104f' 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-02-02 15:14:17.408 ***
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-02-02 15:14:17.408 ***
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-02-02 15:14:17.408 ***
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-02-02 15:14:17.408 ***
kate@domain.example.com/res1 in
<iq from='testroom2@groupchats.domain.example.com' to='kate@domain.example.com/res1' id='f0c54076b3f982abae50dc7c6dad104f' type='result'/>



*** User 2022-02-02 15:14:17.408 ***
kate@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:14:17.408 ***
kate@domain.example.com/res1 in
</stream:stream>

*** User 2022-02-02 15:14:17.408 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:14:17.409 ***
bOb@domain.example.com/res1 in
</stream:stream>

*** User 2022-02-02 15:14:17.409 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:14:17.409 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-02-02 15:14:17.413 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_591.html
*** CT 2022-02-02 15:14:17.414 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2258.html



=== Ended at 2022-02-02 15:14:17
=== successfully completed test case
=== === Returned value: ok


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