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

=== Config value:

    [{watchdog,<0.28131.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/muc_light_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.muc_light_SUITE.logs/run.2022-01-25_16.31.40/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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.muc_light_SUITE.logs/run.2022-01-25_16.31.40/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@ebe8a8f9fc53.2022-01-25_16.21.59"

=== Started at 2022-01-25 16:31:48


*** CT 2022-01-25 16:31:48.324 *** View log from node mongooseim@localhost when started mongooseim@localhost_5397.html
*** CT 2022-01-25 16:31:48.324 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2339.html

*** User 2022-01-25 16:31:48.341 ***
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-01-25 16:31:48.341 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cdd5c628baca35a1' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2022-01-25 16:31:48.343 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:31:48.343 ***
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-01-25 16:31:48.343 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='65dba9032e97f569' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:31:48.343 ***
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-01-25 16:31:48.343 ***
alicE@localhost/res1 out
<iq type='set' id='e510c3cd00f75f20675b42cf53c995ff'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:31:48.343 ***
alicE@localhost/res1 in
<iq id='e510c3cd00f75f20675b42cf53c995ff' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:31:48.343 ***
alicE@localhost/res1 out
<iq type='set' id='30c3149ae90e9336086089ffc1b39bdb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:31:48.344 ***
alicE@localhost/res1 in
<iq type='result' id='30c3149ae90e9336086089ffc1b39bdb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:31:48.344 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-01-25 16:31:48.346 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:31:48.346 ***
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-01-25 16:31:48.347 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a9a8df57275255cb' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2022-01-25 16:31:48.348 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:31:48.348 ***
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-01-25 16:31:48.348 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5d0dc6124410e482' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:31:48.348 ***
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-01-25 16:31:48.348 ***
bOb@localhost/res1 out
<iq type='set' id='d2cad3d65aa39fe0563686100ac367fe'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:31:48.349 ***
bOb@localhost/res1 in
<iq id='d2cad3d65aa39fe0563686100ac367fe' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:31:48.349 ***
bOb@localhost/res1 out
<iq type='set' id='bfa6619bee2bf63dd859474e62f704d1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:31:48.349 ***
bOb@localhost/res1 in
<iq type='result' id='bfa6619bee2bf63dd859474e62f704d1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:31:48.349 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-01-25 16:31:48.351 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:31:48.351 ***
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-01-25 16:31:48.352 ***
kate@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6f5e2e7bcecf8bab' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2022-01-25 16:31:48.353 ***
kate@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:31:48.353 ***
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-01-25 16:31:48.353 ***
kate@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ad82adfb7823a0c2' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:31:48.353 ***
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-01-25 16:31:48.354 ***
kate@localhost/res1 out
<iq type='set' id='3613b7476c7592f840f60d4975e07bc4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:31:48.354 ***
kate@localhost/res1 in
<iq id='3613b7476c7592f840f60d4975e07bc4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:31:48.354 ***
kate@localhost/res1 out
<iq type='set' id='3be12790d2c9c5378f4e7404eb8d36cb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:31:48.354 ***
kate@localhost/res1 in
<iq type='result' id='3be12790d2c9c5378f4e7404eb8d36cb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:31:48.354 ***
kate@localhost/res1 out
<presence/>



*** User 2022-01-25 16:31:48.356 ***
kate@localhost/res1 in
<presence from='kate@localhost/res1' to='kate@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:31:48.356 ***
bOb@localhost/res1 out
<iq type='set' id='dfab239fb92928dbd5ec55ada5be7b11' to='muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#blocking'>
		<user action='deny'>alice@localhost</user>
	</query>
</iq>



*** User 2022-01-25 16:31:48.360 ***
bOb@localhost/res1 in
<iq from='muclight.localhost' to='bOb@localhost/res1' id='dfab239fb92928dbd5ec55ada5be7b11' type='result'/>



*** User 2022-01-25 16:31:48.360 ***
bOb@localhost/res1 out
<iq type='set' id='c322a08a5542e6cc1139af69e60d4d85' to='testroom@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>bob@localhost</user>
	</query>
</iq>



*** User 2022-01-25 16:31:48.364 ***
alicE@localhost/res1 in
<message from='testroom@muclight.localhost' to='alice@localhost' id='c322a08a5542e6cc1139af69e60d4d85' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>ver-1</prev-version>
		<version>1643-128308-361699</version>
		<user affiliation='none'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-01-25 16:31:48.365 ***
kate@localhost/res1 in
<message from='testroom@muclight.localhost' to='kate@localhost' id='c322a08a5542e6cc1139af69e60d4d85' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>ver-1</prev-version>
		<version>1643-128308-361699</version>
		<user affiliation='none'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-01-25 16:31:48.365 ***
bOb@localhost/res1 in
<message from='testroom@muclight.localhost' to='bob@localhost' id='c322a08a5542e6cc1139af69e60d4d85' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-01-25 16:31:48.365 ***
bOb@localhost/res1 in
<iq from='testroom@muclight.localhost' to='bOb@localhost/res1' id='c322a08a5542e6cc1139af69e60d4d85' type='result'/>



*** User 2022-01-25 16:31:48.365 ***
alicE@localhost/res1 out
<iq type='set' id='56e824721ea54ecdf71033af6fc0108f' to='new@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#create'>
		<configuration/>
		<occupants>
			<user affiliation='member'>bob@localhost</user>
		</occupants>
	</query>
</iq>



*** User 2022-01-25 16:31:48.369 ***
alicE@localhost/res1 in
<message from='new@muclight.localhost' to='alice@localhost' id='56e824721ea54ecdf71033af6fc0108f' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1643-128308-366161</version>
		<user affiliation='owner'>alice@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-01-25 16:31:48.369 ***
alicE@localhost/res1 in
<iq from='new@muclight.localhost' to='alicE@localhost/res1' id='56e824721ea54ecdf71033af6fc0108f' type='result'/>



*** User 2022-01-25 16:31:48.369 ***
kate@localhost/res1 out
<iq type='set' id='71d37dda8172018b71b9c667f3395d81' to='testroom@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='member'>bob@localhost</user>
	</query>
</iq>



*** User 2022-01-25 16:31:48.373 ***
alicE@localhost/res1 in
<message from='testroom@muclight.localhost' to='alice@localhost' id='71d37dda8172018b71b9c667f3395d81' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1643-128308-361699</prev-version>
		<version>1643-128308-369909</version>
		<user affiliation='member'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-01-25 16:31:48.373 ***
bOb@localhost/res1 in
<message from='testroom@muclight.localhost' to='bob@localhost' id='71d37dda8172018b71b9c667f3395d81' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1643-128308-369909</version>
		<user affiliation='member'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-01-25 16:31:48.373 ***
kate@localhost/res1 in
<message from='testroom@muclight.localhost' to='kate@localhost' id='71d37dda8172018b71b9c667f3395d81' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1643-128308-361699</prev-version>
		<version>1643-128308-369909</version>
		<user affiliation='member'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-01-25 16:31:48.373 ***
kate@localhost/res1 in
<iq from='testroom@muclight.localhost' to='kate@localhost/res1' id='71d37dda8172018b71b9c667f3395d81' type='result'/>



*** User 2022-01-25 16:31:48.373 ***
kate@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:31:48.374 ***
kate@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:31:48.374 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:31:48.374 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:31:48.374 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:31:48.374 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-01-25 16:31:48.383 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2339.html
*** CT 2022-01-25 16:31:48.384 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5397.html



=== Ended at 2022-01-25 16:31:48
=== successfully completed test case
=== === Returned value: ok


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