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

=== Config value:

    [{watchdog,<0.2483.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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.muc_light_SUITE.logs/run.2022-03-03_10.35.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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.muc_light_SUITE.logs/run.2022-03-03_10.35.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@12130b74fc81.2022-03-03_10.28.39"

=== Started at 2022-03-03 10:36:05


*** CT 2022-03-03 10:36:05.134 *** View log from node mongooseim@localhost when started mongooseim@localhost_4493.html
*** CT 2022-03-03 10:36:05.134 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2305.html

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

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



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



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

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



*** User 2022-03-03 10:36:05.146 ***
alicE@localhost/res1 in
<iq id='7db2488707fb3a6c8b17c640b21e2837' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:36:05.146 ***
alicE@localhost/res1 out
<iq type='set' id='210b2b1a8a6e28ef8349b5512845e108'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:05.146 ***
alicE@localhost/res1 in
<iq type='result' id='210b2b1a8a6e28ef8349b5512845e108'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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



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

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



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



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

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



*** User 2022-03-03 10:36:05.150 ***
bOb@localhost/res1 in
<iq id='2163ed9a399c29a26576cdb7fb2fc254' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:36:05.150 ***
bOb@localhost/res1 out
<iq type='set' id='004098f5943eeceac6a63791b8eefa1a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:05.150 ***
bOb@localhost/res1 in
<iq type='result' id='004098f5943eeceac6a63791b8eefa1a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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



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

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



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



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

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



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



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



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



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



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



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



*** User 2022-03-03 10:36:05.156 ***
bOb@localhost/res1 in
<iq from='muclight.localhost' to='bOb@localhost/res1' id='c448f47630b1a8fce98dac24f090a429' type='result'/>



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



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



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



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



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



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



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



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



*** User 2022-03-03 10:36:05.159 ***
alicE@localhost/res1 in
<message from='testroom@muclight.localhost' to='alice@localhost' id='0c49b37a33ff9c46eb1b2570508d8644' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1646-303765-156628</prev-version>
		<version>1646-303765-159295</version>
		<user affiliation='member'>bob@localhost</user>
	</x>
	<body/>
</message>



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



*** User 2022-03-03 10:36:05.159 ***
kate@localhost/res1 in
<message from='testroom@muclight.localhost' to='kate@localhost' id='0c49b37a33ff9c46eb1b2570508d8644' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1646-303765-156628</prev-version>
		<version>1646-303765-159295</version>
		<user affiliation='member'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-03-03 10:36:05.159 ***
kate@localhost/res1 in
<iq from='testroom@muclight.localhost' to='kate@localhost/res1' id='0c49b37a33ff9c46eb1b2570508d8644' type='result'/>



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

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

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

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

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

*** User 2022-03-03 10:36:05.160 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-03-03 10:36:05.163 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2305.html
*** CT 2022-03-03 10:36:05.163 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4493.html



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


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