=== 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}]}]}]},
          {mod_pubsub,
              [{plugins,[<<"dag">>,<<"push">>]},
               {backend,rdbms},
               {nodetree,<<"dag">>},
               {host,{prefix,<<"pubsub.">>}}]}]},
     {watchdog,<0.9564.2>},
     {pubsub_host,real},
     {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.173570.html"},
     {tc_group_properties,
         [{name,integration_with_sm_and_offline_storage},parallel]},
     {tc_group_path,[[{name,pubsub_ful}]]},
     {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:37


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

*** User 2022-04-04 15:14:37.460 ***
bOb_sm_unack_messages_notified_default_plugin_2259@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:37.460 ***
bOb_sm_unack_messages_notified_default_plugin_2259@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e85f7184a701d848' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2022-04-04 15:14:37.462 ***
bOb_sm_unack_messages_notified_default_plugin_2259@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:37.463 ***
bOb_sm_unack_messages_notified_default_plugin_2259@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e435139c0cf92b93' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2022-04-04 15:14:37.464 ***
bOb_sm_unack_messages_notified_default_plugin_2259@localhost/escalus-default-resource out
<iq type='set' id='428c68e860473e751a1b70ff17c4a5ff'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:14:37.464 ***
bOb_sm_unack_messages_notified_default_plugin_2259@localhost/escalus-default-resource in
<iq type='result' id='428c68e860473e751a1b70ff17c4a5ff'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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



*** User 2022-04-04 15:14:37.475 ***
alicE_sm_unack_messages_notified_default_plugin_2261@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:37.476 ***
alicE_sm_unack_messages_notified_default_plugin_2261@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3f87e04fddea88d6' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2022-04-04 15:14:37.477 ***
alicE_sm_unack_messages_notified_default_plugin_2261@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:37.478 ***
alicE_sm_unack_messages_notified_default_plugin_2261@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='96e23093acab541c' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2022-04-04 15:14:37.478 ***
alicE_sm_unack_messages_notified_default_plugin_2261@localhost/escalus-default-resource out
<iq type='set' id='1df57445f2a082db1a979b8d2469b7a1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:14:37.478 ***
alicE_sm_unack_messages_notified_default_plugin_2261@localhost/escalus-default-resource in
<iq type='result' id='1df57445f2a082db1a979b8d2469b7a1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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



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



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



*** User 2022-04-04 15:14:37.481 ***
alicE_sm_unack_messages_notified_default_plugin_2261@localhost/escalus-default-resource out
<iq type='set' id='eb5038299a6fa65aa7716740ede323b4' to='room-950eb894a3@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#create'>
		<configuration/>
		<occupants>
			<user affiliation='member'>bob_sm_unack_messages_notified_default_plugin_2259@localhost</user>
		</occupants>
	</query>
</iq>



*** User 2022-04-04 15:14:37.492 ***
alicE_sm_unack_messages_notified_default_plugin_2261@localhost/escalus-default-resource in
<message from='room-950eb894a3@muclight.localhost' to='alice_sm_unack_messages_notified_default_plugin_2261@localhost' id='eb5038299a6fa65aa7716740ede323b4' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1649-85277-487508</version>
		<user affiliation='owner'>alice_sm_unack_messages_notified_default_plugin_2261@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-04-04 15:14:37.492 ***
bOb_sm_unack_messages_notified_default_plugin_2259@localhost/escalus-default-resource in
<message from='room-950eb894a3@muclight.localhost' to='bob_sm_unack_messages_notified_default_plugin_2259@localhost' id='eb5038299a6fa65aa7716740ede323b4' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1649-85277-487508</version>
		<user affiliation='member'>bob_sm_unack_messages_notified_default_plugin_2259@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-04-04 15:14:37.492 ***
alicE_sm_unack_messages_notified_default_plugin_2261@localhost/escalus-default-resource in
<iq from='room-950eb894a3@muclight.localhost' to='alicE_sm_unack_messages_notified_default_plugin_2261@localhost/escalus-default-resource' id='eb5038299a6fa65aa7716740ede323b4' type='result'/>



*** User 2022-04-04 15:14:37.492 ***
alicE_sm_unack_messages_notified_default_plugin_2261@localhost/escalus-default-resource out
<iq to='pubsub.localhost' type='set' id='alicE_sm_unack_messages_notified_default_plugin_2261-pubsub.localhost-princely_musings_Jz+nMGhVFyA=-create_node' from='alicE_sm_unack_messages_notified_default_plugin_2261@localhost/escalus-default-resource'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create type='push' node='princely_musings_Jz+nMGhVFyA='/>
		<configure>
			<x xmlns='jabber:x:data' type='submit'>
				<field var='FORM_TYPE' type='hidden'>
					<value>http://jabber.org/protocol/pubsub#node_config</value>
				</field>
				<field var='pubsub#access_model'>
					<value>whitelist</value>
				</field>
				<field var='pubsub#publish_model'>
					<value>publishers</value>
				</field>
			</x>
		</configure>
	</pubsub>
</iq>



*** User 2022-04-04 15:14:37.497 ***
alicE_sm_unack_messages_notified_default_plugin_2261@localhost/escalus-default-resource in
<iq from='pubsub.localhost' to='alicE_sm_unack_messages_notified_default_plugin_2261@localhost/escalus-default-resource' id='alicE_sm_unack_messages_notified_default_plugin_2261-pubsub.localhost-princely_musings_Jz+nMGhVFyA=-create_node' type='result'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create node='princely_musings_Jz+nMGhVFyA='/>
	</pubsub>
</iq>



*** User 2022-04-04 15:14:37.497 ***
alicE_sm_unack_messages_notified_default_plugin_2261@localhost/escalus-default-resource out
<iq to='pubsub.localhost' type='set' id='VOSHYgc=' from='alicE_sm_unack_messages_notified_default_plugin_2261@localhost/escalus-default-resource'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
		<affiliations node='princely_musings_Jz+nMGhVFyA='>
			<affiliation jid='localhost' affiliation='publish-only'/>
		</affiliations>
	</pubsub>
</iq>



*** User 2022-04-04 15:14:37.499 ***
alicE_sm_unack_messages_notified_default_plugin_2261@localhost/escalus-default-resource in
<iq from='pubsub.localhost' to='alicE_sm_unack_messages_notified_default_plugin_2261@localhost/escalus-default-resource' id='VOSHYgc=' type='result'/>



*** User 2022-04-04 15:14:37.499 ***
alicE_sm_unack_messages_notified_default_plugin_2261@localhost/escalus-default-resource out
<iq type='set' id='4d9bb6227b02913454f0f163457bbaa6'>
	<enable xmlns='urn:xmpp:push:0' jid='pubsub.localhost' node='princely_musings_Jz+nMGhVFyA='>
		<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>9786GG951LJ1NMI36KJBA5K93J2I</value>
			</field>
		</x>
	</enable>
</iq>



*** User 2022-04-04 15:14:37.818 ***
alicE_sm_unack_messages_notified_default_plugin_2261@localhost/escalus-default-resource in
<iq from='alicE_sm_unack_messages_notified_default_plugin_2261@localhost' to='alicE_sm_unack_messages_notified_default_plugin_2261@localhost/escalus-default-resource' id='4d9bb6227b02913454f0f163457bbaa6' type='result'/>



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



*** User 2022-04-04 15:14:37.822 ***
alicE_sm_unack_messages_notified_default_plugin_2261@localhost/escalus-default-resource in
<message from='bOb_sm_unack_messages_notified_default_plugin_2259@localhost/escalus-default-resource' to='alice_sm_unack_messages_notified_default_plugin_2261@localhost' xml:lang='en' type='chat'>
	<body>msg-0</body>
</message>



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



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



*** User 2022-04-04 15:14:37.824 ***
alicE_sm_unack_messages_notified_default_plugin_2261@localhost/escalus-default-resource in
<message from='bOb_sm_unack_messages_notified_default_plugin_2259@localhost/escalus-default-resource' to='alice_sm_unack_messages_notified_default_plugin_2261@localhost' xml:lang='en' type='chat'>
	<body>msg-1</body>
</message>



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



*** User 2022-04-04 15:14:37.829 ***
alicE_sm_unack_messages_notified_default_plugin_2261@localhost/escalus-default-resource in
<message from='room-950eb894a3@muclight.localhost/bob_sm_unack_messages_notified_default_plugin_2259@localhost' to='alice_sm_unack_messages_notified_default_plugin_2261@localhost' id='1649-85277-826429' type='groupchat'>
	<body>msg-2</body>
</message>



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

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

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

*** User 2022-04-04 15:14:38.743 ***
bOb_sm_unack_messages_notified_default_plugin_2259@localhost/escalus-default-resource in
</stream:stream>
*** CT 2022-04-04 15:14:38.746 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1974.html
*** CT 2022-04-04 15:14:38.747 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4898.html



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