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

=== Config value:

    [{watchdog,<0.82455.0>},
     {pubsub_host,real},
     {preset,"odbc_mssql_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@944609fad30e.2024-03-21_07.35.17/big_tests.tests.push_SUITE.logs/run.2024-03-21_07.51.36/push_suite.pm_msg_notify_stops_after_removal.74245.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@944609fad30e.2024-03-21_07.35.17/big_tests.tests.push_SUITE.logs/run.2024-03-21_07.51.36/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_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_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@944609fad30e.2024-03-21_07.35.17"

=== Started at 2024-03-21 07:51:36


*** CT 2024-03-21 07:51:36.646 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5510.html

*** User 2024-03-21 07:51:36.658 ***🔗
bOb_unnamed_3289@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 07:51:36.659 ***🔗
bOb_unnamed_3289@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e2d7b393f3a7ae50' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:51:36.659 ***🔗
bOb_unnamed_3289@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 07:51:36.659 ***🔗
bOb_unnamed_3289@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzMyODkAbWFrcm9saWth</auth>



*** User 2024-03-21 07:51:36.660 ***🔗
bOb_unnamed_3289@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:51:36.660 ***🔗
bOb_unnamed_3289@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 07:51:36.660 ***🔗
bOb_unnamed_3289@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dc67d5a80693bb16' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_3289@localhost'>

*** User 2024-03-21 07:51:36.660 ***🔗
bOb_unnamed_3289@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 07:51:36.661 ***🔗
bOb_unnamed_3289@localhost/res1 out
<iq type='set' id='91e0c09e0203701d9c12b26bf1b4cda5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 07:51:36.661 ***🔗
bOb_unnamed_3289@localhost/res1 in
<iq id='91e0c09e0203701d9c12b26bf1b4cda5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unnamed_3289@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 07:51:36.661 ***🔗
bob_unnamed_3289@localhost/res1 out
<iq type='set' id='4305ebc24076af50801f283548bfbc75'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:51:36.662 ***🔗
bob_unnamed_3289@localhost/res1 in
<iq from='localhost' to='bob_unnamed_3289@localhost/res1' id='4305ebc24076af50801f283548bfbc75' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:51:36.662 ***🔗
bob_unnamed_3289@localhost/res1 out
<presence/>



*** User 2024-03-21 07:51:36.663 ***🔗
bob_unnamed_3289@localhost/res1 in
<presence from='bob_unnamed_3289@localhost/res1' to='bob_unnamed_3289@localhost/res1'/>



*** User 2024-03-21 07:51:36.663 ***🔗
bob_unnamed_3289@localhost/res1 out
<iq type='set' id='4ddb8677aefaf7d28ffe1c09c7c13181'>
	<enable xmlns='urn:xmpp:push:0' jid='pub-sub@pm_msg_notify_stops_after_removal_96.655390' 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 07:51:36.668 ***🔗
bob_unnamed_3289@localhost/res1 in
<iq from='bob_unnamed_3289@localhost' to='bob_unnamed_3289@localhost/res1' id='4ddb8677aefaf7d28ffe1c09c7c13181' type='result'/>



*** User 2024-03-21 07:51:36.668 ***🔗
bob_unnamed_3289@localhost/res1 out
<iq type='set' id='977e0132799ec87da643d8fa3b90db18'>
	<query xmlns='jabber:iq:register'>
		<remove/>
	</query>
</iq>



*** User 2024-03-21 07:51:36.669 ***🔗
bob_unnamed_3289@localhost/res1 in
<iq from='' to='bob_unnamed_3289@localhost/res1' id='977e0132799ec87da643d8fa3b90db18' type='result'/>



*** User 2024-03-21 07:51:36.683 ***🔗
bOb_unnamed_3289@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 07:51:36.683 ***🔗
bOb_unnamed_3289@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9614e6d6c261c9be' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:51:36.683 ***🔗
bOb_unnamed_3289@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 07:51:36.684 ***🔗
bOb_unnamed_3289@localhost out
<iq type='get' id='4afe7ffd8fa5ae0aa42150f1a7df3900'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2024-03-21 07:51:36.684 ***🔗
bOb_unnamed_3289@localhost in
<iq from='localhost' to='localhost' id='4afe7ffd8fa5ae0aa42150f1a7df3900' 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 07:51:36.685 ***🔗
bOb_unnamed_3289@localhost out
<iq type='set' id='e2b9f27c4f9ec2f088a5fdf36d00f175'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_unnamed_3289</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2024-03-21 07:51:36.688 ***🔗
bOb_unnamed_3289@localhost in
<iq from='localhost' to='localhost' id='e2b9f27c4f9ec2f088a5fdf36d00f175' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_unnamed_3289</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2024-03-21 07:51:36.688 ***🔗
bOb_unnamed_3289@localhost out
</stream:stream>

*** User 2024-03-21 07:51:36.688 ***🔗
bOb_unnamed_3289@localhost in
</stream:stream>

*** User 2024-03-21 07:51:36.689 ***🔗
bOb_unnamed_3289@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 07:51:36.689 ***🔗
bOb_unnamed_3289@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e70ea1b1a9607311' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:51:36.689 ***🔗
bOb_unnamed_3289@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 07:51:36.690 ***🔗
bOb_unnamed_3289@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzMyODkAbWFrcm9saWth</auth>



*** User 2024-03-21 07:51:36.691 ***🔗
bOb_unnamed_3289@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:51:36.691 ***🔗
bOb_unnamed_3289@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 07:51:36.691 ***🔗
bOb_unnamed_3289@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c29e5de9adcf6e0e' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_3289@localhost'>

*** User 2024-03-21 07:51:36.691 ***🔗
bOb_unnamed_3289@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 07:51:36.691 ***🔗
bOb_unnamed_3289@localhost/res1 out
<iq type='set' id='07f16e31562d9dc24782f98e9088906b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 07:51:36.692 ***🔗
bOb_unnamed_3289@localhost/res1 in
<iq id='07f16e31562d9dc24782f98e9088906b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unnamed_3289@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 07:51:36.692 ***🔗
bob_unnamed_3289@localhost/res1 out
<iq type='set' id='787d536d926b1885b4f0734ce537fa69'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:51:36.692 ***🔗
bob_unnamed_3289@localhost/res1 in
<iq from='localhost' to='bob_unnamed_3289@localhost/res1' id='787d536d926b1885b4f0734ce537fa69' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:51:36.692 ***🔗
bob_unnamed_3289@localhost/res1 out
<presence/>



*** User 2024-03-21 07:51:36.694 ***🔗
bob_unnamed_3289@localhost/res1 in
<presence from='bob_unnamed_3289@localhost/res1' to='bob_unnamed_3289@localhost/res1'/>



*** User 2024-03-21 07:51:36.694 ***🔗
alicE_unnamed_3289@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 07:51:36.694 ***🔗
alicE_unnamed_3289@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='10fdf895b4189c1a' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:51:36.695 ***🔗
alicE_unnamed_3289@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 07:51:36.695 ***🔗
alicE_unnamed_3289@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMzI4OQBtYXR5Z3J5c2E=</auth>



*** User 2024-03-21 07:51:36.696 ***🔗
alicE_unnamed_3289@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:51:36.696 ***🔗
alicE_unnamed_3289@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 07:51:36.697 ***🔗
alicE_unnamed_3289@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4aaf685b6e430932' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_3289@localhost'>

*** User 2024-03-21 07:51:36.697 ***🔗
alicE_unnamed_3289@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 07:51:36.697 ***🔗
alicE_unnamed_3289@localhost/res1 out
<iq type='set' id='0ca15ff0d8e91bbb95c489021a54c7a8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 07:51:36.697 ***🔗
alicE_unnamed_3289@localhost/res1 in
<iq id='0ca15ff0d8e91bbb95c489021a54c7a8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unnamed_3289@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 07:51:36.697 ***🔗
alice_unnamed_3289@localhost/res1 out
<iq type='set' id='684e5b3dd961a808b1edf58ca70989f0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:51:36.698 ***🔗
alice_unnamed_3289@localhost/res1 in
<iq from='localhost' to='alice_unnamed_3289@localhost/res1' id='684e5b3dd961a808b1edf58ca70989f0' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:51:36.698 ***🔗
alice_unnamed_3289@localhost/res1 out
<presence/>



*** User 2024-03-21 07:51:36.699 ***🔗
alice_unnamed_3289@localhost/res1 in
<presence from='alice_unnamed_3289@localhost/res1' to='alice_unnamed_3289@localhost/res1'/>



*** User 2024-03-21 07:51:36.699 ***🔗
bob_unnamed_3289@localhost/res1 out
<presence type='unavailable'/>



*** User 2024-03-21 07:51:36.700 ***🔗
waiting for wait_for_user_offline is done in 0 miliseconds

*** User 2024-03-21 07:51:36.700 ***🔗
alice_unnamed_3289@localhost/res1 out
<message type='chat' to='bob_unnamed_3289@localhost/res1'>
	<body>OH, HAI!</body>
</message>



*** User 2024-03-21 07:51:41.701 ***🔗
#{result => nomatch,
  msg_inbox =>
      {messages,
          [{stanza,<0.82511.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 => 1711007496682452}},
           {stanza,<0.82511.0>,
               {xmlstreamend,<<"stream:stream">>},
               #{recv_timestamp => 1711007496682489}},
           {stanza,<0.82528.0>,
               {xmlel,<<"message">>,
                   [{<<"from">>,<<"alice_unnamed_3289@localhost/res1">>},
                    {<<"to">>,<<"bob_unnamed_3289@localhost/res1">>},
                    {<<"type">>,<<"chat">>}],
                   [{xmlel,<<"body">>,[],[{xmlcdata,<<"OH, HAI!">>}]}]},
               #{recv_timestamp => 1711007496737819}}]}}

*** User 2024-03-21 07:51:41.701 ***🔗
alice_unnamed_3289@localhost/res1 out
</stream:stream>

*** User 2024-03-21 07:51:41.701 ***🔗
alice_unnamed_3289@localhost/res1 in
</stream:stream>

*** User 2024-03-21 07:51:41.702 ***🔗
bob_unnamed_3289@localhost/res1 out
</stream:stream>

*** User 2024-03-21 07:51:41.702 ***🔗
bob_unnamed_3289@localhost/res1 in
</stream:stream>
*** CT 2024-03-21 07:51:41.706 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5510.html



=== Ended at 2024-03-21 07:51:41
=== successfully completed test case
=== === Returned value: ok