=== Test case: push_integration_SUITE:inbox_msg_reset_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_reset_unread_count_fcm.74244.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
*** User 2022-01-27 15:36:32.955 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@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.955 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9ed55f8cff57d4a1' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:36:32.956 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@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.956 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbmJveF9tc2dfcmVzZXRfdW5yZWFkX2NvdW50X2ZjbV8yMTEyAG1ha3JvbGlrYQ==</auth>
*** User 2022-01-27 15:36:32.957 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:36:32.957 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@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_reset_unread_count_fcm_2112@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a2404e6d75cd943f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:36:32.957 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@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.957 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 out
<iq type='set' id='2c88d438d0fa872e0a6cc46749b2779d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:36:32.958 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 in
<iq id='2c88d438d0fa872e0a6cc46749b2779d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:36:32.958 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 out
<iq type='set' id='5555c0c317be882c6b5637b03ac9185d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:36:32.958 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 in
<iq type='result' id='5555c0c317be882c6b5637b03ac9185d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:36:32.958 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 out
<presence/>
*** User 2022-01-27 15:36:32.960 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 in
<presence from='bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1' to='bob_inbox_msg_reset_unread_count_fcm_2112@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:36:32.961 ***
alicE_inbox_msg_reset_unread_count_fcm_2112@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.961 ***
alicE_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='684aee161aca12bf' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:36:32.961 ***
alicE_inbox_msg_reset_unread_count_fcm_2112@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.961 ***
alicE_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2luYm94X21zZ19yZXNldF91bnJlYWRfY291bnRfZmNtXzIxMTIAbWF0eWdyeXNh</auth>
*** User 2022-01-27 15:36:32.962 ***
alicE_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:36:32.962 ***
alicE_inbox_msg_reset_unread_count_fcm_2112@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_reset_unread_count_fcm_2112@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0497c541a3929616' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:36:32.963 ***
alicE_inbox_msg_reset_unread_count_fcm_2112@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.963 ***
alicE_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 out
<iq type='set' id='a566f8b8dc3ff2ed9f217c724853a5bd'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:36:32.963 ***
alicE_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 in
<iq id='a566f8b8dc3ff2ed9f217c724853a5bd' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_inbox_msg_reset_unread_count_fcm_2112@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:36:32.963 ***
alicE_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 out
<iq type='set' id='cd70091e44d9b36c37669f40cd060f75'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:36:32.963 ***
alicE_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 in
<iq type='result' id='cd70091e44d9b36c37669f40cd060f75'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:36:32.963 ***
alicE_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 out
<presence/>
*** User 2022-01-27 15:36:32.965 ***
alicE_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 in
<presence from='alicE_inbox_msg_reset_unread_count_fcm_2112@localhost/res1' to='alice_inbox_msg_reset_unread_count_fcm_2112@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:36:32.965 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 out
<iq type='set' id='f1d7602288dee4e995a242ab966b363f'>
<enable xmlns='urn:xmpp:push:0' jid='virtual.localhost' node='princely_musings_mp0KmZN1hX0='>
<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>FE74ILIFB9H6BD636842NH92B5G5</value>
</field>
<field var='silent'>
<value>true</value>
</field>
</x>
</enable>
</iq>
*** User 2022-01-27 15:36:32.969 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 in
<iq from='bOb_inbox_msg_reset_unread_count_fcm_2112@localhost' to='bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1' id='f1d7602288dee4e995a242ab966b363f' type='result'/>
*** User 2022-01-27 15:36:32.969 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 out
<presence type='unavailable'/>
*** User 2022-01-27 15:36:32.970 ***
alicE_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 out
<message to='bob_inbox_msg_reset_unread_count_fcm_2112@localhost' type='chat' id='fc6ac66722b7e58877758a6ff958fef4'>
<body>FIRST MESSAGE</body>
</message>
*** User 2022-01-27 15:36:32.982 ***
alicE_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 out
<message to='bob_inbox_msg_reset_unread_count_fcm_2112@localhost' type='chat' id='c075ea863cecec026cc7faf41202f511'>
<body>SECOND MESSAGE</body>
</message>
*** User 2022-01-27 15:36:33.000 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 out
<presence/>
*** User 2022-01-27 15:36:33.006 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 in
<message from='alicE_inbox_msg_reset_unread_count_fcm_2112@localhost/res1' to='bob_inbox_msg_reset_unread_count_fcm_2112@localhost' xml:lang='en' type='chat' id='c075ea863cecec026cc7faf41202f511'>
<body>SECOND MESSAGE</body>
</message>
*** User 2022-01-27 15:36:33.006 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 in
<message from='alicE_inbox_msg_reset_unread_count_fcm_2112@localhost/res1' to='bob_inbox_msg_reset_unread_count_fcm_2112@localhost' xml:lang='en' type='chat' id='fc6ac66722b7e58877758a6ff958fef4'>
<body>FIRST MESSAGE</body>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T15:36:32.992835Z' from='localhost'>Offline Storage</delay>
</message>
*** User 2022-01-27 15:36:33.006 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 in
<presence from='bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1' to='bob_inbox_msg_reset_unread_count_fcm_2112@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:36:33.007 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 out
<iq type='set' id='078ec273df32b08393c7f22f5043bc3d'>
<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.008 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 in
<message from='bOb_inbox_msg_reset_unread_count_fcm_2112@localhost' to='bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1' id='e09b94d1-8b49-4f3b-8329-deb179a81c89'>
<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='2' queryid='078ec273df32b08393c7f22f5043bc3d'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T15:36:32.992888Z'/>
<message from='alicE_inbox_msg_reset_unread_count_fcm_2112@localhost/res1' xml:lang='en' to='bob_inbox_msg_reset_unread_count_fcm_2112@localhost' type='chat' id='c075ea863cecec026cc7faf41202f511'>
<body>SECOND MESSAGE</body>
</message>
</forwarded>
<archive>false</archive>
<mute>0</mute>
</result>
</message>
*** User 2022-01-27 15:36:33.008 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 in
<iq from='bOb_inbox_msg_reset_unread_count_fcm_2112@localhost' to='bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1' id='078ec273df32b08393c7f22f5043bc3d' type='result'>
<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
<active-conversations>1</active-conversations>
<count>1</count>
<unread-messages>2</unread-messages>
</fin>
</iq>
*** User 2022-01-27 15:36:33.008 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 out
<message to='alicE_inbox_msg_reset_unread_count_fcm_2112@localhost/res1'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='c075ea863cecec026cc7faf41202f511'/>
</message>
*** User 2022-01-27 15:36:33.013 ***
alicE_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 in
<message from='bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1' to='alicE_inbox_msg_reset_unread_count_fcm_2112@localhost/res1' xml:lang='en'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='c075ea863cecec026cc7faf41202f511'/>
</message>
*** User 2022-01-27 15:36:33.013 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 out
<presence type='unavailable'/>
*** User 2022-01-27 15:36:33.113 ***
alicE_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 out
<message to='bob_inbox_msg_reset_unread_count_fcm_2112@localhost' type='chat' id='aafd26f57cd6148db7c1772d7302e96d'>
<body>THIRD MESSAGE</body>
</message>
*** User 2022-01-27 15:36:33.145 ***
alicE_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:36:33.148 ***
alicE_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:36:33.148 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:36:33.149 ***
bOb_inbox_msg_reset_unread_count_fcm_2112@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-27 15:36:33
=== successfully completed test case
=== === Returned value: ok