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

=== Config value:

    [{watchdog,<0.3807.2>},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/muc_light_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@622407a836e4.2024-03-27_08.12.47/big_tests.tests.muc_light_SUITE.logs/run.2024-03-27_08.25.06/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@622407a836e4.2024-03-27_08.12.47/big_tests.tests.muc_light_SUITE.logs/run.2024-03-27_08.25.06/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}},
     {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@622407a836e4.2024-03-27_08.12.47"

=== Started at 2024-03-27 08:25:14


*** CT 2024-03-27 08:25:14.230 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2487.html

*** User 2024-03-27 08:25:14.249 ***🔗
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 2024-03-27 08:25:14.250 ***🔗
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='19faacb43731b3db' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-27 08:25:14.251 ***🔗
alicE@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-27 08:25:14.251 ***🔗
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2024-03-27 08:25:14.252 ***🔗
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-27 08:25:14.252 ***🔗
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 2024-03-27 08:25:14.253 ***🔗
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f94a59e1cd216227' from='domain.example.com' version='1.0' xml:lang='en' to='alice@domain.example.com'>

*** User 2024-03-27 08:25:14.253 ***🔗
alicE@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-27 08:25:14.253 ***🔗
alicE@domain.example.com/res1 out
<iq type='set' id='ad663dc6e70b96394f6f62f0ed85de3e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-27 08:25:14.253 ***🔗
alicE@domain.example.com/res1 in
<iq id='ad663dc6e70b96394f6f62f0ed85de3e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-27 08:25:14.253 ***🔗
alice@domain.example.com/res1 out
<iq type='set' id='c5bbc710e05aee55defd02f159124bd3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-27 08:25:14.254 ***🔗
alice@domain.example.com/res1 in
<iq from='domain.example.com' to='alice@domain.example.com/res1' id='c5bbc710e05aee55defd02f159124bd3' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-27 08:25:14.254 ***🔗
alice@domain.example.com/res1 out
<presence/>



*** User 2024-03-27 08:25:14.256 ***🔗
alice@domain.example.com/res1 in
<presence from='alice@domain.example.com/res1' to='alice@domain.example.com/res1'/>



*** User 2024-03-27 08:25:14.256 ***🔗
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 2024-03-27 08:25:14.258 ***🔗
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='83190998d2ef9ad2' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-27 08:25:14.258 ***🔗
bOb@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-27 08:25:14.258 ***🔗
bOb@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2024-03-27 08:25:14.259 ***🔗
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-27 08:25:14.259 ***🔗
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 2024-03-27 08:25:14.260 ***🔗
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='83af2f5dfb931cf3' from='domain.example.com' version='1.0' xml:lang='en' to='bob@domain.example.com'>

*** User 2024-03-27 08:25:14.260 ***🔗
bOb@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-27 08:25:14.260 ***🔗
bOb@domain.example.com/res1 out
<iq type='set' id='5a7dbf142c9ba699f855fe278e714e12'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-27 08:25:14.260 ***🔗
bOb@domain.example.com/res1 in
<iq id='5a7dbf142c9ba699f855fe278e714e12' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-27 08:25:14.260 ***🔗
bob@domain.example.com/res1 out
<iq type='set' id='dbdbfa1bb8f318f9e2841cae3dff5724'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-27 08:25:14.261 ***🔗
bob@domain.example.com/res1 in
<iq from='domain.example.com' to='bob@domain.example.com/res1' id='dbdbfa1bb8f318f9e2841cae3dff5724' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-27 08:25:14.261 ***🔗
bob@domain.example.com/res1 out
<presence/>



*** User 2024-03-27 08:25:14.262 ***🔗
bob@domain.example.com/res1 in
<presence from='bob@domain.example.com/res1' to='bob@domain.example.com/res1'/>



*** User 2024-03-27 08:25:14.263 ***🔗
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 2024-03-27 08:25:14.263 ***🔗
kate@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='66ddeafcfbee98b0' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-27 08:25:14.264 ***🔗
kate@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-27 08:25:14.264 ***🔗
kate@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGUAbWFrcm93ZTtw</auth>



*** User 2024-03-27 08:25:14.265 ***🔗
kate@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-27 08:25:14.265 ***🔗
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 2024-03-27 08:25:14.265 ***🔗
kate@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='245afeb4de97aa8c' from='domain.example.com' version='1.0' xml:lang='en' to='kate@domain.example.com'>

*** User 2024-03-27 08:25:14.265 ***🔗
kate@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-27 08:25:14.266 ***🔗
kate@domain.example.com/res1 out
<iq type='set' id='14bfd0f0da9029c49357d2debb1de4a2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-27 08:25:14.266 ***🔗
kate@domain.example.com/res1 in
<iq id='14bfd0f0da9029c49357d2debb1de4a2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-27 08:25:14.266 ***🔗
kate@domain.example.com/res1 out
<iq type='set' id='96240e21e1f8793b385be85ea615a013'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-27 08:25:14.267 ***🔗
kate@domain.example.com/res1 in
<iq from='domain.example.com' to='kate@domain.example.com/res1' id='96240e21e1f8793b385be85ea615a013' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-27 08:25:14.267 ***🔗
kate@domain.example.com/res1 out
<presence/>



*** User 2024-03-27 08:25:14.268 ***🔗
kate@domain.example.com/res1 in
<presence from='kate@domain.example.com/res1' to='kate@domain.example.com/res1'/>



*** User 2024-03-27 08:25:14.269 ***🔗
bob@domain.example.com/res1 out
<iq type='set' id='11cdbebe8e955fe55915ce800e1893e2' to='muclight.domain.example.com'>
	<query xmlns='urn:xmpp:muclight:0#blocking'>
		<user action='deny'>alice@domain.example.com</user>
	</query>
</iq>



*** User 2024-03-27 08:25:14.270 ***🔗
bob@domain.example.com/res1 in
<iq from='muclight.domain.example.com' to='bob@domain.example.com/res1' id='11cdbebe8e955fe55915ce800e1893e2' type='result'/>



*** User 2024-03-27 08:25:14.270 ***🔗
bob@domain.example.com/res1 out
<iq type='set' id='82aab80008ac7d603031c7153990f1f7' to='testroom@muclight.domain.example.com'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>bob@domain.example.com</user>
	</query>
</iq>



*** User 2024-03-27 08:25:14.276 ***🔗
alice@domain.example.com/res1 in
<message from='testroom@muclight.domain.example.com' to='alice@domain.example.com' id='82aab80008ac7d603031c7153990f1f7' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>ver-1</prev-version>
		<version>1711-527914-272314</version>
		<user affiliation='none'>bob@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2024-03-27 08:25:14.276 ***🔗
kate@domain.example.com/res1 in
<message from='testroom@muclight.domain.example.com' to='kate@domain.example.com' id='82aab80008ac7d603031c7153990f1f7' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>ver-1</prev-version>
		<version>1711-527914-272314</version>
		<user affiliation='none'>bob@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2024-03-27 08:25:14.276 ***🔗
bob@domain.example.com/res1 in
<message from='testroom@muclight.domain.example.com' to='bob@domain.example.com' id='82aab80008ac7d603031c7153990f1f7' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>bob@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2024-03-27 08:25:14.277 ***🔗
bob@domain.example.com/res1 in
<iq from='testroom@muclight.domain.example.com' to='bob@domain.example.com/res1' id='82aab80008ac7d603031c7153990f1f7' type='result'/>



*** User 2024-03-27 08:25:14.277 ***🔗
alice@domain.example.com/res1 out
<iq type='set' id='ac15b7fa43f571012a668dbf84d5f2c3' to='new@muclight.domain.example.com'>
	<query xmlns='urn:xmpp:muclight:0#create'>
		<configuration/>
		<occupants>
			<user affiliation='member'>bob@domain.example.com</user>
		</occupants>
	</query>
</iq>



*** User 2024-03-27 08:25:14.281 ***🔗
alice@domain.example.com/res1 in
<message from='new@muclight.domain.example.com' to='alice@domain.example.com' id='ac15b7fa43f571012a668dbf84d5f2c3' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1711-527914-278224</version>
		<user affiliation='owner'>alice@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2024-03-27 08:25:14.281 ***🔗
alice@domain.example.com/res1 in
<iq from='new@muclight.domain.example.com' to='alice@domain.example.com/res1' id='ac15b7fa43f571012a668dbf84d5f2c3' type='result'/>



*** User 2024-03-27 08:25:14.281 ***🔗
kate@domain.example.com/res1 out
<iq type='set' id='33a12c6d21af1a3e920268a64eb44ffb' to='testroom@muclight.domain.example.com'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='member'>bob@domain.example.com</user>
	</query>
</iq>



*** User 2024-03-27 08:25:14.285 ***🔗
alice@domain.example.com/res1 in
<message from='testroom@muclight.domain.example.com' to='alice@domain.example.com' id='33a12c6d21af1a3e920268a64eb44ffb' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1711-527914-272314</prev-version>
		<version>1711-527914-281929</version>
		<user affiliation='member'>bob@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2024-03-27 08:25:14.285 ***🔗
bob@domain.example.com/res1 in
<message from='testroom@muclight.domain.example.com' to='bob@domain.example.com' id='33a12c6d21af1a3e920268a64eb44ffb' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1711-527914-281929</version>
		<user affiliation='member'>bob@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2024-03-27 08:25:14.285 ***🔗
kate@domain.example.com/res1 in
<message from='testroom@muclight.domain.example.com' to='kate@domain.example.com' id='33a12c6d21af1a3e920268a64eb44ffb' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1711-527914-272314</prev-version>
		<version>1711-527914-281929</version>
		<user affiliation='member'>bob@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2024-03-27 08:25:14.285 ***🔗
kate@domain.example.com/res1 in
<iq from='testroom@muclight.domain.example.com' to='kate@domain.example.com/res1' id='33a12c6d21af1a3e920268a64eb44ffb' type='result'/>



*** User 2024-03-27 08:25:14.285 ***🔗
kate@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-27 08:25:14.285 ***🔗
kate@domain.example.com/res1 in
</stream:stream>

*** User 2024-03-27 08:25:14.285 ***🔗
bob@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-27 08:25:14.286 ***🔗
bob@domain.example.com/res1 in
</stream:stream>

*** User 2024-03-27 08:25:14.286 ***🔗
alice@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-27 08:25:14.286 ***🔗
alice@domain.example.com/res1 in
</stream:stream>
*** CT 2024-03-27 08:25:14.297 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2487.html



=== Ended at 2024-03-27 08:25:14
=== successfully completed test case
=== === Returned value: ok


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