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

=== Config value:

    [{watchdog,<0.3884.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@b3c75cb3c9a2.2024-04-23_10.51.31/big_tests.tests.muc_light_SUITE.logs/run.2024-04-23_11.03.43/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@b3c75cb3c9a2.2024-04-23_10.51.31/big_tests.tests.muc_light_SUITE.logs/run.2024-04-23_11.03.43/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@b3c75cb3c9a2.2024-04-23_10.51.31"

=== Started at 2024-04-23 11:03:51


*** CT 2024-04-23 11:03:51.699 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2471.html

*** User 2024-04-23 11:03:51.723 ***🔗
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-04-23 11:03:51.724 ***🔗
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1ed08ef72ed919ba' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:03:51.724 ***🔗
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-04-23 11:03:51.724 ***🔗
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2024-04-23 11:03:51.725 ***🔗
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:03:51.725 ***🔗
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-04-23 11:03:51.726 ***🔗
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cda568773fd89fef' from='domain.example.com' version='1.0' xml:lang='en' to='alice@domain.example.com'>

*** User 2024-04-23 11:03:51.726 ***🔗
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-04-23 11:03:51.726 ***🔗
alicE@domain.example.com/res1 out
<iq type='set' id='74a38b7e6b4fed597aee39dbaa913303'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:03:51.726 ***🔗
alicE@domain.example.com/res1 in
<iq id='74a38b7e6b4fed597aee39dbaa913303' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:03:51.727 ***🔗
alice@domain.example.com/res1 out
<iq type='set' id='406a840a0d521ba0c24ab47390e0daa5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:03:51.727 ***🔗
alice@domain.example.com/res1 in
<iq from='domain.example.com' to='alice@domain.example.com/res1' id='406a840a0d521ba0c24ab47390e0daa5' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:03:51.727 ***🔗
alice@domain.example.com/res1 out
<presence/>



*** User 2024-04-23 11:03:51.729 ***🔗
alice@domain.example.com/res1 in
<presence from='alice@domain.example.com/res1' to='alice@domain.example.com/res1'/>



*** User 2024-04-23 11:03:51.729 ***🔗
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-04-23 11:03:51.730 ***🔗
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2d35c902f79fdcb6' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:03:51.731 ***🔗
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-04-23 11:03:51.731 ***🔗
bOb@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2024-04-23 11:03:51.732 ***🔗
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:03:51.732 ***🔗
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-04-23 11:03:51.732 ***🔗
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='66c8acfe234ad585' from='domain.example.com' version='1.0' xml:lang='en' to='bob@domain.example.com'>

*** User 2024-04-23 11:03:51.733 ***🔗
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-04-23 11:03:51.733 ***🔗
bOb@domain.example.com/res1 out
<iq type='set' id='b99395c0bced389190fefed03cce0b1b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:03:51.733 ***🔗
bOb@domain.example.com/res1 in
<iq id='b99395c0bced389190fefed03cce0b1b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:03:51.733 ***🔗
bob@domain.example.com/res1 out
<iq type='set' id='dd08f93b168437f513e8c9fa2fe50bcd'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:03:51.734 ***🔗
bob@domain.example.com/res1 in
<iq from='domain.example.com' to='bob@domain.example.com/res1' id='dd08f93b168437f513e8c9fa2fe50bcd' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:03:51.734 ***🔗
bob@domain.example.com/res1 out
<presence/>



*** User 2024-04-23 11:03:51.735 ***🔗
bob@domain.example.com/res1 in
<presence from='bob@domain.example.com/res1' to='bob@domain.example.com/res1'/>



*** User 2024-04-23 11:03:51.736 ***🔗
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-04-23 11:03:51.736 ***🔗
kate@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0506a548c7f049f8' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:03:51.737 ***🔗
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-04-23 11:03:51.737 ***🔗
kate@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGUAbWFrcm93ZTtw</auth>



*** User 2024-04-23 11:03:51.738 ***🔗
kate@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:03:51.738 ***🔗
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-04-23 11:03:51.738 ***🔗
kate@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c79ec0e7540db4d3' from='domain.example.com' version='1.0' xml:lang='en' to='kate@domain.example.com'>

*** User 2024-04-23 11:03:51.738 ***🔗
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-04-23 11:03:51.738 ***🔗
kate@domain.example.com/res1 out
<iq type='set' id='adb059a241f01e91228b8deefab9d75f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:03:51.739 ***🔗
kate@domain.example.com/res1 in
<iq id='adb059a241f01e91228b8deefab9d75f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:03:51.739 ***🔗
kate@domain.example.com/res1 out
<iq type='set' id='3a4f20de03268f82a2677340e15a7829'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:03:51.739 ***🔗
kate@domain.example.com/res1 in
<iq from='domain.example.com' to='kate@domain.example.com/res1' id='3a4f20de03268f82a2677340e15a7829' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:03:51.740 ***🔗
kate@domain.example.com/res1 out
<presence/>



*** User 2024-04-23 11:03:51.741 ***🔗
kate@domain.example.com/res1 in
<presence from='kate@domain.example.com/res1' to='kate@domain.example.com/res1'/>



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



*** User 2024-04-23 11:03:51.743 ***🔗
bob@domain.example.com/res1 in
<iq from='muclight.domain.example.com' to='bob@domain.example.com/res1' id='cbdb9e3c837e38cb544a725c27744629' type='result'/>



*** User 2024-04-23 11:03:51.743 ***🔗
bob@domain.example.com/res1 out
<iq type='set' id='553c5129b7047285c1f5619e972b07a3' 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-04-23 11:03:51.748 ***🔗
alice@domain.example.com/res1 in
<message from='testroom@muclight.domain.example.com' to='alice@domain.example.com' id='553c5129b7047285c1f5619e972b07a3' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>ver-1</prev-version>
		<version>1713-870231-745504</version>
		<user affiliation='none'>bob@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2024-04-23 11:03:51.748 ***🔗
kate@domain.example.com/res1 in
<message from='testroom@muclight.domain.example.com' to='kate@domain.example.com' id='553c5129b7047285c1f5619e972b07a3' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>ver-1</prev-version>
		<version>1713-870231-745504</version>
		<user affiliation='none'>bob@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2024-04-23 11:03:51.748 ***🔗
bob@domain.example.com/res1 in
<message from='testroom@muclight.domain.example.com' to='bob@domain.example.com' id='553c5129b7047285c1f5619e972b07a3' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>bob@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2024-04-23 11:03:51.748 ***🔗
bob@domain.example.com/res1 in
<iq from='testroom@muclight.domain.example.com' to='bob@domain.example.com/res1' id='553c5129b7047285c1f5619e972b07a3' type='result'/>



*** User 2024-04-23 11:03:51.748 ***🔗
alice@domain.example.com/res1 out
<iq type='set' id='229c3dbd545d886cdb7cf76581773a1b' 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-04-23 11:03:51.752 ***🔗
alice@domain.example.com/res1 in
<message from='new@muclight.domain.example.com' to='alice@domain.example.com' id='229c3dbd545d886cdb7cf76581773a1b' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1713-870231-749974</version>
		<user affiliation='owner'>alice@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2024-04-23 11:03:51.752 ***🔗
alice@domain.example.com/res1 in
<iq from='new@muclight.domain.example.com' to='alice@domain.example.com/res1' id='229c3dbd545d886cdb7cf76581773a1b' type='result'/>



*** User 2024-04-23 11:03:51.752 ***🔗
kate@domain.example.com/res1 out
<iq type='set' id='d5a16c7501b4d62ee026a0279a969c43' 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-04-23 11:03:51.755 ***🔗
alice@domain.example.com/res1 in
<message from='testroom@muclight.domain.example.com' to='alice@domain.example.com' id='d5a16c7501b4d62ee026a0279a969c43' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1713-870231-745504</prev-version>
		<version>1713-870231-753272</version>
		<user affiliation='member'>bob@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2024-04-23 11:03:51.755 ***🔗
bob@domain.example.com/res1 in
<message from='testroom@muclight.domain.example.com' to='bob@domain.example.com' id='d5a16c7501b4d62ee026a0279a969c43' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1713-870231-753272</version>
		<user affiliation='member'>bob@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2024-04-23 11:03:51.756 ***🔗
kate@domain.example.com/res1 in
<message from='testroom@muclight.domain.example.com' to='kate@domain.example.com' id='d5a16c7501b4d62ee026a0279a969c43' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1713-870231-745504</prev-version>
		<version>1713-870231-753272</version>
		<user affiliation='member'>bob@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2024-04-23 11:03:51.756 ***🔗
kate@domain.example.com/res1 in
<iq from='testroom@muclight.domain.example.com' to='kate@domain.example.com/res1' id='d5a16c7501b4d62ee026a0279a969c43' type='result'/>



*** User 2024-04-23 11:03:51.756 ***🔗
kate@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-23 11:03:51.756 ***🔗
kate@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-23 11:03:51.756 ***🔗
bob@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-23 11:03:51.757 ***🔗
bob@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-23 11:03:51.757 ***🔗
alice@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-23 11:03:51.757 ***🔗
alice@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-23 11:03:51.765 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2471.html



=== Ended at 2024-04-23 11:03:51
=== successfully completed test case
=== === Returned value: ok


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