=== 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.5703.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.muclight_inbox_msg_unread_count_fcm.116227.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@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
*** User 2022-01-25 16:34:03.637 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@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.638 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d2e0f79f6c23cc29' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:34:03.638 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@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.638 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX211Y2xpZ2h0X2luYm94X21zZ191bnJlYWRfY291bnRfZmNtXzIxODQAbWF0eWdyeXNh</auth>
*** User 2022-01-25 16:34:03.639 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:34:03.639 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@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.640 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='95a4af3271966e22' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:34:03.640 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@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.640 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 out
<iq type='set' id='438855bd18d4f6459d85225ee416e4a3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-25 16:34:03.640 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<iq id='438855bd18d4f6459d85225ee416e4a3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-25 16:34:03.640 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 out
<iq type='set' id='763c5c207844635ade827c1020164a13'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:34:03.641 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<iq type='result' id='763c5c207844635ade827c1020164a13'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:34:03.641 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 out
<presence/>
*** User 2022-01-25 16:34:03.642 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<presence from='alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1' to='alice_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1' xml:lang='en'/>
*** User 2022-01-25 16:34:03.643 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@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.643 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='35ed6d982acef787' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:34:03.643 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@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.643 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfbXVjbGlnaHRfaW5ib3hfbXNnX3VucmVhZF9jb3VudF9mY21fMjE4NABtYWtyb3dlO3A=</auth>
*** User 2022-01-25 16:34:03.644 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:34:03.644 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@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.645 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6fd685cc8c901f84' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:34:03.645 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@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.645 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 out
<iq type='set' id='d94b2f8204590cf878b7262df3ffb4e2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-25 16:34:03.645 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<iq id='d94b2f8204590cf878b7262df3ffb4e2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-25 16:34:03.645 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 out
<iq type='set' id='eb7142e844a3c761d80bc4456eb93e2c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:34:03.645 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<iq type='result' id='eb7142e844a3c761d80bc4456eb93e2c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:34:03.645 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 out
<presence/>
*** User 2022-01-25 16:34:03.647 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<presence from='kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1' to='kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1' xml:lang='en'/>
*** User 2022-01-25 16:34:03.647 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 out
<iq type='set' id='b1e0ef908d9649ace92c93f4b1020035' to='room-00842d6976@muclight.localhost'>
<query xmlns='urn:xmpp:muclight:0#create'>
<configuration/>
<occupants/>
</query>
</iq>
*** User 2022-01-25 16:34:03.652 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<message from='room-00842d6976@muclight.localhost' to='alice_muclight_inbox_msg_unread_count_fcm_2184@localhost' id='b1e0ef908d9649ace92c93f4b1020035' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1643-128443-647922</version>
<user affiliation='owner'>alice_muclight_inbox_msg_unread_count_fcm_2184@localhost</user>
</x>
<body/>
</message>
*** User 2022-01-25 16:34:03.652 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<iq from='room-00842d6976@muclight.localhost' to='alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1' id='b1e0ef908d9649ace92c93f4b1020035' type='result'/>
*** User 2022-01-25 16:34:03.652 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 out
<iq type='set' id='47877a584a4b8d86002925585f1db22a' to='room-00842d6976@muclight.localhost'>
<query xmlns='urn:xmpp:muclight:0#affiliations'>
<user affiliation='member'>kate_muclight_inbox_msg_unread_count_fcm_2184@localhost</user>
</query>
</iq>
*** User 2022-01-25 16:34:03.661 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<message from='room-00842d6976@muclight.localhost' to='kate_muclight_inbox_msg_unread_count_fcm_2184@localhost' id='47877a584a4b8d86002925585f1db22a' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1643-128443-654960</version>
<user affiliation='member'>kate_muclight_inbox_msg_unread_count_fcm_2184@localhost</user>
</x>
<body/>
</message>
*** User 2022-01-25 16:34:03.661 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<message from='room-00842d6976@muclight.localhost' to='alice_muclight_inbox_msg_unread_count_fcm_2184@localhost' id='47877a584a4b8d86002925585f1db22a' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<prev-version>1643-128443-647922</prev-version>
<version>1643-128443-654960</version>
<user affiliation='member'>kate_muclight_inbox_msg_unread_count_fcm_2184@localhost</user>
</x>
<body/>
</message>
*** User 2022-01-25 16:34:03.661 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<iq from='room-00842d6976@muclight.localhost' to='alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1' id='47877a584a4b8d86002925585f1db22a' type='result'/>
*** User 2022-01-25 16:34:03.661 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 out
<iq type='set' id='40296d36c8cf897fd36c4f308560591e'>
<enable xmlns='urn:xmpp:push:0' jid='virtual.localhost' node='princely_musings_ZoWJYQQx3KM='>
<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>I36N2FD60L76509JN9N25GCBEICC</value>
</field>
<field var='silent'>
<value>true</value>
</field>
</x>
</enable>
</iq>
*** User 2022-01-25 16:34:03.665 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<iq from='kate_muclight_inbox_msg_unread_count_fcm_2184@localhost' to='kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1' id='40296d36c8cf897fd36c4f308560591e' type='result'/>
*** User 2022-01-25 16:34:03.666 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 out
<presence type='unavailable'/>
*** User 2022-01-25 16:34:03.666 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 out
<message to='room-00842d6976@muclight.localhost' type='groupchat'>
<body>First!</body>
</message>
*** User 2022-01-25 16:34:03.677 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<message from='room-00842d6976@muclight.localhost/alice_muclight_inbox_msg_unread_count_fcm_2184@localhost' to='alice_muclight_inbox_msg_unread_count_fcm_2184@localhost' id='1643-128443-667734' type='groupchat'>
<body>First!</body>
</message>
*** User 2022-01-25 16:34:03.677 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 out
<message to='room-00842d6976@muclight.localhost' type='groupchat'>
<body>Second!</body>
</message>
*** User 2022-01-25 16:34:03.689 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<message from='room-00842d6976@muclight.localhost/alice_muclight_inbox_msg_unread_count_fcm_2184@localhost' to='alice_muclight_inbox_msg_unread_count_fcm_2184@localhost' id='1643-128443-679065' type='groupchat'>
<body>Second!</body>
</message>
*** User 2022-01-25 16:34:03.689 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 out
<presence/>
*** User 2022-01-25 16:34:03.690 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<presence from='kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1' to='kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1' xml:lang='en'/>
*** User 2022-01-25 16:34:03.690 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 out
<message to='room-00842d6976@muclight.localhost' type='groupchat'>
<body>Third!</body>
</message>
*** User 2022-01-25 16:34:03.733 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<message from='room-00842d6976@muclight.localhost/alice_muclight_inbox_msg_unread_count_fcm_2184@localhost' to='kate_muclight_inbox_msg_unread_count_fcm_2184@localhost' id='1643-128443-691707' type='groupchat'>
<body>Third!</body>
</message>
*** User 2022-01-25 16:34:03.733 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<message from='room-00842d6976@muclight.localhost/alice_muclight_inbox_msg_unread_count_fcm_2184@localhost' to='alice_muclight_inbox_msg_unread_count_fcm_2184@localhost' id='1643-128443-691707' type='groupchat'>
<body>Third!</body>
</message>
*** User 2022-01-25 16:34:03.734 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 out
<iq type='set' id='6c04dd08990b6a8beec5a55525a8ca2f'>
<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:34:03.735 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<message from='kate_muclight_inbox_msg_unread_count_fcm_2184@localhost' to='kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1' id='994e1ca9-9c6a-4999-87a5-5019714a4466'>
<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='3' queryid='6c04dd08990b6a8beec5a55525a8ca2f'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-25T16:34:03.729458Z'/>
<message to='kate_muclight_inbox_msg_unread_count_fcm_2184@localhost' id='1643-128443-691707' type='groupchat' from='room-00842d6976@muclight.localhost/alice_muclight_inbox_msg_unread_count_fcm_2184@localhost'>
<body>Third!</body>
</message>
</forwarded>
<archive>false</archive>
<mute>0</mute>
</result>
</message>
*** User 2022-01-25 16:34:03.735 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
<iq from='kate_muclight_inbox_msg_unread_count_fcm_2184@localhost' to='kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1' id='6c04dd08990b6a8beec5a55525a8ca2f' 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-25 16:34:03.735 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 out
</stream:stream>
*** User 2022-01-25 16:34:03.735 ***
kate_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
</stream:stream>
*** User 2022-01-25 16:34:03.736 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 out
</stream:stream>
*** User 2022-01-25 16:34:03.736 ***
alicE_muclight_inbox_msg_unread_count_fcm_2184@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-25 16:34:03
=== successfully completed test case
=== === Returned value: ok