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

=== Config value:

    [{watchdog,<0.82033.0>},
     {pubsub_host,virtual},
     {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@ffe67ba8737e.2024-04-25_12.01.32/big_tests.tests.push_SUITE.logs/run.2024-04-25_12.17.31/push_suite.pm_msg_notify_stops_after_removal.119300.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@ffe67ba8737e.2024-04-25_12.01.32/big_tests.tests.push_SUITE.logs/run.2024-04-25_12.17.31/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_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_amp => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        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@ffe67ba8737e.2024-04-25_12.01.32"

=== Started at 2024-04-25 12:17:42


*** CT 2024-04-25 12:17:42.779 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4725.html

*** User 2024-04-25 12:17:42.791 ***🔗
bOb_unnamed_3286@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-25 12:17:42.792 ***🔗
bOb_unnamed_3286@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ca8db337abf8fab3' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 12:17:42.792 ***🔗
bOb_unnamed_3286@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-25 12:17:42.792 ***🔗
bOb_unnamed_3286@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzMyODYAbWFrcm9saWth</auth>



*** User 2024-04-25 12:17:42.793 ***🔗
bOb_unnamed_3286@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 12:17:42.793 ***🔗
bOb_unnamed_3286@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-25 12:17:42.797 ***🔗
bOb_unnamed_3286@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='91d050dd19100e60' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_3286@localhost'>

*** User 2024-04-25 12:17:42.797 ***🔗
bOb_unnamed_3286@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-25 12:17:42.798 ***🔗
bOb_unnamed_3286@localhost/res1 out
<iq type='set' id='4503d0f950907419643d458829e40a37'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 12:17:42.805 ***🔗
bOb_unnamed_3286@localhost/res1 in
<iq id='4503d0f950907419643d458829e40a37' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unnamed_3286@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 12:17:42.806 ***🔗
bob_unnamed_3286@localhost/res1 out
<iq type='set' id='161c50ee6ad1e88e4e5d6e2a1a1ad0d6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 12:17:42.806 ***🔗
bob_unnamed_3286@localhost/res1 in
<iq from='localhost' to='bob_unnamed_3286@localhost/res1' id='161c50ee6ad1e88e4e5d6e2a1a1ad0d6' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 12:17:42.807 ***🔗
bob_unnamed_3286@localhost/res1 out
<presence/>



*** User 2024-04-25 12:17:42.815 ***🔗
bob_unnamed_3286@localhost/res1 in
<presence from='bob_unnamed_3286@localhost/res1' to='bob_unnamed_3286@localhost/res1'/>



*** User 2024-04-25 12:17:42.815 ***🔗
bob_unnamed_3286@localhost/res1 out
<iq type='set' id='7d74b1aa7f6f3cc1a190f1f51f34a440'>
	<enable xmlns='urn:xmpp:push:0' jid='pm_msg_notify_stops_after_removal_62.788860@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-04-25 12:17:42.844 ***🔗
bob_unnamed_3286@localhost/res1 in
<iq from='bob_unnamed_3286@localhost' to='bob_unnamed_3286@localhost/res1' id='7d74b1aa7f6f3cc1a190f1f51f34a440' type='result'/>



*** User 2024-04-25 12:17:42.846 ***🔗
bob_unnamed_3286@localhost/res1 out
<iq type='set' id='41e19d20649d253c485656d87c39b2a7'>
	<query xmlns='jabber:iq:register'>
		<remove/>
	</query>
</iq>



*** User 2024-04-25 12:17:42.852 ***🔗
bob_unnamed_3286@localhost/res1 in
<iq from='' to='bob_unnamed_3286@localhost/res1' id='41e19d20649d253c485656d87c39b2a7' type='result'/>



*** User 2024-04-25 12:17:42.871 ***🔗
bOb_unnamed_3286@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-25 12:17:42.872 ***🔗
bOb_unnamed_3286@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ed888202b3e37223' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 12:17:42.873 ***🔗
bOb_unnamed_3286@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-25 12:17:42.873 ***🔗
bOb_unnamed_3286@localhost out
<iq type='get' id='8f912948f1f928c8b93712464e9d0be1'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2024-04-25 12:17:42.873 ***🔗
bOb_unnamed_3286@localhost in
<iq from='localhost' to='localhost' id='8f912948f1f928c8b93712464e9d0be1' 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-25 12:17:42.873 ***🔗
bOb_unnamed_3286@localhost out
<iq type='set' id='0a10d59116a7918b2b9b8b5e7e43755c'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_unnamed_3286</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2024-04-25 12:17:42.878 ***🔗
bOb_unnamed_3286@localhost in
<iq from='localhost' to='localhost' id='0a10d59116a7918b2b9b8b5e7e43755c' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>bOb_unnamed_3286</username>
		<password>makrolika</password>
	</query>
</iq>



*** User 2024-04-25 12:17:42.878 ***🔗
bOb_unnamed_3286@localhost out
</stream:stream>

*** User 2024-04-25 12:17:42.878 ***🔗
bOb_unnamed_3286@localhost in
</stream:stream>

*** User 2024-04-25 12:17:42.879 ***🔗
bOb_unnamed_3286@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-25 12:17:42.880 ***🔗
bOb_unnamed_3286@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ab9d22c6635a7781' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 12:17:42.880 ***🔗
bOb_unnamed_3286@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-25 12:17:42.880 ***🔗
bOb_unnamed_3286@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzMyODYAbWFrcm9saWth</auth>



*** User 2024-04-25 12:17:42.881 ***🔗
bOb_unnamed_3286@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 12:17:42.881 ***🔗
bOb_unnamed_3286@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-25 12:17:42.882 ***🔗
bOb_unnamed_3286@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='96eb2633961ba43e' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_3286@localhost'>

*** User 2024-04-25 12:17:42.882 ***🔗
bOb_unnamed_3286@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-25 12:17:42.882 ***🔗
bOb_unnamed_3286@localhost/res1 out
<iq type='set' id='38c88154e604b1e797b8586fb285b6a8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 12:17:42.882 ***🔗
bOb_unnamed_3286@localhost/res1 in
<iq id='38c88154e604b1e797b8586fb285b6a8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unnamed_3286@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 12:17:42.882 ***🔗
bob_unnamed_3286@localhost/res1 out
<iq type='set' id='7ae5f3400692eca182e75d535f282624'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 12:17:42.883 ***🔗
bob_unnamed_3286@localhost/res1 in
<iq from='localhost' to='bob_unnamed_3286@localhost/res1' id='7ae5f3400692eca182e75d535f282624' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 12:17:42.884 ***🔗
bob_unnamed_3286@localhost/res1 out
<presence/>



*** User 2024-04-25 12:17:42.894 ***🔗
bob_unnamed_3286@localhost/res1 in
<presence from='bob_unnamed_3286@localhost/res1' to='bob_unnamed_3286@localhost/res1'/>



*** User 2024-04-25 12:17:42.901 ***🔗
alicE_unnamed_3286@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-25 12:17:42.902 ***🔗
alicE_unnamed_3286@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3892e3be55d28256' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 12:17:42.902 ***🔗
alicE_unnamed_3286@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-25 12:17:42.902 ***🔗
alicE_unnamed_3286@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMzI4NgBtYXR5Z3J5c2E=</auth>



*** User 2024-04-25 12:17:42.912 ***🔗
alicE_unnamed_3286@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 12:17:42.912 ***🔗
alicE_unnamed_3286@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-25 12:17:42.912 ***🔗
alicE_unnamed_3286@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7e59d4e76ed4e55f' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_3286@localhost'>

*** User 2024-04-25 12:17:42.912 ***🔗
alicE_unnamed_3286@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-25 12:17:42.913 ***🔗
alicE_unnamed_3286@localhost/res1 out
<iq type='set' id='dd426455f7ea4c9f8bcbe65bb56313b9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 12:17:42.914 ***🔗
alicE_unnamed_3286@localhost/res1 in
<iq id='dd426455f7ea4c9f8bcbe65bb56313b9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unnamed_3286@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 12:17:42.914 ***🔗
alice_unnamed_3286@localhost/res1 out
<iq type='set' id='9b7cb02b6df1a459d7483a6007321829'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 12:17:42.916 ***🔗
alice_unnamed_3286@localhost/res1 in
<iq from='localhost' to='alice_unnamed_3286@localhost/res1' id='9b7cb02b6df1a459d7483a6007321829' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 12:17:42.916 ***🔗
alice_unnamed_3286@localhost/res1 out
<presence/>



*** User 2024-04-25 12:17:42.920 ***🔗
alice_unnamed_3286@localhost/res1 in
<presence from='alice_unnamed_3286@localhost/res1' to='alice_unnamed_3286@localhost/res1'/>



*** User 2024-04-25 12:17:42.920 ***🔗
bob_unnamed_3286@localhost/res1 out
<presence type='unavailable'/>



*** User 2024-04-25 12:17:43.023 ***🔗
waiting for wait_for_user_offline is done in 100 miliseconds

*** User 2024-04-25 12:17:43.023 ***🔗
alice_unnamed_3286@localhost/res1 out
<message type='chat' to='bob_unnamed_3286@localhost/res1'>
	<body>OH, HAI!</body>
</message>



*** User 2024-04-25 12:17:48.024 ***🔗
#{result => nomatch,
  msg_inbox =>
      {messages,
          [{stanza,<0.82081.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 => 1714047462869462}},
           {stanza,<0.82081.0>,
               {xmlstreamend,<<"stream:stream">>},
               #{recv_timestamp => 1714047462869462}},
           {stanza,<0.82100.0>,
               {xmlel,<<"message">>,
                   [{<<"from">>,<<"alice_unnamed_3286@localhost/res1">>},
                    {<<"to">>,<<"bob_unnamed_3286@localhost/res1">>},
                    {<<"type">>,<<"chat">>}],
                   [{xmlel,<<"body">>,[],[{xmlcdata,<<"OH, HAI!">>}]}]},
               #{recv_timestamp => 1714047463026709}}]}}

*** User 2024-04-25 12:17:48.024 ***🔗
alice_unnamed_3286@localhost/res1 out
</stream:stream>

*** User 2024-04-25 12:17:48.025 ***🔗
alice_unnamed_3286@localhost/res1 in
</stream:stream>

*** User 2024-04-25 12:17:48.025 ***🔗
bob_unnamed_3286@localhost/res1 out
</stream:stream>

*** User 2024-04-25 12:17:48.025 ***🔗
bob_unnamed_3286@localhost/res1 in
</stream:stream>
*** CT 2024-04-25 12:17:48.029 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4725.html



=== Ended at 2024-04-25 12:17:48
=== successfully completed test case
=== === Returned value: ok