=== Test case: push_integration_SUITE:inbox_msg_unread_count_apns/1 (click for source code)

=== Config value:

    [{api_v,<<"v3">>},
     {required_modules,
         [{mod_inbox,
              #{iqdisc => no_queue,backend => rdbms,
                groupchat => [muclight],
                max_result_limit => infinity,
                reset_markers => [<<"displayed">>],
                aff_changes => false,remove_on_kicked => true,
                boxes => [<<"inbox">>,<<"archive">>,<<"bin">>],
                async_writer => #{pool_size => 8},
                delete_domain_limit => infinity,bin_ttl => 30,
                bin_clean_after => 3600000}},
          {mod_offline,
              #{backend => rdbms,
                access_max_user_messages => max_user_offline_messages,
                store_groupchat_messages => false}},
          {mod_push_service_mongoosepush,
              #{pool_name => mongoose_push_http,max_http_connections => 100,
                api_version => <<"v3">>}},
          {mod_event_pusher,
              #{push =>
                    #{iqdisc => one_queue,backend => rdbms,
                      wpool =>
                          #{strategy => available_worker,workers => 10,
                            call_timeout => 5000},
                      plugin_module => mod_event_pusher_push_plugin_defaults,
                      virtual_pubsub_hosts => [{prefix,<<"virtual.">>}]}}}]},
     {watchdog,<0.84377.0>},
     {pubsub_host,virtual},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,
         "/home/circleci/project/big_tests/tests/push_integration_SUITE_data"},
     {tc_logfile,
         "/home/circleci/project/big_tests/ct_report/ct_run.test@97931f009ece.2024-04-23_10.53.14/big_tests.tests.push_integration_SUITE.logs/run.2024-04-23_11.08.50/push_integration_suite.inbox_msg_unread_count_apns.176771.html"},
     {tc_group_properties,[{name,pm_notifications_with_inbox}]},
     {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@97931f009ece.2024-04-23_10.53.14/big_tests.tests.push_integration_SUITE.logs/run.2024-04-23_11.08.50/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        mod_sic => #{iqdisc => one_queue},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_amp => #{},mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@97931f009ece.2024-04-23_10.53.14"

=== Started at 2024-04-23 11:09:08


*** CT 2024-04-23 11:09:08.924 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4832.html

*** User 2024-04-23 11:09:08.974 ***🔗
bOb_inbox_msg_unread_count_apns_3274@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 11:09:08.975 ***🔗
bOb_inbox_msg_unread_count_apns_3274@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='23eec911e2410d05' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:09:08.975 ***🔗
bOb_inbox_msg_unread_count_apns_3274@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-23 11:09:08.975 ***🔗
bOb_inbox_msg_unread_count_apns_3274@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbmJveF9tc2dfdW5yZWFkX2NvdW50X2FwbnNfMzI3NABtYWtyb2xpa2E=</auth>



*** User 2024-04-23 11:09:08.976 ***🔗
bOb_inbox_msg_unread_count_apns_3274@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:09:08.977 ***🔗
bOb_inbox_msg_unread_count_apns_3274@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 11:09:08.977 ***🔗
bOb_inbox_msg_unread_count_apns_3274@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e98d8b1839f34d88' from='localhost' version='1.0' xml:lang='en' to='bob_inbox_msg_unread_count_apns_3274@localhost'>

*** User 2024-04-23 11:09:08.977 ***🔗
bOb_inbox_msg_unread_count_apns_3274@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-23 11:09:08.977 ***🔗
bOb_inbox_msg_unread_count_apns_3274@localhost/res1 out
<iq type='set' id='c0229dbcb685e8a8ee93ffa6a1432ea7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:09:08.977 ***🔗
bOb_inbox_msg_unread_count_apns_3274@localhost/res1 in
<iq id='c0229dbcb685e8a8ee93ffa6a1432ea7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_inbox_msg_unread_count_apns_3274@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:09:08.978 ***🔗
bob_inbox_msg_unread_count_apns_3274@localhost/res1 out
<iq type='set' id='fbb95c8e0592080025123d06962bd843'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:09:08.978 ***🔗
bob_inbox_msg_unread_count_apns_3274@localhost/res1 in
<iq from='localhost' to='bob_inbox_msg_unread_count_apns_3274@localhost/res1' id='fbb95c8e0592080025123d06962bd843' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:09:08.978 ***🔗
bob_inbox_msg_unread_count_apns_3274@localhost/res1 out
<presence/>



*** User 2024-04-23 11:09:08.981 ***🔗
bob_inbox_msg_unread_count_apns_3274@localhost/res1 in
<presence from='bob_inbox_msg_unread_count_apns_3274@localhost/res1' to='bob_inbox_msg_unread_count_apns_3274@localhost/res1'/>



*** User 2024-04-23 11:09:08.981 ***🔗
alicE_inbox_msg_unread_count_apns_3274@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 11:09:08.982 ***🔗
alicE_inbox_msg_unread_count_apns_3274@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fe5bc3886ff981a4' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:09:08.982 ***🔗
alicE_inbox_msg_unread_count_apns_3274@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-23 11:09:08.982 ***🔗
alicE_inbox_msg_unread_count_apns_3274@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2luYm94X21zZ191bnJlYWRfY291bnRfYXBuc18zMjc0AG1hdHlncnlzYQ==</auth>



*** User 2024-04-23 11:09:08.983 ***🔗
alicE_inbox_msg_unread_count_apns_3274@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:09:08.983 ***🔗
alicE_inbox_msg_unread_count_apns_3274@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 11:09:08.984 ***🔗
alicE_inbox_msg_unread_count_apns_3274@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='75c92427936c6c78' from='localhost' version='1.0' xml:lang='en' to='alice_inbox_msg_unread_count_apns_3274@localhost'>

*** User 2024-04-23 11:09:08.984 ***🔗
alicE_inbox_msg_unread_count_apns_3274@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-23 11:09:08.984 ***🔗
alicE_inbox_msg_unread_count_apns_3274@localhost/res1 out
<iq type='set' id='b1083dadfd8067aa66732190188606a9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:09:08.984 ***🔗
alicE_inbox_msg_unread_count_apns_3274@localhost/res1 in
<iq id='b1083dadfd8067aa66732190188606a9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_inbox_msg_unread_count_apns_3274@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:09:08.985 ***🔗
alice_inbox_msg_unread_count_apns_3274@localhost/res1 out
<iq type='set' id='4976f852a095e6034df51a857a85910a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:09:08.985 ***🔗
alice_inbox_msg_unread_count_apns_3274@localhost/res1 in
<iq from='localhost' to='alice_inbox_msg_unread_count_apns_3274@localhost/res1' id='4976f852a095e6034df51a857a85910a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:09:08.985 ***🔗
alice_inbox_msg_unread_count_apns_3274@localhost/res1 out
<presence/>



*** User 2024-04-23 11:09:08.989 ***🔗
alice_inbox_msg_unread_count_apns_3274@localhost/res1 in
<presence from='alice_inbox_msg_unread_count_apns_3274@localhost/res1' to='alice_inbox_msg_unread_count_apns_3274@localhost/res1'/>



*** User 2024-04-23 11:09:08.990 ***🔗
kate_inbox_msg_unread_count_apns_3274@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 11:09:08.990 ***🔗
kate_inbox_msg_unread_count_apns_3274@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b03297c48e75d73b' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:09:08.991 ***🔗
kate_inbox_msg_unread_count_apns_3274@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-23 11:09:08.991 ***🔗
kate_inbox_msg_unread_count_apns_3274@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfaW5ib3hfbXNnX3VucmVhZF9jb3VudF9hcG5zXzMyNzQAbWFrcm93ZTtw</auth>



*** User 2024-04-23 11:09:08.992 ***🔗
kate_inbox_msg_unread_count_apns_3274@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:09:08.992 ***🔗
kate_inbox_msg_unread_count_apns_3274@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 11:09:08.993 ***🔗
kate_inbox_msg_unread_count_apns_3274@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9ae129cb391d9e76' from='localhost' version='1.0' xml:lang='en' to='kate_inbox_msg_unread_count_apns_3274@localhost'>

*** User 2024-04-23 11:09:08.993 ***🔗
kate_inbox_msg_unread_count_apns_3274@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-23 11:09:08.993 ***🔗
kate_inbox_msg_unread_count_apns_3274@localhost/res1 out
<iq type='set' id='160a9a4a634365b71a706aa896474f49'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:09:08.993 ***🔗
kate_inbox_msg_unread_count_apns_3274@localhost/res1 in
<iq id='160a9a4a634365b71a706aa896474f49' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_inbox_msg_unread_count_apns_3274@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:09:08.994 ***🔗
kate_inbox_msg_unread_count_apns_3274@localhost/res1 out
<iq type='set' id='403255f0af46933d16a373eefad6e0c8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:09:08.994 ***🔗
kate_inbox_msg_unread_count_apns_3274@localhost/res1 in
<iq from='localhost' to='kate_inbox_msg_unread_count_apns_3274@localhost/res1' id='403255f0af46933d16a373eefad6e0c8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:09:08.995 ***🔗
kate_inbox_msg_unread_count_apns_3274@localhost/res1 out
<presence/>



*** User 2024-04-23 11:09:08.998 ***🔗
kate_inbox_msg_unread_count_apns_3274@localhost/res1 in
<presence from='kate_inbox_msg_unread_count_apns_3274@localhost/res1' to='kate_inbox_msg_unread_count_apns_3274@localhost/res1'/>



*** User 2024-04-23 11:09:08.998 ***🔗
bob_inbox_msg_unread_count_apns_3274@localhost/res1 out
<iq type='set' id='aec7b560434c1736f470ecfcac5ee05f'>
	<enable xmlns='urn:xmpp:push:0' jid='virtual.localhost' node='princely_musings_moIHxm6y9us='>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' 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>8MCH4B48GB747EC61INACA7B4FCE</value>
			</field>
			<field var='silent'>
				<value>true</value>
			</field>
		</x>
	</enable>
</iq>



*** User 2024-04-23 11:09:09.001 ***🔗
bob_inbox_msg_unread_count_apns_3274@localhost/res1 in
<iq from='bob_inbox_msg_unread_count_apns_3274@localhost' to='bob_inbox_msg_unread_count_apns_3274@localhost/res1' id='aec7b560434c1736f470ecfcac5ee05f' type='result'/>



*** User 2024-04-23 11:09:09.002 ***🔗
bob_inbox_msg_unread_count_apns_3274@localhost/res1 out
<presence type='unavailable'/>



*** User 2024-04-23 11:09:09.003 ***🔗
waiting for wait_for_user_offline is done in 0 miliseconds

*** User 2024-04-23 11:09:09.003 ***🔗
alice_inbox_msg_unread_count_apns_3274@localhost/res1 out
<message type='chat' to='bob_inbox_msg_unread_count_apns_3274@localhost' id='be7a11a8bf9bb06fef50237c52bd7dd2'>
	<body>Private message</body>
</message>



*** User 2024-04-23 11:09:09.009 ***🔗
kate_inbox_msg_unread_count_apns_3274@localhost/res1 out
<message type='chat' to='bob_inbox_msg_unread_count_apns_3274@localhost' id='a8707864cd4f3062484e6810a2d55772'>
	<body>Private message</body>
</message>



*** User 2024-04-23 11:09:09.015 ***🔗
alice_inbox_msg_unread_count_apns_3274@localhost/res1 out
<message type='chat' to='bob_inbox_msg_unread_count_apns_3274@localhost' id='3db63a959460eeb141f57660473bd1e8'>
	<body>Private message</body>
</message>



*** User 2024-04-23 11:09:09.028 ***🔗
alice_inbox_msg_unread_count_apns_3274@localhost/res1 out
<message type='chat' to='bob_inbox_msg_unread_count_apns_3274@localhost' id='5c519eae708c30f0751a6e50debbeac5'>
	<body>Private message</body>
</message>



*** User 2024-04-23 11:09:09.037 ***🔗
kate_inbox_msg_unread_count_apns_3274@localhost/res1 out
<message type='chat' to='bob_inbox_msg_unread_count_apns_3274@localhost' id='54112268af062cc35ef2d584e2083d37'>
	<body>Private message</body>
</message>



*** User 2024-04-23 11:09:09.041 ***🔗
kate_inbox_msg_unread_count_apns_3274@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:09:09.044 ***🔗
kate_inbox_msg_unread_count_apns_3274@localhost/res1 in
</stream:stream>

*** User 2024-04-23 11:09:09.044 ***🔗
alice_inbox_msg_unread_count_apns_3274@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:09:09.044 ***🔗
alice_inbox_msg_unread_count_apns_3274@localhost/res1 in
</stream:stream>

*** User 2024-04-23 11:09:09.045 ***🔗
bob_inbox_msg_unread_count_apns_3274@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:09:09.045 ***🔗
bob_inbox_msg_unread_count_apns_3274@localhost/res1 in
</stream:stream>
*** CT 2024-04-23 11:09:09.070 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4832.html



=== Ended at 2024-04-23 11:09:09
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result