=== Test case: amp_big_SUITE:notify_deliver_to_online_user_recipient_privacy_test/1 (click for source code)
=== Config value:
[{offline_storage,offline},
{watchdog,<0.5656.0>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/amp_big_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.amp_big_SUITE.logs/run.2022-03-04_11.16.31/amp_big_suite.notify_deliver_to_online_user_recipient_privacy_test.11650.html"},
{tc_group_properties,[{name,offline_success},parallel]},
{tc_group_path,[[{name,offline}]]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/amp_big_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.amp_big_SUITE.logs/run.2022-03-04_11.16.31/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 =>
[{welcome_message,{[],[]}},
{ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
{access,register},
{registration_watchers,[]}],
mod_roster => [{backend,rdbms}],
mod_sic => [],mod_stream_management => [],
mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18"
=== Started at 2022-03-04 11:16:35
*** User 2022-03-04 11:16:35.682 ***
Extra test config: [{rules,[{deliver,direct,notify}]}]
*** User 2022-03-04 11:16:35.861 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_230@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-03-04 11:16:35.862 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9821af4eb5ef027d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:16:35.862 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_230@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-03-04 11:16:35.862 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25vdGlmeV9kZWxpdmVyX3RvX29ubGluZV91c2VyX3JlY2lwaWVudF9wcml2YWN5X3Rlc3RfMjMwAG1hdHlncnlzYQ==</auth>
*** User 2022-03-04 11:16:35.863 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:16:35.863 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_230@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-03-04 11:16:35.863 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='544e9153be6f9b92' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:16:35.863 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_230@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-03-04 11:16:35.863 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 out
<iq type='set' id='4284d53f20b85c17159cecca46e9033e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-04 11:16:35.864 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 in
<iq id='4284d53f20b85c17159cecca46e9033e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-04 11:16:35.864 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 out
<iq type='set' id='4c4882ca68aac50291c313e2100f9fdc'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:16:35.865 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 in
<iq type='result' id='4c4882ca68aac50291c313e2100f9fdc'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:16:35.865 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 out
<presence/>
*** User 2022-03-04 11:16:35.867 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 in
<presence from='alicE_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1' to='alice_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1' xml:lang='en'/>
*** User 2022-03-04 11:16:35.868 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_230@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-03-04 11:16:35.869 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b4935e2534d863fd' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:16:35.869 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_230@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-03-04 11:16:35.870 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ub3RpZnlfZGVsaXZlcl90b19vbmxpbmVfdXNlcl9yZWNpcGllbnRfcHJpdmFjeV90ZXN0XzIzMABtYWtyb2xpa2E=</auth>
*** User 2022-03-04 11:16:35.871 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:16:35.871 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_230@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-03-04 11:16:35.872 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8ed2b01a78271e35' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:16:35.873 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_230@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-03-04 11:16:35.873 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 out
<iq type='set' id='61e6311a5586cdf5e98f13b0739b7756'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-04 11:16:35.873 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 in
<iq id='61e6311a5586cdf5e98f13b0739b7756' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-04 11:16:35.874 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 out
<iq type='set' id='5de345c15fe07821afdb4d1877b4fcd1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:16:35.875 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 in
<iq type='result' id='5de345c15fe07821afdb4d1877b4fcd1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:16:35.876 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 out
<presence/>
*** User 2022-03-04 11:16:35.878 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 in
<presence from='bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1' to='bob_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1' xml:lang='en'/>
*** User 2022-03-04 11:16:35.879 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 out
<iq type='set' id='ad84bfd8996826a5e223c42fa258c89c'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'>
<item order='1' action='deny'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-03-04 11:16:35.881 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 in
<iq from='bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost' to='bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1' id='pushb2acf034785ad33b' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2022-03-04 11:16:35.882 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 in
<iq from='bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost' to='bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1' id='ad84bfd8996826a5e223c42fa258c89c' type='result'/>
*** User 2022-03-04 11:16:35.882 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 out
<iq type='get' id='da80445ddc042263a1bc7c5809730c6d'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2022-03-04 11:16:35.883 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 in
<iq from='bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost' to='bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1' id='da80445ddc042263a1bc7c5809730c6d' type='result'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'>
<item action='deny' order='1'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-03-04 11:16:35.884 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 out
<iq type='set' id='16fb40fa9f00e594c8333d56a1cca27e'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message'/>
</query>
</iq>
*** User 2022-03-04 11:16:35.886 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 in
<iq from='bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost' to='bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1' id='16fb40fa9f00e594c8333d56a1cca27e' type='result'/>
*** User 2022-03-04 11:16:35.886 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 out
<message to='bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1' type='chat' id='ccbb27018fd8bbdde31d8bda648b1df4'>
<body>Should be filtered by Bob's privacy list</body>
<amp xmlns='http://jabber.org/protocol/amp'>
<rule condition='deliver' value='direct' action='notify'/>
</amp>
</message>
*** User 2022-03-04 11:16:35.888 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 in
<message from='bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1' to='alicE_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1' type='error' xml:lang='en' id='ccbb27018fd8bbdde31d8bda648b1df4'>
<body>Should be filtered by Bob's privacy list</body>
<error code='503' type='cancel'>
<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</message>
*** User 2022-03-04 11:16:36.489 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 out
</stream:stream>
*** User 2022-03-04 11:16:36.490 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 in
</stream:stream>
*** User 2022-03-04 11:16:36.490 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 out
</stream:stream>
*** User 2022-03-04 11:16:36.490 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_230@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-04 11:16:36
=== successfully completed test case
=== === Returned value: ok