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

=== Config value:

    [{watchdog,<0.2378.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/muc_light_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_light_SUITE.logs/run.2022-03-03_10.36.58/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@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.muc_light_SUITE.logs/run.2022-03-03_10.36.58/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">>}]},
                     {mike,[{username,<<"mike">>},
                            {server,<<"localhost">>},
                            {password,<<"nicniema">>}]}]}]

=== 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:37:05


*** CT 2022-03-03 10:37:05.742 *** View log from node mongooseim@localhost when started mongooseim@localhost_4494.html
*** CT 2022-03-03 10:37:05.743 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2321.html

*** User 2022-03-03 10:37:05.747 ***
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-03 10:37:05.748 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0a7ac54800fb9022' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2022-03-03 10:37:05.749 ***
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-03 10:37:05.750 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1348de59c7d80d2a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:05.750 ***
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-03 10:37:05.750 ***
alicE@localhost/res1 out
<iq type='set' id='8c847e912b124031a9dd2bb86d42020f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:37:05.750 ***
alicE@localhost/res1 in
<iq id='8c847e912b124031a9dd2bb86d42020f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:37:05.750 ***
alicE@localhost/res1 out
<iq type='set' id='6d20e042fbf89753f1904d737af23121'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:05.751 ***
alicE@localhost/res1 in
<iq type='result' id='6d20e042fbf89753f1904d737af23121'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:05.751 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-03-03 10:37:05.752 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:37:05.752 ***
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-03 10:37:05.753 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d8e8c3a72844b4e8' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2022-03-03 10:37:05.754 ***
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-03 10:37:05.754 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='41f5d3e82ce99a2e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:05.754 ***
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-03 10:37:05.754 ***
bOb@localhost/res1 out
<iq type='set' id='8cbaf25c159007dd6c1a90f597f9f7cc'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:37:05.755 ***
bOb@localhost/res1 in
<iq id='8cbaf25c159007dd6c1a90f597f9f7cc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:37:05.755 ***
bOb@localhost/res1 out
<iq type='set' id='74432261b76f86285d0aaa547b1bbdd0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:05.755 ***
bOb@localhost/res1 in
<iq type='result' id='74432261b76f86285d0aaa547b1bbdd0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:05.755 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-03-03 10:37:05.756 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:37:05.756 ***
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-03 10:37:05.757 ***
kate@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3adf87374e2099b5' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2022-03-03 10:37:05.758 ***
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-03 10:37:05.758 ***
kate@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='35b1fb2101c0a162' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2022-03-03 10:37:05.758 ***
kate@localhost/res1 in
<iq id='d3151bdd8b04f73e32d55048917fe2e4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:37:05.759 ***
kate@localhost/res1 out
<iq type='set' id='f4fb7f3eadb7253e30c3d3680e65df7c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:05.759 ***
kate@localhost/res1 in
<iq type='result' id='f4fb7f3eadb7253e30c3d3680e65df7c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:05.759 ***
kate@localhost/res1 out
<presence/>



*** User 2022-03-03 10:37:05.760 ***
kate@localhost/res1 in
<presence from='kate@localhost/res1' to='kate@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:37:05.760 ***
bOb@localhost/res1 out
<iq type='set' id='7d7f9090168b3cea9ae44530b27c27ff' to='muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#blocking'>
		<user action='deny'>alice@localhost</user>
	</query>
</iq>



*** User 2022-03-03 10:37:05.760 ***
bOb@localhost/res1 in
<iq from='muclight.localhost' to='bOb@localhost/res1' id='7d7f9090168b3cea9ae44530b27c27ff' type='result'/>



*** User 2022-03-03 10:37:05.761 ***
bOb@localhost/res1 out
<iq type='set' id='cc3a6b38409cfdc78541d8e0ddcd7f42' to='testroom@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>bob@localhost</user>
	</query>
</iq>



*** User 2022-03-03 10:37:05.761 ***
alicE@localhost/res1 in
<message from='testroom@muclight.localhost' to='alice@localhost' id='cc3a6b38409cfdc78541d8e0ddcd7f42' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>ver-1</prev-version>
		<version>1646-303825-761441</version>
		<user affiliation='none'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-03-03 10:37:05.762 ***
kate@localhost/res1 in
<message from='testroom@muclight.localhost' to='kate@localhost' id='cc3a6b38409cfdc78541d8e0ddcd7f42' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>ver-1</prev-version>
		<version>1646-303825-761441</version>
		<user affiliation='none'>bob@localhost</user>
	</x>
	<body/>
</message>



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



*** User 2022-03-03 10:37:05.762 ***
bOb@localhost/res1 in
<iq from='testroom@muclight.localhost' to='bOb@localhost/res1' id='cc3a6b38409cfdc78541d8e0ddcd7f42' type='result'/>



*** User 2022-03-03 10:37:05.762 ***
alicE@localhost/res1 out
<iq type='set' id='afea11edf8b81d55e7a94880bdec6da2' 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-03 10:37:05.762 ***
alicE@localhost/res1 in
<message from='new@muclight.localhost' to='alice@localhost' id='afea11edf8b81d55e7a94880bdec6da2' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1646-303825-762537</version>
		<user affiliation='owner'>alice@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-03-03 10:37:05.762 ***
alicE@localhost/res1 in
<iq from='new@muclight.localhost' to='alicE@localhost/res1' id='afea11edf8b81d55e7a94880bdec6da2' type='result'/>



*** User 2022-03-03 10:37:05.763 ***
kate@localhost/res1 out
<iq type='set' id='efe2e9d09b9832d31726688fb47444e8' to='testroom@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='member'>bob@localhost</user>
	</query>
</iq>



*** User 2022-03-03 10:37:05.764 ***
alicE@localhost/res1 in
<message from='testroom@muclight.localhost' to='alice@localhost' id='efe2e9d09b9832d31726688fb47444e8' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1646-303825-761441</prev-version>
		<version>1646-303825-763503</version>
		<user affiliation='member'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-03-03 10:37:05.764 ***
bOb@localhost/res1 in
<message from='testroom@muclight.localhost' to='bob@localhost' id='efe2e9d09b9832d31726688fb47444e8' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1646-303825-763503</version>
		<user affiliation='member'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-03-03 10:37:05.764 ***
kate@localhost/res1 in
<message from='testroom@muclight.localhost' to='kate@localhost' id='efe2e9d09b9832d31726688fb47444e8' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1646-303825-761441</prev-version>
		<version>1646-303825-763503</version>
		<user affiliation='member'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-03-03 10:37:05.764 ***
kate@localhost/res1 in
<iq from='testroom@muclight.localhost' to='kate@localhost/res1' id='efe2e9d09b9832d31726688fb47444e8' type='result'/>



*** User 2022-03-03 10:37:05.764 ***
kate@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:37:05.764 ***
kate@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:37:05.764 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:37:05.764 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:37:05.765 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:37:05.765 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-03-03 10:37:05.767 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2321.html
*** CT 2022-03-03 10:37:05.767 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4494.html



=== Ended at 2022-03-03 10:37:05
=== successfully completed test case
=== === Returned value: ok


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