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

=== Config value:

    [{push_opts,[{virtual_pubsub_hosts,[{fqdn,<<"virtual.domain">>}]},
                 {backend,mnesia}]},
     {watchdog,<0.8950.1>},
     {pubsub_host,virtual},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/push_SUITE_data"},
     {preset,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.push_SUITE.logs/run.2022-01-27_15.32.59/push_suite.pm_msg_notify_stops_after_removal.9989.html"},
     {tc_group_properties,[{name,pm_msg_notifications},
                           {repeat_until_all_ok,3},
                           parallel]},
     {tc_group_path,[[{name,pubsub_less},{repeat_until_all_ok,3}]]},
     {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@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.push_SUITE.logs/run.2022-01-27_15.32.59/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => [],mod_amp => [],mod_bosh => [],
        mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
        mod_carboncopy => [],mod_commands => [],
        mod_disco => [{users_can_see_hidden_services,false}],
        mod_muc_commands => [],mod_muc_light_commands => [],
        mod_register =>
            [{access,register},
             {ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
             {welcome_message,{[],[]}}],
        mod_roster => [],mod_sic => [],mod_stream_management => [],
        mod_vcard =>
            [{backend,ldap},
             {host,{prefix,<<"vjud.">>}},
             {ldap_base,"ou=Users,dc=esl,dc=com"},
             {ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d66972e2ee88.2022-01-27_15.24.27"

=== Started at 2022-01-27 15:33:10


*** CT 2022-01-27 15:33:10.020 *** View log from node mongooseim@localhost when started mongooseim@localhost_4735.html
*** CT 2022-01-27 15:33:10.021 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2322.html

*** User 2022-01-27 15:33:10.027 ***
bOb_unnamed_1024@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-27 15:33:10.027 ***
bOb_unnamed_1024@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f1cd115a641d245e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:10.028 ***
bOb_unnamed_1024@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-01-27 15:33:10.028 ***
bOb_unnamed_1024@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzEwMjQAbWFrcm9saWth</auth>



*** User 2022-01-27 15:33:10.029 ***
bOb_unnamed_1024@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:33:10.029 ***
bOb_unnamed_1024@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-27 15:33:10.029 ***
bOb_unnamed_1024@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e853bbe880a84973' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:10.029 ***
bOb_unnamed_1024@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-01-27 15:33:10.029 ***
bOb_unnamed_1024@localhost/res1 out
<iq type='set' id='3722bba8a931e6138e389d2b9c6d9cb2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:33:10.030 ***
bOb_unnamed_1024@localhost/res1 in
<iq id='3722bba8a931e6138e389d2b9c6d9cb2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_unnamed_1024@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:33:10.030 ***
bOb_unnamed_1024@localhost/res1 out
<iq type='set' id='94a8fa81bb98af37f0710e6a7848ab99'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:10.030 ***
bOb_unnamed_1024@localhost/res1 in
<iq type='result' id='94a8fa81bb98af37f0710e6a7848ab99'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:10.030 ***
bOb_unnamed_1024@localhost/res1 out
<presence/>



*** User 2022-01-27 15:33:10.031 ***
bOb_unnamed_1024@localhost/res1 in
<presence from='bOb_unnamed_1024@localhost/res1' to='bob_unnamed_1024@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:33:10.031 ***
bOb_unnamed_1024@localhost/res1 out
<iq type='set' id='3694a660b7e41b2dd85e309c3abd4f14'>
	<enable xmlns='urn:xmpp:push:0' jid='pm_msg_notify_stops_after_removal_90.25957@virtual.domain' node='NodeId'>
		<x xmlns='jabber:x:data' type='submit'>
			<field var='FORM_TYPE'>
				<value>http://jabber.org/protocol/pubsub#publish-options</value>
			</field>
		</x>
	</enable>
</iq>



*** User 2022-01-27 15:33:10.031 ***
bOb_unnamed_1024@localhost/res1 in
<iq from='bOb_unnamed_1024@localhost' to='bOb_unnamed_1024@localhost/res1' id='3694a660b7e41b2dd85e309c3abd4f14' type='result'/>



*** User 2022-01-27 15:33:10.032 ***
bOb_unnamed_1024@localhost/res1 out
<iq type='set' id='87315e1df70673d0b5ed4f4198dc04c2'>
	<query xmlns='jabber:iq:register'>
		<remove/>
	</query>
</iq>



*** User 2022-01-27 15:33:10.032 ***
bOb_unnamed_1024@localhost/res1 in
<iq from='' to='bOb_unnamed_1024@localhost/res1' id='87315e1df70673d0b5ed4f4198dc04c2' type='result'/>



*** User 2022-01-27 15:33:10.034 ***
bOb_unnamed_1024@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-27 15:33:10.035 ***
bOb_unnamed_1024@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='67bea6a2462ecf85' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:10.035 ***
bOb_unnamed_1024@localhost in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-01-27 15:33:10.035 ***
bOb_unnamed_1024@localhost out
<iq type='get' id='ddca0a2eed9831339ca516c94f2a11bf'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-01-27 15:33:10.035 ***
bOb_unnamed_1024@localhost in
<iq from='localhost' id='ddca0a2eed9831339ca516c94f2a11bf' type='result'>
	<query xmlns='jabber:iq:register'>
		<instructions>Choose a username and password to register with this server</instructions>
		<username/>
		<password/>
	</query>
</iq>



*** User 2022-01-27 15:33:10.035 ***
bOb_unnamed_1024@localhost out
<iq type='set' id='9d38a5a60b87efbd84e8e72939b2c040'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_unnamed_1024</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2022-01-27 15:33:10.036 ***
bOb_unnamed_1024@localhost in
<iq from='localhost' id='9d38a5a60b87efbd84e8e72939b2c040' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_unnamed_1024</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2022-01-27 15:33:10.036 ***
bOb_unnamed_1024@localhost out
</stream:stream>

*** User 2022-01-27 15:33:10.037 ***
bOb_unnamed_1024@localhost in
</stream:stream>

*** User 2022-01-27 15:33:10.037 ***
bOb_unnamed_1024@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-27 15:33:10.038 ***
bOb_unnamed_1024@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3cebc3cef06df445' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:10.038 ***
bOb_unnamed_1024@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-01-27 15:33:10.038 ***
bOb_unnamed_1024@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzEwMjQAbWFrcm9saWth</auth>



*** User 2022-01-27 15:33:10.039 ***
bOb_unnamed_1024@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:33:10.039 ***
bOb_unnamed_1024@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-27 15:33:10.039 ***
bOb_unnamed_1024@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d47cb00891faf7f4' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:10.039 ***
bOb_unnamed_1024@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-01-27 15:33:10.039 ***
bOb_unnamed_1024@localhost/res1 out
<iq type='set' id='4487903bb443b4375903c32abd58c3fd'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:33:10.039 ***
bOb_unnamed_1024@localhost/res1 in
<iq id='4487903bb443b4375903c32abd58c3fd' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_unnamed_1024@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:33:10.039 ***
bOb_unnamed_1024@localhost/res1 out
<iq type='set' id='ddbf449f12be2b8c7be3f22b952fe508'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:10.040 ***
bOb_unnamed_1024@localhost/res1 in
<iq type='result' id='ddbf449f12be2b8c7be3f22b952fe508'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:10.040 ***
bOb_unnamed_1024@localhost/res1 out
<presence/>



*** User 2022-01-27 15:33:10.040 ***
bOb_unnamed_1024@localhost/res1 in
<presence from='bOb_unnamed_1024@localhost/res1' to='bob_unnamed_1024@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:33:10.041 ***
alicE_unnamed_1024@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-27 15:33:10.041 ***
alicE_unnamed_1024@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bfd4d45d0e42ef0e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:10.041 ***
alicE_unnamed_1024@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-01-27 15:33:10.041 ***
alicE_unnamed_1024@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMTAyNABtYXR5Z3J5c2E=</auth>



*** User 2022-01-27 15:33:10.042 ***
alicE_unnamed_1024@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:33:10.042 ***
alicE_unnamed_1024@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-27 15:33:10.042 ***
alicE_unnamed_1024@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='31a0791326082f89' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:10.042 ***
alicE_unnamed_1024@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-01-27 15:33:10.042 ***
alicE_unnamed_1024@localhost/res1 out
<iq type='set' id='7e1e95aada0bd314e091e691309f8bc3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:33:10.043 ***
alicE_unnamed_1024@localhost/res1 in
<iq id='7e1e95aada0bd314e091e691309f8bc3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unnamed_1024@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:33:10.043 ***
alicE_unnamed_1024@localhost/res1 out
<iq type='set' id='33b99862c592d767aaee6acb64e07eda'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:10.043 ***
alicE_unnamed_1024@localhost/res1 in
<iq type='result' id='33b99862c592d767aaee6acb64e07eda'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:10.043 ***
alicE_unnamed_1024@localhost/res1 out
<presence/>



*** User 2022-01-27 15:33:10.044 ***
alicE_unnamed_1024@localhost/res1 in
<presence from='alicE_unnamed_1024@localhost/res1' to='alice_unnamed_1024@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:33:10.044 ***
bOb_unnamed_1024@localhost/res1 out
<presence type='unavailable'/>



*** User 2022-01-27 15:33:10.044 ***
alicE_unnamed_1024@localhost/res1 out
<message to='bOb_unnamed_1024@localhost/res1' type='chat'>
	<body>OH, HAI!</body>
</message>



*** User 2022-01-27 15:33:15.044 ***
#{msg_inbox =>
      {messages,
          [{stanza,<0.9022.1>,
               {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 => 1643297590034072}},
           {stanza,<0.9022.1>,
               {xmlstreamend,<<"stream:stream">>},
               #{recv_timestamp => 1643297590034072}},
           {stanza,<0.9035.1>,
               {xmlel,<<"message">>,
                   [{<<"from">>,<<"alicE_unnamed_1024@localhost/res1">>},
                    {<<"to">>,<<"bOb_unnamed_1024@localhost/res1">>},
                    {<<"xml:lang">>,<<"en">>},
                    {<<"type">>,<<"chat">>}],
                   [{xmlel,<<"body">>,[],[{xmlcdata,<<"OH, HAI!">>}]}]},
               #{recv_timestamp => 1643297590045378}}]},
  result => nomatch}

*** User 2022-01-27 15:33:15.045 ***
alicE_unnamed_1024@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:33:15.045 ***
alicE_unnamed_1024@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:33:15.045 ***
bOb_unnamed_1024@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:33:15.045 ***
bOb_unnamed_1024@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:33:15.047 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2322.html
*** CT 2022-01-27 15:33:15.047 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4739.html



=== Ended at 2022-01-27 15:33:15
=== successfully completed test case
=== === Returned value: ok