=== 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.2484.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@c4570d256f6e.2024-02-22_11.16.10/big_tests.tests.amp_big_SUITE.logs/run.2024-02-22_11.16.25/amp_big_suite.notify_deliver_to_online_user_recipient_privacy_test.2690.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@c4570d256f6e.2024-02-22_11.16.10/big_tests.tests.amp_big_SUITE.logs/run.2024-02-22_11.16.25/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,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_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@c4570d256f6e.2024-02-22_11.16.10"

=== Started at 2024-02-22 11:16:26


*** CT 2024-02-22 11:16:26.419 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_47.html

*** User 2024-02-22 11:16:26.419 ***🔗
Extra test config: [{rules,[{deliver,none,notify}]}]

*** User 2024-02-22 11:16:29.067 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_68@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-02-22 11:16:29.070 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0d6e1f54f6783a91' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-22 11:16:29.071 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_68@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-02-22 11:16:29.071 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25vdGlmeV9kZWxpdmVyX3RvX29ubGluZV91c2VyX3JlY2lwaWVudF9wcml2YWN5X3Rlc3RfNjgAbWF0eWdyeXNh</auth>



*** User 2024-02-22 11:16:29.143 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-22 11:16:29.143 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_68@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-02-22 11:16:29.144 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e74079ea1439aa30' from='localhost' version='1.0' xml:lang='en' to='alice_notify_deliver_to_online_user_recipient_privacy_test_68@localhost'>

*** User 2024-02-22 11:16:29.144 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_68@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-02-22 11:16:29.144 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 out
<iq type='set' id='6ea71542445d4abaa033e9d76842cff8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-22 11:16:29.145 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 in
<iq id='6ea71542445d4abaa033e9d76842cff8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-22 11:16:29.145 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 out
<iq type='set' id='1032653578a11d85f81d480f367aaf60'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 11:16:29.161 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 in
<iq from='localhost' to='alice_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1' id='1032653578a11d85f81d480f367aaf60' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 11:16:29.161 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 out
<presence/>



*** User 2024-02-22 11:16:29.248 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 in
<presence from='alice_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1' to='alice_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1'/>



*** User 2024-02-22 11:16:29.251 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_68@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-02-22 11:16:29.252 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='600cfe8708790a28' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-22 11:16:29.253 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_68@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-02-22 11:16:29.253 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ub3RpZnlfZGVsaXZlcl90b19vbmxpbmVfdXNlcl9yZWNpcGllbnRfcHJpdmFjeV90ZXN0XzY4AG1ha3JvbGlrYQ==</auth>



*** User 2024-02-22 11:16:29.267 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-22 11:16:29.267 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_68@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-02-22 11:16:29.268 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='56cccb886dd90946' from='localhost' version='1.0' xml:lang='en' to='bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost'>

*** User 2024-02-22 11:16:29.269 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_68@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-02-22 11:16:29.269 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 out
<iq type='set' id='d214472bc3ee9c0833f12af43dfd768b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-22 11:16:29.271 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 in
<iq id='d214472bc3ee9c0833f12af43dfd768b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-22 11:16:29.272 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 out
<iq type='set' id='a245aa1f08fc46d972cdb1fe9f766456'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 11:16:29.341 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 in
<iq from='localhost' to='bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1' id='a245aa1f08fc46d972cdb1fe9f766456' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 11:16:29.341 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 out
<presence/>



*** User 2024-02-22 11:16:29.354 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 in
<presence from='bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1' to='bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1'/>



*** User 2024-02-22 11:16:29.354 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 out
<iq type='set' id='e0b4d4b96674c9042c3f8cdd149e5a82'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message'>
			<item order='1' action='deny'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2024-02-22 11:16:29.455 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 in
<iq from='bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost' to='bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1' id='push32e0481dae613125' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message'/>
	</query>
</iq>



*** User 2024-02-22 11:16:29.456 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 in
<iq from='bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost' to='bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1' id='e0b4d4b96674c9042c3f8cdd149e5a82' type='result'/>



*** User 2024-02-22 11:16:29.456 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 out
<iq type='get' id='fddbaab11c2b2fe5e249901ac2f7c26a'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message'/>
	</query>
</iq>



*** User 2024-02-22 11:16:29.462 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 in
<iq from='bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost' to='bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1' id='fddbaab11c2b2fe5e249901ac2f7c26a' type='result'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message'>
			<item action='deny' order='1'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2024-02-22 11:16:29.462 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 out
<iq type='set' id='e7664f47ec5d1a73b1c10fce71ff2c88'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_all_message'/>
	</query>
</iq>



*** User 2024-02-22 11:16:29.541 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 in
<iq from='bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost' to='bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1' id='e7664f47ec5d1a73b1c10fce71ff2c88' type='result'/>



*** User 2024-02-22 11:16:29.541 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 out
<message type='chat' to='bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1' id='c0e5805e33a0e668baf1ee425914e167'>
	<body>Should be filtered by Bob&apos;s privacy list</body>
	<amp xmlns='http://jabber.org/protocol/amp'>
		<rule condition='deliver' value='none' action='notify'/>
	</amp>
</message>



*** User 2024-02-22 11:16:29.545 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 in
<message from='localhost' to='alice_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1' id='c0e5805e33a0e668baf1ee425914e167'>
	<amp xmlns='http://jabber.org/protocol/amp' status='notify' to='bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1' from='alice_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1'>
		<rule condition='deliver' value='none' action='notify'/>
	</amp>
</message>



*** User 2024-02-22 11:16:29.546 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 in
<message from='bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1' to='alice_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1' type='error' id='c0e5805e33a0e668baf1ee425914e167'>
	<body>Should be filtered by Bob&apos;s privacy list</body>
	<error code='503' type='cancel'>
		<service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</error>
</message>



*** User 2024-02-22 11:16:30.148 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 out
</stream:stream>

*** User 2024-02-22 11:16:30.149 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 in
</stream:stream>

*** User 2024-02-22 11:16:30.149 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 out
</stream:stream>

*** User 2024-02-22 11:16:30.149 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_68@localhost/res1 in
</stream:stream>
*** CT 2024-02-22 11:16:30.151 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_49.html



=== Ended at 2024-02-22 11:16:30
=== successfully completed test case
=== === Returned value: ok