=== 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},
                         {virtual_pubsub_hosts,
                             [{prefix,<<"virtual.">>}]}]}]}]}]},
     {watchdog,<0.8286.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.inbox_msg_unread_count_apns.157314.html"},
     {tc_group_properties,[{name,pm_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:22


*** CT 2022-03-04 11:27:22.797 *** View log from node mongooseim@localhost when started mongooseim@localhost_5720.html
*** CT 2022-03-04 11:27:22.798 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2335.html

*** User 2022-03-04 11:27:22.813 ***
bOb_inbox_msg_unread_count_apns_1969@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:22.813 ***
bOb_inbox_msg_unread_count_apns_1969@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bb2f5c4b6eaf942b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:27:22.813 ***
bOb_inbox_msg_unread_count_apns_1969@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:22.813 ***
bOb_inbox_msg_unread_count_apns_1969@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbmJveF9tc2dfdW5yZWFkX2NvdW50X2FwbnNfMTk2OQBtYWtyb2xpa2E=</auth>



*** User 2022-03-04 11:27:22.814 ***
bOb_inbox_msg_unread_count_apns_1969@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:27:22.814 ***
bOb_inbox_msg_unread_count_apns_1969@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:22.814 ***
bOb_inbox_msg_unread_count_apns_1969@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='59a82735749b5b6c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:27:22.814 ***
bOb_inbox_msg_unread_count_apns_1969@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:22.815 ***
bOb_inbox_msg_unread_count_apns_1969@localhost/res1 out
<iq type='set' id='5c0ea677495a0eda91cbe2bbe77fc248'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:27:22.815 ***
bOb_inbox_msg_unread_count_apns_1969@localhost/res1 in
<iq id='5c0ea677495a0eda91cbe2bbe77fc248' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_inbox_msg_unread_count_apns_1969@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:27:22.815 ***
bOb_inbox_msg_unread_count_apns_1969@localhost/res1 out
<iq type='set' id='b3a11d687f9cb04875240ab1585a5f89'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:27:22.815 ***
bOb_inbox_msg_unread_count_apns_1969@localhost/res1 in
<iq type='result' id='b3a11d687f9cb04875240ab1585a5f89'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:27:22.816 ***
bOb_inbox_msg_unread_count_apns_1969@localhost/res1 out
<presence/>



*** User 2022-03-04 11:27:22.817 ***
bOb_inbox_msg_unread_count_apns_1969@localhost/res1 in
<presence from='bOb_inbox_msg_unread_count_apns_1969@localhost/res1' to='bob_inbox_msg_unread_count_apns_1969@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:27:22.818 ***
alicE_inbox_msg_unread_count_apns_1969@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:22.818 ***
alicE_inbox_msg_unread_count_apns_1969@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a72a21696300a214' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:27:22.818 ***
alicE_inbox_msg_unread_count_apns_1969@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:22.818 ***
alicE_inbox_msg_unread_count_apns_1969@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2luYm94X21zZ191bnJlYWRfY291bnRfYXBuc18xOTY5AG1hdHlncnlzYQ==</auth>



*** User 2022-03-04 11:27:22.819 ***
alicE_inbox_msg_unread_count_apns_1969@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:27:22.819 ***
alicE_inbox_msg_unread_count_apns_1969@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:22.819 ***
alicE_inbox_msg_unread_count_apns_1969@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ada0aae8aaa0887a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:27:22.819 ***
alicE_inbox_msg_unread_count_apns_1969@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:22.819 ***
alicE_inbox_msg_unread_count_apns_1969@localhost/res1 out
<iq type='set' id='e4ebe668a3dc0727dde1cd6e11469425'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:27:22.820 ***
alicE_inbox_msg_unread_count_apns_1969@localhost/res1 in
<iq id='e4ebe668a3dc0727dde1cd6e11469425' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_inbox_msg_unread_count_apns_1969@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:27:22.820 ***
alicE_inbox_msg_unread_count_apns_1969@localhost/res1 out
<iq type='set' id='4acff89a53ab97281113514806a5246a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:27:22.820 ***
alicE_inbox_msg_unread_count_apns_1969@localhost/res1 in
<iq type='result' id='4acff89a53ab97281113514806a5246a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:27:22.820 ***
alicE_inbox_msg_unread_count_apns_1969@localhost/res1 out
<presence/>



*** User 2022-03-04 11:27:22.821 ***
alicE_inbox_msg_unread_count_apns_1969@localhost/res1 in
<presence from='alicE_inbox_msg_unread_count_apns_1969@localhost/res1' to='alice_inbox_msg_unread_count_apns_1969@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:27:22.822 ***
kate_inbox_msg_unread_count_apns_1969@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:22.822 ***
kate_inbox_msg_unread_count_apns_1969@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3a3ecb476ad3e950' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:27:22.822 ***
kate_inbox_msg_unread_count_apns_1969@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:22.823 ***
kate_inbox_msg_unread_count_apns_1969@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfaW5ib3hfbXNnX3VucmVhZF9jb3VudF9hcG5zXzE5NjkAbWFrcm93ZTtw</auth>



*** User 2022-03-04 11:27:22.824 ***
kate_inbox_msg_unread_count_apns_1969@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:27:22.824 ***
kate_inbox_msg_unread_count_apns_1969@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:22.824 ***
kate_inbox_msg_unread_count_apns_1969@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b496041601e95f85' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:27:22.824 ***
kate_inbox_msg_unread_count_apns_1969@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:22.824 ***
kate_inbox_msg_unread_count_apns_1969@localhost/res1 out
<iq type='set' id='4ceaa374b8ac713c166794fdb9233544'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:27:22.824 ***
kate_inbox_msg_unread_count_apns_1969@localhost/res1 in
<iq id='4ceaa374b8ac713c166794fdb9233544' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_inbox_msg_unread_count_apns_1969@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:27:22.824 ***
kate_inbox_msg_unread_count_apns_1969@localhost/res1 out
<iq type='set' id='42191315717d47d960258f55385d5143'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:27:22.825 ***
kate_inbox_msg_unread_count_apns_1969@localhost/res1 in
<iq type='result' id='42191315717d47d960258f55385d5143'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:27:22.825 ***
kate_inbox_msg_unread_count_apns_1969@localhost/res1 out
<presence/>



*** User 2022-03-04 11:27:22.826 ***
kate_inbox_msg_unread_count_apns_1969@localhost/res1 in
<presence from='kate_inbox_msg_unread_count_apns_1969@localhost/res1' to='kate_inbox_msg_unread_count_apns_1969@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:27:22.826 ***
bOb_inbox_msg_unread_count_apns_1969@localhost/res1 out
<iq type='set' id='f973c21eb5c9b39eab2685d2c3c8bb28'>
	<enable xmlns='urn:xmpp:push:0' jid='virtual.localhost' node='princely_musings_lsU0j6id+pk='>
		<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>9MDB3G4D3HBI0NKI69NNA52BCHNE</value>
			</field>
			<field var='silent'>
				<value>true</value>
			</field>
		</x>
	</enable>
</iq>



*** User 2022-03-04 11:27:22.846 ***
bOb_inbox_msg_unread_count_apns_1969@localhost/res1 in
<iq from='bOb_inbox_msg_unread_count_apns_1969@localhost' to='bOb_inbox_msg_unread_count_apns_1969@localhost/res1' id='f973c21eb5c9b39eab2685d2c3c8bb28' type='result'/>



*** User 2022-03-04 11:27:22.847 ***
bOb_inbox_msg_unread_count_apns_1969@localhost/res1 out
<presence type='unavailable'/>



*** User 2022-03-04 11:27:22.949 ***
alicE_inbox_msg_unread_count_apns_1969@localhost/res1 out
<message to='bob_inbox_msg_unread_count_apns_1969@localhost' type='chat' id='f46aa966948eecc30364f0c65ea7d65b'>
	<body>Private message</body>
</message>



*** User 2022-03-04 11:27:22.954 ***
kate_inbox_msg_unread_count_apns_1969@localhost/res1 out
<message to='bob_inbox_msg_unread_count_apns_1969@localhost' type='chat' id='40d95a89d63cffd1e5c4dabfa91d20b5'>
	<body>Private message</body>
</message>



*** User 2022-03-04 11:27:22.956 ***
alicE_inbox_msg_unread_count_apns_1969@localhost/res1 out
<message to='bob_inbox_msg_unread_count_apns_1969@localhost' type='chat' id='58a0ce9a55e76bae43b2bc6b09f277c0'>
	<body>Private message</body>
</message>



*** User 2022-03-04 11:27:22.958 ***
alicE_inbox_msg_unread_count_apns_1969@localhost/res1 out
<message to='bob_inbox_msg_unread_count_apns_1969@localhost' type='chat' id='650e60fb8cbefa79e52a9a2133f90d29'>
	<body>Private message</body>
</message>



*** User 2022-03-04 11:27:22.961 ***
kate_inbox_msg_unread_count_apns_1969@localhost/res1 out
<message to='bob_inbox_msg_unread_count_apns_1969@localhost' type='chat' id='b062fa486b78d6d3bc40fcc7d947fca3'>
	<body>Private message</body>
</message>



*** User 2022-03-04 11:27:22.965 ***
kate_inbox_msg_unread_count_apns_1969@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:27:22.966 ***
kate_inbox_msg_unread_count_apns_1969@localhost/res1 in
</stream:stream>

*** User 2022-03-04 11:27:22.966 ***
alicE_inbox_msg_unread_count_apns_1969@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:27:22.966 ***
alicE_inbox_msg_unread_count_apns_1969@localhost/res1 in
</stream:stream>

*** User 2022-03-04 11:27:22.966 ***
bOb_inbox_msg_unread_count_apns_1969@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:27:22.967 ***
bOb_inbox_msg_unread_count_apns_1969@localhost/res1 in
</stream:stream>
*** CT 2022-03-04 11:27:22.968 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2335.html
*** CT 2022-03-04 11:27:22.969 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5720.html



=== Ended at 2022-03-04 11:27:22
=== successfully completed test case
=== === Returned value: ok