=== Test case: push_integration_SUITE:sm_unack_messages_notified_default_plugin/1 (click for source code)

=== Config value:

    [{api_v,"v3"},
     {required_modules,
         [{mod_muc_light,
              [{host,{fqdn,<<"muclight.localhost">>}},
               {backend,rdbms},
               {rooms_in_rosters,true}]},
          {mod_stream_management,[{ack_freq,never},{resume_timeout,1}]},
          {mod_offline,[]},
          {mod_push_service_mongoosepush,
              [{pool_name,mongoose_push_http},{api_version,"v3"}]},
          {mod_event_pusher,
              [{backends,
                   [{push,
                        [{backend,rdbms},
                         {virtual_pubsub_hosts,
                             [{prefix,<<"virtual.">>}]}]}]}]}]},
     {watchdog,<0.5938.2>},
     {pubsub_host,virtual},
     {mim_data_dir,
         "/home/circleci/project/big_tests/tests/push_integration_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,
         "/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.push_integration_SUITE.logs/run.2022-01-25_16.33.50/push_integration_suite.sm_unack_messages_notified_default_plugin.148098.html"},
     {tc_group_properties,
         [{name,integration_with_sm_and_offline_storage},parallel]},
     {tc_group_path,[[{name,pubsub_less}]]},
     {data_dir,
         "/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/push_integration_SUITE_data/"},
     {priv_dir,
         "/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.push_integration_SUITE.logs/run.2022-01-25_16.33.50/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 => [{backend,rdbms}],
        mod_sic => [],mod_stream_management => [],
        mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59"

=== Started at 2022-01-25 16:34:04


*** CT 2022-01-25 16:34:04.405 *** View log from node mongooseim@localhost when started mongooseim@localhost_5680.html
*** CT 2022-01-25 16:34:04.405 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2377.html

*** User 2022-01-25 16:34:04.410 ***
bOb_sm_unack_messages_notified_default_plugin_2191@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-25 16:34:04.410 ***
bOb_sm_unack_messages_notified_default_plugin_2191@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='caea2838544b1d00' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:34:04.411 ***
bOb_sm_unack_messages_notified_default_plugin_2191@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>SCRAM-SHA-256</mechanism>
		<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-25 16:34:04.411 ***
bOb_sm_unack_messages_notified_default_plugin_2191@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zbV91bmFja19tZXNzYWdlc19ub3RpZmllZF9kZWZhdWx0X3BsdWdpbl8yMTkxAG1ha3JvbGlrYQ==</auth>



*** User 2022-01-25 16:34:04.411 ***
bOb_sm_unack_messages_notified_default_plugin_2191@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:34:04.412 ***
bOb_sm_unack_messages_notified_default_plugin_2191@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-25 16:34:04.412 ***
bOb_sm_unack_messages_notified_default_plugin_2191@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='020b7d25bee0a55d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:34:04.412 ***
bOb_sm_unack_messages_notified_default_plugin_2191@localhost 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-25 16:34:04.412 ***
bOb_sm_unack_messages_notified_default_plugin_2191@localhost out
<iq type='set' id='6ae833c2d4d28ec9eb4ae37f4a1b2983'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2022-01-25 16:34:04.412 ***
bOb_sm_unack_messages_notified_default_plugin_2191@localhost in
<iq id='6ae833c2d4d28ec9eb4ae37f4a1b2983' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_sm_unack_messages_notified_default_plugin_2191@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2022-01-25 16:34:04.412 ***
bOb_sm_unack_messages_notified_default_plugin_2191@localhost/escalus-default-resource out
<iq type='set' id='524d582528d9cb5c0ac86a0654d8df35'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:34:04.413 ***
bOb_sm_unack_messages_notified_default_plugin_2191@localhost/escalus-default-resource in
<iq type='result' id='524d582528d9cb5c0ac86a0654d8df35'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:34:04.413 ***
bOb_sm_unack_messages_notified_default_plugin_2191@localhost/escalus-default-resource out
<presence/>



*** User 2022-01-25 16:34:04.415 ***
bOb_sm_unack_messages_notified_default_plugin_2191@localhost/escalus-default-resource in
<presence from='bOb_sm_unack_messages_notified_default_plugin_2191@localhost/escalus-default-resource' to='bob_sm_unack_messages_notified_default_plugin_2191@localhost/escalus-default-resource' xml:lang='en'/>



*** User 2022-01-25 16:34:04.417 ***
alicE_sm_unack_messages_notified_default_plugin_2193@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-25 16:34:04.417 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9fba60b84e8ab11d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:34:04.417 ***
alicE_sm_unack_messages_notified_default_plugin_2193@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>SCRAM-SHA-256</mechanism>
		<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-25 16:34:04.417 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NtX3VuYWNrX21lc3NhZ2VzX25vdGlmaWVkX2RlZmF1bHRfcGx1Z2luXzIxOTMAbWF0eWdyeXNh</auth>



*** User 2022-01-25 16:34:04.418 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:34:04.418 ***
alicE_sm_unack_messages_notified_default_plugin_2193@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-25 16:34:04.418 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8c8aa0f477a3aec3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:34:04.418 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost 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-25 16:34:04.419 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost out
<iq type='set' id='61b6ca533f03217f6bf95e5592908da4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2022-01-25 16:34:04.419 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost in
<iq id='61b6ca533f03217f6bf95e5592908da4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_sm_unack_messages_notified_default_plugin_2193@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2022-01-25 16:34:04.419 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost/escalus-default-resource out
<iq type='set' id='530ad660a67c30e326dd73bde0519731'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:34:04.419 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost/escalus-default-resource in
<iq type='result' id='530ad660a67c30e326dd73bde0519731'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:34:04.419 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost/escalus-default-resource out
<enable xmlns='urn:xmpp:sm:3'/>



*** User 2022-01-25 16:34:04.420 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost/escalus-default-resource in
<enabled xmlns='urn:xmpp:sm:3'/>



*** User 2022-01-25 16:34:04.420 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost/escalus-default-resource out
<presence/>



*** User 2022-01-25 16:34:04.422 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost/escalus-default-resource in
<presence from='alicE_sm_unack_messages_notified_default_plugin_2193@localhost/escalus-default-resource' to='alice_sm_unack_messages_notified_default_plugin_2193@localhost/escalus-default-resource' xml:lang='en'/>



*** User 2022-01-25 16:34:04.422 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost/escalus-default-resource out
<iq type='set' id='4484ea9be22128f50e4091e1bbdb1082' to='room-a32a33a19b@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#create'>
		<configuration/>
		<occupants>
			<user affiliation='member'>bob_sm_unack_messages_notified_default_plugin_2191@localhost</user>
		</occupants>
	</query>
</iq>



*** User 2022-01-25 16:34:04.427 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost/escalus-default-resource in
<message from='room-a32a33a19b@muclight.localhost' to='alice_sm_unack_messages_notified_default_plugin_2193@localhost' id='4484ea9be22128f50e4091e1bbdb1082' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1643-128444-423776</version>
		<user affiliation='owner'>alice_sm_unack_messages_notified_default_plugin_2193@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-01-25 16:34:04.427 ***
bOb_sm_unack_messages_notified_default_plugin_2191@localhost/escalus-default-resource in
<message from='room-a32a33a19b@muclight.localhost' to='bob_sm_unack_messages_notified_default_plugin_2191@localhost' id='4484ea9be22128f50e4091e1bbdb1082' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1643-128444-423776</version>
		<user affiliation='member'>bob_sm_unack_messages_notified_default_plugin_2191@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-01-25 16:34:04.427 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost/escalus-default-resource in
<iq from='room-a32a33a19b@muclight.localhost' to='alicE_sm_unack_messages_notified_default_plugin_2193@localhost/escalus-default-resource' id='4484ea9be22128f50e4091e1bbdb1082' type='result'/>



*** User 2022-01-25 16:34:04.427 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost/escalus-default-resource out
<iq type='set' id='fcde27e74087291fcd65f7090e55268d'>
	<enable xmlns='urn:xmpp:push:0' jid='virtual.localhost' node='princely_musings_shnU6HH+BFo='>
		<x xmlns='jabber:x:data' type='submit'>
			<field var='FORM_TYPE'>
				<value>http://jabber.org/protocol/pubsub#publish-options</value>
			</field>
			<field var='service'>
				<value>fcm</value>
			</field>
			<field var='device_id'>
				<value>44E5M6EMEF4MAF837362IDCHG322</value>
			</field>
		</x>
	</enable>
</iq>



*** User 2022-01-25 16:34:04.429 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost/escalus-default-resource in
<iq from='alicE_sm_unack_messages_notified_default_plugin_2193@localhost' to='alicE_sm_unack_messages_notified_default_plugin_2193@localhost/escalus-default-resource' id='fcde27e74087291fcd65f7090e55268d' type='result'/>



*** User 2022-01-25 16:34:04.430 ***
bOb_sm_unack_messages_notified_default_plugin_2191@localhost/escalus-default-resource out
<message to='alice_sm_unack_messages_notified_default_plugin_2193@localhost' type='chat'>
	<body>msg-0</body>
</message>



*** User 2022-01-25 16:34:04.431 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost/escalus-default-resource in
<message from='bOb_sm_unack_messages_notified_default_plugin_2191@localhost/escalus-default-resource' to='alice_sm_unack_messages_notified_default_plugin_2193@localhost' xml:lang='en' type='chat'>
	<body>msg-0</body>
</message>



*** User 2022-01-25 16:34:04.431 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost/escalus-default-resource out
<a xmlns='urn:xmpp:sm:3' h='5'/>



*** User 2022-01-25 16:34:04.431 ***
bOb_sm_unack_messages_notified_default_plugin_2191@localhost/escalus-default-resource out
<message to='alice_sm_unack_messages_notified_default_plugin_2193@localhost' type='chat'>
	<body>msg-1</body>
</message>



*** User 2022-01-25 16:34:04.432 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost/escalus-default-resource in
<message from='bOb_sm_unack_messages_notified_default_plugin_2191@localhost/escalus-default-resource' to='alice_sm_unack_messages_notified_default_plugin_2193@localhost' xml:lang='en' type='chat'>
	<body>msg-1</body>
</message>



*** User 2022-01-25 16:34:04.433 ***
bOb_sm_unack_messages_notified_default_plugin_2191@localhost/escalus-default-resource out
<message to='room-a32a33a19b@muclight.localhost' type='groupchat'>
	<body>msg-2</body>
</message>



*** User 2022-01-25 16:34:04.436 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost/escalus-default-resource in
<message from='room-a32a33a19b@muclight.localhost/bob_sm_unack_messages_notified_default_plugin_2191@localhost' to='alice_sm_unack_messages_notified_default_plugin_2193@localhost' id='1643-128444-433999' type='groupchat'>
	<body>msg-2</body>
</message>



*** User 2022-01-25 16:34:04.436 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost/escalus-default-resource out
</stream:stream>

*** User 2022-01-25 16:34:04.436 ***
alicE_sm_unack_messages_notified_default_plugin_2193@localhost/escalus-default-resource in
</stream:stream>

*** User 2022-01-25 16:34:04.939 ***
bOb_sm_unack_messages_notified_default_plugin_2191@localhost/escalus-default-resource out
</stream:stream>

*** User 2022-01-25 16:34:04.940 ***
bOb_sm_unack_messages_notified_default_plugin_2191@localhost/escalus-default-resource in
</stream:stream>
*** CT 2022-01-25 16:34:04.942 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2377.html
*** CT 2022-01-25 16:34:04.943 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5687.html



=== Ended at 2022-01-25 16:34:04
=== successfully completed test case
=== === Returned value: already_stopped