=== Test case: amp_big_SUITE:notify_deliver_to_online_user_recipient_privacy_test/1 (click for source code)
=== Config value:
[{offline_storage,none},
{watchdog,<0.2290.0>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/amp_big_SUITE_data"},
{preset,"ldap_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.amp_big_SUITE.logs/run.2022-03-03_10.28.52/amp_big_suite.notify_deliver_to_online_user_recipient_privacy_test.773.html"},
{tc_group_properties,[{name,basic},parallel]},
{tc_group_path,[]},
{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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.amp_big_SUITE.logs/run.2022-03-03_10.28.52/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 => [],mod_sic => [],mod_stream_management => [],
mod_vcard =>
[{backend,ldap},
{host,{prefix,<<"vjud.">>}},
{ldap_base,"ou=Users,dc=esl,dc=com"},
{ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39"
=== Started at 2022-03-03 10:28:52
*** User 2022-03-03 10:28:52.774 ***
Extra test config: [{rules,[{deliver,stored,notify}]}]
*** User 2022-03-03 10:28:53.017 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_64@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-03 10:28:53.020 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7e66f9e04a144dd6' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:28:53.020 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_64@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>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-03 10:28:53.020 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25vdGlmeV9kZWxpdmVyX3RvX29ubGluZV91c2VyX3JlY2lwaWVudF9wcml2YWN5X3Rlc3RfNjQAbWF0eWdyeXNh</auth>
*** User 2022-03-03 10:28:53.068 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:28:53.068 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_64@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-03 10:28:53.069 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='87411a044fccbda5' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:28:53.070 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_64@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-03 10:28:53.070 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 out
<iq type='set' id='b776af825535e1d6184cc6189f6d31f5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:28:53.071 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 in
<iq id='b776af825535e1d6184cc6189f6d31f5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:28:53.071 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 out
<iq type='set' id='95007d96122b5c91e029ece92709f658'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:28:53.072 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 in
<iq type='result' id='95007d96122b5c91e029ece92709f658'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:28:53.073 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 out
<presence/>
*** User 2022-03-03 10:28:53.075 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 in
<presence from='alicE_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1' to='alice_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:28:53.077 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_64@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-03 10:28:53.155 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2acf81fb0569907a' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:28:53.157 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_64@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>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-03 10:28:53.157 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ub3RpZnlfZGVsaXZlcl90b19vbmxpbmVfdXNlcl9yZWNpcGllbnRfcHJpdmFjeV90ZXN0XzY0AG1ha3JvbGlrYQ==</auth>
*** User 2022-03-03 10:28:53.165 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:28:53.165 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_64@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-03 10:28:53.168 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='96a9d33449f4b03e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:28:53.169 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_64@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-03 10:28:53.169 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 out
<iq type='set' id='4ba15e4b03157f439da1de4a04ce374b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:28:53.171 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 in
<iq id='4ba15e4b03157f439da1de4a04ce374b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:28:53.171 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 out
<iq type='set' id='d60552c0a64b19582cb9e80b756230f9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:28:53.172 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 in
<iq type='result' id='d60552c0a64b19582cb9e80b756230f9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:28:53.172 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 out
<presence/>
*** User 2022-03-03 10:28:53.176 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 in
<presence from='bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1' to='bob_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:28:53.176 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 out
<iq type='set' id='31970567da7480723c7f76f5765a826b'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'>
<item order='1' action='deny'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2022-03-03 10:28:53.178 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 in
<iq from='bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost' to='bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1' id='push8b83cd6dbbf09bc5' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2022-03-03 10:28:53.179 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 in
<iq from='bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost' to='bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1' id='31970567da7480723c7f76f5765a826b' type='result'/>
*** User 2022-03-03 10:28:53.179 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 out
<iq type='get' id='a1c7d533ec48cf1f5e25ed412971d149'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2022-03-03 10:28:53.180 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 in
<iq from='bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost' to='bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1' id='a1c7d533ec48cf1f5e25ed412971d149' 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-03 10:28:53.180 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 out
<iq type='set' id='5f8c2b1e26fe8cbd4d4dd9619b67bf08'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message'/>
</query>
</iq>
*** User 2022-03-03 10:28:53.181 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 in
<iq from='bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost' to='bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1' id='5f8c2b1e26fe8cbd4d4dd9619b67bf08' type='result'/>
*** User 2022-03-03 10:28:53.181 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 out
<message to='bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1' type='chat' id='3a5b328c5dabf43c8382b0769644eb31'>
<body>Should be filtered by Bob's privacy list</body>
<amp xmlns='http://jabber.org/protocol/amp'>
<rule condition='deliver' value='stored' action='notify'/>
</amp>
</message>
*** User 2022-03-03 10:28:53.183 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 in
<message from='bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1' to='alicE_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1' type='error' xml:lang='en' id='3a5b328c5dabf43c8382b0769644eb31'>
<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-03 10:28:53.784 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:28:53.785 ***
bOb_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 in
</stream:stream>
*** User 2022-03-03 10:28:53.785 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:28:53.787 ***
alicE_notify_deliver_to_online_user_recipient_privacy_test_64@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-03 10:28:53
=== successfully completed test case
=== === Returned value: ok