=== 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}]}]}]},
{mod_pubsub,
[{plugins,[<<"dag">>,<<"push">>]},
{backend,rdbms},
{nodetree,<<"dag">>},
{host,{prefix,<<"pubsub.">>}}]}]},
{watchdog,<0.4684.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@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_reset_unread_count_fcm.143746.html"},
{tc_group_properties,[{name,pm_notifications_with_inbox},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@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:33:52
*** User 2022-01-25 16:33:52.633 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@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:33:52.633 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='383214e0b017268b' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:33:52.633 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@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:33:52.633 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbmJveF9tc2dfcmVzZXRfdW5yZWFkX2NvdW50X2ZjbV8yMTM3AG1ha3JvbGlrYQ==</auth>
*** User 2022-01-25 16:33:52.649 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:33:52.649 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@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:33:52.650 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0f1f20cc63da9b41' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:33:52.650 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@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:33:52.650 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 out
<iq type='set' id='c1f458a91151a1073d046384d63bda2a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-25 16:33:52.650 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 in
<iq id='c1f458a91151a1073d046384d63bda2a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-25 16:33:52.650 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 out
<iq type='set' id='b7de06a6f8380601a3b129318530b05f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:33:52.651 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 in
<iq type='result' id='b7de06a6f8380601a3b129318530b05f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:33:52.651 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 out
<presence/>
*** User 2022-01-25 16:33:52.653 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 in
<presence from='bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1' to='bob_inbox_msg_reset_unread_count_fcm_2137@localhost/res1' xml:lang='en'/>
*** User 2022-01-25 16:33:52.653 ***
alicE_inbox_msg_reset_unread_count_fcm_2137@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:33:52.654 ***
alicE_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='15445592b6ed05bf' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:33:52.654 ***
alicE_inbox_msg_reset_unread_count_fcm_2137@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:33:52.654 ***
alicE_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2luYm94X21zZ19yZXNldF91bnJlYWRfY291bnRfZmNtXzIxMzcAbWF0eWdyeXNh</auth>
*** User 2022-01-25 16:33:52.655 ***
alicE_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:33:52.655 ***
alicE_inbox_msg_reset_unread_count_fcm_2137@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:33:52.655 ***
alicE_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bcf162649171c426' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:33:52.655 ***
alicE_inbox_msg_reset_unread_count_fcm_2137@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:33:52.655 ***
alicE_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 out
<iq type='set' id='0919290b63e4d25a8ef4c536b9e3185a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-25 16:33:52.656 ***
alicE_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 in
<iq id='0919290b63e4d25a8ef4c536b9e3185a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_inbox_msg_reset_unread_count_fcm_2137@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-25 16:33:52.656 ***
alicE_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 out
<iq type='set' id='7db8f4f23ec58a97d7f4423c5685ebc3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:33:52.656 ***
alicE_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 in
<iq type='result' id='7db8f4f23ec58a97d7f4423c5685ebc3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:33:52.656 ***
alicE_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 out
<presence/>
*** User 2022-01-25 16:33:52.659 ***
alicE_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 in
<presence from='alicE_inbox_msg_reset_unread_count_fcm_2137@localhost/res1' to='alice_inbox_msg_reset_unread_count_fcm_2137@localhost/res1' xml:lang='en'/>
*** User 2022-01-25 16:33:52.659 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='bOb_inbox_msg_reset_unread_count_fcm_2137-pubsub.localhost-princely_musings_aq0Zq5tKbEA=-create_node' from='bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create type='push' node='princely_musings_aq0Zq5tKbEA='/>
<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-01-25 16:33:52.688 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1' id='bOb_inbox_msg_reset_unread_count_fcm_2137-pubsub.localhost-princely_musings_aq0Zq5tKbEA=-create_node' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_aq0Zq5tKbEA='/>
</pubsub>
</iq>
*** User 2022-01-25 16:33:52.688 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='KOCiG/0=' from='bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
<affiliations node='princely_musings_aq0Zq5tKbEA='>
<affiliation jid='localhost' affiliation='publish-only'/>
</affiliations>
</pubsub>
</iq>
*** User 2022-01-25 16:33:52.693 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1' id='KOCiG/0=' type='result'/>
*** User 2022-01-25 16:33:52.693 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 out
<iq type='set' id='e49bde8866bdf96b8ea0845b09ce7321'>
<enable xmlns='urn:xmpp:push:0' jid='pubsub.localhost' node='princely_musings_aq0Zq5tKbEA='>
<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>AFE26ICCM65JG1L4BAGAKI0LE113</value>
</field>
<field var='silent'>
<value>true</value>
</field>
</x>
</enable>
</iq>
*** User 2022-01-25 16:33:52.731 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 in
<iq from='bOb_inbox_msg_reset_unread_count_fcm_2137@localhost' to='bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1' id='e49bde8866bdf96b8ea0845b09ce7321' type='result'/>
*** User 2022-01-25 16:33:52.731 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 out
<presence type='unavailable'/>
*** User 2022-01-25 16:33:53.135 ***
alicE_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 out
<message to='bob_inbox_msg_reset_unread_count_fcm_2137@localhost' type='chat' id='ab6297c54bd4c98dc70167c562805243'>
<body>FIRST MESSAGE</body>
</message>
*** User 2022-01-25 16:33:53.171 ***
alicE_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 out
<message to='bob_inbox_msg_reset_unread_count_fcm_2137@localhost' type='chat' id='c973cc72fdc4c52360f6feb2d9507acf'>
<body>SECOND MESSAGE</body>
</message>
*** User 2022-01-25 16:33:53.180 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 out
<presence/>
*** User 2022-01-25 16:33:53.194 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 in
<message from='alicE_inbox_msg_reset_unread_count_fcm_2137@localhost/res1' to='bob_inbox_msg_reset_unread_count_fcm_2137@localhost' xml:lang='en' type='chat' id='ab6297c54bd4c98dc70167c562805243'>
<body>FIRST MESSAGE</body>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-25T16:33:53.150490Z' from='localhost'>Offline Storage</delay>
</message>
*** User 2022-01-25 16:33:53.194 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 in
<message from='alicE_inbox_msg_reset_unread_count_fcm_2137@localhost/res1' to='bob_inbox_msg_reset_unread_count_fcm_2137@localhost' xml:lang='en' type='chat' id='c973cc72fdc4c52360f6feb2d9507acf'>
<body>SECOND MESSAGE</body>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-25T16:33:53.180002Z' from='localhost'>Offline Storage</delay>
</message>
*** User 2022-01-25 16:33:53.194 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 in
<presence from='bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1' to='bob_inbox_msg_reset_unread_count_fcm_2137@localhost/res1' xml:lang='en'/>
*** User 2022-01-25 16:33:53.194 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 out
<iq type='set' id='a9c2db18472706e7bf794ec9702473fb'>
<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-25 16:33:53.197 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 in
<message from='bOb_inbox_msg_reset_unread_count_fcm_2137@localhost' to='bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1' id='7e5ee694-f870-4bd3-ae2d-71ac85513d51'>
<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='2' queryid='a9c2db18472706e7bf794ec9702473fb'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-25T16:33:53.171987Z'/>
<message from='alicE_inbox_msg_reset_unread_count_fcm_2137@localhost/res1' xml:lang='en' to='bob_inbox_msg_reset_unread_count_fcm_2137@localhost' type='chat' id='c973cc72fdc4c52360f6feb2d9507acf'>
<body>SECOND MESSAGE</body>
</message>
</forwarded>
<archive>false</archive>
<mute>0</mute>
</result>
</message>
*** User 2022-01-25 16:33:53.197 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 in
<iq from='bOb_inbox_msg_reset_unread_count_fcm_2137@localhost' to='bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1' id='a9c2db18472706e7bf794ec9702473fb' 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-25 16:33:53.197 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 out
<message to='alicE_inbox_msg_reset_unread_count_fcm_2137@localhost/res1'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='c973cc72fdc4c52360f6feb2d9507acf'/>
</message>
*** User 2022-01-25 16:33:53.436 ***
alicE_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 in
<message from='bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1' to='alicE_inbox_msg_reset_unread_count_fcm_2137@localhost/res1' xml:lang='en'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='c973cc72fdc4c52360f6feb2d9507acf'/>
</message>
*** User 2022-01-25 16:33:53.436 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 out
<presence type='unavailable'/>
*** User 2022-01-25 16:33:53.639 ***
alicE_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 out
<message to='bob_inbox_msg_reset_unread_count_fcm_2137@localhost' type='chat' id='7b229fe3acc712a55aba9b41068c7dbf'>
<body>THIRD MESSAGE</body>
</message>
*** User 2022-01-25 16:33:53.655 ***
alicE_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 out
</stream:stream>
*** User 2022-01-25 16:33:53.656 ***
alicE_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 in
</stream:stream>
*** User 2022-01-25 16:33:53.656 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 out
</stream:stream>
*** User 2022-01-25 16:33:53.656 ***
bOb_inbox_msg_reset_unread_count_fcm_2137@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-25 16:33:53
=== successfully completed test case
=== === Returned value: ok