=== 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.10462.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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.push_SUITE.logs/run.2022-03-03_10.37.24/push_suite.pm_msg_notify_stops_after_removal.62594.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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.push_SUITE.logs/run.2022-03-03_10.37.24/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@12130b74fc81.2022-03-03_10.28.39"

=== Started at 2022-03-03 10:37:35


*** CT 2022-03-03 10:37:35.378 *** View log from node mongooseim@localhost when started mongooseim@localhost_4753.html
*** CT 2022-03-03 10:37:35.379 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2342.html

*** User 2022-03-03 10:37:35.386 ***
bOb_unnamed_1192@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-03-03 10:37:35.386 ***
bOb_unnamed_1192@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3a601f4934113ab1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:35.386 ***
bOb_unnamed_1192@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-03-03 10:37:35.386 ***
bOb_unnamed_1192@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzExOTIAbWFrcm9saWth</auth>



*** User 2022-03-03 10:37:35.387 ***
bOb_unnamed_1192@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:37:35.387 ***
bOb_unnamed_1192@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-03-03 10:37:35.388 ***
bOb_unnamed_1192@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5613b957b43a11e4' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:35.388 ***
bOb_unnamed_1192@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-03-03 10:37:35.388 ***
bOb_unnamed_1192@localhost/res1 out
<iq type='set' id='5f294bbb3c26a10acb1773c47b11c0d0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:37:35.388 ***
bOb_unnamed_1192@localhost/res1 in
<iq id='5f294bbb3c26a10acb1773c47b11c0d0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_unnamed_1192@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:37:35.388 ***
bOb_unnamed_1192@localhost/res1 out
<iq type='set' id='45bdcb8d599bf9699739527e52e00699'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:35.389 ***
bOb_unnamed_1192@localhost/res1 in
<iq type='result' id='45bdcb8d599bf9699739527e52e00699'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:35.389 ***
bOb_unnamed_1192@localhost/res1 out
<presence/>



*** User 2022-03-03 10:37:35.389 ***
bOb_unnamed_1192@localhost/res1 in
<presence from='bOb_unnamed_1192@localhost/res1' to='bob_unnamed_1192@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:37:35.389 ***
bOb_unnamed_1192@localhost/res1 out
<iq type='set' id='44eb2cebb625fcfdedba8cacfff1cd83'>
	<enable xmlns='urn:xmpp:push:0' jid='pm_msg_notify_stops_after_removal_55.384448@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-03-03 10:37:35.390 ***
bOb_unnamed_1192@localhost/res1 in
<iq from='bOb_unnamed_1192@localhost' to='bOb_unnamed_1192@localhost/res1' id='44eb2cebb625fcfdedba8cacfff1cd83' type='result'/>



*** User 2022-03-03 10:37:35.391 ***
bOb_unnamed_1192@localhost/res1 out
<iq type='set' id='4a0c9a7074e2533870e0d83cc5b17a4a'>
	<query xmlns='jabber:iq:register'>
		<remove/>
	</query>
</iq>



*** User 2022-03-03 10:37:35.391 ***
bOb_unnamed_1192@localhost/res1 in
<iq from='' to='bOb_unnamed_1192@localhost/res1' id='4a0c9a7074e2533870e0d83cc5b17a4a' type='result'/>



*** User 2022-03-03 10:37:35.393 ***
bOb_unnamed_1192@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-03 10:37:35.394 ***
bOb_unnamed_1192@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4fbf9dee3d51b4a6' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:35.394 ***
bOb_unnamed_1192@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-03-03 10:37:35.394 ***
bOb_unnamed_1192@localhost out
<iq type='get' id='5af80b2a8837f9ee7f821a5c08146e4e'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-03-03 10:37:35.394 ***
bOb_unnamed_1192@localhost in
<iq from='localhost' id='5af80b2a8837f9ee7f821a5c08146e4e' 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-03-03 10:37:35.394 ***
bOb_unnamed_1192@localhost out
<iq type='set' id='372e0590fabc159cd11ab1225194e64a'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_unnamed_1192</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2022-03-03 10:37:35.396 ***
bOb_unnamed_1192@localhost in
<iq from='localhost' id='372e0590fabc159cd11ab1225194e64a' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_unnamed_1192</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2022-03-03 10:37:35.396 ***
bOb_unnamed_1192@localhost out
</stream:stream>

*** User 2022-03-03 10:37:35.396 ***
bOb_unnamed_1192@localhost in
</stream:stream>

*** User 2022-03-03 10:37:35.397 ***
bOb_unnamed_1192@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-03-03 10:37:35.397 ***
bOb_unnamed_1192@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='794e773d9e200b93' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:35.397 ***
bOb_unnamed_1192@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-03-03 10:37:35.397 ***
bOb_unnamed_1192@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzExOTIAbWFrcm9saWth</auth>



*** User 2022-03-03 10:37:35.399 ***
bOb_unnamed_1192@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:37:35.399 ***
bOb_unnamed_1192@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-03-03 10:37:35.399 ***
bOb_unnamed_1192@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='42b39a9547809de2' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:35.399 ***
bOb_unnamed_1192@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-03-03 10:37:35.399 ***
bOb_unnamed_1192@localhost/res1 out
<iq type='set' id='97d47f45545bef80343f848c102da43b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:37:35.399 ***
bOb_unnamed_1192@localhost/res1 in
<iq id='97d47f45545bef80343f848c102da43b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_unnamed_1192@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:37:35.399 ***
bOb_unnamed_1192@localhost/res1 out
<iq type='set' id='b1b718d0c4974832743c337ce68c3ace'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:35.400 ***
bOb_unnamed_1192@localhost/res1 in
<iq type='result' id='b1b718d0c4974832743c337ce68c3ace'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:35.400 ***
bOb_unnamed_1192@localhost/res1 out
<presence/>



*** User 2022-03-03 10:37:35.400 ***
bOb_unnamed_1192@localhost/res1 in
<presence from='bOb_unnamed_1192@localhost/res1' to='bob_unnamed_1192@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:37:35.401 ***
alicE_unnamed_1192@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-03-03 10:37:35.401 ***
alicE_unnamed_1192@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4ef55959ddc12ca3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:35.402 ***
alicE_unnamed_1192@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-03-03 10:37:35.402 ***
alicE_unnamed_1192@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMTE5MgBtYXR5Z3J5c2E=</auth>



*** User 2022-03-03 10:37:35.403 ***
alicE_unnamed_1192@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:37:35.403 ***
alicE_unnamed_1192@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-03-03 10:37:35.403 ***
alicE_unnamed_1192@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aa817c08f594aeeb' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:37:35.403 ***
alicE_unnamed_1192@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-03-03 10:37:35.403 ***
alicE_unnamed_1192@localhost/res1 out
<iq type='set' id='77244f00a8b31605e190c18d7afe52a1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:37:35.404 ***
alicE_unnamed_1192@localhost/res1 in
<iq id='77244f00a8b31605e190c18d7afe52a1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unnamed_1192@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:37:35.404 ***
alicE_unnamed_1192@localhost/res1 out
<iq type='set' id='28cd57d16affff9ba57b574cc409cf0f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:35.404 ***
alicE_unnamed_1192@localhost/res1 in
<iq type='result' id='28cd57d16affff9ba57b574cc409cf0f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:37:35.404 ***
alicE_unnamed_1192@localhost/res1 out
<presence/>



*** User 2022-03-03 10:37:35.405 ***
alicE_unnamed_1192@localhost/res1 in
<presence from='alicE_unnamed_1192@localhost/res1' to='alice_unnamed_1192@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:37:35.405 ***
bOb_unnamed_1192@localhost/res1 out
<presence type='unavailable'/>



*** User 2022-03-03 10:37:35.405 ***
alicE_unnamed_1192@localhost/res1 out
<message to='bOb_unnamed_1192@localhost/res1' type='chat'>
	<body>OH, HAI!</body>
</message>



*** User 2022-03-03 10:37:40.406 ***
#{msg_inbox =>
      {messages,
          [{stanza,<0.10535.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 => 1646303855392942}},
           {stanza,<0.10535.1>,
               {xmlstreamend,<<"stream:stream">>},
               #{recv_timestamp => 1646303855392942}},
           {stanza,<0.10545.1>,
               {xmlel,<<"message">>,
                   [{<<"from">>,<<"alicE_unnamed_1192@localhost/res1">>},
                    {<<"to">>,<<"bOb_unnamed_1192@localhost/res1">>},
                    {<<"xml:lang">>,<<"en">>},
                    {<<"type">>,<<"chat">>}],
                   [{xmlel,<<"body">>,[],[{xmlcdata,<<"OH, HAI!">>}]}]},
               #{recv_timestamp => 1646303855406978}}]},
  result => nomatch}

*** User 2022-03-03 10:37:40.407 ***
alicE_unnamed_1192@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:37:40.407 ***
alicE_unnamed_1192@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:37:40.407 ***
bOb_unnamed_1192@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:37:40.407 ***
bOb_unnamed_1192@localhost/res1 in
</stream:stream>
*** CT 2022-03-03 10:37:40.409 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2342.html
*** CT 2022-03-03 10:37:40.409 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4753.html



=== Ended at 2022-03-03 10:37:40
=== successfully completed test case
=== === Returned value: ok