=== Test case: privacy_SUITE:block_all_message/1 (click for source code)
=== Config value:
[{watchdog,<0.47252.0>},
{escalus_no_stanzas_after_story,true},
{preset,"internal_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/privacy_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@ab4da8ac41c7.2024-04-15_15.52.42/big_tests.tests.privacy_SUITE.logs/run.2024-04-15_16.05.28/privacy_suite.block_all_message.92802.html"},
{tc_group_properties,[{name,blocking},parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/privacy_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@ab4da8ac41c7.2024-04-15_15.52.42/big_tests.tests.privacy_SUITE.logs/run.2024-04-15_16.05.28/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,backend => mnesia,iqdisc => parallel},
mod_roster =>
#{backend => mnesia,iqdisc => one_queue,versioning => false,
store_current_id => false},
mod_sic => #{iqdisc => one_queue},
mod_amp => #{},
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_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_presence => #{},
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_carboncopy => #{iqdisc => no_queue},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@ab4da8ac41c7.2024-04-15_15.52.42"
=== Started at 2024-04-15 16:05:28
*** User 2024-04-15 16:05:28.995 ***🔗
alicE_block_all_message_1521@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-04-15 16:05:28.996 ***🔗
alicE_block_all_message_1521@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='839ea6df0bd96581' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-15 16:05:28.996 ***🔗
alicE_block_all_message_1521@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-04-15 16:05:28.996 ***🔗
alicE_block_all_message_1521@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX2FsbF9tZXNzYWdlXzE1MjEAbWF0eWdyeXNh</auth>
*** User 2024-04-15 16:05:28.997 ***🔗
alicE_block_all_message_1521@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 16:05:28.997 ***🔗
alicE_block_all_message_1521@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-04-15 16:05:28.998 ***🔗
alicE_block_all_message_1521@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dfe8559dcf52f207' from='localhost' version='1.0' xml:lang='en' to='alice_block_all_message_1521@localhost'>
*** User 2024-04-15 16:05:28.998 ***🔗
alicE_block_all_message_1521@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-04-15 16:05:28.998 ***🔗
alicE_block_all_message_1521@localhost/res1 out
<iq type='set' id='6997d446e45a5d5648be8cbc594b8e02'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-15 16:05:28.999 ***🔗
alicE_block_all_message_1521@localhost/res1 in
<iq id='6997d446e45a5d5648be8cbc594b8e02' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_block_all_message_1521@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-15 16:05:28.999 ***🔗
alice_block_all_message_1521@localhost/res1 out
<iq type='set' id='4a8049233d94abc348457e35066f3329'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:05:28.999 ***🔗
alice_block_all_message_1521@localhost/res1 in
<iq from='localhost' to='alice_block_all_message_1521@localhost/res1' id='4a8049233d94abc348457e35066f3329' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:05:29.000 ***🔗
alice_block_all_message_1521@localhost/res1 out
<presence/>
*** User 2024-04-15 16:05:29.001 ***🔗
alice_block_all_message_1521@localhost/res1 in
<presence from='alice_block_all_message_1521@localhost/res1' to='alice_block_all_message_1521@localhost/res1'/>
*** User 2024-04-15 16:05:29.001 ***🔗
bOb_block_all_message_1521@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-04-15 16:05:29.002 ***🔗
bOb_block_all_message_1521@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a858120024be79c9' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-15 16:05:29.002 ***🔗
bOb_block_all_message_1521@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-04-15 16:05:29.002 ***🔗
bOb_block_all_message_1521@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19hbGxfbWVzc2FnZV8xNTIxAG1ha3JvbGlrYQ==</auth>
*** User 2024-04-15 16:05:29.003 ***🔗
bOb_block_all_message_1521@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 16:05:29.003 ***🔗
bOb_block_all_message_1521@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-04-15 16:05:29.004 ***🔗
bOb_block_all_message_1521@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='74ab695d7141ecde' from='localhost' version='1.0' xml:lang='en' to='bob_block_all_message_1521@localhost'>
*** User 2024-04-15 16:05:29.004 ***🔗
bOb_block_all_message_1521@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-04-15 16:05:29.004 ***🔗
bOb_block_all_message_1521@localhost/res1 out
<iq type='set' id='7224dfb2111ad70b31ec1203150210b5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-15 16:05:29.005 ***🔗
bOb_block_all_message_1521@localhost/res1 in
<iq id='7224dfb2111ad70b31ec1203150210b5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_block_all_message_1521@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-15 16:05:29.005 ***🔗
bob_block_all_message_1521@localhost/res1 out
<iq type='set' id='34bf4bf1055e936fcd9466ef1d422800'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:05:29.005 ***🔗
bob_block_all_message_1521@localhost/res1 in
<iq from='localhost' to='bob_block_all_message_1521@localhost/res1' id='34bf4bf1055e936fcd9466ef1d422800' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:05:29.006 ***🔗
bob_block_all_message_1521@localhost/res1 out
<presence/>
*** User 2024-04-15 16:05:29.006 ***🔗
bob_block_all_message_1521@localhost/res1 in
<presence from='bob_block_all_message_1521@localhost/res1' to='bob_block_all_message_1521@localhost/res1'/>
*** User 2024-04-15 16:05:29.007 ***🔗
bob_block_all_message_1521@localhost/res1 out
<message type='chat' to='alice_block_all_message_1521@localhost/res1'>
<body>Hi!</body>
</message>
*** User 2024-04-15 16:05:29.007 ***🔗
alice_block_all_message_1521@localhost/res1 in
<message from='bob_block_all_message_1521@localhost/res1' to='alice_block_all_message_1521@localhost/res1' type='chat'>
<body>Hi!</body>
</message>
*** User 2024-04-15 16:05:29.007 ***🔗
alice_block_all_message_1521@localhost/res1 out
<iq type='set' id='b66467fd35359fa74cd263075deec2dd'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'>
<item order='1' action='deny'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2024-04-15 16:05:29.009 ***🔗
alice_block_all_message_1521@localhost/res1 in
<iq from='alice_block_all_message_1521@localhost' to='alice_block_all_message_1521@localhost/res1' id='pusha1ea797e9823a86f' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2024-04-15 16:05:29.009 ***🔗
alice_block_all_message_1521@localhost/res1 in
<iq from='alice_block_all_message_1521@localhost' to='alice_block_all_message_1521@localhost/res1' id='b66467fd35359fa74cd263075deec2dd' type='result'/>
*** User 2024-04-15 16:05:29.009 ***🔗
alice_block_all_message_1521@localhost/res1 out
<iq type='get' id='262b3c732669e714b1b20f11dd5a4ecf'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2024-04-15 16:05:29.010 ***🔗
alice_block_all_message_1521@localhost/res1 in
<iq from='alice_block_all_message_1521@localhost' to='alice_block_all_message_1521@localhost/res1' id='262b3c732669e714b1b20f11dd5a4ecf' type='result'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'>
<item action='deny' order='1'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2024-04-15 16:05:29.010 ***🔗
alice_block_all_message_1521@localhost/res1 out
<iq type='set' id='59f588f2549392d988c0c12dd9db0f4f'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message'/>
</query>
</iq>
*** User 2024-04-15 16:05:29.010 ***🔗
alice_block_all_message_1521@localhost/res1 in
<iq from='alice_block_all_message_1521@localhost' to='alice_block_all_message_1521@localhost/res1' id='59f588f2549392d988c0c12dd9db0f4f' type='result'/>
*** User 2024-04-15 16:05:29.010 ***🔗
bob_block_all_message_1521@localhost/res1 out
<message type='chat' to='alice_block_all_message_1521@localhost/res1'>
<body>Hi!</body>
</message>
*** User 2024-04-15 16:05:29.064 ***🔗
bob_block_all_message_1521@localhost/res1 in
<message from='alice_block_all_message_1521@localhost/res1' to='bob_block_all_message_1521@localhost/res1' type='error'>
<body>Hi!</body>
<error code='503' type='cancel'>
<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</message>
*** User 2024-04-15 16:05:29.065 ***🔗
bob_block_all_message_1521@localhost/res1 out
</stream:stream>
*** User 2024-04-15 16:05:29.065 ***🔗
bob_block_all_message_1521@localhost/res1 in
</stream:stream>
*** User 2024-04-15 16:05:29.065 ***🔗
alice_block_all_message_1521@localhost/res1 out
</stream:stream>
*** User 2024-04-15 16:05:29.066 ***🔗
alice_block_all_message_1521@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-15 16:05:29
=== successfully completed test case
=== === Returned value: ok