=== 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.5716.0>},
{preset,"odbc_mssql_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/amp_big_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d091d39a81d0.2024-03-08_08.59.35/big_tests.tests.amp_big_SUITE.logs/run.2024-03-08_08.59.50/amp_big_suite.notify_deliver_to_online_user_recipient_privacy_test.12803.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@d091d39a81d0.2024-03-08_08.59.35/big_tests.tests.amp_big_SUITE.logs/run.2024-03-08_08.59.50/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,backend => rdbms,iqdisc => parallel},
mod_roster =>
#{backend => rdbms,iqdisc => one_queue,versioning => false,
store_current_id => false},
mod_sic => #{iqdisc => one_queue},
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_amp => #{},mod_presence => #{},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
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@d091d39a81d0.2024-03-08_08.59.35"
=== Started at 2024-03-08 08:59:57
*** User 2024-03-08 08:59:57.249 ***🔗
Extra test config: [{rules,[{deliver,stored,notify}]}]
*** User 2024-03-08 08:59:57.307 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_318@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-03-08 08:59:57.308 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3814dc967d43fb32' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-08 08:59:57.308 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_318@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-03-08 08:59:57.308 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25vdGlmeV9kZWxpdmVyX3RvX29ubGluZV91c2VyX3JlY2lwaWVudF9wcml2YWN5X3Rlc3RfMzE4AG1hdHlncnlzYQ==</auth>
*** User 2024-03-08 08:59:57.309 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-08 08:59:57.309 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_318@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-03-08 08:59:57.310 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='59030869d3e2cc8a' from='localhost' version='1.0' xml:lang='en' to='alice_notify_deliver_to_online_user_recipient_privacy_test_318@localhost'>
*** User 2024-03-08 08:59:57.310 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_318@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-03-08 08:59:57.310 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 out
<iq type='set' id='2f97ae308f241702615ebdeb1aaeb974'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-08 08:59:57.311 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 in
<iq id='2f97ae308f241702615ebdeb1aaeb974' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-08 08:59:57.311 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 out
<iq type='set' id='78f4157a7f09e3ff9f986c6ea0223c0f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-08 08:59:57.313 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 in
<iq from='localhost' to='alice_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1' id='78f4157a7f09e3ff9f986c6ea0223c0f' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-08 08:59:57.313 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 out
<presence/>
*** User 2024-03-08 08:59:57.316 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 in
<presence from='alice_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1' to='alice_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1'/>
*** User 2024-03-08 08:59:57.317 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_318@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-03-08 08:59:57.318 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d96ee75fb73e1a3b' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-08 08:59:57.318 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_318@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-03-08 08:59:57.318 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ub3RpZnlfZGVsaXZlcl90b19vbmxpbmVfdXNlcl9yZWNpcGllbnRfcHJpdmFjeV90ZXN0XzMxOABtYWtyb2xpa2E=</auth>
*** User 2024-03-08 08:59:57.320 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-08 08:59:57.320 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_318@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-03-08 08:59:57.320 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d906bec3711f673f' from='localhost' version='1.0' xml:lang='en' to='bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost'>
*** User 2024-03-08 08:59:57.321 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_318@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-03-08 08:59:57.321 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 out
<iq type='set' id='ba4e207eb0d5e81777b259bccb1def51'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-08 08:59:57.385 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 in
<iq id='ba4e207eb0d5e81777b259bccb1def51' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-08 08:59:57.386 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 out
<iq type='set' id='62dc5302899345a1e783efbdbbf08d7a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-08 08:59:57.388 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 in
<iq from='localhost' to='bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1' id='62dc5302899345a1e783efbdbbf08d7a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-08 08:59:57.388 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 out
<presence/>
*** User 2024-03-08 08:59:57.393 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 in
<presence from='bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1' to='bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1'/>
*** User 2024-03-08 08:59:57.393 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 out
<iq type='set' id='b22edcc9eca44c775b973a1e20841dc0'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'>
<item order='1' action='deny'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2024-03-08 08:59:57.405 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 in
<iq from='bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost' to='bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1' id='push6dda9f6f5191b7ab' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2024-03-08 08:59:57.405 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 in
<iq from='bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost' to='bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1' id='b22edcc9eca44c775b973a1e20841dc0' type='result'/>
*** User 2024-03-08 08:59:57.405 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 out
<iq type='get' id='77dbffbda8e034a1961a6a95703c5c5a'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2024-03-08 08:59:57.486 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 in
<iq from='bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost' to='bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1' id='77dbffbda8e034a1961a6a95703c5c5a' type='result'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'>
<item action='deny' order='1'>
<message/>
</item>
</list>
</query>
</iq>
*** User 2024-03-08 08:59:57.486 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 out
<iq type='set' id='b118d9125bde2eb69fabc62286833bca'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message'/>
</query>
</iq>
*** User 2024-03-08 08:59:57.499 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 in
<iq from='bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost' to='bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1' id='b118d9125bde2eb69fabc62286833bca' type='result'/>
*** User 2024-03-08 08:59:57.499 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 out
<message type='chat' to='bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1' id='662075d9ccbfc25420da88cb452934e8'>
<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 2024-03-08 08:59:57.514 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 in
<message from='bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1' to='alice_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1' type='error' id='662075d9ccbfc25420da88cb452934e8'>
<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 2024-03-08 08:59:58.116 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 out
</stream:stream>
*** User 2024-03-08 08:59:58.117 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 in
</stream:stream>
*** User 2024-03-08 08:59:58.117 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 out
</stream:stream>
*** User 2024-03-08 08:59:58.117 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_318@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-08 08:59:58
=== successfully completed test case
=== === Returned value: ok