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

=== Config value:

    [{watchdog,<0.28454.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/muc_light_legacy_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.muc_light_legacy_SUITE.logs/run.2022-05-25_09.12.29/muc_light_legacy_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_legacy_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.muc_light_legacy_SUITE.logs/run.2022-05-25_09.12.29/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_commands => #{},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              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"}],
              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@f0b09cc3aef4.2022-05-25_09.03.38"

=== Started at 2022-05-25 09:12:31


*** CT 2022-05-25 09:12:31.540 *** View log from node mongooseim@localhost when started mongooseim@localhost_2276.html
*** CT 2022-05-25 09:12:31.540 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_489.html

*** User 2022-05-25 09:12:31.553 ***
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-05-25 09:12:31.554 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c4b1032210248fc7' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:12:31.554 ***
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-05-25 09:12:31.554 ***
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-05-25 09:12:31.555 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:12:31.555 ***
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-05-25 09:12:31.555 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0d0a625252fd7d1f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:12:31.555 ***
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-05-25 09:12:31.555 ***
alicE@domain.example.com/res1 out
<iq type='set' id='4916584451fb99ec9325abce27ff94cf'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:12:31.556 ***
alicE@domain.example.com/res1 in
<iq id='4916584451fb99ec9325abce27ff94cf' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:12:31.556 ***
alice@domain.example.com/res1 out
<iq type='set' id='f05da09010504ceaf0475abee09c76d6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:12:31.556 ***
alice@domain.example.com/res1 in
<iq type='result' id='f05da09010504ceaf0475abee09c76d6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:12:31.556 ***
alice@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:12:31.558 ***
alice@domain.example.com/res1 in
<presence from='alice@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:12:31.558 ***
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-05-25 09:12:31.558 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4270a44a6252084a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:12:31.559 ***
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-05-25 09:12:31.559 ***
bOb@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-05-25 09:12:31.560 ***
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:12:31.560 ***
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-05-25 09:12:31.560 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8152ec5d21e55552' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:12:31.560 ***
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-05-25 09:12:31.560 ***
bOb@domain.example.com/res1 out
<iq type='set' id='423c41b1be9a022f219afd8e5df99c81'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:12:31.560 ***
bOb@domain.example.com/res1 in
<iq id='423c41b1be9a022f219afd8e5df99c81' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:12:31.560 ***
bob@domain.example.com/res1 out
<iq type='set' id='2aab798f32ffe51b445ae0c30911dc7e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:12:31.560 ***
bob@domain.example.com/res1 in
<iq type='result' id='2aab798f32ffe51b445ae0c30911dc7e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:12:31.560 ***
bob@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:12:31.562 ***
bob@domain.example.com/res1 in
<presence from='bob@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:12:31.562 ***
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-05-25 09:12:31.563 ***
kate@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4bf45911cdafac41' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:12:31.563 ***
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-05-25 09:12:31.563 ***
kate@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGUAbWFrcm93ZTtw</auth>



*** User 2022-05-25 09:12:31.564 ***
kate@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:12:31.564 ***
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-05-25 09:12:31.565 ***
kate@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='754851b7e3f7c573' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:12:31.565 ***
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-05-25 09:12:31.565 ***
kate@domain.example.com/res1 out
<iq type='set' id='2d681e9bbeab868590074fc2a6b2c6cc'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:12:31.565 ***
kate@domain.example.com/res1 in
<iq id='2d681e9bbeab868590074fc2a6b2c6cc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:12:31.565 ***
kate@domain.example.com/res1 out
<iq type='set' id='5830f002d4b50125de734c8d6685d0ab'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:12:31.565 ***
kate@domain.example.com/res1 in
<iq type='result' id='5830f002d4b50125de734c8d6685d0ab'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:12:31.565 ***
kate@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:12:31.567 ***
kate@domain.example.com/res1 in
<presence from='kate@domain.example.com/res1' to='kate@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:12:31.567 ***
bob@domain.example.com/res1 out
<iq type='set' id='b6fd13d8027525677b8a0da962e9e95a'>
	<query xmlns='jabber:iq:privacy'>
		<list name='urn:xmpp:muclight:0'>
			<item order='1' type='jid' value='groupchats.domain.example.com/alice@domain.example.com' action='deny'/>
		</list>
	</query>
</iq>



*** User 2022-05-25 09:12:31.569 ***
bob@domain.example.com/res1 in
<iq from='bob@domain.example.com' to='bob@domain.example.com/res1' id='b6fd13d8027525677b8a0da962e9e95a' type='result'/>



*** User 2022-05-25 09:12:31.569 ***
alice@domain.example.com/res1 out
<iq type='set' id='131e8e0d4b92bb7d4e1ea91571abd86f' to='testroom2@groupchats.domain.example.com'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item affiliation='member' jid='bob@domain.example.com'/>
	</query>
</iq>



*** User 2022-05-25 09:12:31.571 ***
alice@domain.example.com/res1 in
<iq from='testroom2@groupchats.domain.example.com' to='alice@domain.example.com/res1' id='131e8e0d4b92bb7d4e1ea91571abd86f' type='result'/>



*** User 2022-05-25 09:12:31.571 ***
kate@domain.example.com/res1 out
<iq type='set' id='1f50793b0f566c5f95fef5fe1efd72b2' to='testroom2@groupchats.domain.example.com'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item affiliation='member' jid='bob@domain.example.com'/>
	</query>
</iq>



*** User 2022-05-25 09:12:31.575 ***
alice@domain.example.com/res1 in
<presence from='testroom2@groupchats.domain.example.com/bob@domain.example.com' to='alice@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' jid='bob@domain.example.com' role='participant' nick='bob@domain.example.com'/>
	</x>
</presence>



*** User 2022-05-25 09:12:31.575 ***
kate@domain.example.com/res1 in
<presence from='testroom2@groupchats.domain.example.com/bob@domain.example.com' to='kate@domain.example.com/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='member' jid='bob@domain.example.com' role='participant' nick='bob@domain.example.com'/>
	</x>
</presence>



*** User 2022-05-25 09:12:31.576 ***
bob@domain.example.com/res1 in
<message from='testroom2@groupchats.domain.example.com' to='bob@domain.example.com'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<invite from='kate@domain.example.com'/>
	</x>
</message>



*** User 2022-05-25 09:12:31.576 ***
kate@domain.example.com/res1 in
<iq from='testroom2@groupchats.domain.example.com' to='kate@domain.example.com/res1' id='1f50793b0f566c5f95fef5fe1efd72b2' type='result'/>



*** User 2022-05-25 09:12:31.576 ***
kate@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:12:31.576 ***
kate@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-25 09:12:31.576 ***
bob@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:12:31.576 ***
bob@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-25 09:12:31.576 ***
alice@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:12:31.577 ***
alice@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-25 09:12:31.584 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_489.html
*** CT 2022-05-25 09:12:31.585 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2276.html



=== Ended at 2022-05-25 09:12:31
=== successfully completed test case
=== === Returned value: ok


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