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

=== Config value:

    [{watchdog,<0.20503.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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.muc_light_SUITE.logs/run.2022-02-02_15.14.07/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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.muc_light_SUITE.logs/run.2022-02-02_15.14.07/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:13


*** CT 2022-02-02 15:14:13.961 *** View log from node mongooseim@localhost when started mongooseim@localhost_2254.html
*** CT 2022-02-02 15:14:13.962 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_591.html

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

*** User 2022-02-02 15:14:13.972 ***
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:13.972 ***
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:13.973 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



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

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



*** User 2022-02-02 15:14:13.973 ***
alicE@domain.example.com/res1 in
<iq id='8e8f7e9c648e15c8c9bb4099accb39e7' 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:13.974 ***
alicE@domain.example.com/res1 out
<iq type='set' id='bbaac8666f9707308f4046b2a12fe488'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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



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

*** User 2022-02-02 15:14:13.976 ***
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:13.976 ***
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:13.977 ***
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



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

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



*** User 2022-02-02 15:14:13.977 ***
bOb@domain.example.com/res1 in
<iq id='405b2edd347965e527b34e7fe90f099f' 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:13.977 ***
bOb@domain.example.com/res1 out
<iq type='set' id='ab2ef191e259d765c3ec56a9df900952'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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



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

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



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

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



*** User 2022-02-02 15:14:13.981 ***
kate@domain.example.com/res1 in
<iq id='b36734cca631b7a3547c14a1e29ff7e1' 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:13.981 ***
kate@domain.example.com/res1 out
<iq type='set' id='8664426470ef1705164b0d18be2422b5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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



*** User 2022-02-02 15:14:13.982 ***
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:13.983 ***
bOb@domain.example.com/res1 out
<iq type='set' id='1bd44b3119dec32f43c6179c456c5014' to='muclight2.domain.example.com'>
	<query xmlns='urn:xmpp:muclight:0#blocking'>
		<user action='deny'>alice@domain.example.com</user>
	</query>
</iq>



*** User 2022-02-02 15:14:13.983 ***
bOb@domain.example.com/res1 in
<iq from='muclight2.domain.example.com' to='bOb@domain.example.com/res1' id='1bd44b3119dec32f43c6179c456c5014' type='result'/>



*** User 2022-02-02 15:14:13.984 ***
bOb@domain.example.com/res1 out
<iq type='set' id='56889c98f55a1cc958ba67942df3e197' to='testroom@muclight2.domain.example.com'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>bob@domain.example.com</user>
	</query>
</iq>



*** User 2022-02-02 15:14:13.986 ***
alicE@domain.example.com/res1 in
<message from='testroom@muclight2.domain.example.com' to='alice@domain.example.com' id='56889c98f55a1cc958ba67942df3e197' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>ver-1</prev-version>
		<version>1643-814853-984865</version>
		<user affiliation='none'>bob@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2022-02-02 15:14:13.986 ***
kate@domain.example.com/res1 in
<message from='testroom@muclight2.domain.example.com' to='kate@domain.example.com' id='56889c98f55a1cc958ba67942df3e197' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>ver-1</prev-version>
		<version>1643-814853-984865</version>
		<user affiliation='none'>bob@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2022-02-02 15:14:13.986 ***
bOb@domain.example.com/res1 in
<message from='testroom@muclight2.domain.example.com' to='bob@domain.example.com' id='56889c98f55a1cc958ba67942df3e197' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>bob@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2022-02-02 15:14:13.986 ***
bOb@domain.example.com/res1 in
<iq from='testroom@muclight2.domain.example.com' to='bOb@domain.example.com/res1' id='56889c98f55a1cc958ba67942df3e197' type='result'/>



*** User 2022-02-02 15:14:13.986 ***
alicE@domain.example.com/res1 out
<iq type='set' id='ad70a18815048f2b9a54d4f6fd30ff3c' to='new@muclight2.domain.example.com'>
	<query xmlns='urn:xmpp:muclight:0#create'>
		<configuration/>
		<occupants>
			<user affiliation='member'>bob@domain.example.com</user>
		</occupants>
	</query>
</iq>



*** User 2022-02-02 15:14:13.988 ***
alicE@domain.example.com/res1 in
<message from='new@muclight2.domain.example.com' to='alice@domain.example.com' id='ad70a18815048f2b9a54d4f6fd30ff3c' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1643-814853-987490</version>
		<user affiliation='owner'>alice@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2022-02-02 15:14:13.989 ***
alicE@domain.example.com/res1 in
<iq from='new@muclight2.domain.example.com' to='alicE@domain.example.com/res1' id='ad70a18815048f2b9a54d4f6fd30ff3c' type='result'/>



*** User 2022-02-02 15:14:13.989 ***
kate@domain.example.com/res1 out
<iq type='set' id='aafed1c3a9a81417d89ac3829693c6ee' to='testroom@muclight2.domain.example.com'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='member'>bob@domain.example.com</user>
	</query>
</iq>



*** User 2022-02-02 15:14:13.991 ***
alicE@domain.example.com/res1 in
<message from='testroom@muclight2.domain.example.com' to='alice@domain.example.com' id='aafed1c3a9a81417d89ac3829693c6ee' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1643-814853-984865</prev-version>
		<version>1643-814853-989830</version>
		<user affiliation='member'>bob@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2022-02-02 15:14:13.991 ***
bOb@domain.example.com/res1 in
<message from='testroom@muclight2.domain.example.com' to='bob@domain.example.com' id='aafed1c3a9a81417d89ac3829693c6ee' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1643-814853-989830</version>
		<user affiliation='member'>bob@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2022-02-02 15:14:13.991 ***
kate@domain.example.com/res1 in
<message from='testroom@muclight2.domain.example.com' to='kate@domain.example.com' id='aafed1c3a9a81417d89ac3829693c6ee' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1643-814853-984865</prev-version>
		<version>1643-814853-989830</version>
		<user affiliation='member'>bob@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2022-02-02 15:14:13.991 ***
kate@domain.example.com/res1 in
<iq from='testroom@muclight2.domain.example.com' to='kate@domain.example.com/res1' id='aafed1c3a9a81417d89ac3829693c6ee' type='result'/>



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

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

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

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

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

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



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


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