=== 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,
              #{access_max_user_messages => max_user_offline_messages,
                backend => mnesia,store_groupchat_messages => false}},
          {mod_push_service_mongoosepush,
              #{api_version => <<"v3">>,max_http_connections => 100,
                pool_name => mongoose_push_http}},
          {mod_event_pusher,
              #{push =>
                    #{backend => rdbms,iqdisc => one_queue,
                      plugin_module => mod_event_pusher_push_plugin_defaults,
                      virtual_pubsub_hosts => [{prefix,<<"virtual.">>}],
                      wpool =>
                          #{call_timeout => 5000,strategy => available_worker,
                            workers => 10}}}}]},
     {watchdog,<0.12750.2>},
     {pubsub_host,virtual},
     {mim_data_dir,
         "/home/circleci/project/big_tests/tests/push_integration_SUITE_data"},
     {preset,"mysql_redis"},
     {tc_logfile,
         "/home/circleci/project/big_tests/ct_report/ct_run.test@f547f21cc62a.2022-05-11_08.56.42/big_tests.tests.push_integration_SUITE.logs/run.2022-05-11_09.08.44/push_integration_suite.sm_unack_messages_notified_default_plugin.150146.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@f547f21cc62a.2022-05-11_08.56.42/big_tests.tests.push_integration_SUITE.logs/run.2022-05-11_09.08.44/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 => #{iqdisc => no_queue},
        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"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        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@f547f21cc62a.2022-05-11_08.56.42"

=== Started at 2022-05-11 09:08:58


*** CT 2022-05-11 09:08:58.355 *** View log from node mongooseim@localhost when started mongooseim@localhost_5277.html
*** CT 2022-05-11 09:08:58.356 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1721.html

*** User 2022-05-11 09:08:58.381 ***
bOb_sm_unack_messages_notified_default_plugin_2450@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-11 09:08:58.381 ***
bOb_sm_unack_messages_notified_default_plugin_2450@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d938b02453b4954b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:08:58.381 ***
bOb_sm_unack_messages_notified_default_plugin_2450@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-05-11 09:08:58.382 ***
bOb_sm_unack_messages_notified_default_plugin_2450@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zbV91bmFja19tZXNzYWdlc19ub3RpZmllZF9kZWZhdWx0X3BsdWdpbl8yNDUwAG1ha3JvbGlrYQ==</auth>



*** User 2022-05-11 09:08:58.382 ***
bOb_sm_unack_messages_notified_default_plugin_2450@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 09:08:58.382 ***
bOb_sm_unack_messages_notified_default_plugin_2450@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-11 09:08:58.382 ***
bOb_sm_unack_messages_notified_default_plugin_2450@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aa1365cf0001762a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:08:58.383 ***
bOb_sm_unack_messages_notified_default_plugin_2450@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-05-11 09:08:58.383 ***
bOb_sm_unack_messages_notified_default_plugin_2450@localhost out
<iq type='set' id='7a45d303d4e13bacae9854780500b613'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2022-05-11 09:08:58.383 ***
bOb_sm_unack_messages_notified_default_plugin_2450@localhost in
<iq id='7a45d303d4e13bacae9854780500b613' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_sm_unack_messages_notified_default_plugin_2450@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2022-05-11 09:08:58.383 ***
bOb_sm_unack_messages_notified_default_plugin_2450@localhost/escalus-default-resource out
<iq type='set' id='3be14fd586f155cff0c635d36a3adc46'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:08:58.383 ***
bOb_sm_unack_messages_notified_default_plugin_2450@localhost/escalus-default-resource in
<iq type='result' id='3be14fd586f155cff0c635d36a3adc46'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:08:58.384 ***
bOb_sm_unack_messages_notified_default_plugin_2450@localhost/escalus-default-resource out
<presence/>



*** User 2022-05-11 09:08:58.386 ***
bOb_sm_unack_messages_notified_default_plugin_2450@localhost/escalus-default-resource in
<presence from='bOb_sm_unack_messages_notified_default_plugin_2450@localhost/escalus-default-resource' to='bob_sm_unack_messages_notified_default_plugin_2450@localhost/escalus-default-resource' xml:lang='en'/>



*** User 2022-05-11 09:08:58.396 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-11 09:08:58.396 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='01b0a05a7912c8dd' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:08:58.396 ***
alicE_sm_unack_messages_notified_default_plugin_2452@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-05-11 09:08:58.396 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NtX3VuYWNrX21lc3NhZ2VzX25vdGlmaWVkX2RlZmF1bHRfcGx1Z2luXzI0NTIAbWF0eWdyeXNh</auth>



*** User 2022-05-11 09:08:58.397 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 09:08:58.397 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-11 09:08:58.397 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='437da3a937de5379' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:08:58.398 ***
alicE_sm_unack_messages_notified_default_plugin_2452@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-05-11 09:08:58.398 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost out
<iq type='set' id='a91390d9d41be400d9fb1dcf1d672edb'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2022-05-11 09:08:58.398 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost in
<iq id='a91390d9d41be400d9fb1dcf1d672edb' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_sm_unack_messages_notified_default_plugin_2452@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2022-05-11 09:08:58.398 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost/escalus-default-resource out
<iq type='set' id='322575bfddf73d7b58b492d4a19c1dfa'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:08:58.398 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost/escalus-default-resource in
<iq type='result' id='322575bfddf73d7b58b492d4a19c1dfa'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:08:58.398 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost/escalus-default-resource out
<enable xmlns='urn:xmpp:sm:3'/>



*** User 2022-05-11 09:08:58.407 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost/escalus-default-resource in
<enabled xmlns='urn:xmpp:sm:3'/>



*** User 2022-05-11 09:08:58.407 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost/escalus-default-resource out
<presence/>



*** User 2022-05-11 09:08:58.409 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost/escalus-default-resource in
<presence from='alicE_sm_unack_messages_notified_default_plugin_2452@localhost/escalus-default-resource' to='alice_sm_unack_messages_notified_default_plugin_2452@localhost/escalus-default-resource' xml:lang='en'/>



*** User 2022-05-11 09:08:58.409 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost/escalus-default-resource out
<iq type='set' id='e94474fcab61cfce8927b4479393c1dd' to='room-d8daafb01f@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#create'>
		<configuration/>
		<occupants>
			<user affiliation='member'>bob_sm_unack_messages_notified_default_plugin_2450@localhost</user>
		</occupants>
	</query>
</iq>



*** User 2022-05-11 09:08:58.420 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost/escalus-default-resource in
<message from='room-d8daafb01f@muclight.localhost' to='alice_sm_unack_messages_notified_default_plugin_2452@localhost' id='e94474fcab61cfce8927b4479393c1dd' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1652-260138-409810</version>
		<user affiliation='owner'>alice_sm_unack_messages_notified_default_plugin_2452@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-05-11 09:08:58.420 ***
bOb_sm_unack_messages_notified_default_plugin_2450@localhost/escalus-default-resource in
<message from='room-d8daafb01f@muclight.localhost' to='bob_sm_unack_messages_notified_default_plugin_2450@localhost' id='e94474fcab61cfce8927b4479393c1dd' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1652-260138-409810</version>
		<user affiliation='member'>bob_sm_unack_messages_notified_default_plugin_2450@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-05-11 09:08:58.420 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost/escalus-default-resource in
<iq from='room-d8daafb01f@muclight.localhost' to='alicE_sm_unack_messages_notified_default_plugin_2452@localhost/escalus-default-resource' id='e94474fcab61cfce8927b4479393c1dd' type='result'/>



*** User 2022-05-11 09:08:58.420 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost/escalus-default-resource out
<iq type='set' id='7f30f222d41c3cbe76f39d3cb4c4b28f'>
	<enable xmlns='urn:xmpp:push:0' jid='virtual.localhost' node='princely_musings_92GOakdMgD8='>
		<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>3M617KIF96608NC6MJH456ID1EA1</value>
			</field>
		</x>
	</enable>
</iq>



*** User 2022-05-11 09:08:58.430 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost/escalus-default-resource in
<iq from='alicE_sm_unack_messages_notified_default_plugin_2452@localhost' to='alicE_sm_unack_messages_notified_default_plugin_2452@localhost/escalus-default-resource' id='7f30f222d41c3cbe76f39d3cb4c4b28f' type='result'/>



*** User 2022-05-11 09:08:58.431 ***
bOb_sm_unack_messages_notified_default_plugin_2450@localhost/escalus-default-resource out
<message to='alice_sm_unack_messages_notified_default_plugin_2452@localhost' type='chat'>
	<body>msg-0</body>
</message>



*** User 2022-05-11 09:08:58.432 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost/escalus-default-resource in
<message from='bOb_sm_unack_messages_notified_default_plugin_2450@localhost/escalus-default-resource' to='alice_sm_unack_messages_notified_default_plugin_2452@localhost' xml:lang='en' type='chat'>
	<body>msg-0</body>
</message>



*** User 2022-05-11 09:08:58.432 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost/escalus-default-resource out
<a xmlns='urn:xmpp:sm:3' h='5'/>



*** User 2022-05-11 09:08:58.433 ***
bOb_sm_unack_messages_notified_default_plugin_2450@localhost/escalus-default-resource out
<message to='alice_sm_unack_messages_notified_default_plugin_2452@localhost' type='chat'>
	<body>msg-1</body>
</message>



*** User 2022-05-11 09:08:58.434 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost/escalus-default-resource in
<message from='bOb_sm_unack_messages_notified_default_plugin_2450@localhost/escalus-default-resource' to='alice_sm_unack_messages_notified_default_plugin_2452@localhost' xml:lang='en' type='chat'>
	<body>msg-1</body>
</message>



*** User 2022-05-11 09:08:58.434 ***
bOb_sm_unack_messages_notified_default_plugin_2450@localhost/escalus-default-resource out
<message to='room-d8daafb01f@muclight.localhost' type='groupchat'>
	<body>msg-2</body>
</message>



*** User 2022-05-11 09:08:58.436 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost/escalus-default-resource in
<message from='room-d8daafb01f@muclight.localhost/bob_sm_unack_messages_notified_default_plugin_2450@localhost' to='alice_sm_unack_messages_notified_default_plugin_2452@localhost' id='1652-260138-435128' type='groupchat'>
	<body>msg-2</body>
</message>



*** User 2022-05-11 09:08:58.436 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost/escalus-default-resource out
</stream:stream>

*** User 2022-05-11 09:08:58.436 ***
alicE_sm_unack_messages_notified_default_plugin_2452@localhost/escalus-default-resource in
</stream:stream>

*** User 2022-05-11 09:08:58.940 ***
bOb_sm_unack_messages_notified_default_plugin_2450@localhost/escalus-default-resource out
</stream:stream>

*** User 2022-05-11 09:08:58.940 ***
bOb_sm_unack_messages_notified_default_plugin_2450@localhost/escalus-default-resource in
</stream:stream>
*** CT 2022-05-11 09:08:58.943 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1721.html
*** CT 2022-05-11 09:08:58.944 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5277.html



=== Ended at 2022-05-11 09:08:58
=== successfully completed test case
=== === Returned value: already_stopped