=== Test case: mod_blocking_SUITE:add_user_to_blocklist/1 (click for source code)

=== Config value:

    [{watchdog,<0.14021.1>},
     {backend,rdbms},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/mod_blocking_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.mod_blocking_SUITE.logs/run.2022-01-25_16.27.56/mod_blocking_suite.add_user_to_blocklist.95619.html"},
     {tc_group_properties,[{name,manage},{repeat_until_all_ok,3},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/mod_blocking_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.mod_blocking_SUITE.logs/run.2022-01-25_16.27.56/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => [],mod_amp => [],mod_bosh => [],
        mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
        mod_carboncopy => [],mod_commands => [],
        mod_disco => [{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"}]},
             {welcome_message,{[],[]}}],
        mod_roster => [{backend,rdbms}],
        mod_sic => [],mod_stream_management => [],
        mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}},
     {escalus_users,[{alice,[{username,<<"alicE_unnamed_1545">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb_unnamed_1545">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate_unnamed_1545">>},
                            {server,<<"localhost">>},
                            {password,<<"makrowe;p">>}]},
                     {mike,[{username,<<"mike_unnamed_1545">>},
                            {server,<<"localhost">>},
                            {password,<<"nicniema">>}]},
                     {john,[{username,<<"john_unnamed_1545">>},
                            {server,<<"localhost">>},
                            {password,<<"cosontuma">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59"

=== Started at 2022-01-25 16:27:56


*** CT 2022-01-25 16:27:56.855 *** View log from node mongooseim@localhost when started mongooseim@localhost_1842.html
*** CT 2022-01-25 16:27:56.856 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_612.html

*** User 2022-01-25 16:27:56.884 ***
alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-25 16:27:56.885 ***
alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1e23c918a623bba0' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:27:56.885 ***
alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/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-01-25 16:27:56.885 ***
alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMTU0NV9hZGRfdXNlcl90b19ibG9ja2xpc3RfMTU0NwBtYXR5Z3J5c2E=</auth>



*** User 2022-01-25 16:27:56.886 ***
alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:27:56.886 ***
alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-25 16:27:56.887 ***
alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='37225517d4eab25d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:27:56.887 ***
alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/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-01-25 16:27:56.887 ***
alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 out
<iq type='set' id='480971f5f32d82c6494415d17c60454e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:27:56.887 ***
alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 in
<iq id='480971f5f32d82c6494415d17c60454e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:27:56.887 ***
alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 out
<iq type='set' id='22bde503b320f103cd11b4fd3790b935'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:27:56.888 ***
alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 in
<iq type='result' id='22bde503b320f103cd11b4fd3790b935'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:27:56.888 ***
alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 out
<presence/>



*** User 2022-01-25 16:27:56.892 ***
alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 in
<presence from='alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1' to='alice_unnamed_1545_add_user_to_blocklist_1547@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:27:56.893 ***
bOb_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-25 16:27:56.894 ***
bOb_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b143fde97f616aa' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:27:56.894 ***
bOb_unnamed_1545_add_user_to_blocklist_1547@localhost/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-01-25 16:27:56.895 ***
bOb_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzE1NDVfYWRkX3VzZXJfdG9fYmxvY2tsaXN0XzE1NDcAbWFrcm9saWth</auth>



*** User 2022-01-25 16:27:56.897 ***
bOb_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:27:56.897 ***
bOb_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-25 16:27:56.897 ***
bOb_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fa1b7d4a416c325a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:27:56.898 ***
bOb_unnamed_1545_add_user_to_blocklist_1547@localhost/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-01-25 16:27:56.898 ***
bOb_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 out
<iq type='set' id='a3a4d69f721f0b2e1bfca617a6e713ac'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:27:56.898 ***
bOb_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 in
<iq id='a3a4d69f721f0b2e1bfca617a6e713ac' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_unnamed_1545_add_user_to_blocklist_1547@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:27:56.899 ***
bOb_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 out
<iq type='set' id='6f0e79367929cd188e2c9def3b3179dd'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:27:56.899 ***
bOb_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 in
<iq type='result' id='6f0e79367929cd188e2c9def3b3179dd'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:27:56.899 ***
bOb_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 out
<presence/>



*** User 2022-01-25 16:27:56.951 ***
bOb_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 in
<presence from='bOb_unnamed_1545_add_user_to_blocklist_1547@localhost/res1' to='bob_unnamed_1545_add_user_to_blocklist_1547@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:27:56.951 ***
alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 out
<iq type='set'>
	<block xmlns='urn:xmpp:blocking'>
		<item jid='bob_unnamed_1545_add_user_to_blocklist_1547@localhost'/>
	</block>
</iq>



*** User 2022-01-25 16:27:57.081 ***
alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 in
<iq from='alicE_unnamed_1545_add_user_to_blocklist_1547@localhost' to='alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1' id='' type='result'/>



*** User 2022-01-25 16:27:57.081 ***
alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 in
<iq from='alicE_unnamed_1545_add_user_to_blocklist_1547@localhost' to='alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1' id='push' type='set'>
	<block xmlns='urn:xmpp:blocking'>
		<item jid='bob_unnamed_1545_add_user_to_blocklist_1547@localhost'/>
	</block>
</iq>



*** User 2022-01-25 16:27:57.081 ***
alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 out
<iq type='get'>
	<blocklist xmlns='urn:xmpp:blocking'/>
</iq>



*** User 2022-01-25 16:27:57.158 ***
alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 in
<iq from='alicE_unnamed_1545_add_user_to_blocklist_1547@localhost' to='alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1' id='' type='result'>
	<blocklist xmlns='urn:xmpp:blocking'>
		<item jid='bob_unnamed_1545_add_user_to_blocklist_1547@localhost'/>
	</blocklist>
</iq>



*** User 2022-01-25 16:27:57.158 ***
bOb_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:27:57.159 ***
bOb_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:27:57.159 ***
alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:27:57.159 ***
alicE_unnamed_1545_add_user_to_blocklist_1547@localhost/res1 in
</stream:stream>
*** CT 2022-01-25 16:27:57.163 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_612.html
*** CT 2022-01-25 16:27:57.163 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1843.html



=== Ended at 2022-01-25 16:27:57
=== successfully completed test case
=== === Returned value: ok