=== Test case: amp_big_SUITE:notify_deliver_to_online_user_recipient_privacy_test/1 (click for source code)
=== Config value:
[{offline_storage,offline_failure},
{watchdog,<0.6715.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.7045.html"},
{tc_group_properties,[{name,offline_failure},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:36
*** User 2022-03-04 11:16:36.856 ***
Extra test config: [{rules,[{deliver,direct,notify}]}]
*** User 2022-03-04 11:16:36.987 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_294@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:36.988 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b02db6e0f888e857' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:16:36.988 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_294@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:36.988 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25vdGlmeV9kZWxpdmVyX3RvX29ubGluZV91c2VyX3JlY2lwaWVudF9wcml2YWN5X3Rlc3RfMjk0AG1hdHlncnlzYQ==</auth>
*** User 2022-03-04 11:16:36.989 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:16:36.990 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_294@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:36.990 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b3a1ced4919c4c40' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:16:36.990 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_294@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:36.991 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 out
<iq type='set' id='6ef1e5e8277c023f7de9b790a9e84988'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-04 11:16:36.991 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 in
<iq id='6ef1e5e8277c023f7de9b790a9e84988' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-04 11:16:36.992 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 out
<iq type='set' id='0151e8353084550d99da62d974ce7b02'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:16:36.993 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 in
<iq type='result' id='0151e8353084550d99da62d974ce7b02'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:16:36.994 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 out
<presence/>
*** User 2022-03-04 11:16:36.996 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 in
<presence from='alicE_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1' to='alice_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1' xml:lang='en'/>
*** User 2022-03-04 11:16:37.002 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_294@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:37.051 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eab9b6841c152c3b' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:16:37.052 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_294@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:37.052 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ub3RpZnlfZGVsaXZlcl90b19vbmxpbmVfdXNlcl9yZWNpcGllbnRfcHJpdmFjeV90ZXN0XzI5NABtYWtyb2xpa2E=</auth>
*** User 2022-03-04 11:16:37.055 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:16:37.055 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_294@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:37.056 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a64db4ffd83d0a2f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:16:37.057 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_294@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:37.057 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 out
<iq type='set' id='bf6efa896d68b44543957ae33fb000cd'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-04 11:16:37.057 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 in
<iq id='bf6efa896d68b44543957ae33fb000cd' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-04 11:16:37.057 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 out
<iq type='set' id='5660bfa906ebfecbd07a0131fe0bb0a7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:16:37.058 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 in
<iq type='result' id='5660bfa906ebfecbd07a0131fe0bb0a7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:16:37.058 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 out
<presence/>
*** User 2022-03-04 11:16:37.070 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 in
<presence from='bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1' to='bob_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1' xml:lang='en'/>
*** User 2022-03-04 11:16:37.070 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 out
<iq type='set' id='6ee80b7554fec7bdd12234ed3d54eed6'>
<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:37.076 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 in
<iq from='bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost' to='bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1' id='pushe88fe5d15ee1af12' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2022-03-04 11:16:37.076 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 in
<iq from='bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost' to='bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1' id='6ee80b7554fec7bdd12234ed3d54eed6' type='result'/>
*** User 2022-03-04 11:16:37.077 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 out
<iq type='get' id='606cadb76bcd97bba3b58763630372ff'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2022-03-04 11:16:37.078 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 in
<iq from='bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost' to='bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1' id='606cadb76bcd97bba3b58763630372ff' 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:37.078 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 out
<iq type='set' id='40e156cdecd107d93370bd42b85c22d8'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message'/>
</query>
</iq>
*** User 2022-03-04 11:16:37.079 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 in
<iq from='bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost' to='bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1' id='40e156cdecd107d93370bd42b85c22d8' type='result'/>
*** User 2022-03-04 11:16:37.079 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 out
<message to='bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1' type='chat' id='daff35abbec8513e7d5f98980be9fe9b'>
<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:37.081 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 in
<message from='bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1' to='alicE_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1' type='error' xml:lang='en' id='daff35abbec8513e7d5f98980be9fe9b'>
<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:37.682 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 out
</stream:stream>
*** User 2022-03-04 11:16:37.683 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 in
</stream:stream>
*** User 2022-03-04 11:16:37.683 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 out
</stream:stream>
*** User 2022-03-04 11:16:37.683 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_294@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-04 11:16:37
=== successfully completed test case
=== === Returned value: ok