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

=== Config value:

    [{watchdog,<0.82445.0>},
     {pubsub_host,real},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/push_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@9684d4095a41.2024-04-16_10.55.09/big_tests.tests.push_SUITE.logs/run.2024-04-16_11.10.18/push_suite.pm_msg_notify_stops_after_removal.68613.html"},
     {tc_group_properties,[{name,pm_msg_notifications},parallel]},
     {tc_group_path,[[{name,pubsub_ful}]]},
     {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@9684d4095a41.2024-04-16_10.55.09/big_tests.tests.push_SUITE.logs/run.2024-04-16_11.10.18/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 =>
            #{users_can_see_hidden_services => false,iqdisc => one_queue,
              server_info => [],extra_domains => []},
        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@9684d4095a41.2024-04-16_10.55.09"

=== Started at 2024-04-16 11:10:18


*** CT 2024-04-16 11:10:18.689 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4785.html

*** User 2024-04-16 11:10:18.701 ***🔗
bOb_unnamed_3202@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-16 11:10:18.701 ***🔗
bOb_unnamed_3202@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='25c6a70d4f3573c7' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 11:10:18.701 ***🔗
bOb_unnamed_3202@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-16 11:10:18.701 ***🔗
bOb_unnamed_3202@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzMyMDIAbWFrcm9saWth</auth>



*** User 2024-04-16 11:10:18.702 ***🔗
bOb_unnamed_3202@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 11:10:18.703 ***🔗
bOb_unnamed_3202@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-16 11:10:18.703 ***🔗
bOb_unnamed_3202@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e450d921a93031fe' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_3202@localhost'>

*** User 2024-04-16 11:10:18.703 ***🔗
bOb_unnamed_3202@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-16 11:10:18.703 ***🔗
bOb_unnamed_3202@localhost/res1 out
<iq type='set' id='3a97963426644d11e8c92418e56b19a2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 11:10:18.703 ***🔗
bOb_unnamed_3202@localhost/res1 in
<iq id='3a97963426644d11e8c92418e56b19a2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unnamed_3202@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 11:10:18.703 ***🔗
bob_unnamed_3202@localhost/res1 out
<iq type='set' id='20b68ec1876f5406d7f17de3fe71e745'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:10:18.704 ***🔗
bob_unnamed_3202@localhost/res1 in
<iq from='localhost' to='bob_unnamed_3202@localhost/res1' id='20b68ec1876f5406d7f17de3fe71e745' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:10:18.704 ***🔗
bob_unnamed_3202@localhost/res1 out
<presence/>



*** User 2024-04-16 11:10:18.705 ***🔗
bob_unnamed_3202@localhost/res1 in
<presence from='bob_unnamed_3202@localhost/res1' to='bob_unnamed_3202@localhost/res1'/>



*** User 2024-04-16 11:10:18.705 ***🔗
bob_unnamed_3202@localhost/res1 out
<iq type='set' id='92641d696ccfccba9d277ca4f2478ba6'>
	<enable xmlns='urn:xmpp:push:0' jid='pub-sub@pm_msg_notify_stops_after_removal_18.698447' 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-04-16 11:10:18.708 ***🔗
bob_unnamed_3202@localhost/res1 in
<iq from='bob_unnamed_3202@localhost' to='bob_unnamed_3202@localhost/res1' id='92641d696ccfccba9d277ca4f2478ba6' type='result'/>



*** User 2024-04-16 11:10:18.709 ***🔗
bob_unnamed_3202@localhost/res1 out
<iq type='set' id='a949852777ff61c6973bcf8d4024c5a1'>
	<query xmlns='jabber:iq:register'>
		<remove/>
	</query>
</iq>



*** User 2024-04-16 11:10:18.709 ***🔗
bob_unnamed_3202@localhost/res1 in
<iq from='' to='bob_unnamed_3202@localhost/res1' id='a949852777ff61c6973bcf8d4024c5a1' type='result'/>



*** User 2024-04-16 11:10:18.719 ***🔗
bOb_unnamed_3202@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-16 11:10:18.720 ***🔗
bOb_unnamed_3202@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='374f24eaed637ff5' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 11:10:18.720 ***🔗
bOb_unnamed_3202@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-04-16 11:10:18.720 ***🔗
bOb_unnamed_3202@localhost out
<iq type='get' id='ea95673a14e1e251576d18af83c02431'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2024-04-16 11:10:18.721 ***🔗
bOb_unnamed_3202@localhost in
<iq from='localhost' to='localhost' id='ea95673a14e1e251576d18af83c02431' 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-04-16 11:10:18.721 ***🔗
bOb_unnamed_3202@localhost out
<iq type='set' id='c6f886dae956eaaf98168aa1a45e817e'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_unnamed_3202</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2024-04-16 11:10:18.723 ***🔗
bOb_unnamed_3202@localhost in
<iq from='localhost' to='localhost' id='c6f886dae956eaaf98168aa1a45e817e' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_unnamed_3202</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2024-04-16 11:10:18.723 ***🔗
bOb_unnamed_3202@localhost out
</stream:stream>

*** User 2024-04-16 11:10:18.723 ***🔗
bOb_unnamed_3202@localhost in
</stream:stream>

*** User 2024-04-16 11:10:18.724 ***🔗
bOb_unnamed_3202@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-16 11:10:18.724 ***🔗
bOb_unnamed_3202@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1b0ac23900abfbb1' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 11:10:18.724 ***🔗
bOb_unnamed_3202@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-16 11:10:18.724 ***🔗
bOb_unnamed_3202@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzMyMDIAbWFrcm9saWth</auth>



*** User 2024-04-16 11:10:18.725 ***🔗
bOb_unnamed_3202@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 11:10:18.725 ***🔗
bOb_unnamed_3202@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-16 11:10:18.726 ***🔗
bOb_unnamed_3202@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c2fcc9c39a1b21f5' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_3202@localhost'>

*** User 2024-04-16 11:10:18.726 ***🔗
bOb_unnamed_3202@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-16 11:10:18.726 ***🔗
bOb_unnamed_3202@localhost/res1 out
<iq type='set' id='1cb1427d3dd29fefa323f08e06263046'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 11:10:18.726 ***🔗
bOb_unnamed_3202@localhost/res1 in
<iq id='1cb1427d3dd29fefa323f08e06263046' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unnamed_3202@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 11:10:18.726 ***🔗
bob_unnamed_3202@localhost/res1 out
<iq type='set' id='cd57289b004f0af0b91c8aa9ea6c7b56'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:10:18.727 ***🔗
bob_unnamed_3202@localhost/res1 in
<iq from='localhost' to='bob_unnamed_3202@localhost/res1' id='cd57289b004f0af0b91c8aa9ea6c7b56' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:10:18.727 ***🔗
bob_unnamed_3202@localhost/res1 out
<presence/>



*** User 2024-04-16 11:10:18.728 ***🔗
bob_unnamed_3202@localhost/res1 in
<presence from='bob_unnamed_3202@localhost/res1' to='bob_unnamed_3202@localhost/res1'/>



*** User 2024-04-16 11:10:18.729 ***🔗
alicE_unnamed_3202@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-16 11:10:18.729 ***🔗
alicE_unnamed_3202@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2a30b34cfde223c3' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 11:10:18.730 ***🔗
alicE_unnamed_3202@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-16 11:10:18.730 ***🔗
alicE_unnamed_3202@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMzIwMgBtYXR5Z3J5c2E=</auth>



*** User 2024-04-16 11:10:18.731 ***🔗
alicE_unnamed_3202@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 11:10:18.731 ***🔗
alicE_unnamed_3202@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-16 11:10:18.731 ***🔗
alicE_unnamed_3202@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b3e8d142fe7ab5a3' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_3202@localhost'>

*** User 2024-04-16 11:10:18.731 ***🔗
alicE_unnamed_3202@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-16 11:10:18.732 ***🔗
alicE_unnamed_3202@localhost/res1 out
<iq type='set' id='26af36c8427b71e972d06200c8f274c3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 11:10:18.732 ***🔗
alicE_unnamed_3202@localhost/res1 in
<iq id='26af36c8427b71e972d06200c8f274c3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unnamed_3202@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 11:10:18.732 ***🔗
alice_unnamed_3202@localhost/res1 out
<iq type='set' id='264dc08773de3125e649969df9ecedda'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:10:18.732 ***🔗
alice_unnamed_3202@localhost/res1 in
<iq from='localhost' to='alice_unnamed_3202@localhost/res1' id='264dc08773de3125e649969df9ecedda' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:10:18.733 ***🔗
alice_unnamed_3202@localhost/res1 out
<presence/>



*** User 2024-04-16 11:10:18.734 ***🔗
alice_unnamed_3202@localhost/res1 in
<presence from='alice_unnamed_3202@localhost/res1' to='alice_unnamed_3202@localhost/res1'/>



*** User 2024-04-16 11:10:18.734 ***🔗
bob_unnamed_3202@localhost/res1 out
<presence type='unavailable'/>



*** User 2024-04-16 11:10:18.734 ***🔗
waiting for wait_for_user_offline is done in 0 miliseconds

*** User 2024-04-16 11:10:18.734 ***🔗
alice_unnamed_3202@localhost/res1 out
<message type='chat' to='bob_unnamed_3202@localhost/res1'>
	<body>OH, HAI!</body>
</message>



*** User 2024-04-16 11:10:23.736 ***🔗
#{result => nomatch,
  msg_inbox =>
      {messages,
          [{stanza,<0.82508.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 => 1713265818718854}},
           {stanza,<0.82508.0>,
               {xmlstreamend,<<"stream:stream">>},
               #{recv_timestamp => 1713265818718879}},
           {stanza,<0.82518.0>,
               {xmlel,<<"message">>,
                   [{<<"from">>,<<"alice_unnamed_3202@localhost/res1">>},
                    {<<"to">>,<<"bob_unnamed_3202@localhost/res1">>},
                    {<<"type">>,<<"chat">>}],
                   [{xmlel,<<"body">>,[],[{xmlcdata,<<"OH, HAI!">>}]}]},
               #{recv_timestamp => 1713265818736302}}]}}

*** User 2024-04-16 11:10:23.736 ***🔗
alice_unnamed_3202@localhost/res1 out
</stream:stream>

*** User 2024-04-16 11:10:23.736 ***🔗
alice_unnamed_3202@localhost/res1 in
</stream:stream>

*** User 2024-04-16 11:10:23.736 ***🔗
bob_unnamed_3202@localhost/res1 out
</stream:stream>

*** User 2024-04-16 11:10:23.737 ***🔗
bob_unnamed_3202@localhost/res1 in
</stream:stream>
*** CT 2024-04-16 11:10:23.739 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4785.html



=== Ended at 2024-04-16 11:10:23
=== successfully completed test case
=== === Returned value: ok