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

=== Config value:

    [{api_v,"v3"},
     {required_modules,
         [{mod_inbox,
              [{aff_changes,false},
               {remove_on_kicked,true},
               {groupchat,[muclight]},
               {markers,[displayed]}]},
          {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.5603.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.inbox_msg_unread_count_fcm.116099.html"},
     {tc_group_properties,[{name,pm_notifications_with_inbox},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:03


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

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

*** User 2022-01-25 16:34:03.364 ***
bOb_inbox_msg_unread_count_fcm_2178@localhost/res1 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:03.364 ***
bOb_inbox_msg_unread_count_fcm_2178@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbmJveF9tc2dfdW5yZWFkX2NvdW50X2ZjbV8yMTc4AG1ha3JvbGlrYQ==</auth>



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



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

*** User 2022-01-25 16:34:03.365 ***
bOb_inbox_msg_unread_count_fcm_2178@localhost/res1 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:03.365 ***
bOb_inbox_msg_unread_count_fcm_2178@localhost/res1 out
<iq type='set' id='b816cd74b8eb387dce86973fee901c19'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:34:03.366 ***
bOb_inbox_msg_unread_count_fcm_2178@localhost/res1 in
<iq id='b816cd74b8eb387dce86973fee901c19' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_inbox_msg_unread_count_fcm_2178@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:34:03.366 ***
bOb_inbox_msg_unread_count_fcm_2178@localhost/res1 out
<iq type='set' id='931aeff99333d3b755d226f9d0ea5208'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:34:03.366 ***
bOb_inbox_msg_unread_count_fcm_2178@localhost/res1 in
<iq type='result' id='931aeff99333d3b755d226f9d0ea5208'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:34:03.366 ***
bOb_inbox_msg_unread_count_fcm_2178@localhost/res1 out
<presence/>



*** User 2022-01-25 16:34:03.368 ***
bOb_inbox_msg_unread_count_fcm_2178@localhost/res1 in
<presence from='bOb_inbox_msg_unread_count_fcm_2178@localhost/res1' to='bob_inbox_msg_unread_count_fcm_2178@localhost/res1' xml:lang='en'/>



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

*** User 2022-01-25 16:34:03.369 ***
alicE_inbox_msg_unread_count_fcm_2178@localhost/res1 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:03.369 ***
alicE_inbox_msg_unread_count_fcm_2178@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2luYm94X21zZ191bnJlYWRfY291bnRfZmNtXzIxNzgAbWF0eWdyeXNh</auth>



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



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

*** User 2022-01-25 16:34:03.370 ***
alicE_inbox_msg_unread_count_fcm_2178@localhost/res1 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:03.370 ***
alicE_inbox_msg_unread_count_fcm_2178@localhost/res1 out
<iq type='set' id='8d658606564fbedca8ba334f3c6dadcc'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:34:03.371 ***
alicE_inbox_msg_unread_count_fcm_2178@localhost/res1 in
<iq id='8d658606564fbedca8ba334f3c6dadcc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_inbox_msg_unread_count_fcm_2178@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:34:03.371 ***
alicE_inbox_msg_unread_count_fcm_2178@localhost/res1 out
<iq type='set' id='c434346c974f387b26b830c54a0d3993'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:34:03.371 ***
alicE_inbox_msg_unread_count_fcm_2178@localhost/res1 in
<iq type='result' id='c434346c974f387b26b830c54a0d3993'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:34:03.371 ***
alicE_inbox_msg_unread_count_fcm_2178@localhost/res1 out
<presence/>



*** User 2022-01-25 16:34:03.373 ***
alicE_inbox_msg_unread_count_fcm_2178@localhost/res1 in
<presence from='alicE_inbox_msg_unread_count_fcm_2178@localhost/res1' to='alice_inbox_msg_unread_count_fcm_2178@localhost/res1' xml:lang='en'/>



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

*** User 2022-01-25 16:34:03.374 ***
kate_inbox_msg_unread_count_fcm_2178@localhost/res1 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:03.374 ***
kate_inbox_msg_unread_count_fcm_2178@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfaW5ib3hfbXNnX3VucmVhZF9jb3VudF9mY21fMjE3OABtYWtyb3dlO3A=</auth>



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



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

*** User 2022-01-25 16:34:03.376 ***
kate_inbox_msg_unread_count_fcm_2178@localhost/res1 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:03.376 ***
kate_inbox_msg_unread_count_fcm_2178@localhost/res1 out
<iq type='set' id='cdc071ca732167760805782fb20e3882'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:34:03.376 ***
kate_inbox_msg_unread_count_fcm_2178@localhost/res1 in
<iq id='cdc071ca732167760805782fb20e3882' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_inbox_msg_unread_count_fcm_2178@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:34:03.376 ***
kate_inbox_msg_unread_count_fcm_2178@localhost/res1 out
<iq type='set' id='2c3a060ce6d7bf751d113c5ddd393a20'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:34:03.376 ***
kate_inbox_msg_unread_count_fcm_2178@localhost/res1 in
<iq type='result' id='2c3a060ce6d7bf751d113c5ddd393a20'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:34:03.376 ***
kate_inbox_msg_unread_count_fcm_2178@localhost/res1 out
<presence/>



*** User 2022-01-25 16:34:03.378 ***
kate_inbox_msg_unread_count_fcm_2178@localhost/res1 in
<presence from='kate_inbox_msg_unread_count_fcm_2178@localhost/res1' to='kate_inbox_msg_unread_count_fcm_2178@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:34:03.378 ***
bOb_inbox_msg_unread_count_fcm_2178@localhost/res1 out
<iq type='set' id='04945183ad31ecba81a1d459b72fe5a3'>
	<enable xmlns='urn:xmpp:push:0' jid='virtual.localhost' node='princely_musings_a2Z1V5ft6G8='>
		<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>EJNDLDCBMK0F06H812HEL3NLLK89</value>
			</field>
			<field var='silent'>
				<value>true</value>
			</field>
		</x>
	</enable>
</iq>



*** User 2022-01-25 16:34:03.380 ***
bOb_inbox_msg_unread_count_fcm_2178@localhost/res1 in
<iq from='bOb_inbox_msg_unread_count_fcm_2178@localhost' to='bOb_inbox_msg_unread_count_fcm_2178@localhost/res1' id='04945183ad31ecba81a1d459b72fe5a3' type='result'/>



*** User 2022-01-25 16:34:03.380 ***
bOb_inbox_msg_unread_count_fcm_2178@localhost/res1 out
<presence type='unavailable'/>



*** User 2022-01-25 16:34:03.381 ***
alicE_inbox_msg_unread_count_fcm_2178@localhost/res1 out
<message to='bob_inbox_msg_unread_count_fcm_2178@localhost' type='chat' id='b84808bc2cc012c7e12b757ab5db56e7'>
	<body>Private message</body>
</message>



*** User 2022-01-25 16:34:03.396 ***
kate_inbox_msg_unread_count_fcm_2178@localhost/res1 out
<message to='bob_inbox_msg_unread_count_fcm_2178@localhost' type='chat' id='da6c5b74be82f671c1d281f4315867f2'>
	<body>Private message</body>
</message>



*** User 2022-01-25 16:34:03.401 ***
alicE_inbox_msg_unread_count_fcm_2178@localhost/res1 out
<message to='bob_inbox_msg_unread_count_fcm_2178@localhost' type='chat' id='ea2424232e06d0042d16a6f7e23eae7e'>
	<body>Private message</body>
</message>



*** User 2022-01-25 16:34:03.418 ***
alicE_inbox_msg_unread_count_fcm_2178@localhost/res1 out
<message to='bob_inbox_msg_unread_count_fcm_2178@localhost' type='chat' id='5b98ccddf58c0f9f5d1a9ac38ebe11a6'>
	<body>Private message</body>
</message>



*** User 2022-01-25 16:34:03.423 ***
kate_inbox_msg_unread_count_fcm_2178@localhost/res1 out
<message to='bob_inbox_msg_unread_count_fcm_2178@localhost' type='chat' id='4175bbba5241199137ef42a92d8b7703'>
	<body>Private message</body>
</message>



*** User 2022-01-25 16:34:03.427 ***
kate_inbox_msg_unread_count_fcm_2178@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:34:03.428 ***
kate_inbox_msg_unread_count_fcm_2178@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:34:03.429 ***
alicE_inbox_msg_unread_count_fcm_2178@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:34:03.429 ***
alicE_inbox_msg_unread_count_fcm_2178@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:34:03.429 ***
bOb_inbox_msg_unread_count_fcm_2178@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:34:03.429 ***
bOb_inbox_msg_unread_count_fcm_2178@localhost/res1 in
</stream:stream>
*** CT 2022-01-25 16:34:03.432 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2377.html
*** CT 2022-01-25 16:34:03.432 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5629.html



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