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

=== Config value:

    [{watchdog,<0.73714.0>},
     {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@c566e7588063.2024-02-23_15.58.53/big_tests.tests.muc_light_SUITE.logs/run.2024-02-23_16.12.28/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@c566e7588063.2024-02-23_15.58.53/big_tests.tests.muc_light_SUITE.logs/run.2024-02-23_16.12.28/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        mod_sic => #{iqdisc => one_queue},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue}}},
     {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@c566e7588063.2024-02-23_15.58.53"

=== Started at 2024-02-23 16:12:36


*** CT 2024-02-23 16:12:36.260 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4686.html

*** User 2024-02-23 16:12:36.283 ***🔗
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 2024-02-23 16:12:36.283 ***🔗
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d0571228435f3cfb' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-23 16:12:36.283 ***🔗
alicE@localhost/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-02-23 16:12:36.283 ***🔗
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2024-02-23 16:12:36.285 ***🔗
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-23 16:12:36.285 ***🔗
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 2024-02-23 16:12:36.285 ***🔗
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e7fb90ae69680600' from='localhost' version='1.0' xml:lang='en' to='alice@localhost'>

*** User 2024-02-23 16:12:36.285 ***🔗
alicE@localhost/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-02-23 16:12:36.285 ***🔗
alicE@localhost/res1 out
<iq type='set' id='2c6e31c00321b83d881ef5f7f3706f3f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-23 16:12:36.286 ***🔗
alicE@localhost/res1 in
<iq id='2c6e31c00321b83d881ef5f7f3706f3f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-23 16:12:36.286 ***🔗
alice@localhost/res1 out
<iq type='set' id='517744f76c801b99583da98b6d525209'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 16:12:36.287 ***🔗
alice@localhost/res1 in
<iq from='localhost' to='alice@localhost/res1' id='517744f76c801b99583da98b6d525209' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 16:12:36.287 ***🔗
alice@localhost/res1 out
<presence/>



*** User 2024-02-23 16:12:36.288 ***🔗
alice@localhost/res1 in
<presence from='alice@localhost/res1' to='alice@localhost/res1'/>



*** User 2024-02-23 16:12:36.289 ***🔗
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 2024-02-23 16:12:36.289 ***🔗
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='28df12c076657ff9' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-23 16:12:36.290 ***🔗
bOb@localhost/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-02-23 16:12:36.290 ***🔗
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2024-02-23 16:12:36.291 ***🔗
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-23 16:12:36.292 ***🔗
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 2024-02-23 16:12:36.292 ***🔗
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='74b7f6c4c30dabb0' from='localhost' version='1.0' xml:lang='en' to='bob@localhost'>

*** User 2024-02-23 16:12:36.292 ***🔗
bOb@localhost/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-02-23 16:12:36.292 ***🔗
bOb@localhost/res1 out
<iq type='set' id='25bd88ccba4ab00feecb3dc7811442ff'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-23 16:12:36.292 ***🔗
bOb@localhost/res1 in
<iq id='25bd88ccba4ab00feecb3dc7811442ff' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-23 16:12:36.293 ***🔗
bob@localhost/res1 out
<iq type='set' id='0f7204ead68f13a50ac5f6e0415405d4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 16:12:36.293 ***🔗
bob@localhost/res1 in
<iq from='localhost' to='bob@localhost/res1' id='0f7204ead68f13a50ac5f6e0415405d4' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 16:12:36.293 ***🔗
bob@localhost/res1 out
<presence/>



*** User 2024-02-23 16:12:36.295 ***🔗
bob@localhost/res1 in
<presence from='bob@localhost/res1' to='bob@localhost/res1'/>



*** User 2024-02-23 16:12:36.295 ***🔗
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 2024-02-23 16:12:36.297 ***🔗
kate@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e040a0f2ae1019fa' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-23 16:12:36.297 ***🔗
kate@localhost/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-02-23 16:12:36.297 ***🔗
kate@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGUAbWFrcm93ZTtw</auth>



*** User 2024-02-23 16:12:36.299 ***🔗
kate@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-23 16:12:36.299 ***🔗
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 2024-02-23 16:12:36.299 ***🔗
kate@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e12c434e726c4440' from='localhost' version='1.0' xml:lang='en' to='kate@localhost'>

*** User 2024-02-23 16:12:36.299 ***🔗
kate@localhost/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-02-23 16:12:36.299 ***🔗
kate@localhost/res1 out
<iq type='set' id='7a0145127ed33f8d8f19dffc02d22ecf'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-23 16:12:36.300 ***🔗
kate@localhost/res1 in
<iq id='7a0145127ed33f8d8f19dffc02d22ecf' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-23 16:12:36.300 ***🔗
kate@localhost/res1 out
<iq type='set' id='d0320e23a8f0fbcf6ab7e0df122cc665'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 16:12:36.300 ***🔗
kate@localhost/res1 in
<iq from='localhost' to='kate@localhost/res1' id='d0320e23a8f0fbcf6ab7e0df122cc665' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 16:12:36.300 ***🔗
kate@localhost/res1 out
<presence/>



*** User 2024-02-23 16:12:36.302 ***🔗
kate@localhost/res1 in
<presence from='kate@localhost/res1' to='kate@localhost/res1'/>



*** User 2024-02-23 16:12:36.302 ***🔗
bob@localhost/res1 out
<iq type='set' id='a7e24ee5c0ab11e743b053eb8afacf65' to='muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#blocking'>
		<user action='deny'>alice@localhost</user>
	</query>
</iq>



*** User 2024-02-23 16:12:36.304 ***🔗
bob@localhost/res1 in
<iq from='muclight.localhost' to='bob@localhost/res1' id='a7e24ee5c0ab11e743b053eb8afacf65' type='result'/>



*** User 2024-02-23 16:12:36.304 ***🔗
bob@localhost/res1 out
<iq type='set' id='43f4538c9d61297be5bae15997cd55a3' to='testroom@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>bob@localhost</user>
	</query>
</iq>



*** User 2024-02-23 16:12:36.309 ***🔗
alice@localhost/res1 in
<message from='testroom@muclight.localhost' to='alice@localhost' id='43f4538c9d61297be5bae15997cd55a3' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>ver-1</prev-version>
		<version>1708-704756-306757</version>
		<user affiliation='none'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2024-02-23 16:12:36.310 ***🔗
kate@localhost/res1 in
<message from='testroom@muclight.localhost' to='kate@localhost' id='43f4538c9d61297be5bae15997cd55a3' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>ver-1</prev-version>
		<version>1708-704756-306757</version>
		<user affiliation='none'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2024-02-23 16:12:36.310 ***🔗
bob@localhost/res1 in
<message from='testroom@muclight.localhost' to='bob@localhost' id='43f4538c9d61297be5bae15997cd55a3' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2024-02-23 16:12:36.310 ***🔗
bob@localhost/res1 in
<iq from='testroom@muclight.localhost' to='bob@localhost/res1' id='43f4538c9d61297be5bae15997cd55a3' type='result'/>



*** User 2024-02-23 16:12:36.310 ***🔗
alice@localhost/res1 out
<iq type='set' id='98ec3042ac889ba4fad4743c9f7b596e' to='new@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#create'>
		<configuration/>
		<occupants>
			<user affiliation='member'>bob@localhost</user>
		</occupants>
	</query>
</iq>



*** User 2024-02-23 16:12:36.318 ***🔗
alice@localhost/res1 in
<message from='new@muclight.localhost' to='alice@localhost' id='98ec3042ac889ba4fad4743c9f7b596e' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1708-704756-311408</version>
		<user affiliation='owner'>alice@localhost</user>
	</x>
	<body/>
</message>



*** User 2024-02-23 16:12:36.318 ***🔗
alice@localhost/res1 in
<iq from='new@muclight.localhost' to='alice@localhost/res1' id='98ec3042ac889ba4fad4743c9f7b596e' type='result'/>



*** User 2024-02-23 16:12:36.318 ***🔗
kate@localhost/res1 out
<iq type='set' id='e7f8257d4d903ce5804a1c06d081b5b8' to='testroom@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='member'>bob@localhost</user>
	</query>
</iq>



*** User 2024-02-23 16:12:36.322 ***🔗
alice@localhost/res1 in
<message from='testroom@muclight.localhost' to='alice@localhost' id='e7f8257d4d903ce5804a1c06d081b5b8' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1708-704756-306757</prev-version>
		<version>1708-704756-318790</version>
		<user affiliation='member'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2024-02-23 16:12:36.322 ***🔗
bob@localhost/res1 in
<message from='testroom@muclight.localhost' to='bob@localhost' id='e7f8257d4d903ce5804a1c06d081b5b8' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1708-704756-318790</version>
		<user affiliation='member'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2024-02-23 16:12:36.322 ***🔗
kate@localhost/res1 in
<message from='testroom@muclight.localhost' to='kate@localhost' id='e7f8257d4d903ce5804a1c06d081b5b8' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1708-704756-306757</prev-version>
		<version>1708-704756-318790</version>
		<user affiliation='member'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2024-02-23 16:12:36.322 ***🔗
kate@localhost/res1 in
<iq from='testroom@muclight.localhost' to='kate@localhost/res1' id='e7f8257d4d903ce5804a1c06d081b5b8' type='result'/>



*** User 2024-02-23 16:12:36.323 ***🔗
kate@localhost/res1 out
</stream:stream>

*** User 2024-02-23 16:12:36.323 ***🔗
kate@localhost/res1 in
</stream:stream>

*** User 2024-02-23 16:12:36.323 ***🔗
bob@localhost/res1 out
</stream:stream>

*** User 2024-02-23 16:12:36.323 ***🔗
bob@localhost/res1 in
</stream:stream>

*** User 2024-02-23 16:12:36.323 ***🔗
alice@localhost/res1 out
</stream:stream>

*** User 2024-02-23 16:12:36.324 ***🔗
alice@localhost/res1 in
</stream:stream>
*** CT 2024-02-23 16:12:36.332 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4686.html



=== Ended at 2024-02-23 16:12:36
=== successfully completed test case
=== === Returned value: ok


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