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

=== Config value:

    [{watchdog,<0.30662.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/muc_light_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.muc_light_SUITE.logs/run.2022-03-04_11.25.04/muc_light_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_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.muc_light_SUITE.logs/run.2022-03-04_11.25.04/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 => [{backend,rdbms}],
        mod_sic => [],mod_stream_management => [],
        mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"localhost">>},
                            {password,<<"makrowe;p">>}]},
                     {mike,[{username,<<"mike">>},
                            {server,<<"localhost">>},
                            {password,<<"nicniema">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18"

=== Started at 2022-03-04 11:25:11


*** CT 2022-03-04 11:25:11.294 *** View log from node mongooseim@localhost when started mongooseim@localhost_5479.html
*** CT 2022-03-04 11:25:11.295 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2300.html

*** User 2022-03-04 11:25:11.304 ***
alicE@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-04 11:25:11.306 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9daf180fb7f8c2a1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:11.306 ***
alicE@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>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:25:11.306 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-03-04 11:25:11.307 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:25:11.307 ***
alicE@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-04 11:25:11.308 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='03e351d1098b5f1a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:11.308 ***
alicE@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-04 11:25:11.308 ***
alicE@localhost/res1 out
<iq type='set' id='e4f5192b69b19c8ac8fa673eb785181f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:25:11.308 ***
alicE@localhost/res1 in
<iq id='e4f5192b69b19c8ac8fa673eb785181f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:25:11.308 ***
alicE@localhost/res1 out
<iq type='set' id='f162f68bbf4c436565dcfd7ccbaa0e4c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:11.309 ***
alicE@localhost/res1 in
<iq type='result' id='f162f68bbf4c436565dcfd7ccbaa0e4c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:11.309 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-03-04 11:25:11.310 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:25:11.311 ***
bOb@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-04 11:25:11.311 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0dd07a13e265d8ce' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:11.311 ***
bOb@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>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:25:11.311 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-03-04 11:25:11.312 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:25:11.312 ***
bOb@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-04 11:25:11.312 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7cd1cf7ff44722f3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:11.312 ***
bOb@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-04 11:25:11.313 ***
bOb@localhost/res1 out
<iq type='set' id='090136f77114ad44ad81ce20b5d7ddff'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:25:11.313 ***
bOb@localhost/res1 in
<iq id='090136f77114ad44ad81ce20b5d7ddff' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:25:11.313 ***
bOb@localhost/res1 out
<iq type='set' id='94c755a090736003d698556b188da00d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:11.313 ***
bOb@localhost/res1 in
<iq type='result' id='94c755a090736003d698556b188da00d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:11.313 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-03-04 11:25:11.314 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:25:11.315 ***
kate@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-04 11:25:11.315 ***
kate@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9ebfc1dbe83f220e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:11.316 ***
kate@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>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:25:11.316 ***
kate@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGUAbWFrcm93ZTtw</auth>



*** User 2022-03-04 11:25:11.317 ***
kate@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:25:11.317 ***
kate@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-04 11:25:11.317 ***
kate@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cd0674b51e94f574' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:11.317 ***
kate@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-04 11:25:11.317 ***
kate@localhost/res1 out
<iq type='set' id='e127be35e079c9ab3eb0485a2c274105'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:25:11.317 ***
kate@localhost/res1 in
<iq id='e127be35e079c9ab3eb0485a2c274105' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:25:11.317 ***
kate@localhost/res1 out
<iq type='set' id='19b0b7e2d0d5e4b986ecb98abec27b7b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:11.318 ***
kate@localhost/res1 in
<iq type='result' id='19b0b7e2d0d5e4b986ecb98abec27b7b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:11.318 ***
kate@localhost/res1 out
<presence/>



*** User 2022-03-04 11:25:11.319 ***
kate@localhost/res1 in
<presence from='kate@localhost/res1' to='kate@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:25:11.319 ***
bOb@localhost/res1 out
<iq type='set' id='4918502fa94d778309205113f0125c69' to='muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#blocking'>
		<user action='deny'>alice@localhost</user>
	</query>
</iq>



*** User 2022-03-04 11:25:11.320 ***
bOb@localhost/res1 in
<iq from='muclight.localhost' to='bOb@localhost/res1' id='4918502fa94d778309205113f0125c69' type='result'/>



*** User 2022-03-04 11:25:11.320 ***
bOb@localhost/res1 out
<iq type='set' id='c5e5e2510d4767c5191b618d2dadaa1c' to='testroom@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>bob@localhost</user>
	</query>
</iq>



*** User 2022-03-04 11:25:11.323 ***
alicE@localhost/res1 in
<message from='testroom@muclight.localhost' to='alice@localhost' id='c5e5e2510d4767c5191b618d2dadaa1c' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>ver-1</prev-version>
		<version>1646-393111-321999</version>
		<user affiliation='none'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-03-04 11:25:11.324 ***
kate@localhost/res1 in
<message from='testroom@muclight.localhost' to='kate@localhost' id='c5e5e2510d4767c5191b618d2dadaa1c' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>ver-1</prev-version>
		<version>1646-393111-321999</version>
		<user affiliation='none'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-03-04 11:25:11.324 ***
bOb@localhost/res1 in
<message from='testroom@muclight.localhost' to='bob@localhost' id='c5e5e2510d4767c5191b618d2dadaa1c' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-03-04 11:25:11.324 ***
bOb@localhost/res1 in
<iq from='testroom@muclight.localhost' to='bOb@localhost/res1' id='c5e5e2510d4767c5191b618d2dadaa1c' type='result'/>



*** User 2022-03-04 11:25:11.324 ***
alicE@localhost/res1 out
<iq type='set' id='3ef0d32c14e6739cd3a83739154f8470' to='new@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#create'>
		<configuration/>
		<occupants>
			<user affiliation='member'>bob@localhost</user>
		</occupants>
	</query>
</iq>



*** User 2022-03-04 11:25:11.326 ***
alicE@localhost/res1 in
<message from='new@muclight.localhost' to='alice@localhost' id='3ef0d32c14e6739cd3a83739154f8470' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1646-393111-325060</version>
		<user affiliation='owner'>alice@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-03-04 11:25:11.327 ***
alicE@localhost/res1 in
<iq from='new@muclight.localhost' to='alicE@localhost/res1' id='3ef0d32c14e6739cd3a83739154f8470' type='result'/>



*** User 2022-03-04 11:25:11.327 ***
kate@localhost/res1 out
<iq type='set' id='097215c53b71205ca7b20331a1f8c568' to='testroom@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='member'>bob@localhost</user>
	</query>
</iq>



*** User 2022-03-04 11:25:11.329 ***
alicE@localhost/res1 in
<message from='testroom@muclight.localhost' to='alice@localhost' id='097215c53b71205ca7b20331a1f8c568' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1646-393111-321999</prev-version>
		<version>1646-393111-327863</version>
		<user affiliation='member'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-03-04 11:25:11.330 ***
bOb@localhost/res1 in
<message from='testroom@muclight.localhost' to='bob@localhost' id='097215c53b71205ca7b20331a1f8c568' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1646-393111-327863</version>
		<user affiliation='member'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-03-04 11:25:11.330 ***
kate@localhost/res1 in
<message from='testroom@muclight.localhost' to='kate@localhost' id='097215c53b71205ca7b20331a1f8c568' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1646-393111-321999</prev-version>
		<version>1646-393111-327863</version>
		<user affiliation='member'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-03-04 11:25:11.330 ***
kate@localhost/res1 in
<iq from='testroom@muclight.localhost' to='kate@localhost/res1' id='097215c53b71205ca7b20331a1f8c568' type='result'/>



*** User 2022-03-04 11:25:11.330 ***
kate@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:25:11.330 ***
kate@localhost/res1 in
</stream:stream>

*** User 2022-03-04 11:25:11.330 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:25:11.330 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-03-04 11:25:11.331 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:25:11.331 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-03-04 11:25:11.336 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2300.html
*** CT 2022-03-04 11:25:11.337 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5479.html



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


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