=== Test case: privacy_SUITE:block_all_message/1 (click for source code)
=== Config value:
[{watchdog,<0.78565.0>},
{escalus_no_stanzas_after_story,true},
{preset,"odbc_mssql_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@08e20f3a1f6a.2024-04-26_12.39.28/big_tests.tests.privacy_SUITE.logs/run.2024-04-26_12.55.15/privacy_suite.block_all_message.231554.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@08e20f3a1f6a.2024-04-26_12.39.28/big_tests.tests.privacy_SUITE.logs/run.2024-04-26_12.55.15/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_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_sic => #{iqdisc => one_queue},
mod_amp => #{},mod_presence => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
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_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}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@08e20f3a1f6a.2024-04-26_12.39.28"
=== Started at 2024-04-26 12:55:16
*** User 2024-04-26 12:55:16.346 ***🔗
alicE_block_all_message_3013@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-26 12:55:16.347 ***🔗
alicE_block_all_message_3013@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e1be753af0bc4b34' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-26 12:55:16.347 ***🔗
alicE_block_all_message_3013@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-26 12:55:16.347 ***🔗
alicE_block_all_message_3013@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Jsb2NrX2FsbF9tZXNzYWdlXzMwMTMAbWF0eWdyeXNh</auth>
*** User 2024-04-26 12:55:16.349 ***🔗
alicE_block_all_message_3013@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-26 12:55:16.349 ***🔗
alicE_block_all_message_3013@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-26 12:55:16.349 ***🔗
alicE_block_all_message_3013@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5a15d5d1b3806884' from='localhost' version='1.0' xml:lang='en' to='alice_block_all_message_3013@localhost'>
*** User 2024-04-26 12:55:16.350 ***🔗
alicE_block_all_message_3013@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-26 12:55:16.350 ***🔗
alicE_block_all_message_3013@localhost/res1 out
<iq type='set' id='df817aabd233da1e7e0d637a8b8666c2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-26 12:55:16.350 ***🔗
alicE_block_all_message_3013@localhost/res1 in
<iq id='df817aabd233da1e7e0d637a8b8666c2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_block_all_message_3013@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-26 12:55:16.350 ***🔗
alice_block_all_message_3013@localhost/res1 out
<iq type='set' id='42d533b9dfc1e58f852e56969e443aa6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 12:55:16.352 ***🔗
alice_block_all_message_3013@localhost/res1 in
<iq from='localhost' to='alice_block_all_message_3013@localhost/res1' id='42d533b9dfc1e58f852e56969e443aa6' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 12:55:16.352 ***🔗
alice_block_all_message_3013@localhost/res1 out
<presence/>
*** User 2024-04-26 12:55:16.355 ***🔗
alice_block_all_message_3013@localhost/res1 in
<presence from='alice_block_all_message_3013@localhost/res1' to='alice_block_all_message_3013@localhost/res1'/>
*** User 2024-04-26 12:55:16.356 ***🔗
bOb_block_all_message_3013@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-26 12:55:16.357 ***🔗
bOb_block_all_message_3013@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7c025b45d2346fab' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-26 12:55:16.357 ***🔗
bOb_block_all_message_3013@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-26 12:55:16.357 ***🔗
bOb_block_all_message_3013@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ibG9ja19hbGxfbWVzc2FnZV8zMDEzAG1ha3JvbGlrYQ==</auth>
*** User 2024-04-26 12:55:16.358 ***🔗
bOb_block_all_message_3013@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-26 12:55:16.358 ***🔗
bOb_block_all_message_3013@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-26 12:55:16.359 ***🔗
bOb_block_all_message_3013@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1f617fa38ae5b482' from='localhost' version='1.0' xml:lang='en' to='bob_block_all_message_3013@localhost'>
*** User 2024-04-26 12:55:16.359 ***🔗
bOb_block_all_message_3013@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-26 12:55:16.360 ***🔗
bOb_block_all_message_3013@localhost/res1 out
<iq type='set' id='20c4fc09567fe97f68f07898614c7d2e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-26 12:55:16.361 ***🔗
bOb_block_all_message_3013@localhost/res1 in
<iq id='20c4fc09567fe97f68f07898614c7d2e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_block_all_message_3013@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-26 12:55:16.361 ***🔗
bob_block_all_message_3013@localhost/res1 out
<iq type='set' id='4ecef6913979111dee920cb32a342df1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 12:55:16.362 ***🔗
bob_block_all_message_3013@localhost/res1 in
<iq from='localhost' to='bob_block_all_message_3013@localhost/res1' id='4ecef6913979111dee920cb32a342df1' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 12:55:16.363 ***🔗
bob_block_all_message_3013@localhost/res1 out
<presence/>
*** User 2024-04-26 12:55:16.365 ***🔗
bob_block_all_message_3013@localhost/res1 in
<presence from='bob_block_all_message_3013@localhost/res1' to='bob_block_all_message_3013@localhost/res1'/>
*** User 2024-04-26 12:55:16.365 ***🔗
bob_block_all_message_3013@localhost/res1 out
<message type='chat' to='alice_block_all_message_3013@localhost/res1'>
<body>Hi!</body>
</message>
*** User 2024-04-26 12:55:16.368 ***🔗
alice_block_all_message_3013@localhost/res1 in
<message from='bob_block_all_message_3013@localhost/res1' to='alice_block_all_message_3013@localhost/res1' type='chat'>
<body>Hi!</body>
</message>
*** User 2024-04-26 12:55:16.368 ***🔗
alice_block_all_message_3013@localhost/res1 out
<iq type='set' id='d110ea3b92f126355a8c9c472ecfd1ad'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'>
<item order='1' action='deny'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2024-04-26 12:55:16.374 ***🔗
alice_block_all_message_3013@localhost/res1 in
<iq from='alice_block_all_message_3013@localhost' to='alice_block_all_message_3013@localhost/res1' id='push4775946199222b41' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2024-04-26 12:55:16.374 ***🔗
alice_block_all_message_3013@localhost/res1 in
<iq from='alice_block_all_message_3013@localhost' to='alice_block_all_message_3013@localhost/res1' id='d110ea3b92f126355a8c9c472ecfd1ad' type='result'/>
*** User 2024-04-26 12:55:16.374 ***🔗
alice_block_all_message_3013@localhost/res1 out
<iq type='get' id='821369985a2dbb6413c3dd476ef69964'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2024-04-26 12:55:16.378 ***🔗
alice_block_all_message_3013@localhost/res1 in
<iq from='alice_block_all_message_3013@localhost' to='alice_block_all_message_3013@localhost/res1' id='821369985a2dbb6413c3dd476ef69964' 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-26 12:55:16.378 ***🔗
alice_block_all_message_3013@localhost/res1 out
<iq type='set' id='d69b63d6f036a4ae241b5298784984c6'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message'/>
</query>
</iq>
*** User 2024-04-26 12:55:16.409 ***🔗
alice_block_all_message_3013@localhost/res1 in
<iq from='alice_block_all_message_3013@localhost' to='alice_block_all_message_3013@localhost/res1' id='d69b63d6f036a4ae241b5298784984c6' type='result'/>
*** User 2024-04-26 12:55:16.409 ***🔗
bob_block_all_message_3013@localhost/res1 out
<message type='chat' to='alice_block_all_message_3013@localhost/res1'>
<body>Hi!</body>
</message>
*** User 2024-04-26 12:55:16.460 ***🔗
bob_block_all_message_3013@localhost/res1 in
<message from='alice_block_all_message_3013@localhost/res1' to='bob_block_all_message_3013@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-26 12:55:16.460 ***🔗
bob_block_all_message_3013@localhost/res1 out
</stream:stream>
*** User 2024-04-26 12:55:16.508 ***🔗
bob_block_all_message_3013@localhost/res1 in
</stream:stream>
*** User 2024-04-26 12:55:16.509 ***🔗
alice_block_all_message_3013@localhost/res1 out
</stream:stream>
*** User 2024-04-26 12:55:16.509 ***🔗
alice_block_all_message_3013@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-26 12:55:16
=== successfully completed test case
=== === Returned value: ok