=== 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.5714.0>},
{preset,"pgsql_cets"},
{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@c63aed7f6ecc.2024-04-26_12.39.39/big_tests.tests.amp_big_SUITE.logs/run.2024-04-26_12.39.54/amp_big_suite.notify_deliver_to_online_user_recipient_privacy_test.14594.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@c63aed7f6ecc.2024-04-26_12.39.39/big_tests.tests.amp_big_SUITE.logs/run.2024-04-26_12.39.54/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 => cets,
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 => cets,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@c63aed7f6ecc.2024-04-26_12.39.39"
=== Started at 2024-04-26 12:40:01
*** User 2024-04-26 12:40:01.561 ***🔗
Extra test config: [{rules,[{deliver,stored,notify}]}]
*** User 2024-04-26 12:40:01.676 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_359@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:40:01.676 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c482497888681d54' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-26 12:40:01.676 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_359@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:40:01.677 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25vdGlmeV9kZWxpdmVyX3RvX29ubGluZV91c2VyX3JlY2lwaWVudF9wcml2YWN5X3Rlc3RfMzU5AG1hdHlncnlzYQ==</auth>
*** User 2024-04-26 12:40:01.686 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-26 12:40:01.686 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_359@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:40:01.687 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='86551df414d451fc' from='localhost' version='1.0' xml:lang='en' to='alice_notify_deliver_to_online_user_recipient_privacy_test_359@localhost'>
*** User 2024-04-26 12:40:01.687 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_359@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:40:01.687 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 out
<iq type='set' id='d884b3c26c6eaaf3536d9fb1ba0d3f81'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-26 12:40:01.690 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 in
<iq id='d884b3c26c6eaaf3536d9fb1ba0d3f81' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-26 12:40:01.690 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 out
<iq type='set' id='9a447dd8a39dc79f05a52af0dd59d6f5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 12:40:01.741 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 in
<iq from='localhost' to='alice_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1' id='9a447dd8a39dc79f05a52af0dd59d6f5' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 12:40:01.742 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 out
<presence/>
*** User 2024-04-26 12:40:01.861 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 in
<presence from='alice_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1' to='alice_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1'/>
*** User 2024-04-26 12:40:01.862 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_359@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:40:01.864 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='50ec171eeb36e7ee' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-26 12:40:01.864 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_359@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:40:01.864 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ub3RpZnlfZGVsaXZlcl90b19vbmxpbmVfdXNlcl9yZWNpcGllbnRfcHJpdmFjeV90ZXN0XzM1OQBtYWtyb2xpa2E=</auth>
*** User 2024-04-26 12:40:01.866 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-26 12:40:01.866 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_359@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:40:01.866 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6654da04b671f8a5' from='localhost' version='1.0' xml:lang='en' to='bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost'>
*** User 2024-04-26 12:40:01.866 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_359@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:40:01.867 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 out
<iq type='set' id='cbc61beb48e4ae5802f3277f650f2184'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-26 12:40:01.867 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 in
<iq id='cbc61beb48e4ae5802f3277f650f2184' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-26 12:40:01.867 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 out
<iq type='set' id='bc2585252f27b9ec07ae246a14d118a2'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 12:40:01.870 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 in
<iq from='localhost' to='bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1' id='bc2585252f27b9ec07ae246a14d118a2' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-26 12:40:01.870 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 out
<presence/>
*** User 2024-04-26 12:40:02.106 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 in
<presence from='bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1' to='bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1'/>
*** User 2024-04-26 12:40:02.106 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 out
<iq type='set' id='e6cf5b4ada9ae9737e27d0decbeba5bf'>
<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:40:02.126 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 in
<iq from='bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost' to='bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1' id='push26460fde68fb5478' type='set'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2024-04-26 12:40:02.126 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 in
<iq from='bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost' to='bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1' id='e6cf5b4ada9ae9737e27d0decbeba5bf' type='result'/>
*** User 2024-04-26 12:40:02.126 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 out
<iq type='get' id='3af5a8048074494b1dc56a7f58433027'>
<query xmlns='jabber:iq:privacy'>
<list name='deny_all_message'/>
</query>
</iq>
*** User 2024-04-26 12:40:02.127 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 in
<iq from='bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost' to='bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1' id='3af5a8048074494b1dc56a7f58433027' 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:40:02.128 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 out
<iq type='set' id='c28d8f871bba360f4e51e38e5940925d'>
<query xmlns='jabber:iq:privacy'>
<active name='deny_all_message'/>
</query>
</iq>
*** User 2024-04-26 12:40:02.130 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 in
<iq from='bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost' to='bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1' id='c28d8f871bba360f4e51e38e5940925d' type='result'/>
*** User 2024-04-26 12:40:02.130 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 out
<message type='chat' to='bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1' id='05734d13f16c16165f5c984a918576c1'>
<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-04-26 12:40:02.134 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 in
<message from='bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1' to='alice_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1' type='error' id='05734d13f16c16165f5c984a918576c1'>
<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-04-26 12:40:02.735 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 out
</stream:stream>
*** User 2024-04-26 12:40:02.736 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 in
</stream:stream>
*** User 2024-04-26 12:40:02.736 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 out
</stream:stream>
*** User 2024-04-26 12:40:02.737 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_359@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-26 12:40:02
=== successfully completed test case
=== === Returned value: ok