=== 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,
              #{all_can_configure => false,all_can_invite => false,
                backend => rdbms,blocking => true,
                config_schema =>
                    [{<<"roomname">>,<<"Untitled">>,roomname,binary},
                     {<<"subject">>,<<>>,subject,binary}],
                equal_occupants => false,
                host => {prefix,<<"muclight.">>},
                legacy_mode => false,max_occupants => infinity,
                rooms_in_rosters => true,rooms_per_page => 10,
                rooms_per_user => infinity}},
          {mod_stream_management,
              #{ack => true,ack_freq => never,backend => mnesia,
                buffer => true,buffer_max => 100,resume_timeout => 1,
                stale_h =>
                    #{enabled => false,geriatric => 3600,
                      repeat_after => 1800}}},
          {mod_offline,[]},
          {mod_push_service_mongoosepush,
              #{api_version => <<"v3">>,max_http_connections => 100,
                pool_name => mongoose_push_http}},
          {mod_event_pusher,
              [{backends,
                   [{push,
                        [{backend,rdbms},
                         {virtual_pubsub_hosts,
                             [{prefix,<<"virtual.">>}]}]}]}]}]},
     {watchdog,<0.10474.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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.push_integration_SUITE.logs/run.2022-04-04_15.14.32/push_integration_suite.sm_unack_messages_notified_default_plugin.176642.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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.push_integration_SUITE.logs/run.2022-04-04_15.14.32/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => [],
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => [],mod_commands => [],
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              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,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36"

=== Started at 2022-04-04 15:14:46


*** CT 2022-04-04 15:14:46.026 *** View log from node mongooseim@localhost when started mongooseim@localhost_4964.html
*** CT 2022-04-04 15:14:46.027 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1974.html

*** User 2022-04-04 15:14:46.036 ***
bOb_sm_unack_messages_notified_default_plugin_2304@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-04-04 15:14:46.037 ***
bOb_sm_unack_messages_notified_default_plugin_2304@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='451abe0cb04f128b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:14:46.037 ***
bOb_sm_unack_messages_notified_default_plugin_2304@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-04-04 15:14:46.037 ***
bOb_sm_unack_messages_notified_default_plugin_2304@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zbV91bmFja19tZXNzYWdlc19ub3RpZmllZF9kZWZhdWx0X3BsdWdpbl8yMzA0AG1ha3JvbGlrYQ==</auth>



*** User 2022-04-04 15:14:46.039 ***
bOb_sm_unack_messages_notified_default_plugin_2304@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:14:46.039 ***
bOb_sm_unack_messages_notified_default_plugin_2304@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-04-04 15:14:46.039 ***
bOb_sm_unack_messages_notified_default_plugin_2304@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e35a730d5951f5a4' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:14:46.039 ***
bOb_sm_unack_messages_notified_default_plugin_2304@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-04-04 15:14:46.039 ***
bOb_sm_unack_messages_notified_default_plugin_2304@localhost out
<iq type='set' id='bfcea6791303647e6f5d18307c075ef8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2022-04-04 15:14:46.040 ***
bOb_sm_unack_messages_notified_default_plugin_2304@localhost in
<iq id='bfcea6791303647e6f5d18307c075ef8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_sm_unack_messages_notified_default_plugin_2304@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2022-04-04 15:14:46.040 ***
bOb_sm_unack_messages_notified_default_plugin_2304@localhost/escalus-default-resource out
<iq type='set' id='6ba096faeececaf95134ff02ad8f6aab'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:14:46.040 ***
bOb_sm_unack_messages_notified_default_plugin_2304@localhost/escalus-default-resource in
<iq type='result' id='6ba096faeececaf95134ff02ad8f6aab'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:14:46.040 ***
bOb_sm_unack_messages_notified_default_plugin_2304@localhost/escalus-default-resource out
<presence/>



*** User 2022-04-04 15:14:46.043 ***
bOb_sm_unack_messages_notified_default_plugin_2304@localhost/escalus-default-resource in
<presence from='bOb_sm_unack_messages_notified_default_plugin_2304@localhost/escalus-default-resource' to='bob_sm_unack_messages_notified_default_plugin_2304@localhost/escalus-default-resource' xml:lang='en'/>



*** User 2022-04-04 15:14:46.046 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-04-04 15:14:46.046 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b8316ab7f6bd4468' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:14:46.046 ***
alicE_sm_unack_messages_notified_default_plugin_2307@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-04-04 15:14:46.046 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NtX3VuYWNrX21lc3NhZ2VzX25vdGlmaWVkX2RlZmF1bHRfcGx1Z2luXzIzMDcAbWF0eWdyeXNh</auth>



*** User 2022-04-04 15:14:46.048 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:14:46.048 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-04-04 15:14:46.048 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='420199ff6cb1b95f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:14:46.048 ***
alicE_sm_unack_messages_notified_default_plugin_2307@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-04-04 15:14:46.048 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost out
<iq type='set' id='705a16376fc4ea8143cb0eb4cdf69464'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2022-04-04 15:14:46.048 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost in
<iq id='705a16376fc4ea8143cb0eb4cdf69464' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_sm_unack_messages_notified_default_plugin_2307@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2022-04-04 15:14:46.048 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost/escalus-default-resource out
<iq type='set' id='64ad0245202214a83cd94f2d6dc31c7e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:14:46.049 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost/escalus-default-resource in
<iq type='result' id='64ad0245202214a83cd94f2d6dc31c7e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:14:46.049 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost/escalus-default-resource out
<enable xmlns='urn:xmpp:sm:3'/>



*** User 2022-04-04 15:14:46.050 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost/escalus-default-resource in
<enabled xmlns='urn:xmpp:sm:3'/>



*** User 2022-04-04 15:14:46.050 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost/escalus-default-resource out
<presence/>



*** User 2022-04-04 15:14:46.051 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost/escalus-default-resource in
<presence from='alicE_sm_unack_messages_notified_default_plugin_2307@localhost/escalus-default-resource' to='alice_sm_unack_messages_notified_default_plugin_2307@localhost/escalus-default-resource' xml:lang='en'/>



*** User 2022-04-04 15:14:46.052 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost/escalus-default-resource out
<iq type='set' id='ec5ee305d249b41aa95045ca2fd80dec' to='room-ace67278d5@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#create'>
		<configuration/>
		<occupants>
			<user affiliation='member'>bob_sm_unack_messages_notified_default_plugin_2304@localhost</user>
		</occupants>
	</query>
</iq>



*** User 2022-04-04 15:14:46.059 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost/escalus-default-resource in
<message from='room-ace67278d5@muclight.localhost' to='alice_sm_unack_messages_notified_default_plugin_2307@localhost' id='ec5ee305d249b41aa95045ca2fd80dec' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1649-85286-54702</version>
		<user affiliation='owner'>alice_sm_unack_messages_notified_default_plugin_2307@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-04-04 15:14:46.059 ***
bOb_sm_unack_messages_notified_default_plugin_2304@localhost/escalus-default-resource in
<message from='room-ace67278d5@muclight.localhost' to='bob_sm_unack_messages_notified_default_plugin_2304@localhost' id='ec5ee305d249b41aa95045ca2fd80dec' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1649-85286-54702</version>
		<user affiliation='member'>bob_sm_unack_messages_notified_default_plugin_2304@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-04-04 15:14:46.059 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost/escalus-default-resource in
<iq from='room-ace67278d5@muclight.localhost' to='alicE_sm_unack_messages_notified_default_plugin_2307@localhost/escalus-default-resource' id='ec5ee305d249b41aa95045ca2fd80dec' type='result'/>



*** User 2022-04-04 15:14:46.059 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost/escalus-default-resource out
<iq type='set' id='f19a11c5b62d7a9f8821be2c491248c6'>
	<enable xmlns='urn:xmpp:push:0' jid='virtual.localhost' node='princely_musings_.IESv14ThM4='>
		<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>B8ILNCA07EM3FNIM47JA60FH9AL2</value>
			</field>
		</x>
	</enable>
</iq>



*** User 2022-04-04 15:14:46.061 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost/escalus-default-resource in
<iq from='alicE_sm_unack_messages_notified_default_plugin_2307@localhost' to='alicE_sm_unack_messages_notified_default_plugin_2307@localhost/escalus-default-resource' id='f19a11c5b62d7a9f8821be2c491248c6' type='result'/>



*** User 2022-04-04 15:14:46.061 ***
bOb_sm_unack_messages_notified_default_plugin_2304@localhost/escalus-default-resource out
<message to='alice_sm_unack_messages_notified_default_plugin_2307@localhost' type='chat'>
	<body>msg-0</body>
</message>



*** User 2022-04-04 15:14:46.063 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost/escalus-default-resource in
<message from='bOb_sm_unack_messages_notified_default_plugin_2304@localhost/escalus-default-resource' to='alice_sm_unack_messages_notified_default_plugin_2307@localhost' xml:lang='en' type='chat'>
	<body>msg-0</body>
</message>



*** User 2022-04-04 15:14:46.063 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost/escalus-default-resource out
<a xmlns='urn:xmpp:sm:3' h='5'/>



*** User 2022-04-04 15:14:46.063 ***
bOb_sm_unack_messages_notified_default_plugin_2304@localhost/escalus-default-resource out
<message to='alice_sm_unack_messages_notified_default_plugin_2307@localhost' type='chat'>
	<body>msg-1</body>
</message>



*** User 2022-04-04 15:14:46.064 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost/escalus-default-resource in
<message from='bOb_sm_unack_messages_notified_default_plugin_2304@localhost/escalus-default-resource' to='alice_sm_unack_messages_notified_default_plugin_2307@localhost' xml:lang='en' type='chat'>
	<body>msg-1</body>
</message>



*** User 2022-04-04 15:14:46.064 ***
bOb_sm_unack_messages_notified_default_plugin_2304@localhost/escalus-default-resource out
<message to='room-ace67278d5@muclight.localhost' type='groupchat'>
	<body>msg-2</body>
</message>



*** User 2022-04-04 15:14:46.068 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost/escalus-default-resource in
<message from='room-ace67278d5@muclight.localhost/bob_sm_unack_messages_notified_default_plugin_2304@localhost' to='alice_sm_unack_messages_notified_default_plugin_2307@localhost' id='1649-85286-65916' type='groupchat'>
	<body>msg-2</body>
</message>



*** User 2022-04-04 15:14:46.068 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost/escalus-default-resource out
</stream:stream>

*** User 2022-04-04 15:14:46.068 ***
alicE_sm_unack_messages_notified_default_plugin_2307@localhost/escalus-default-resource in
</stream:stream>

*** User 2022-04-04 15:14:46.573 ***
bOb_sm_unack_messages_notified_default_plugin_2304@localhost/escalus-default-resource out
</stream:stream>

*** User 2022-04-04 15:14:46.573 ***
bOb_sm_unack_messages_notified_default_plugin_2304@localhost/escalus-default-resource in
</stream:stream>
*** CT 2022-04-04 15:14:46.576 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1974.html
*** CT 2022-04-04 15:14:46.577 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4969.html



=== Ended at 2022-04-04 15:14:46
=== successfully completed test case
=== === Returned value: already_stopped