=== Test case: push_integration_SUITE:muclight_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_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.6337.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.push_integration_SUITE.logs/run.2022-01-27_15.36.19/push_integration_suite.muclight_inbox_msg_unread_count_apns.74628.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.push_integration_SUITE.logs/run.2022-01-27_15.36.19/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@43a5deef6262.2022-01-27_15.25.11"
=== Started at 2022-01-27 15:36:33
*** User 2022-01-27 15:36:33.309 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@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-27 15:36:33.309 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d9b836beeb311843' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:36:33.309 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@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-27 15:36:33.309 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX211Y2xpZ2h0X2luYm94X21zZ191bnJlYWRfY291bnRfYXBuc18yMTE0AG1hdHlncnlzYQ==</auth>
*** User 2022-01-27 15:36:33.316 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:36:33.316 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@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-27 15:36:33.316 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bf419974e39099ea' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:36:33.316 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@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-27 15:36:33.316 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 out
<iq type='set' id='64e8028121d27bfac91fdd1dbc4b234c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:36:33.316 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<iq id='64e8028121d27bfac91fdd1dbc4b234c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:36:33.316 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 out
<iq type='set' id='ddfc6d61f4e3c51753b498bf293bca5d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:36:33.317 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<iq type='result' id='ddfc6d61f4e3c51753b498bf293bca5d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:36:33.317 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 out
<presence/>
*** User 2022-01-27 15:36:33.325 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<presence from='alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1' to='alice_muclight_inbox_msg_unread_count_apns_2114@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:36:33.325 ***
kate_muclight_inbox_msg_unread_count_apns_2114@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-27 15:36:33.326 ***
kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c5e913b64153a66a' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:36:33.326 ***
kate_muclight_inbox_msg_unread_count_apns_2114@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-27 15:36:33.326 ***
kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfbXVjbGlnaHRfaW5ib3hfbXNnX3VucmVhZF9jb3VudF9hcG5zXzIxMTQAbWFrcm93ZTtw</auth>
*** User 2022-01-27 15:36:33.327 ***
kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-27 15:36:33.327 ***
kate_muclight_inbox_msg_unread_count_apns_2114@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-27 15:36:33.327 ***
kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='478f6f0578cf5f5e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-27 15:36:33.328 ***
kate_muclight_inbox_msg_unread_count_apns_2114@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-27 15:36:33.328 ***
kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 out
<iq type='set' id='341386b70f4a661297478e7da7d91b41'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-01-27 15:36:33.328 ***
kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<iq id='341386b70f4a661297478e7da7d91b41' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1</jid>
</bind>
</iq>
*** User 2022-01-27 15:36:33.328 ***
kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 out
<iq type='set' id='0d2dd3b3ca0417c1398fcc1768f4b3bd'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:36:33.328 ***
kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<iq type='result' id='0d2dd3b3ca0417c1398fcc1768f4b3bd'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-01-27 15:36:33.329 ***
kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 out
<presence/>
*** User 2022-01-27 15:36:33.330 ***
kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<presence from='kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1' to='kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:36:33.331 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 out
<iq type='set' id='82a7a3a9ebb74854040473ff0702ea46' to='room-1742a7a529@muclight.localhost'>
<query xmlns='urn:xmpp:muclight:0#create'>
<configuration/>
<occupants/>
</query>
</iq>
*** User 2022-01-27 15:36:33.337 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<message from='room-1742a7a529@muclight.localhost' to='alice_muclight_inbox_msg_unread_count_apns_2114@localhost' id='82a7a3a9ebb74854040473ff0702ea46' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1643-297793-331533</version>
<user affiliation='owner'>alice_muclight_inbox_msg_unread_count_apns_2114@localhost</user>
</x>
<body/>
</message>
*** User 2022-01-27 15:36:33.337 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<iq from='room-1742a7a529@muclight.localhost' to='alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1' id='82a7a3a9ebb74854040473ff0702ea46' type='result'/>
*** User 2022-01-27 15:36:33.337 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 out
<iq type='set' id='f45a38b613dd5ec7187428b10c27228a' to='room-1742a7a529@muclight.localhost'>
<query xmlns='urn:xmpp:muclight:0#affiliations'>
<user affiliation='member'>kate_muclight_inbox_msg_unread_count_apns_2114@localhost</user>
</query>
</iq>
*** User 2022-01-27 15:36:33.349 ***
kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<message from='room-1742a7a529@muclight.localhost' to='kate_muclight_inbox_msg_unread_count_apns_2114@localhost' id='f45a38b613dd5ec7187428b10c27228a' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1643-297793-340450</version>
<user affiliation='member'>kate_muclight_inbox_msg_unread_count_apns_2114@localhost</user>
</x>
<body/>
</message>
*** User 2022-01-27 15:36:33.349 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<message from='room-1742a7a529@muclight.localhost' to='alice_muclight_inbox_msg_unread_count_apns_2114@localhost' id='f45a38b613dd5ec7187428b10c27228a' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<prev-version>1643-297793-331533</prev-version>
<version>1643-297793-340450</version>
<user affiliation='member'>kate_muclight_inbox_msg_unread_count_apns_2114@localhost</user>
</x>
<body/>
</message>
*** User 2022-01-27 15:36:33.349 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<iq from='room-1742a7a529@muclight.localhost' to='alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1' id='f45a38b613dd5ec7187428b10c27228a' type='result'/>
*** User 2022-01-27 15:36:33.349 ***
kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 out
<iq type='set' id='c175032cb077e3b2832161790901413e'>
<enable xmlns='urn:xmpp:push:0' jid='virtual.localhost' node='princely_musings_zcSZ7Xk.w7Y='>
<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>7BN251KNB9LN22ICDEIJIB9J8LH3</value>
</field>
<field var='silent'>
<value>true</value>
</field>
</x>
</enable>
</iq>
*** User 2022-01-27 15:36:33.353 ***
kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<iq from='kate_muclight_inbox_msg_unread_count_apns_2114@localhost' to='kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1' id='c175032cb077e3b2832161790901413e' type='result'/>
*** User 2022-01-27 15:36:33.353 ***
kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 out
<presence type='unavailable'/>
*** User 2022-01-27 15:36:33.454 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 out
<message to='room-1742a7a529@muclight.localhost' type='groupchat'>
<body>First!</body>
</message>
*** User 2022-01-27 15:36:33.481 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<message from='room-1742a7a529@muclight.localhost/alice_muclight_inbox_msg_unread_count_apns_2114@localhost' to='alice_muclight_inbox_msg_unread_count_apns_2114@localhost' id='1643-297793-456249' type='groupchat'>
<body>First!</body>
</message>
*** User 2022-01-27 15:36:33.482 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 out
<message to='room-1742a7a529@muclight.localhost' type='groupchat'>
<body>Second!</body>
</message>
*** User 2022-01-27 15:36:33.507 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<message from='room-1742a7a529@muclight.localhost/alice_muclight_inbox_msg_unread_count_apns_2114@localhost' to='alice_muclight_inbox_msg_unread_count_apns_2114@localhost' id='1643-297793-483108' type='groupchat'>
<body>Second!</body>
</message>
*** User 2022-01-27 15:36:33.507 ***
kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 out
<presence/>
*** User 2022-01-27 15:36:33.508 ***
kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<presence from='kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1' to='kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1' xml:lang='en'/>
*** User 2022-01-27 15:36:33.509 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 out
<message to='room-1742a7a529@muclight.localhost' type='groupchat'>
<body>Third!</body>
</message>
*** User 2022-01-27 15:36:33.516 ***
kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<message from='room-1742a7a529@muclight.localhost/alice_muclight_inbox_msg_unread_count_apns_2114@localhost' to='kate_muclight_inbox_msg_unread_count_apns_2114@localhost' id='1643-297793-510143' type='groupchat'>
<body>Third!</body>
</message>
*** User 2022-01-27 15:36:33.516 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<message from='room-1742a7a529@muclight.localhost/alice_muclight_inbox_msg_unread_count_apns_2114@localhost' to='alice_muclight_inbox_msg_unread_count_apns_2114@localhost' id='1643-297793-510143' type='groupchat'>
<body>Third!</body>
</message>
*** User 2022-01-27 15:36:33.517 ***
kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 out
<iq type='set' id='4a2519710585f768ad667b3353af03fd'>
<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-27 15:36:33.518 ***
kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<message from='kate_muclight_inbox_msg_unread_count_apns_2114@localhost' to='kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1' id='c65e472d-3853-42b0-bbc1-b32c367cf25e'>
<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='3' queryid='4a2519710585f768ad667b3353af03fd'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T15:36:33.514173Z'/>
<message to='kate_muclight_inbox_msg_unread_count_apns_2114@localhost' id='1643-297793-510143' type='groupchat' from='room-1742a7a529@muclight.localhost/alice_muclight_inbox_msg_unread_count_apns_2114@localhost'>
<body>Third!</body>
</message>
</forwarded>
<archive>false</archive>
<mute>0</mute>
</result>
</message>
*** User 2022-01-27 15:36:33.518 ***
kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
<iq from='kate_muclight_inbox_msg_unread_count_apns_2114@localhost' to='kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1' id='4a2519710585f768ad667b3353af03fd' 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-27 15:36:33.518 ***
kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:36:33.519 ***
kate_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
</stream:stream>
*** User 2022-01-27 15:36:33.519 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 out
</stream:stream>
*** User 2022-01-27 15:36:33.519 ***
alicE_muclight_inbox_msg_unread_count_apns_2114@localhost/res1 in
</stream:stream>
=== Ended at 2022-01-27 15:36:33
=== successfully completed test case
=== === Returned value: ok