=== Test case: push_integration_SUITE:inbox_msg_unread_count_apns/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_unread_count_apns.143618.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.649 ***
bOb_inbox_msg_unread_count_apns_2135@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_unread_count_apns_2135@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0b460cbd7b4f7a69' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:33:52.650 ***
bOb_inbox_msg_unread_count_apns_2135@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.650 ***
bOb_inbox_msg_unread_count_apns_2135@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbmJveF9tc2dfdW5yZWFkX2NvdW50X2FwbnNfMjEzNQBtYWtyb2xpa2E=</auth>
*** User 2022-01-25 16:33:52.652 ***
bOb_inbox_msg_unread_count_apns_2135@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:33:52.652 ***
bOb_inbox_msg_unread_count_apns_2135@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.652 ***
bOb_inbox_msg_unread_count_apns_2135@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bad9cf65b0a4ffcf' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:33:52.652 ***
bOb_inbox_msg_unread_count_apns_2135@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.652 ***
bOb_inbox_msg_unread_count_apns_2135@localhost/res1 out
<iq type='set' id='1e13f9ba7e748bb2abb51b85f6a208bd'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-25 16:33:52.652 ***
bOb_inbox_msg_unread_count_apns_2135@localhost/res1 in
<iq id='1e13f9ba7e748bb2abb51b85f6a208bd' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_inbox_msg_unread_count_apns_2135@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-25 16:33:52.653 ***
bOb_inbox_msg_unread_count_apns_2135@localhost/res1 out
<iq type='set' id='aec88f3105204931f06a887cc9be59c7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:33:52.653 ***
bOb_inbox_msg_unread_count_apns_2135@localhost/res1 in
<iq type='result' id='aec88f3105204931f06a887cc9be59c7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:33:52.653 ***
bOb_inbox_msg_unread_count_apns_2135@localhost/res1 out
<presence/>
*** User 2022-01-25 16:33:52.654 ***
bOb_inbox_msg_unread_count_apns_2135@localhost/res1 in
<presence from='bOb_inbox_msg_unread_count_apns_2135@localhost/res1' to='bob_inbox_msg_unread_count_apns_2135@localhost/res1' xml:lang='en'/>
*** User 2022-01-25 16:33:52.655 ***
alicE_inbox_msg_unread_count_apns_2135@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_unread_count_apns_2135@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='23f6d8d83c1cdf6d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:33:52.655 ***
alicE_inbox_msg_unread_count_apns_2135@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.655 ***
alicE_inbox_msg_unread_count_apns_2135@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2luYm94X21zZ191bnJlYWRfY291bnRfYXBuc18yMTM1AG1hdHlncnlzYQ==</auth>
*** User 2022-01-25 16:33:52.657 ***
alicE_inbox_msg_unread_count_apns_2135@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:33:52.657 ***
alicE_inbox_msg_unread_count_apns_2135@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.657 ***
alicE_inbox_msg_unread_count_apns_2135@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e6211f5e16d75b00' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:33:52.657 ***
alicE_inbox_msg_unread_count_apns_2135@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.657 ***
alicE_inbox_msg_unread_count_apns_2135@localhost/res1 out
<iq type='set' id='b5123bebeb7e459ce555b90ea03d27e0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-25 16:33:52.657 ***
alicE_inbox_msg_unread_count_apns_2135@localhost/res1 in
<iq id='b5123bebeb7e459ce555b90ea03d27e0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_inbox_msg_unread_count_apns_2135@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-25 16:33:52.657 ***
alicE_inbox_msg_unread_count_apns_2135@localhost/res1 out
<iq type='set' id='0419970fbca73ac8a6631e1b0a9b19a4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:33:52.658 ***
alicE_inbox_msg_unread_count_apns_2135@localhost/res1 in
<iq type='result' id='0419970fbca73ac8a6631e1b0a9b19a4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:33:52.658 ***
alicE_inbox_msg_unread_count_apns_2135@localhost/res1 out
<presence/>
*** User 2022-01-25 16:33:52.660 ***
alicE_inbox_msg_unread_count_apns_2135@localhost/res1 in
<presence from='alicE_inbox_msg_unread_count_apns_2135@localhost/res1' to='alice_inbox_msg_unread_count_apns_2135@localhost/res1' xml:lang='en'/>
*** User 2022-01-25 16:33:52.661 ***
kate_inbox_msg_unread_count_apns_2135@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.661 ***
kate_inbox_msg_unread_count_apns_2135@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='386c56d82894918f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:33:52.661 ***
kate_inbox_msg_unread_count_apns_2135@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.661 ***
kate_inbox_msg_unread_count_apns_2135@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfaW5ib3hfbXNnX3VucmVhZF9jb3VudF9hcG5zXzIxMzUAbWFrcm93ZTtw</auth>
*** User 2022-01-25 16:33:52.663 ***
kate_inbox_msg_unread_count_apns_2135@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:33:52.663 ***
kate_inbox_msg_unread_count_apns_2135@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.663 ***
kate_inbox_msg_unread_count_apns_2135@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d14f25e87b0fc452' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:33:52.663 ***
kate_inbox_msg_unread_count_apns_2135@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.663 ***
kate_inbox_msg_unread_count_apns_2135@localhost/res1 out
<iq type='set' id='432e50aa07a19d1a5503aa4cb2d232d2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-25 16:33:52.663 ***
kate_inbox_msg_unread_count_apns_2135@localhost/res1 in
<iq id='432e50aa07a19d1a5503aa4cb2d232d2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_inbox_msg_unread_count_apns_2135@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-25 16:33:52.663 ***
kate_inbox_msg_unread_count_apns_2135@localhost/res1 out
<iq type='set' id='a0a2fa732f6b2b0b1bc2861636258980'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:33:52.664 ***
kate_inbox_msg_unread_count_apns_2135@localhost/res1 in
<iq type='result' id='a0a2fa732f6b2b0b1bc2861636258980'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-25 16:33:52.664 ***
kate_inbox_msg_unread_count_apns_2135@localhost/res1 out
<presence/>
*** User 2022-01-25 16:33:52.666 ***
kate_inbox_msg_unread_count_apns_2135@localhost/res1 in
<presence from='kate_inbox_msg_unread_count_apns_2135@localhost/res1' to='kate_inbox_msg_unread_count_apns_2135@localhost/res1' xml:lang='en'/>
*** User 2022-01-25 16:33:52.666 ***
bOb_inbox_msg_unread_count_apns_2135@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='bOb_inbox_msg_unread_count_apns_2135-pubsub.localhost-princely_musings_kv8+WgojgJ0=-create_node' from='bOb_inbox_msg_unread_count_apns_2135@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create type='push' node='princely_musings_kv8+WgojgJ0='/>
<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.689 ***
bOb_inbox_msg_unread_count_apns_2135@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_inbox_msg_unread_count_apns_2135@localhost/res1' id='bOb_inbox_msg_unread_count_apns_2135-pubsub.localhost-princely_musings_kv8+WgojgJ0=-create_node' type='result'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node='princely_musings_kv8+WgojgJ0='/>
</pubsub>
</iq>
*** User 2022-01-25 16:33:52.689 ***
bOb_inbox_msg_unread_count_apns_2135@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='bPCpXT8=' from='bOb_inbox_msg_unread_count_apns_2135@localhost/res1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
<affiliations node='princely_musings_kv8+WgojgJ0='>
<affiliation jid='localhost' affiliation='publish-only'/>
</affiliations>
</pubsub>
</iq>
*** User 2022-01-25 16:33:52.693 ***
bOb_inbox_msg_unread_count_apns_2135@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_inbox_msg_unread_count_apns_2135@localhost/res1' id='bPCpXT8=' type='result'/>
*** User 2022-01-25 16:33:52.693 ***
bOb_inbox_msg_unread_count_apns_2135@localhost/res1 out
<iq type='set' id='452223336fbb0bc39b1b1d31e90c25f9'>
<enable xmlns='urn:xmpp:push:0' jid='pubsub.localhost' node='princely_musings_kv8+WgojgJ0='>
<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>apns</value>
</field>
<field var='device_id'>
<value>2HLKM3EEJMAGJ59F0IKBK2HF46MN</value>
</field>
<field var='silent'>
<value>true</value>
</field>
</x>
</enable>
</iq>
*** User 2022-01-25 16:33:52.733 ***
bOb_inbox_msg_unread_count_apns_2135@localhost/res1 in
<iq from='bOb_inbox_msg_unread_count_apns_2135@localhost' to='bOb_inbox_msg_unread_count_apns_2135@localhost/res1' id='452223336fbb0bc39b1b1d31e90c25f9' type='result'/>
*** User 2022-01-25 16:33:52.734 ***
bOb_inbox_msg_unread_count_apns_2135@localhost/res1 out
<presence type='unavailable'/>
*** User 2022-01-25 16:33:53.137 ***
alicE_inbox_msg_unread_count_apns_2135@localhost/res1 out
<message to='bob_inbox_msg_unread_count_apns_2135@localhost' type='chat' id='eb85ae0c6706279444d3bbcf9596c4e1'>
<body>Private message</body>
</message>
*** User 2022-01-25 16:33:53.149 ***
kate_inbox_msg_unread_count_apns_2135@localhost/res1 out
<message to='bob_inbox_msg_unread_count_apns_2135@localhost' type='chat' id='546de4671a365f43d1132170af27f3c4'>
<body>Private message</body>
</message>
*** User 2022-01-25 16:33:53.178 ***
alicE_inbox_msg_unread_count_apns_2135@localhost/res1 out
<message to='bob_inbox_msg_unread_count_apns_2135@localhost' type='chat' id='099a01eb1f1832fc31cd088c9911c64c'>
<body>Private message</body>
</message>
*** User 2022-01-25 16:33:53.185 ***
alicE_inbox_msg_unread_count_apns_2135@localhost/res1 out
<message to='bob_inbox_msg_unread_count_apns_2135@localhost' type='chat' id='7737145dc57a500593eb789cc33f7a6d'>
<body>Private message</body>
</message>
*** User 2022-01-25 16:33:53.198 ***
kate_inbox_msg_unread_count_apns_2135@localhost/res1 out
<message to='bob_inbox_msg_unread_count_apns_2135@localhost' type='chat' id='e22c7c72c075fb83cb3058c0746f52a8'>
<body>Private message</body>
</message>
*** User 2022-01-25 16:33:53.206 ***
kate_inbox_msg_unread_count_apns_2135@localhost/res1 out
</stream:stream>
*** User 2022-01-25 16:33:53.207 ***
kate_inbox_msg_unread_count_apns_2135@localhost/res1 in
</stream:stream>
*** User 2022-01-25 16:33:53.207 ***
alicE_inbox_msg_unread_count_apns_2135@localhost/res1 out
</stream:stream>
*** User 2022-01-25 16:33:53.207 ***
alicE_inbox_msg_unread_count_apns_2135@localhost/res1 in
</stream:stream>
*** User 2022-01-25 16:33:53.207 ***
bOb_inbox_msg_unread_count_apns_2135@localhost/res1 out
</stream:stream>
*** User 2022-01-25 16:33:53.207 ***
bOb_inbox_msg_unread_count_apns_2135@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-25 16:33:53
=== successfully completed test case
=== === Returned value: ok