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

=== Config value:

    [{watchdog,<0.71224.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@079a843f8d8b.2023-11-16_09.33.39/big_tests.tests.muc_light_SUITE.logs/run.2023-11-16_09.46.45/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@079a843f8d8b.2023-11-16_09.33.39/big_tests.tests.muc_light_SUITE.logs/run.2023-11-16_09.46.45/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        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_amp => #{},mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        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@079a843f8d8b.2023-11-16_09.33.39"

=== Started at 2023-11-16 09:46:53


*** CT 2023-11-16 09:46:53.434 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4639.html

*** User 2023-11-16 09:46:53.455 ***🔗
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 2023-11-16 09:46:53.456 ***🔗
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ac46646649181e2a' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:46:53.456 ***🔗
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 2023-11-16 09:46:53.456 ***🔗
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2023-11-16 09:46:53.457 ***🔗
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:46:53.457 ***🔗
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 2023-11-16 09:46:53.458 ***🔗
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7ef0a6ab1fc4dc8f' from='localhost' version='1.0' xml:lang='en' to='alice@localhost'>

*** User 2023-11-16 09:46:53.458 ***🔗
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 2023-11-16 09:46:53.458 ***🔗
alicE@localhost/res1 out
<iq type='set' id='baa4402d32d991aa229d30df76271e57'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:46:53.458 ***🔗
alicE@localhost/res1 in
<iq id='baa4402d32d991aa229d30df76271e57' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:46:53.458 ***🔗
alice@localhost/res1 out
<iq type='set' id='315ca87a5aa358d3f810133db4c1a2b2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:46:53.459 ***🔗
alice@localhost/res1 in
<iq from='localhost' to='alice@localhost/res1' id='315ca87a5aa358d3f810133db4c1a2b2' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:46:53.459 ***🔗
alice@localhost/res1 out
<presence/>



*** User 2023-11-16 09:46:53.460 ***🔗
alice@localhost/res1 in
<presence from='alice@localhost/res1' to='alice@localhost/res1'/>



*** User 2023-11-16 09:46:53.461 ***🔗
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 2023-11-16 09:46:53.461 ***🔗
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b9b529978167272c' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:46:53.462 ***🔗
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 2023-11-16 09:46:53.462 ***🔗
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2023-11-16 09:46:53.463 ***🔗
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:46:53.463 ***🔗
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 2023-11-16 09:46:53.463 ***🔗
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bc6c1d5d1d4c6c1c' from='localhost' version='1.0' xml:lang='en' to='bob@localhost'>

*** User 2023-11-16 09:46:53.463 ***🔗
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 2023-11-16 09:46:53.463 ***🔗
bOb@localhost/res1 out
<iq type='set' id='11cb6de8a2cfb6a7f71132a05a736c59'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:46:53.464 ***🔗
bOb@localhost/res1 in
<iq id='11cb6de8a2cfb6a7f71132a05a736c59' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:46:53.464 ***🔗
bob@localhost/res1 out
<iq type='set' id='7d549833f237f73162b7f3348d50599d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:46:53.465 ***🔗
bob@localhost/res1 in
<iq from='localhost' to='bob@localhost/res1' id='7d549833f237f73162b7f3348d50599d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:46:53.465 ***🔗
bob@localhost/res1 out
<presence/>



*** User 2023-11-16 09:46:53.466 ***🔗
bob@localhost/res1 in
<presence from='bob@localhost/res1' to='bob@localhost/res1'/>



*** User 2023-11-16 09:46:53.467 ***🔗
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 2023-11-16 09:46:53.467 ***🔗
kate@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f597a3d3c74590c0' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:46:53.468 ***🔗
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 2023-11-16 09:46:53.468 ***🔗
kate@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGUAbWFrcm93ZTtw</auth>



*** User 2023-11-16 09:46:53.469 ***🔗
kate@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:46:53.469 ***🔗
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 2023-11-16 09:46:53.469 ***🔗
kate@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='649eb76e5c660d6f' from='localhost' version='1.0' xml:lang='en' to='kate@localhost'>

*** User 2023-11-16 09:46:53.469 ***🔗
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 2023-11-16 09:46:53.469 ***🔗
kate@localhost/res1 out
<iq type='set' id='7d7051f82ec7e2cfe24c35bbd7a35dbe'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:46:53.469 ***🔗
kate@localhost/res1 in
<iq id='7d7051f82ec7e2cfe24c35bbd7a35dbe' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:46:53.469 ***🔗
kate@localhost/res1 out
<iq type='set' id='4d15b94bdb81c152c4968987fbbd218a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:46:53.470 ***🔗
kate@localhost/res1 in
<iq from='localhost' to='kate@localhost/res1' id='4d15b94bdb81c152c4968987fbbd218a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:46:53.470 ***🔗
kate@localhost/res1 out
<presence/>



*** User 2023-11-16 09:46:53.471 ***🔗
kate@localhost/res1 in
<presence from='kate@localhost/res1' to='kate@localhost/res1'/>



*** User 2023-11-16 09:46:53.471 ***🔗
bob@localhost/res1 out
<iq type='set' id='73a75c55592515161221cff3973182d4' to='muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#blocking'>
		<user action='deny'>alice@localhost</user>
	</query>
</iq>



*** User 2023-11-16 09:46:53.476 ***🔗
bob@localhost/res1 in
<iq from='muclight.localhost' to='bob@localhost/res1' id='73a75c55592515161221cff3973182d4' type='result'/>



*** User 2023-11-16 09:46:53.476 ***🔗
bob@localhost/res1 out
<iq type='set' id='de3e1172f104687f64e2d6e8ed0e2872' to='testroom@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>bob@localhost</user>
	</query>
</iq>



*** User 2023-11-16 09:46:53.483 ***🔗
alice@localhost/res1 in
<message from='testroom@muclight.localhost' to='alice@localhost' id='de3e1172f104687f64e2d6e8ed0e2872' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>ver-1</prev-version>
		<version>1700-128013-477538</version>
		<user affiliation='none'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2023-11-16 09:46:53.483 ***🔗
kate@localhost/res1 in
<message from='testroom@muclight.localhost' to='kate@localhost' id='de3e1172f104687f64e2d6e8ed0e2872' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>ver-1</prev-version>
		<version>1700-128013-477538</version>
		<user affiliation='none'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2023-11-16 09:46:53.483 ***🔗
bob@localhost/res1 in
<message from='testroom@muclight.localhost' to='bob@localhost' id='de3e1172f104687f64e2d6e8ed0e2872' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='none'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2023-11-16 09:46:53.483 ***🔗
bob@localhost/res1 in
<iq from='testroom@muclight.localhost' to='bob@localhost/res1' id='de3e1172f104687f64e2d6e8ed0e2872' type='result'/>



*** User 2023-11-16 09:46:53.483 ***🔗
alice@localhost/res1 out
<iq type='set' id='3b3017f880492c0a2c861c904fc07ceb' to='new@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#create'>
		<configuration/>
		<occupants>
			<user affiliation='member'>bob@localhost</user>
		</occupants>
	</query>
</iq>



*** User 2023-11-16 09:46:53.487 ***🔗
alice@localhost/res1 in
<message from='new@muclight.localhost' to='alice@localhost' id='3b3017f880492c0a2c861c904fc07ceb' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1700-128013-484577</version>
		<user affiliation='owner'>alice@localhost</user>
	</x>
	<body/>
</message>



*** User 2023-11-16 09:46:53.487 ***🔗
alice@localhost/res1 in
<iq from='new@muclight.localhost' to='alice@localhost/res1' id='3b3017f880492c0a2c861c904fc07ceb' type='result'/>



*** User 2023-11-16 09:46:53.487 ***🔗
kate@localhost/res1 out
<iq type='set' id='110da1c883e15c86c8954258a9dcc1cf' to='testroom@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='member'>bob@localhost</user>
	</query>
</iq>



*** User 2023-11-16 09:46:53.498 ***🔗
alice@localhost/res1 in
<message from='testroom@muclight.localhost' to='alice@localhost' id='110da1c883e15c86c8954258a9dcc1cf' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1700-128013-477538</prev-version>
		<version>1700-128013-487833</version>
		<user affiliation='member'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2023-11-16 09:46:53.498 ***🔗
bob@localhost/res1 in
<message from='testroom@muclight.localhost' to='bob@localhost' id='110da1c883e15c86c8954258a9dcc1cf' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1700-128013-487833</version>
		<user affiliation='member'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2023-11-16 09:46:53.498 ***🔗
kate@localhost/res1 in
<message from='testroom@muclight.localhost' to='kate@localhost' id='110da1c883e15c86c8954258a9dcc1cf' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1700-128013-477538</prev-version>
		<version>1700-128013-487833</version>
		<user affiliation='member'>bob@localhost</user>
	</x>
	<body/>
</message>



*** User 2023-11-16 09:46:53.498 ***🔗
kate@localhost/res1 in
<iq from='testroom@muclight.localhost' to='kate@localhost/res1' id='110da1c883e15c86c8954258a9dcc1cf' type='result'/>



*** User 2023-11-16 09:46:53.498 ***🔗
kate@localhost/res1 out
</stream:stream>

*** User 2023-11-16 09:46:53.499 ***🔗
kate@localhost/res1 in
</stream:stream>

*** User 2023-11-16 09:46:53.499 ***🔗
bob@localhost/res1 out
</stream:stream>

*** User 2023-11-16 09:46:53.499 ***🔗
bob@localhost/res1 in
</stream:stream>

*** User 2023-11-16 09:46:53.499 ***🔗
alice@localhost/res1 out
</stream:stream>

*** User 2023-11-16 09:46:53.500 ***🔗
alice@localhost/res1 in
</stream:stream>
*** CT 2023-11-16 09:46:53.512 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4639.html



=== Ended at 2023-11-16 09:46:53
=== successfully completed test case
=== === Returned value: ok


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