=== 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.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_apns.153602.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


*** CT 2022-03-04 11:27:12.329 *** View log from node mongooseim@localhost when started mongooseim@localhost_5646.html
*** CT 2022-03-04 11:27:12.330 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2335.html

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

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



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

*** User 2022-03-04 11:27:12.346 ***
bOb_inbox_msg_unread_count_apns_1927@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_apns_1927@localhost/res1 out
<iq type='set' id='f1ab94792d7e10ed86c2cf157adb2501'>
	<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_apns_1927@localhost/res1 in
<iq id='f1ab94792d7e10ed86c2cf157adb2501' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_inbox_msg_unread_count_apns_1927@localhost/res1</jid>
	</bind>
</iq>



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



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



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



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



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

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



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

*** User 2022-03-04 11:27:12.351 ***
alicE_inbox_msg_unread_count_apns_1927@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_apns_1927@localhost/res1 out
<iq type='set' id='3db7b25ffb15bdf8c9431c86d0622878'>
	<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_apns_1927@localhost/res1 in
<iq id='3db7b25ffb15bdf8c9431c86d0622878' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_inbox_msg_unread_count_apns_1927@localhost/res1</jid>
	</bind>
</iq>



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



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



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



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



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

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



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



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

*** User 2022-03-04 11:27:12.356 ***
kate_inbox_msg_unread_count_apns_1927@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_apns_1927@localhost/res1 out
<iq type='set' id='ef3464a72be48ddbe550105642a97461'>
	<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_apns_1927@localhost/res1 in
<iq id='ef3464a72be48ddbe550105642a97461' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_inbox_msg_unread_count_apns_1927@localhost/res1</jid>
	</bind>
</iq>



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



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



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



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



*** User 2022-03-04 11:27:12.358 ***
bOb_inbox_msg_unread_count_apns_1927@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='bOb_inbox_msg_unread_count_apns_1927-pubsub.localhost-princely_musings_1H2WmYjRqh0=-create_node' from='bOb_inbox_msg_unread_count_apns_1927@localhost/res1'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create type='push' node='princely_musings_1H2WmYjRqh0='/>
		<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.360 ***
bOb_inbox_msg_unread_count_apns_1927@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_inbox_msg_unread_count_apns_1927@localhost/res1' id='bOb_inbox_msg_unread_count_apns_1927-pubsub.localhost-princely_musings_1H2WmYjRqh0=-create_node' type='result'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create node='princely_musings_1H2WmYjRqh0='/>
	</pubsub>
</iq>



*** User 2022-03-04 11:27:12.361 ***
bOb_inbox_msg_unread_count_apns_1927@localhost/res1 out
<iq to='pubsub.localhost' type='set' id='Nh2pnKI=' from='bOb_inbox_msg_unread_count_apns_1927@localhost/res1'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
		<affiliations node='princely_musings_1H2WmYjRqh0='>
			<affiliation jid='localhost' affiliation='publish-only'/>
		</affiliations>
	</pubsub>
</iq>



*** User 2022-03-04 11:27:12.362 ***
bOb_inbox_msg_unread_count_apns_1927@localhost/res1 in
<iq from='pubsub.localhost' to='bOb_inbox_msg_unread_count_apns_1927@localhost/res1' id='Nh2pnKI=' type='result'/>



*** User 2022-03-04 11:27:12.362 ***
bOb_inbox_msg_unread_count_apns_1927@localhost/res1 out
<iq type='set' id='b72bf77c2d9a32c87d4f86fb03541bc9'>
	<enable xmlns='urn:xmpp:push:0' jid='pubsub.localhost' node='princely_musings_1H2WmYjRqh0='>
		<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>I3EM68EFFCFF8FK7C5156A3AH0I8</value>
			</field>
			<field var='silent'>
				<value>true</value>
			</field>
		</x>
	</enable>
</iq>



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



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



*** User 2022-03-04 11:27:12.768 ***
alicE_inbox_msg_unread_count_apns_1927@localhost/res1 out
<message to='bob_inbox_msg_unread_count_apns_1927@localhost' type='chat' id='6246c53ec4a2a9bdb69ec90674c3df21'>
	<body>Private message</body>
</message>



*** User 2022-03-04 11:27:12.773 ***
kate_inbox_msg_unread_count_apns_1927@localhost/res1 out
<message to='bob_inbox_msg_unread_count_apns_1927@localhost' type='chat' id='2b73e44bf4fd47c3f6c4de8c26a63239'>
	<body>Private message</body>
</message>



*** User 2022-03-04 11:27:12.777 ***
alicE_inbox_msg_unread_count_apns_1927@localhost/res1 out
<message to='bob_inbox_msg_unread_count_apns_1927@localhost' type='chat' id='67674c218dfe9c979f94fd5c89ae35da'>
	<body>Private message</body>
</message>



*** User 2022-03-04 11:27:12.781 ***
alicE_inbox_msg_unread_count_apns_1927@localhost/res1 out
<message to='bob_inbox_msg_unread_count_apns_1927@localhost' type='chat' id='025f0d8ac98e87e41af2b20a0be647de'>
	<body>Private message</body>
</message>



*** User 2022-03-04 11:27:12.784 ***
kate_inbox_msg_unread_count_apns_1927@localhost/res1 out
<message to='bob_inbox_msg_unread_count_apns_1927@localhost' type='chat' id='de533e297339c9d43823e07a5309cd9e'>
	<body>Private message</body>
</message>



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

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

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

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

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

*** User 2022-03-04 11:27:12.788 ***
bOb_inbox_msg_unread_count_apns_1927@localhost/res1 in
</stream:stream>
*** CT 2022-03-04 11:27:12.790 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2335.html
*** CT 2022-03-04 11:27:12.791 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5650.html



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