=== Test case: push_integration_SUITE: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_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.7370.2>},
{pubsub_host,real},
{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.inbox_msg_unread_count_fcm.153858.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@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:12
*** User 2022-03-04 11:27:12.343 ***
bOb_inbox_msg_unread_count_fcm_1926@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:12.344 ***
bOb_inbox_msg_unread_count_fcm_1926@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1d1edf224687f639' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:27:12.344 ***
bOb_inbox_msg_unread_count_fcm_1926@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:12.344 ***
bOb_inbox_msg_unread_count_fcm_1926@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbmJveF9tc2dfdW5yZWFkX2NvdW50X2ZjbV8xOTI2AG1ha3JvbGlrYQ==</auth>
*** User 2022-03-04 11:27:12.345 ***
bOb_inbox_msg_unread_count_fcm_1926@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:27:12.345 ***
bOb_inbox_msg_unread_count_fcm_1926@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:12.345 ***
bOb_inbox_msg_unread_count_fcm_1926@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='694911fcf82a5fe0' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:27:12.346 ***
bOb_inbox_msg_unread_count_fcm_1926@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:12.346 ***
bOb_inbox_msg_unread_count_fcm_1926@localhost/res1 out
<iq type='set' id='bd4000d4de06a78fcee2d19419d34f9d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-04 11:27:12.346 ***
bOb_inbox_msg_unread_count_fcm_1926@localhost/res1 in
<iq id='bd4000d4de06a78fcee2d19419d34f9d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_inbox_msg_unread_count_fcm_1926@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-04 11:27:12.346 ***
bOb_inbox_msg_unread_count_fcm_1926@localhost/res1 out
<iq type='set' id='4a162bccfab1824bcd7c62f5bf85ee3f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:27:12.346 ***
bOb_inbox_msg_unread_count_fcm_1926@localhost/res1 in
<iq type='result' id='4a162bccfab1824bcd7c62f5bf85ee3f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:27:12.347 ***
bOb_inbox_msg_unread_count_fcm_1926@localhost/res1 out
<presence/>
*** User 2022-03-04 11:27:12.348 ***
bOb_inbox_msg_unread_count_fcm_1926@localhost/res1 in
<presence from='bOb_inbox_msg_unread_count_fcm_1926@localhost/res1' to='bob_inbox_msg_unread_count_fcm_1926@localhost/res1' xml:lang='en'/>
*** User 2022-03-04 11:27:12.349 ***
alicE_inbox_msg_unread_count_fcm_1926@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:12.349 ***
alicE_inbox_msg_unread_count_fcm_1926@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='09213dc6fdf0ec7c' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:27:12.349 ***
alicE_inbox_msg_unread_count_fcm_1926@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:12.349 ***
alicE_inbox_msg_unread_count_fcm_1926@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2luYm94X21zZ191bnJlYWRfY291bnRfZmNtXzE5MjYAbWF0eWdyeXNh</auth>
*** User 2022-03-04 11:27:12.350 ***
alicE_inbox_msg_unread_count_fcm_1926@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:27:12.351 ***
alicE_inbox_msg_unread_count_fcm_1926@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:12.351 ***
alicE_inbox_msg_unread_count_fcm_1926@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0a0b269274b21a53' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:27:12.351 ***
alicE_inbox_msg_unread_count_fcm_1926@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:12.351 ***
alicE_inbox_msg_unread_count_fcm_1926@localhost/res1 out
<iq type='set' id='5c8bffda3f767141941b4047c31aa464'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-04 11:27:12.351 ***
alicE_inbox_msg_unread_count_fcm_1926@localhost/res1 in
<iq id='5c8bffda3f767141941b4047c31aa464' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_inbox_msg_unread_count_fcm_1926@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-04 11:27:12.352 ***
alicE_inbox_msg_unread_count_fcm_1926@localhost/res1 out
<iq type='set' id='03b29f6c2570fb6828d9d883346cf5cd'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:27:12.352 ***
alicE_inbox_msg_unread_count_fcm_1926@localhost/res1 in
<iq type='result' id='03b29f6c2570fb6828d9d883346cf5cd'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:27:12.352 ***
alicE_inbox_msg_unread_count_fcm_1926@localhost/res1 out
<presence/>
*** User 2022-03-04 11:27:12.353 ***
alicE_inbox_msg_unread_count_fcm_1926@localhost/res1 in
<presence from='alicE_inbox_msg_unread_count_fcm_1926@localhost/res1' to='alice_inbox_msg_unread_count_fcm_1926@localhost/res1' xml:lang='en'/>
*** User 2022-03-04 11:27:12.354 ***
kate_inbox_msg_unread_count_fcm_1926@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:12.354 ***
kate_inbox_msg_unread_count_fcm_1926@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f9ce80a770cf1c7b' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:27:12.354 ***
kate_inbox_msg_unread_count_fcm_1926@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:12.355 ***
kate_inbox_msg_unread_count_fcm_1926@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfaW5ib3hfbXNnX3VucmVhZF9jb3VudF9mY21fMTkyNgBtYWtyb3dlO3A=</auth>
*** User 2022-03-04 11:27:12.355 ***
kate_inbox_msg_unread_count_fcm_1926@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:27:12.355 ***
kate_inbox_msg_unread_count_fcm_1926@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:12.356 ***
kate_inbox_msg_unread_count_fcm_1926@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5d27c431f29f76cc' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:27:12.356 ***
kate_inbox_msg_unread_count_fcm_1926@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:12.356 ***
kate_inbox_msg_unread_count_fcm_1926@localhost/res1 out
<iq type='set' id='eb4e932386473e211bd6ed241150acda'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-04 11:27:12.356 ***
kate_inbox_msg_unread_count_fcm_1926@localhost/res1 in
<iq id='eb4e932386473e211bd6ed241150acda' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_inbox_msg_unread_count_fcm_1926@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-04 11:27:12.356 ***
kate_inbox_msg_unread_count_fcm_1926@localhost/res1 out
<iq type='set' id='5faf443062811c97d7757c563b4860ad'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:27:12.356 ***
kate_inbox_msg_unread_count_fcm_1926@localhost/res1 in
<iq type='result' id='5faf443062811c97d7757c563b4860ad'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-04 11:27:12.357 ***
kate_inbox_msg_unread_count_fcm_1926@localhost/res1 out
<presence/>
*** User 2022-03-04 11:27:12.360 ***
kate_inbox_msg_unread_count_fcm_1926@localhost/res1 in
<presence from='kate_inbox_msg_unread_count_fcm_1926@localhost/res1' to='kate_inbox_msg_unread_count_fcm_1926@localhost/res1' xml:lang='en'/>
*** User 2022-03-04 11:27:12.360 ***
bOb_inbox_msg_unread_count_fcm_1926@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='bOb_inbox_msg_unread_count_fcm_1926-pubsub.localhost-princely_musings_6VytRjBPMm0=-create_node' from='bOb_inbox_msg_unread_count_fcm_1926@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create type='push' node='princely_musings_6VytRjBPMm0='/>
<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-03-04 11:27:12.363 ***
bOb_inbox_msg_unread_count_fcm_1926@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_inbox_msg_unread_count_fcm_1926@localhost/res1' id='bOb_inbox_msg_unread_count_fcm_1926-pubsub.localhost-princely_musings_6VytRjBPMm0=-create_node' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_6VytRjBPMm0='/>
</pubsub>
</iq>
*** User 2022-03-04 11:27:12.363 ***
bOb_inbox_msg_unread_count_fcm_1926@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='KjX47pQ=' from='bOb_inbox_msg_unread_count_fcm_1926@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
<affiliations node='princely_musings_6VytRjBPMm0='>
<affiliation jid='localhost' affiliation='publish-only'/>
</affiliations>
</pubsub>
</iq>
*** User 2022-03-04 11:27:12.364 ***
bOb_inbox_msg_unread_count_fcm_1926@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_inbox_msg_unread_count_fcm_1926@localhost/res1' id='KjX47pQ=' type='result'/>
*** User 2022-03-04 11:27:12.364 ***
bOb_inbox_msg_unread_count_fcm_1926@localhost/res1 out
<iq type='set' id='4f45aa666d7f33a1945f06e083e6a795'>
<enable xmlns='urn:xmpp:push:0' jid='pubsub.localhost' node='princely_musings_6VytRjBPMm0='>
<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>17M487MGN0BJ01F238GF6J1KF081</value>
</field>
<field var='silent'>
<value>true</value>
</field>
</x>
</enable>
</iq>
*** User 2022-03-04 11:27:12.366 ***
bOb_inbox_msg_unread_count_fcm_1926@localhost/res1 in
<iq from='bOb_inbox_msg_unread_count_fcm_1926@localhost' to='bOb_inbox_msg_unread_count_fcm_1926@localhost/res1' id='4f45aa666d7f33a1945f06e083e6a795' type='result'/>
*** User 2022-03-04 11:27:12.366 ***
bOb_inbox_msg_unread_count_fcm_1926@localhost/res1 out
<presence type='unavailable'/>
*** User 2022-03-04 11:27:12.770 ***
alicE_inbox_msg_unread_count_fcm_1926@localhost/res1 out
<message to='bob_inbox_msg_unread_count_fcm_1926@localhost' type='chat' id='4f3f282fbcce4e6f1c87c28390592851'>
<body>Private message</body>
</message>
*** User 2022-03-04 11:27:12.776 ***
kate_inbox_msg_unread_count_fcm_1926@localhost/res1 out
<message to='bob_inbox_msg_unread_count_fcm_1926@localhost' type='chat' id='c28d745332c08ea41a56b2502bd3446e'>
<body>Private message</body>
</message>
*** User 2022-03-04 11:27:12.780 ***
alicE_inbox_msg_unread_count_fcm_1926@localhost/res1 out
<message to='bob_inbox_msg_unread_count_fcm_1926@localhost' type='chat' id='95f904990913e8111caa9d4b1649f00f'>
<body>Private message</body>
</message>
*** User 2022-03-04 11:27:12.784 ***
alicE_inbox_msg_unread_count_fcm_1926@localhost/res1 out
<message to='bob_inbox_msg_unread_count_fcm_1926@localhost' type='chat' id='314a3dfb9d3057b8ec8269e5101d3a3b'>
<body>Private message</body>
</message>
*** User 2022-03-04 11:27:12.787 ***
kate_inbox_msg_unread_count_fcm_1926@localhost/res1 out
<message to='bob_inbox_msg_unread_count_fcm_1926@localhost' type='chat' id='d3f63afc1d85f7cc903dcd57c4fb5bf1'>
<body>Private message</body>
</message>
*** User 2022-03-04 11:27:12.791 ***
kate_inbox_msg_unread_count_fcm_1926@localhost/res1 out
</stream:stream>
*** User 2022-03-04 11:27:12.791 ***
kate_inbox_msg_unread_count_fcm_1926@localhost/res1 in
</stream:stream>
*** User 2022-03-04 11:27:12.791 ***
alicE_inbox_msg_unread_count_fcm_1926@localhost/res1 out
</stream:stream>
*** User 2022-03-04 11:27:12.791 ***
alicE_inbox_msg_unread_count_fcm_1926@localhost/res1 in
</stream:stream>
*** User 2022-03-04 11:27:12.792 ***
bOb_inbox_msg_unread_count_fcm_1926@localhost/res1 out
</stream:stream>
*** User 2022-03-04 11:27:12.792 ***
bOb_inbox_msg_unread_count_fcm_1926@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-04 11:27:12
=== successfully completed test case
=== === Returned value: ok