=== 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.8397.2>},
{pubsub_host,virtual},
{mim_data_dir,
"/home/circleci/project/big_tests/tests/push_integration_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,
"/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.push_integration_SUITE.logs/run.2022-03-04_11.27.10/push_integration_suite.muclight_inbox_msg_unread_count_fcm.157954.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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.push_integration_SUITE.logs/run.2022-03-04_11.27.10/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@43f5552376e6.2022-03-04_11.16.18"
=== Started at 2022-03-04 11:27:23
*** User 2022-03-04 11:27:23.170 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@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-03-04 11:27:23.170 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='04e7da8ad1e88446' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:27:23.171 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@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-03-04 11:27:23.171 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX211Y2xpZ2h0X2luYm94X21zZ191bnJlYWRfY291bnRfZmNtXzE5NzYAbWF0eWdyeXNh</auth>
*** User 2022-03-04 11:27:23.171 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:27:23.172 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@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-03-04 11:27:23.172 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1e24ed41a5776786' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:27:23.172 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@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-03-04 11:27:23.172 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 out
<iq type='set' id='7f24e55479c1ba96931169a4c1191a1d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-04 11:27:23.172 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<iq id='7f24e55479c1ba96931169a4c1191a1d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-04 11:27:23.173 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 out
<iq type='set' id='9e804753b51b56af32f7a253767cb54d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:27:23.173 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<iq type='result' id='9e804753b51b56af32f7a253767cb54d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:27:23.173 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 out
<presence/>
*** User 2022-03-04 11:27:23.174 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<presence from='alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1' to='alice_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1' xml:lang='en'/>
*** User 2022-03-04 11:27:23.175 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@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-03-04 11:27:23.175 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='272575f5997555d0' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:27:23.175 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@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-03-04 11:27:23.175 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfbXVjbGlnaHRfaW5ib3hfbXNnX3VucmVhZF9jb3VudF9mY21fMTk3NgBtYWtyb3dlO3A=</auth>
*** User 2022-03-04 11:27:23.176 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:27:23.176 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@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-03-04 11:27:23.176 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3eb6b6218aed22cf' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:27:23.176 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@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-03-04 11:27:23.176 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 out
<iq type='set' id='f29805cf7eef25df95a90858464579d0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-04 11:27:23.177 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<iq id='f29805cf7eef25df95a90858464579d0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-04 11:27:23.177 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 out
<iq type='set' id='33821034078d81e8a5cfe607e912699a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:27:23.177 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<iq type='result' id='33821034078d81e8a5cfe607e912699a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:27:23.177 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 out
<presence/>
*** User 2022-03-04 11:27:23.178 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<presence from='kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1' to='kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1' xml:lang='en'/>
*** User 2022-03-04 11:27:23.178 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 out
<iq type='set' id='8a725266a256f05fbedcf6da40d501c2' to='room-f529f301c9@muclight.localhost'>
<query xmlns='urn:xmpp:muclight:0#create'>
<configuration/>
<occupants/>
</query>
</iq>
*** User 2022-03-04 11:27:23.184 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<message from='room-f529f301c9@muclight.localhost' to='alice_muclight_inbox_msg_unread_count_fcm_1976@localhost' id='8a725266a256f05fbedcf6da40d501c2' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1646-393243-179467</version>
<user affiliation='owner'>alice_muclight_inbox_msg_unread_count_fcm_1976@localhost</user>
</x>
<body/>
</message>
*** User 2022-03-04 11:27:23.184 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<iq from='room-f529f301c9@muclight.localhost' to='alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1' id='8a725266a256f05fbedcf6da40d501c2' type='result'/>
*** User 2022-03-04 11:27:23.184 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 out
<iq type='set' id='6a7c62b80d7a0caf48ec31dad79d6c6e' to='room-f529f301c9@muclight.localhost'>
<query xmlns='urn:xmpp:muclight:0#affiliations'>
<user affiliation='member'>kate_muclight_inbox_msg_unread_count_fcm_1976@localhost</user>
</query>
</iq>
*** User 2022-03-04 11:27:23.190 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<message from='room-f529f301c9@muclight.localhost' to='kate_muclight_inbox_msg_unread_count_fcm_1976@localhost' id='6a7c62b80d7a0caf48ec31dad79d6c6e' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1646-393243-185895</version>
<user affiliation='member'>kate_muclight_inbox_msg_unread_count_fcm_1976@localhost</user>
</x>
<body/>
</message>
*** User 2022-03-04 11:27:23.190 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<message from='room-f529f301c9@muclight.localhost' to='alice_muclight_inbox_msg_unread_count_fcm_1976@localhost' id='6a7c62b80d7a0caf48ec31dad79d6c6e' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<prev-version>1646-393243-179467</prev-version>
<version>1646-393243-185895</version>
<user affiliation='member'>kate_muclight_inbox_msg_unread_count_fcm_1976@localhost</user>
</x>
<body/>
</message>
*** User 2022-03-04 11:27:23.190 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<iq from='room-f529f301c9@muclight.localhost' to='alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1' id='6a7c62b80d7a0caf48ec31dad79d6c6e' type='result'/>
*** User 2022-03-04 11:27:23.190 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 out
<iq type='set' id='3f51f4dcc61da93c91f440e6d5cc85bd'>
<enable xmlns='urn:xmpp:push:0' jid='virtual.localhost' node='princely_musings_54GGXjUG2fU='>
<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>GM47MJGEMLGN86LA7FDHGNLL62EH</value>
</field>
<field var='silent'>
<value>true</value>
</field>
</x>
</enable>
</iq>
*** User 2022-03-04 11:27:23.191 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<iq from='kate_muclight_inbox_msg_unread_count_fcm_1976@localhost' to='kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1' id='3f51f4dcc61da93c91f440e6d5cc85bd' type='result'/>
*** User 2022-03-04 11:27:23.192 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 out
<presence type='unavailable'/>
*** User 2022-03-04 11:27:23.192 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 out
<message to='room-f529f301c9@muclight.localhost' type='groupchat'>
<body>First!</body>
</message>
*** User 2022-03-04 11:27:23.198 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<message from='room-f529f301c9@muclight.localhost/alice_muclight_inbox_msg_unread_count_fcm_1976@localhost' to='alice_muclight_inbox_msg_unread_count_fcm_1976@localhost' id='1646-393243-194334' type='groupchat'>
<body>First!</body>
</message>
*** User 2022-03-04 11:27:23.198 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 out
<message to='room-f529f301c9@muclight.localhost' type='groupchat'>
<body>Second!</body>
</message>
*** User 2022-03-04 11:27:23.203 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<message from='room-f529f301c9@muclight.localhost/alice_muclight_inbox_msg_unread_count_fcm_1976@localhost' to='alice_muclight_inbox_msg_unread_count_fcm_1976@localhost' id='1646-393243-200159' type='groupchat'>
<body>Second!</body>
</message>
*** User 2022-03-04 11:27:23.203 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 out
<presence/>
*** User 2022-03-04 11:27:23.204 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<presence from='kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1' to='kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1' xml:lang='en'/>
*** User 2022-03-04 11:27:23.205 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 out
<message to='room-f529f301c9@muclight.localhost' type='groupchat'>
<body>Third!</body>
</message>
*** User 2022-03-04 11:27:23.209 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<message from='room-f529f301c9@muclight.localhost/alice_muclight_inbox_msg_unread_count_fcm_1976@localhost' to='kate_muclight_inbox_msg_unread_count_fcm_1976@localhost' id='1646-393243-206514' type='groupchat'>
<body>Third!</body>
</message>
*** User 2022-03-04 11:27:23.209 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<message from='room-f529f301c9@muclight.localhost/alice_muclight_inbox_msg_unread_count_fcm_1976@localhost' to='alice_muclight_inbox_msg_unread_count_fcm_1976@localhost' id='1646-393243-206514' type='groupchat'>
<body>Third!</body>
</message>
*** User 2022-03-04 11:27:23.209 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 out
<iq type='set' id='fd2e5f2ed1362214faac43b9de5b5348'>
<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-03-04 11:27:23.210 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<message from='kate_muclight_inbox_msg_unread_count_fcm_1976@localhost' to='kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1' id='a0514e17-eb4d-4b5d-8035-81e5fca104e4'>
<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='3' queryid='fd2e5f2ed1362214faac43b9de5b5348'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T11:27:23.208133Z'/>
<message to='kate_muclight_inbox_msg_unread_count_fcm_1976@localhost' id='1646-393243-206514' type='groupchat' from='room-f529f301c9@muclight.localhost/alice_muclight_inbox_msg_unread_count_fcm_1976@localhost'>
<body>Third!</body>
</message>
</forwarded>
<archive>false</archive>
<mute>0</mute>
</result>
</message>
*** User 2022-03-04 11:27:23.210 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
<iq from='kate_muclight_inbox_msg_unread_count_fcm_1976@localhost' to='kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1' id='fd2e5f2ed1362214faac43b9de5b5348' 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-03-04 11:27:23.210 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 out
</stream:stream>
*** User 2022-03-04 11:27:23.211 ***
kate_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
</stream:stream>
*** User 2022-03-04 11:27:23.211 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 out
</stream:stream>
*** User 2022-03-04 11:27:23.211 ***
alicE_muclight_inbox_msg_unread_count_fcm_1976@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-04 11:27:23
=== successfully completed test case
=== === Returned value: ok