=== 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.6221.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.push_integration_SUITE.logs/run.2022-01-27_15.36.19/push_integration_suite.inbox_msg_unread_count_fcm.73988.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.push_integration_SUITE.logs/run.2022-01-27_15.36.19/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@43a5deef6262.2022-01-27_15.25.11"

=== Started at 2022-01-27 15:36:32


*** CT 2022-01-27 15:36:32.931 *** View log from node mongooseim@localhost when started mongooseim@localhost_5629.html
*** CT 2022-01-27 15:36:32.932 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2385.html

*** User 2022-01-27 15:36:32.956 ***
bOb_inbox_msg_unread_count_fcm_2110@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-27 15:36:32.957 ***
bOb_inbox_msg_unread_count_fcm_2110@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='55d75db5d7624f60' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:36:32.957 ***
bOb_inbox_msg_unread_count_fcm_2110@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-27 15:36:32.957 ***
bOb_inbox_msg_unread_count_fcm_2110@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbmJveF9tc2dfdW5yZWFkX2NvdW50X2ZjbV8yMTEwAG1ha3JvbGlrYQ==</auth>



*** User 2022-01-27 15:36:32.958 ***
bOb_inbox_msg_unread_count_fcm_2110@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:36:32.958 ***
bOb_inbox_msg_unread_count_fcm_2110@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-27 15:36:32.959 ***
bOb_inbox_msg_unread_count_fcm_2110@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8525a2523b73ead9' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:36:32.959 ***
bOb_inbox_msg_unread_count_fcm_2110@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-27 15:36:32.959 ***
bOb_inbox_msg_unread_count_fcm_2110@localhost/res1 out
<iq type='set' id='b55b4c976a2cd1a23f842e75417936ef'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:36:32.959 ***
bOb_inbox_msg_unread_count_fcm_2110@localhost/res1 in
<iq id='b55b4c976a2cd1a23f842e75417936ef' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_inbox_msg_unread_count_fcm_2110@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:36:32.959 ***
bOb_inbox_msg_unread_count_fcm_2110@localhost/res1 out
<iq type='set' id='e19a4e0fb18bfb91882a4fa98ed8c65d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:36:32.960 ***
bOb_inbox_msg_unread_count_fcm_2110@localhost/res1 in
<iq type='result' id='e19a4e0fb18bfb91882a4fa98ed8c65d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:36:32.960 ***
bOb_inbox_msg_unread_count_fcm_2110@localhost/res1 out
<presence/>



*** User 2022-01-27 15:36:32.961 ***
bOb_inbox_msg_unread_count_fcm_2110@localhost/res1 in
<presence from='bOb_inbox_msg_unread_count_fcm_2110@localhost/res1' to='bob_inbox_msg_unread_count_fcm_2110@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:36:32.962 ***
alicE_inbox_msg_unread_count_fcm_2110@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-27 15:36:32.962 ***
alicE_inbox_msg_unread_count_fcm_2110@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c3e3d01fa460c338' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:36:32.962 ***
alicE_inbox_msg_unread_count_fcm_2110@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-27 15:36:32.963 ***
alicE_inbox_msg_unread_count_fcm_2110@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2luYm94X21zZ191bnJlYWRfY291bnRfZmNtXzIxMTAAbWF0eWdyeXNh</auth>



*** User 2022-01-27 15:36:32.963 ***
alicE_inbox_msg_unread_count_fcm_2110@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:36:32.963 ***
alicE_inbox_msg_unread_count_fcm_2110@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-27 15:36:32.964 ***
alicE_inbox_msg_unread_count_fcm_2110@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d4c476da1fc359f2' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:36:32.964 ***
alicE_inbox_msg_unread_count_fcm_2110@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-27 15:36:32.964 ***
alicE_inbox_msg_unread_count_fcm_2110@localhost/res1 out
<iq type='set' id='ec9c9f9a74eaaab4b3cc7cae75bd09e6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:36:32.964 ***
alicE_inbox_msg_unread_count_fcm_2110@localhost/res1 in
<iq id='ec9c9f9a74eaaab4b3cc7cae75bd09e6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_inbox_msg_unread_count_fcm_2110@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:36:32.964 ***
alicE_inbox_msg_unread_count_fcm_2110@localhost/res1 out
<iq type='set' id='7ae9f94bf15df26c25605eff507e0bca'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:36:32.965 ***
alicE_inbox_msg_unread_count_fcm_2110@localhost/res1 in
<iq type='result' id='7ae9f94bf15df26c25605eff507e0bca'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:36:32.965 ***
alicE_inbox_msg_unread_count_fcm_2110@localhost/res1 out
<presence/>



*** User 2022-01-27 15:36:32.966 ***
alicE_inbox_msg_unread_count_fcm_2110@localhost/res1 in
<presence from='alicE_inbox_msg_unread_count_fcm_2110@localhost/res1' to='alice_inbox_msg_unread_count_fcm_2110@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:36:32.967 ***
kate_inbox_msg_unread_count_fcm_2110@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-27 15:36:32.967 ***
kate_inbox_msg_unread_count_fcm_2110@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b6c280dc86b1e7c3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:36:32.967 ***
kate_inbox_msg_unread_count_fcm_2110@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-27 15:36:32.967 ***
kate_inbox_msg_unread_count_fcm_2110@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfaW5ib3hfbXNnX3VucmVhZF9jb3VudF9mY21fMjExMABtYWtyb3dlO3A=</auth>



*** User 2022-01-27 15:36:32.968 ***
kate_inbox_msg_unread_count_fcm_2110@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:36:32.968 ***
kate_inbox_msg_unread_count_fcm_2110@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-27 15:36:32.968 ***
kate_inbox_msg_unread_count_fcm_2110@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e5ec38158304eeb2' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:36:32.969 ***
kate_inbox_msg_unread_count_fcm_2110@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-27 15:36:32.969 ***
kate_inbox_msg_unread_count_fcm_2110@localhost/res1 out
<iq type='set' id='f637f3826b4af2a28ac34fa6f59aef77'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:36:32.969 ***
kate_inbox_msg_unread_count_fcm_2110@localhost/res1 in
<iq id='f637f3826b4af2a28ac34fa6f59aef77' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_inbox_msg_unread_count_fcm_2110@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:36:32.969 ***
kate_inbox_msg_unread_count_fcm_2110@localhost/res1 out
<iq type='set' id='994922179e3a67008904fb363dbd6fd3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:36:32.969 ***
kate_inbox_msg_unread_count_fcm_2110@localhost/res1 in
<iq type='result' id='994922179e3a67008904fb363dbd6fd3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:36:32.969 ***
kate_inbox_msg_unread_count_fcm_2110@localhost/res1 out
<presence/>



*** User 2022-01-27 15:36:32.976 ***
kate_inbox_msg_unread_count_fcm_2110@localhost/res1 in
<presence from='kate_inbox_msg_unread_count_fcm_2110@localhost/res1' to='kate_inbox_msg_unread_count_fcm_2110@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:36:32.976 ***
bOb_inbox_msg_unread_count_fcm_2110@localhost/res1 out
<iq type='set' id='d42764894b88826b1dfcf094574055df'>
	<enable xmlns='urn:xmpp:push:0' jid='virtual.localhost' node='princely_musings_.9Qu5hMCbEU='>
		<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>DK5ELGM4BG7IK6FDCK5MCGDEGG73</value>
			</field>
			<field var='silent'>
				<value>true</value>
			</field>
		</x>
	</enable>
</iq>



*** User 2022-01-27 15:36:32.980 ***
bOb_inbox_msg_unread_count_fcm_2110@localhost/res1 in
<iq from='bOb_inbox_msg_unread_count_fcm_2110@localhost' to='bOb_inbox_msg_unread_count_fcm_2110@localhost/res1' id='d42764894b88826b1dfcf094574055df' type='result'/>



*** User 2022-01-27 15:36:32.981 ***
bOb_inbox_msg_unread_count_fcm_2110@localhost/res1 out
<presence type='unavailable'/>



*** User 2022-01-27 15:36:33.081 ***
alicE_inbox_msg_unread_count_fcm_2110@localhost/res1 out
<message to='bob_inbox_msg_unread_count_fcm_2110@localhost' type='chat' id='05c830ce9946de38e9948c51b0ab0018'>
	<body>Private message</body>
</message>



*** User 2022-01-27 15:36:33.112 ***
kate_inbox_msg_unread_count_fcm_2110@localhost/res1 out
<message to='bob_inbox_msg_unread_count_fcm_2110@localhost' type='chat' id='b9dfdb4fc44a99698156b456c32a62bb'>
	<body>Private message</body>
</message>



*** User 2022-01-27 15:36:33.145 ***
alicE_inbox_msg_unread_count_fcm_2110@localhost/res1 out
<message to='bob_inbox_msg_unread_count_fcm_2110@localhost' type='chat' id='0c03ea98c40cd6055da6a0e1d675f6d8'>
	<body>Private message</body>
</message>



*** User 2022-01-27 15:36:33.151 ***
alicE_inbox_msg_unread_count_fcm_2110@localhost/res1 out
<message to='bob_inbox_msg_unread_count_fcm_2110@localhost' type='chat' id='f8c17f8d67fd3aa655af010897348b56'>
	<body>Private message</body>
</message>



*** User 2022-01-27 15:36:33.155 ***
kate_inbox_msg_unread_count_fcm_2110@localhost/res1 out
<message to='bob_inbox_msg_unread_count_fcm_2110@localhost' type='chat' id='a11eaa11278c415173138cff66db3171'>
	<body>Private message</body>
</message>



*** User 2022-01-27 15:36:33.161 ***
kate_inbox_msg_unread_count_fcm_2110@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:36:33.164 ***
kate_inbox_msg_unread_count_fcm_2110@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:36:33.164 ***
alicE_inbox_msg_unread_count_fcm_2110@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:36:33.164 ***
alicE_inbox_msg_unread_count_fcm_2110@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:36:33.164 ***
bOb_inbox_msg_unread_count_fcm_2110@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:36:33.164 ***
bOb_inbox_msg_unread_count_fcm_2110@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:36:33.166 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2385.html
*** CT 2022-01-27 15:36:33.167 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5634.html



=== Ended at 2022-01-27 15:36:33
=== successfully completed test case
=== === Returned value: ok