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

=== Config value:

    [{watchdog,<0.28206.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/muc_light_legacy_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.muc_light_legacy_SUITE.logs/run.2022-05-11_09.03.47/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@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.muc_light_legacy_SUITE.logs/run.2022-05-11_09.03.47/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@df370d24fb6d.2022-05-11_08.56.40"

=== Started at 2022-05-11 09:03:50


*** CT 2022-05-11 09:03:50.096 *** View log from node mongooseim@localhost when started mongooseim@localhost_2361.html
*** CT 2022-05-11 09:03:50.097 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_492.html

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

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



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



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

*** User 2022-05-11 09:03:50.110 ***
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-11 09:03:50.110 ***
alicE@domain.example.com/res1 out
<iq type='set' id='2341ed80b6ab7d707f831831dbbd1f83'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 09:03:50.110 ***
alicE@domain.example.com/res1 in
<iq id='2341ed80b6ab7d707f831831dbbd1f83' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:03:50.110 ***
alicE@domain.example.com/res1 out
<iq type='set' id='6c2af6444242950fca679bbff0125550'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:03:50.111 ***
alicE@domain.example.com/res1 in
<iq type='result' id='6c2af6444242950fca679bbff0125550'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:03:50.111 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-05-11 09:03:50.112 ***
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-11 09:03:50.112 ***
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-11 09:03:50.113 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='17f05571ef94bb06' from='domain.example.com' version='1.0' xml:lang='en'>

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



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



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

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



*** User 2022-05-11 09:03:50.114 ***
bOb@domain.example.com/res1 in
<iq id='12b37f16053b611c526012e7736e99fe' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:03:50.114 ***
bOb@domain.example.com/res1 out
<iq type='set' id='c5842a55921f9f51f062c4d2b6143651'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:03:50.115 ***
bOb@domain.example.com/res1 in
<iq type='result' id='c5842a55921f9f51f062c4d2b6143651'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:03:50.115 ***
bOb@domain.example.com/res1 out
<presence/>



*** User 2022-05-11 09:03:50.115 ***
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-11 09:03:50.116 ***
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-11 09:03:50.116 ***
kate@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='afc374b8d5e29ed8' from='domain.example.com' version='1.0' xml:lang='en'>

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



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



*** User 2022-05-11 09:03:50.117 ***
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-11 09:03:50.117 ***
kate@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='792a5dfedb547d89' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:03:50.118 ***
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-11 09:03:50.118 ***
kate@domain.example.com/res1 out
<iq type='set' id='1da352c4130f375ee9c110109a743966'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 09:03:50.118 ***
kate@domain.example.com/res1 in
<iq id='1da352c4130f375ee9c110109a743966' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:03:50.118 ***
kate@domain.example.com/res1 out
<iq type='set' id='769f4b9604616ddffe192c20722008b1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:03:50.118 ***
kate@domain.example.com/res1 in
<iq type='result' id='769f4b9604616ddffe192c20722008b1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:03:50.119 ***
kate@domain.example.com/res1 out
<presence/>



*** User 2022-05-11 09:03:50.119 ***
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-11 09:03:50.120 ***
bOb@domain.example.com/res1 out
<iq type='set' id='be9ed02ab10fe1309c919bc86885dc4d'>
	<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-11 09:03:50.120 ***
bOb@domain.example.com/res1 in
<iq from='bOb@domain.example.com' to='bOb@domain.example.com/res1' id='be9ed02ab10fe1309c919bc86885dc4d' type='result'/>



*** User 2022-05-11 09:03:50.121 ***
alicE@domain.example.com/res1 out
<iq type='set' id='3b322497b5d362a287a7b0c99a196fbf' 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-11 09:03:50.122 ***
alicE@domain.example.com/res1 in
<iq from='testroom2@groupchats.domain.example.com' to='alicE@domain.example.com/res1' id='3b322497b5d362a287a7b0c99a196fbf' type='result'/>



*** User 2022-05-11 09:03:50.122 ***
kate@domain.example.com/res1 out
<iq type='set' id='888d6366abb0abdc45f99ef5fe32ca9a' 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-11 09:03:50.125 ***
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-11 09:03:50.125 ***
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-11 09:03:50.125 ***
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-11 09:03:50.125 ***
kate@domain.example.com/res1 in
<iq from='testroom2@groupchats.domain.example.com' to='kate@domain.example.com/res1' id='888d6366abb0abdc45f99ef5fe32ca9a' type='result'/>



*** User 2022-05-11 09:03:50.125 ***
kate@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-11 09:03:50.125 ***
kate@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-11 09:03:50.125 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-11 09:03:50.125 ***
bOb@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-11 09:03:50.125 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-11 09:03:50.126 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-11 09:03:50.130 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_492.html
*** CT 2022-05-11 09:03:50.131 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2361.html



=== Ended at 2022-05-11 09:03:50
=== successfully completed test case
=== === Returned value: ok


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