=== Test case: push_SUITE:pm_msg_notify_stops_after_removal/1 (click for source code)

=== Config value:

    [{watchdog,<0.83149.0>},
     {pubsub_host,virtual},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/push_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@17a96e781220.2024-03-21_22.20.25/big_tests.tests.push_SUITE.logs/run.2024-03-21_22.33.32/push_suite.pm_msg_notify_stops_after_removal.218626.html"},
     {tc_group_properties,[{name,pm_msg_notifications},parallel]},
     {tc_group_path,[[{name,pubsub_less}]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/push_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@17a96e781220.2024-03-21_22.20.25/big_tests.tests.push_SUITE.logs/run.2024-03-21_22.33.32/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_amp => #{},
        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_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
              ack_freq => 1,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              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@17a96e781220.2024-03-21_22.20.25"

=== Started at 2024-03-21 22:33:43


*** CT 2024-03-21 22:33:43.762 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5563.html

*** User 2024-03-21 22:33:43.781 ***🔗
bOb_unnamed_3003@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-21 22:33:43.782 ***🔗
bOb_unnamed_3003@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='97745fa41c3fd64b' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 22:33:43.782 ***🔗
bOb_unnamed_3003@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-21 22:33:43.782 ***🔗
bOb_unnamed_3003@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzMwMDMAbWFrcm9saWth</auth>



*** User 2024-03-21 22:33:43.783 ***🔗
bOb_unnamed_3003@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 22:33:43.783 ***🔗
bOb_unnamed_3003@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-21 22:33:43.783 ***🔗
bOb_unnamed_3003@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1707b13a9736e683' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_3003@localhost'>

*** User 2024-03-21 22:33:43.783 ***🔗
bOb_unnamed_3003@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-21 22:33:43.783 ***🔗
bOb_unnamed_3003@localhost/res1 out
<iq type='set' id='9f2b20eafa64a75b02d48edc7a559af2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 22:33:43.784 ***🔗
bOb_unnamed_3003@localhost/res1 in
<iq id='9f2b20eafa64a75b02d48edc7a559af2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unnamed_3003@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 22:33:43.784 ***🔗
bob_unnamed_3003@localhost/res1 out
<iq type='set' id='65ebe6b1e048677f57187b77f2002f77'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 22:33:43.785 ***🔗
bob_unnamed_3003@localhost/res1 in
<iq from='localhost' to='bob_unnamed_3003@localhost/res1' id='65ebe6b1e048677f57187b77f2002f77' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 22:33:43.785 ***🔗
bob_unnamed_3003@localhost/res1 out
<presence/>



*** User 2024-03-21 22:33:43.787 ***🔗
bob_unnamed_3003@localhost/res1 in
<presence from='bob_unnamed_3003@localhost/res1' to='bob_unnamed_3003@localhost/res1'/>



*** User 2024-03-21 22:33:43.788 ***🔗
bob_unnamed_3003@localhost/res1 out
<iq type='set' id='2f87b93a382d0142376c13e9458619fa'>
	<enable xmlns='urn:xmpp:push:0' jid='pm_msg_notify_stops_after_removal_23.778461@virtual.domain' node='NodeId'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>http://jabber.org/protocol/pubsub#publish-options</value>
			</field>
		</x>
	</enable>
</iq>



*** User 2024-03-21 22:33:43.791 ***🔗
bob_unnamed_3003@localhost/res1 in
<iq from='bob_unnamed_3003@localhost' to='bob_unnamed_3003@localhost/res1' id='2f87b93a382d0142376c13e9458619fa' type='result'/>



*** User 2024-03-21 22:33:43.792 ***🔗
bob_unnamed_3003@localhost/res1 out
<iq type='set' id='d8e473155238c472ec08c1700ba364f1'>
	<query xmlns='jabber:iq:register'>
		<remove/>
	</query>
</iq>



*** User 2024-03-21 22:33:43.793 ***🔗
bob_unnamed_3003@localhost/res1 in
<iq from='' to='bob_unnamed_3003@localhost/res1' id='d8e473155238c472ec08c1700ba364f1' type='result'/>



*** User 2024-03-21 22:33:43.802 ***🔗
bOb_unnamed_3003@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-21 22:33:43.802 ***🔗
bOb_unnamed_3003@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='34856957808da133' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 22:33:43.802 ***🔗
bOb_unnamed_3003@localhost 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-21 22:33:43.802 ***🔗
bOb_unnamed_3003@localhost out
<iq type='get' id='dff17cac122e3b32cb35a124acfe4e14'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2024-03-21 22:33:43.802 ***🔗
bOb_unnamed_3003@localhost in
<iq from='localhost' to='localhost' id='dff17cac122e3b32cb35a124acfe4e14' type='result'>
	<query xmlns='jabber:iq:register'>
		<instructions>Choose a username and password to register with this server</instructions>
		<username/>
		<password/>
	</query>
</iq>



*** User 2024-03-21 22:33:43.802 ***🔗
bOb_unnamed_3003@localhost out
<iq type='set' id='e80a9dc8ac3b557b7529149f22177f2b'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_unnamed_3003</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2024-03-21 22:33:43.804 ***🔗
bOb_unnamed_3003@localhost in
<iq from='localhost' to='localhost' id='e80a9dc8ac3b557b7529149f22177f2b' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_unnamed_3003</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2024-03-21 22:33:43.804 ***🔗
bOb_unnamed_3003@localhost out
</stream:stream>

*** User 2024-03-21 22:33:43.804 ***🔗
bOb_unnamed_3003@localhost in
</stream:stream>

*** User 2024-03-21 22:33:43.805 ***🔗
bOb_unnamed_3003@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-21 22:33:43.805 ***🔗
bOb_unnamed_3003@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='98d3601d79e23095' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 22:33:43.805 ***🔗
bOb_unnamed_3003@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-21 22:33:43.805 ***🔗
bOb_unnamed_3003@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzMwMDMAbWFrcm9saWth</auth>



*** User 2024-03-21 22:33:43.806 ***🔗
bOb_unnamed_3003@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 22:33:43.806 ***🔗
bOb_unnamed_3003@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-21 22:33:43.806 ***🔗
bOb_unnamed_3003@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8ce9f5f4a14e91bb' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_3003@localhost'>

*** User 2024-03-21 22:33:43.806 ***🔗
bOb_unnamed_3003@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-21 22:33:43.806 ***🔗
bOb_unnamed_3003@localhost/res1 out
<iq type='set' id='ec65e64c899f7814bc6160050568e024'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 22:33:43.807 ***🔗
bOb_unnamed_3003@localhost/res1 in
<iq id='ec65e64c899f7814bc6160050568e024' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unnamed_3003@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 22:33:43.807 ***🔗
bob_unnamed_3003@localhost/res1 out
<iq type='set' id='e4d1c38df54a28f5ae1a0abc51f41e6c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 22:33:43.807 ***🔗
bob_unnamed_3003@localhost/res1 in
<iq from='localhost' to='bob_unnamed_3003@localhost/res1' id='e4d1c38df54a28f5ae1a0abc51f41e6c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 22:33:43.807 ***🔗
bob_unnamed_3003@localhost/res1 out
<presence/>



*** User 2024-03-21 22:33:43.808 ***🔗
bob_unnamed_3003@localhost/res1 in
<presence from='bob_unnamed_3003@localhost/res1' to='bob_unnamed_3003@localhost/res1'/>



*** User 2024-03-21 22:33:43.809 ***🔗
alicE_unnamed_3003@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-21 22:33:43.809 ***🔗
alicE_unnamed_3003@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3ed0710f7dd514f4' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 22:33:43.809 ***🔗
alicE_unnamed_3003@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-21 22:33:43.809 ***🔗
alicE_unnamed_3003@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMzAwMwBtYXR5Z3J5c2E=</auth>



*** User 2024-03-21 22:33:43.810 ***🔗
alicE_unnamed_3003@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 22:33:43.810 ***🔗
alicE_unnamed_3003@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-21 22:33:43.810 ***🔗
alicE_unnamed_3003@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5a22721c75986151' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_3003@localhost'>

*** User 2024-03-21 22:33:43.810 ***🔗
alicE_unnamed_3003@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-21 22:33:43.810 ***🔗
alicE_unnamed_3003@localhost/res1 out
<iq type='set' id='5257d62198bbfbea9b1ca1a05b0a1195'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 22:33:43.811 ***🔗
alicE_unnamed_3003@localhost/res1 in
<iq id='5257d62198bbfbea9b1ca1a05b0a1195' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unnamed_3003@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 22:33:43.811 ***🔗
alice_unnamed_3003@localhost/res1 out
<iq type='set' id='412d7783e20da469c24aa82680f5e326'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 22:33:43.812 ***🔗
alice_unnamed_3003@localhost/res1 in
<iq from='localhost' to='alice_unnamed_3003@localhost/res1' id='412d7783e20da469c24aa82680f5e326' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 22:33:43.812 ***🔗
alice_unnamed_3003@localhost/res1 out
<presence/>



*** User 2024-03-21 22:33:43.813 ***🔗
alice_unnamed_3003@localhost/res1 in
<presence from='alice_unnamed_3003@localhost/res1' to='alice_unnamed_3003@localhost/res1'/>



*** User 2024-03-21 22:33:43.813 ***🔗
bob_unnamed_3003@localhost/res1 out
<presence type='unavailable'/>



*** User 2024-03-21 22:33:43.914 ***🔗
waiting for wait_for_user_offline is done in 100 miliseconds

*** User 2024-03-21 22:33:43.914 ***🔗
alice_unnamed_3003@localhost/res1 out
<message type='chat' to='bob_unnamed_3003@localhost/res1'>
	<body>OH, HAI!</body>
</message>



*** User 2024-03-21 22:33:48.915 ***🔗
#{result => nomatch,
  msg_inbox =>
      {messages,
          [{stanza,<0.83209.0>,
               {xmlel,<<"stream:error">>,[],
                   [{xmlel,<<"conflict">>,
                        [{<<"xmlns">>,
                          <<"urn:ietf:params:xml:ns:xmpp-streams">>}],
                        []},
                    {xmlel,<<"text">>,
                        [{<<"xml:lang">>,<<"en">>},
                         {<<"xmlns">>,
                          <<"urn:ietf:params:xml:ns:xmpp-streams">>}],
                        [{xmlcdata,<<"User removed">>}]}]},
               #{recv_timestamp => 1711060423801181}},
           {stanza,<0.83209.0>,
               {xmlstreamend,<<"stream:stream">>},
               #{recv_timestamp => 1711060423801210}},
           {stanza,<0.83216.0>,
               {xmlel,<<"message">>,
                   [{<<"from">>,<<"alice_unnamed_3003@localhost/res1">>},
                    {<<"to">>,<<"bob_unnamed_3003@localhost/res1">>},
                    {<<"type">>,<<"chat">>}],
                   [{xmlel,<<"body">>,[],[{xmlcdata,<<"OH, HAI!">>}]}]},
               #{recv_timestamp => 1711060423916721}}]}}

*** User 2024-03-21 22:33:48.915 ***🔗
alice_unnamed_3003@localhost/res1 out
</stream:stream>

*** User 2024-03-21 22:33:48.916 ***🔗
alice_unnamed_3003@localhost/res1 in
</stream:stream>

*** User 2024-03-21 22:33:48.916 ***🔗
bob_unnamed_3003@localhost/res1 out
</stream:stream>

*** User 2024-03-21 22:33:48.916 ***🔗
bob_unnamed_3003@localhost/res1 in
</stream:stream>
*** CT 2024-03-21 22:33:48.919 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5563.html



=== Ended at 2024-03-21 22:33:48
=== successfully completed test case
=== === Returned value: ok