=== 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.5695.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@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.amp_big_SUITE.logs/run.2023-11-17_15.10.29/amp_big_suite.notify_deliver_to_online_user_recipient_privacy_test.15874.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@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.amp_big_SUITE.logs/run.2023-11-17_15.10.29/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_amp => #{},
        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_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@1c2ae12cdb1a.2023-11-17_15.10.15"

=== Started at 2023-11-17 15:10:34


*** CT 2023-11-17 15:10:34.734 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_57.html

*** User 2023-11-17 15:10:34.734 ***🔗
Extra test config: [{rules,[{deliver,stored,notify}]}]

*** User 2023-11-17 15:10:34.807 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:10:34.808 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='52335a4095007638' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:10:34.808 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_314@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 2023-11-17 15:10:34.808 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25vdGlmeV9kZWxpdmVyX3RvX29ubGluZV91c2VyX3JlY2lwaWVudF9wcml2YWN5X3Rlc3RfMzE0AG1hdHlncnlzYQ==</auth>



*** User 2023-11-17 15:10:34.809 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:10:34.809 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:10:34.810 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d10cf97d8cc231c7' from='localhost' version='1.0' xml:lang='en' to='alice_notify_deliver_to_online_user_recipient_privacy_test_314@localhost'>

*** User 2023-11-17 15:10:34.810 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_314@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 2023-11-17 15:10:34.810 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 out
<iq type='set' id='a94807d4d4fed6c35399c444e78778e8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:10:34.810 ***🔗
alicE_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 in
<iq id='a94807d4d4fed6c35399c444e78778e8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:10:34.811 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 out
<iq type='set' id='e4541af0e3bc3b2c705ef21c3db46d7d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:10:34.812 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 in
<iq from='localhost' to='alice_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1' id='e4541af0e3bc3b2c705ef21c3db46d7d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:10:34.812 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 out
<presence/>



*** User 2023-11-17 15:10:34.817 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 in
<presence from='alice_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1' to='alice_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1'/>



*** User 2023-11-17 15:10:34.817 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:10:34.818 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='90ac032f47c16011' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:10:34.819 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_314@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 2023-11-17 15:10:34.819 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ub3RpZnlfZGVsaXZlcl90b19vbmxpbmVfdXNlcl9yZWNpcGllbnRfcHJpdmFjeV90ZXN0XzMxNABtYWtyb2xpa2E=</auth>



*** User 2023-11-17 15:10:34.820 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:10:34.820 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:10:34.820 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='77bb987b2ccd2a93' from='localhost' version='1.0' xml:lang='en' to='bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost'>

*** User 2023-11-17 15:10:34.820 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_314@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 2023-11-17 15:10:34.820 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 out
<iq type='set' id='552341ebdccd179db46e1f7afa348b2c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:10:34.821 ***🔗
bOb_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 in
<iq id='552341ebdccd179db46e1f7afa348b2c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:10:34.821 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 out
<iq type='set' id='feb433c8f167ae7915b981be9c5178f6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:10:34.823 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 in
<iq from='localhost' to='bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1' id='feb433c8f167ae7915b981be9c5178f6' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:10:34.823 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 out
<presence/>



*** User 2023-11-17 15:10:34.826 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 in
<presence from='bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1' to='bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1'/>



*** User 2023-11-17 15:10:34.826 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 out
<iq type='set' id='2059d3cb8176ae718da90dc030af8cc3'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message'>
			<item order='1' action='deny'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2023-11-17 15:10:34.830 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 in
<iq from='bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost' to='bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1' id='push636207cab9c7ca15' type='set'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message'/>
	</query>
</iq>



*** User 2023-11-17 15:10:34.830 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 in
<iq from='bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost' to='bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1' id='2059d3cb8176ae718da90dc030af8cc3' type='result'/>



*** User 2023-11-17 15:10:34.830 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 out
<iq type='get' id='dc380317458a589f2255a6ab7210ee4b'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message'/>
	</query>
</iq>



*** User 2023-11-17 15:10:34.831 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 in
<iq from='bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost' to='bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1' id='dc380317458a589f2255a6ab7210ee4b' type='result'>
	<query xmlns='jabber:iq:privacy'>
		<list name='deny_all_message'>
			<item action='deny' order='1'>
				<message/>
			</item>
		</list>
	</query>
</iq>



*** User 2023-11-17 15:10:34.831 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 out
<iq type='set' id='0a386aea2cb5375c99b3789edb1be836'>
	<query xmlns='jabber:iq:privacy'>
		<active name='deny_all_message'/>
	</query>
</iq>



*** User 2023-11-17 15:10:34.833 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 in
<iq from='bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost' to='bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1' id='0a386aea2cb5375c99b3789edb1be836' type='result'/>



*** User 2023-11-17 15:10:34.833 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 out
<message type='chat' to='bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1' id='dc8f6aa5b62b653a0dc2a5440fb0a74b'>
	<body>Should be filtered by Bob&apos;s privacy list</body>
	<amp xmlns='http://jabber.org/protocol/amp'>
		<rule condition='deliver' value='stored' action='notify'/>
	</amp>
</message>



*** User 2023-11-17 15:10:34.835 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 in
<message from='bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1' to='alice_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1' type='error' id='dc8f6aa5b62b653a0dc2a5440fb0a74b'>
	<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 2023-11-17 15:10:35.437 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 out
</stream:stream>

*** User 2023-11-17 15:10:35.437 ***🔗
bob_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 in
</stream:stream>

*** User 2023-11-17 15:10:35.437 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 out
</stream:stream>

*** User 2023-11-17 15:10:35.437 ***🔗
alice_notify_deliver_to_online_user_recipient_privacy_test_314@localhost/res1 in
</stream:stream>
*** CT 2023-11-17 15:10:35.465 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_65.html



=== Ended at 2023-11-17 15:10:35
=== successfully completed test case
=== === Returned value: ok