=== Test case: push_integration_SUITE:muclight_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_muc_light,
              [{host,{fqdn,<<"muclight.localhost">>}},
               {backend,rdbms},
               {rooms_in_rosters,true}]},
          {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.6337.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.muclight_inbox_msg_unread_count_fcm.74756.html"},
     {tc_group_properties,
         [{name,groupchat_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:33


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

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

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



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



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

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



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



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



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



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



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



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

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



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



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

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



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



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



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



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



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



*** User 2022-01-27 15:36:33.334 ***
alicE_muclight_inbox_msg_unread_count_fcm_2115@localhost/res1 out
<iq type='set' id='66d4286ba4559e87e033fccdbb245144' to='room-b20bc7c904@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#create'>
		<configuration/>
		<occupants/>
	</query>
</iq>



*** User 2022-01-27 15:36:33.347 ***
alicE_muclight_inbox_msg_unread_count_fcm_2115@localhost/res1 in
<message from='room-b20bc7c904@muclight.localhost' to='alice_muclight_inbox_msg_unread_count_fcm_2115@localhost' id='66d4286ba4559e87e033fccdbb245144' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1643-297793-335111</version>
		<user affiliation='owner'>alice_muclight_inbox_msg_unread_count_fcm_2115@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-01-27 15:36:33.347 ***
alicE_muclight_inbox_msg_unread_count_fcm_2115@localhost/res1 in
<iq from='room-b20bc7c904@muclight.localhost' to='alicE_muclight_inbox_msg_unread_count_fcm_2115@localhost/res1' id='66d4286ba4559e87e033fccdbb245144' type='result'/>



*** User 2022-01-27 15:36:33.347 ***
alicE_muclight_inbox_msg_unread_count_fcm_2115@localhost/res1 out
<iq type='set' id='2dabe7550bc81e681d428798e553d3b9' to='room-b20bc7c904@muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#affiliations'>
		<user affiliation='member'>kate_muclight_inbox_msg_unread_count_fcm_2115@localhost</user>
	</query>
</iq>



*** User 2022-01-27 15:36:33.358 ***
kate_muclight_inbox_msg_unread_count_fcm_2115@localhost/res1 in
<message from='room-b20bc7c904@muclight.localhost' to='kate_muclight_inbox_msg_unread_count_fcm_2115@localhost' id='2dabe7550bc81e681d428798e553d3b9' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1643-297793-350076</version>
		<user affiliation='member'>kate_muclight_inbox_msg_unread_count_fcm_2115@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-01-27 15:36:33.358 ***
alicE_muclight_inbox_msg_unread_count_fcm_2115@localhost/res1 in
<message from='room-b20bc7c904@muclight.localhost' to='alice_muclight_inbox_msg_unread_count_fcm_2115@localhost' id='2dabe7550bc81e681d428798e553d3b9' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1643-297793-335111</prev-version>
		<version>1643-297793-350076</version>
		<user affiliation='member'>kate_muclight_inbox_msg_unread_count_fcm_2115@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-01-27 15:36:33.358 ***
alicE_muclight_inbox_msg_unread_count_fcm_2115@localhost/res1 in
<iq from='room-b20bc7c904@muclight.localhost' to='alicE_muclight_inbox_msg_unread_count_fcm_2115@localhost/res1' id='2dabe7550bc81e681d428798e553d3b9' type='result'/>



*** User 2022-01-27 15:36:33.358 ***
kate_muclight_inbox_msg_unread_count_fcm_2115@localhost/res1 out
<iq type='set' id='b9c06086b4e423d1490aecff68b99311'>
	<enable xmlns='urn:xmpp:push:0' jid='virtual.localhost' node='princely_musings_87BKIAZuaKo='>
		<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>C7DH5M1IKGE1178DF03ADEG2F1FL</value>
			</field>
			<field var='silent'>
				<value>true</value>
			</field>
		</x>
	</enable>
</iq>



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



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



*** User 2022-01-27 15:36:33.463 ***
alicE_muclight_inbox_msg_unread_count_fcm_2115@localhost/res1 out
<message to='room-b20bc7c904@muclight.localhost' type='groupchat'>
	<body>First!</body>
</message>



*** User 2022-01-27 15:36:33.510 ***
alicE_muclight_inbox_msg_unread_count_fcm_2115@localhost/res1 in
<message from='room-b20bc7c904@muclight.localhost/alice_muclight_inbox_msg_unread_count_fcm_2115@localhost' to='alice_muclight_inbox_msg_unread_count_fcm_2115@localhost' id='1643-297793-465180' type='groupchat'>
	<body>First!</body>
</message>



*** User 2022-01-27 15:36:33.510 ***
alicE_muclight_inbox_msg_unread_count_fcm_2115@localhost/res1 out
<message to='room-b20bc7c904@muclight.localhost' type='groupchat'>
	<body>Second!</body>
</message>



*** User 2022-01-27 15:36:33.522 ***
alicE_muclight_inbox_msg_unread_count_fcm_2115@localhost/res1 in
<message from='room-b20bc7c904@muclight.localhost/alice_muclight_inbox_msg_unread_count_fcm_2115@localhost' to='alice_muclight_inbox_msg_unread_count_fcm_2115@localhost' id='1643-297793-512210' type='groupchat'>
	<body>Second!</body>
</message>



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



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



*** User 2022-01-27 15:36:33.524 ***
alicE_muclight_inbox_msg_unread_count_fcm_2115@localhost/res1 out
<message to='room-b20bc7c904@muclight.localhost' type='groupchat'>
	<body>Third!</body>
</message>



*** User 2022-01-27 15:36:33.536 ***
kate_muclight_inbox_msg_unread_count_fcm_2115@localhost/res1 in
<message from='room-b20bc7c904@muclight.localhost/alice_muclight_inbox_msg_unread_count_fcm_2115@localhost' to='kate_muclight_inbox_msg_unread_count_fcm_2115@localhost' id='1643-297793-525500' type='groupchat'>
	<body>Third!</body>
</message>



*** User 2022-01-27 15:36:33.536 ***
alicE_muclight_inbox_msg_unread_count_fcm_2115@localhost/res1 in
<message from='room-b20bc7c904@muclight.localhost/alice_muclight_inbox_msg_unread_count_fcm_2115@localhost' to='alice_muclight_inbox_msg_unread_count_fcm_2115@localhost' id='1643-297793-525500' type='groupchat'>
	<body>Third!</body>
</message>



*** User 2022-01-27 15:36:33.536 ***
kate_muclight_inbox_msg_unread_count_fcm_2115@localhost/res1 out
<iq type='set' id='45cb8bb1690bb8a346dbe0c7e33fd013'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2022-01-27 15:36:33.537 ***
kate_muclight_inbox_msg_unread_count_fcm_2115@localhost/res1 in
<message from='kate_muclight_inbox_msg_unread_count_fcm_2115@localhost' to='kate_muclight_inbox_msg_unread_count_fcm_2115@localhost/res1' id='814c9a2d-0c4e-4135-b438-cabd1ef9780e'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='3' queryid='45cb8bb1690bb8a346dbe0c7e33fd013'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T15:36:33.531359Z'/>
			<message to='kate_muclight_inbox_msg_unread_count_fcm_2115@localhost' id='1643-297793-525500' type='groupchat' from='room-b20bc7c904@muclight.localhost/alice_muclight_inbox_msg_unread_count_fcm_2115@localhost'>
				<body>Third!</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-01-27 15:36:33.537 ***
kate_muclight_inbox_msg_unread_count_fcm_2115@localhost/res1 in
<iq from='kate_muclight_inbox_msg_unread_count_fcm_2115@localhost' to='kate_muclight_inbox_msg_unread_count_fcm_2115@localhost/res1' id='45cb8bb1690bb8a346dbe0c7e33fd013' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>3</unread-messages>
	</fin>
</iq>



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

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

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

*** User 2022-01-27 15:36:33.538 ***
alicE_muclight_inbox_msg_unread_count_fcm_2115@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:36:33.541 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2385.html
*** CT 2022-01-27 15:36:33.542 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5651.html



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