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

=== Config value:

    [{api_v,<<"v3">>},
     {required_modules,
         [{mod_inbox,
              #{backend => rdbms,
                groupchat => [muclight],
                async_writer => #{pool_size => 8},
                max_result_limit => infinity,delete_domain_limit => infinity,
                iqdisc => no_queue,
                reset_markers => [<<"displayed">>],
                aff_changes => false,remove_on_kicked => true,
                boxes => [<<"inbox">>,<<"archive">>,<<"bin">>],
                bin_ttl => 30,bin_clean_after => 3600000}},
          {mod_offline,
              #{backend => rdbms,store_groupchat_messages => false,
                access_max_user_messages => max_user_offline_messages}},
          {mod_push_service_mongoosepush,
              #{pool_name => mongoose_push_http,max_http_connections => 100,
                api_version => <<"v3">>}},
          {mod_event_pusher,
              #{push =>
                    #{backend => rdbms,
                      wpool =>
                          #{workers => 10,strategy => available_worker,
                            call_timeout => 5000},
                      iqdisc => one_queue,
                      virtual_pubsub_hosts => [{prefix,<<"virtual.">>}],
                      plugin_module =>
                          mod_event_pusher_push_plugin_defaults}}}]},
     {watchdog,<0.75587.0>},
     {pubsub_host,virtual},
     {preset,"pgsql_cets"},
     {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@fe524ba9ae35.2024-03-11_09.05.30/big_tests.tests.push_integration_SUITE.logs/run.2024-03-11_09.19.19/push_integration_suite.inbox_msg_unread_count_apns.197762.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@fe524ba9ae35.2024-03-11_09.05.30/big_tests.tests.push_integration_SUITE.logs/run.2024-03-11_09.19.19/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        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_sic => #{iqdisc => one_queue},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => cets,
              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 => cets,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@fe524ba9ae35.2024-03-11_09.05.30"

=== Started at 2024-03-11 09:19:36


*** CT 2024-03-11 09:19:36.502 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4376.html

*** User 2024-03-11 09:19:36.548 ***🔗
bOb_inbox_msg_unread_count_apns_2795@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-03-11 09:19:36.548 ***🔗
bOb_inbox_msg_unread_count_apns_2795@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fe470f8dc43004f0' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 09:19:36.548 ***🔗
bOb_inbox_msg_unread_count_apns_2795@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-03-11 09:19:36.548 ***🔗
bOb_inbox_msg_unread_count_apns_2795@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbmJveF9tc2dfdW5yZWFkX2NvdW50X2FwbnNfMjc5NQBtYWtyb2xpa2E=</auth>



*** User 2024-03-11 09:19:36.549 ***🔗
bOb_inbox_msg_unread_count_apns_2795@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 09:19:36.549 ***🔗
bOb_inbox_msg_unread_count_apns_2795@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-03-11 09:19:36.550 ***🔗
bOb_inbox_msg_unread_count_apns_2795@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='978304f12219020c' from='localhost' version='1.0' xml:lang='en' to='bob_inbox_msg_unread_count_apns_2795@localhost'>

*** User 2024-03-11 09:19:36.550 ***🔗
bOb_inbox_msg_unread_count_apns_2795@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-03-11 09:19:36.550 ***🔗
bOb_inbox_msg_unread_count_apns_2795@localhost/res1 out
<iq type='set' id='5ce0d31696954871686c8051dd5bf050'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 09:19:36.550 ***🔗
bOb_inbox_msg_unread_count_apns_2795@localhost/res1 in
<iq id='5ce0d31696954871686c8051dd5bf050' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_inbox_msg_unread_count_apns_2795@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 09:19:36.550 ***🔗
bob_inbox_msg_unread_count_apns_2795@localhost/res1 out
<iq type='set' id='45aa31475644cf973170ef72490ab56f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 09:19:36.551 ***🔗
bob_inbox_msg_unread_count_apns_2795@localhost/res1 in
<iq from='localhost' to='bob_inbox_msg_unread_count_apns_2795@localhost/res1' id='45aa31475644cf973170ef72490ab56f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 09:19:36.551 ***🔗
bob_inbox_msg_unread_count_apns_2795@localhost/res1 out
<presence/>



*** User 2024-03-11 09:19:36.554 ***🔗
bob_inbox_msg_unread_count_apns_2795@localhost/res1 in
<presence from='bob_inbox_msg_unread_count_apns_2795@localhost/res1' to='bob_inbox_msg_unread_count_apns_2795@localhost/res1'/>



*** User 2024-03-11 09:19:36.555 ***🔗
alicE_inbox_msg_unread_count_apns_2795@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-03-11 09:19:36.555 ***🔗
alicE_inbox_msg_unread_count_apns_2795@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='59265258194bb095' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 09:19:36.555 ***🔗
alicE_inbox_msg_unread_count_apns_2795@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-03-11 09:19:36.556 ***🔗
alicE_inbox_msg_unread_count_apns_2795@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2luYm94X21zZ191bnJlYWRfY291bnRfYXBuc18yNzk1AG1hdHlncnlzYQ==</auth>



*** User 2024-03-11 09:19:36.556 ***🔗
alicE_inbox_msg_unread_count_apns_2795@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 09:19:36.557 ***🔗
alicE_inbox_msg_unread_count_apns_2795@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-03-11 09:19:36.557 ***🔗
alicE_inbox_msg_unread_count_apns_2795@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6812310fbd5eb81c' from='localhost' version='1.0' xml:lang='en' to='alice_inbox_msg_unread_count_apns_2795@localhost'>

*** User 2024-03-11 09:19:36.557 ***🔗
alicE_inbox_msg_unread_count_apns_2795@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-03-11 09:19:36.557 ***🔗
alicE_inbox_msg_unread_count_apns_2795@localhost/res1 out
<iq type='set' id='7f3ea12c3c3613a2166188422075836f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 09:19:36.557 ***🔗
alicE_inbox_msg_unread_count_apns_2795@localhost/res1 in
<iq id='7f3ea12c3c3613a2166188422075836f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_inbox_msg_unread_count_apns_2795@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 09:19:36.557 ***🔗
alice_inbox_msg_unread_count_apns_2795@localhost/res1 out
<iq type='set' id='20b8a0d1f4c7935cd69484a79ce9ccfe'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 09:19:36.558 ***🔗
alice_inbox_msg_unread_count_apns_2795@localhost/res1 in
<iq from='localhost' to='alice_inbox_msg_unread_count_apns_2795@localhost/res1' id='20b8a0d1f4c7935cd69484a79ce9ccfe' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 09:19:36.558 ***🔗
alice_inbox_msg_unread_count_apns_2795@localhost/res1 out
<presence/>



*** User 2024-03-11 09:19:36.561 ***🔗
alice_inbox_msg_unread_count_apns_2795@localhost/res1 in
<presence from='alice_inbox_msg_unread_count_apns_2795@localhost/res1' to='alice_inbox_msg_unread_count_apns_2795@localhost/res1'/>



*** User 2024-03-11 09:19:36.562 ***🔗
kate_inbox_msg_unread_count_apns_2795@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-03-11 09:19:36.562 ***🔗
kate_inbox_msg_unread_count_apns_2795@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c96d2e9941744e14' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 09:19:36.562 ***🔗
kate_inbox_msg_unread_count_apns_2795@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-03-11 09:19:36.562 ***🔗
kate_inbox_msg_unread_count_apns_2795@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfaW5ib3hfbXNnX3VucmVhZF9jb3VudF9hcG5zXzI3OTUAbWFrcm93ZTtw</auth>



*** User 2024-03-11 09:19:36.563 ***🔗
kate_inbox_msg_unread_count_apns_2795@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 09:19:36.563 ***🔗
kate_inbox_msg_unread_count_apns_2795@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-03-11 09:19:36.564 ***🔗
kate_inbox_msg_unread_count_apns_2795@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='33c2ddcc4d28b649' from='localhost' version='1.0' xml:lang='en' to='kate_inbox_msg_unread_count_apns_2795@localhost'>

*** User 2024-03-11 09:19:36.564 ***🔗
kate_inbox_msg_unread_count_apns_2795@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-03-11 09:19:36.564 ***🔗
kate_inbox_msg_unread_count_apns_2795@localhost/res1 out
<iq type='set' id='1b7f81c41bbbcb7536ffe4943c666fc5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 09:19:36.564 ***🔗
kate_inbox_msg_unread_count_apns_2795@localhost/res1 in
<iq id='1b7f81c41bbbcb7536ffe4943c666fc5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_inbox_msg_unread_count_apns_2795@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 09:19:36.564 ***🔗
kate_inbox_msg_unread_count_apns_2795@localhost/res1 out
<iq type='set' id='5e96f70a01ac056b8f7c0eb2a88104bb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 09:19:36.565 ***🔗
kate_inbox_msg_unread_count_apns_2795@localhost/res1 in
<iq from='localhost' to='kate_inbox_msg_unread_count_apns_2795@localhost/res1' id='5e96f70a01ac056b8f7c0eb2a88104bb' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 09:19:36.565 ***🔗
kate_inbox_msg_unread_count_apns_2795@localhost/res1 out
<presence/>



*** User 2024-03-11 09:19:36.570 ***🔗
kate_inbox_msg_unread_count_apns_2795@localhost/res1 in
<presence from='kate_inbox_msg_unread_count_apns_2795@localhost/res1' to='kate_inbox_msg_unread_count_apns_2795@localhost/res1'/>



*** User 2024-03-11 09:19:36.570 ***🔗
bob_inbox_msg_unread_count_apns_2795@localhost/res1 out
<iq type='set' id='c8ebbdb2313e17b26a4a4a576d744a5e'>
	<enable xmlns='urn:xmpp:push:0' jid='virtual.localhost' node='princely_musings_EJVRtuoRias='>
		<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>931CIGBELD5DF0IH5M6HN4HM8363</value>
			</field>
			<field var='silent'>
				<value>true</value>
			</field>
		</x>
	</enable>
</iq>



*** User 2024-03-11 09:19:36.572 ***🔗
bob_inbox_msg_unread_count_apns_2795@localhost/res1 in
<iq from='bob_inbox_msg_unread_count_apns_2795@localhost' to='bob_inbox_msg_unread_count_apns_2795@localhost/res1' id='c8ebbdb2313e17b26a4a4a576d744a5e' type='result'/>



*** User 2024-03-11 09:19:36.572 ***🔗
bob_inbox_msg_unread_count_apns_2795@localhost/res1 out
<presence type='unavailable'/>



*** User 2024-03-11 09:19:36.572 ***🔗
waiting for wait_for_user_offline is done in 0 miliseconds

*** User 2024-03-11 09:19:36.572 ***🔗
alice_inbox_msg_unread_count_apns_2795@localhost/res1 out
<message type='chat' to='bob_inbox_msg_unread_count_apns_2795@localhost' id='80c32de913bcfcd02969d76debbbc72e'>
	<body>Private message</body>
</message>



*** User 2024-03-11 09:19:36.577 ***🔗
kate_inbox_msg_unread_count_apns_2795@localhost/res1 out
<message type='chat' to='bob_inbox_msg_unread_count_apns_2795@localhost' id='8ea55d54e4bba9dba0e131b6877fa0fc'>
	<body>Private message</body>
</message>



*** User 2024-03-11 09:19:36.581 ***🔗
alice_inbox_msg_unread_count_apns_2795@localhost/res1 out
<message type='chat' to='bob_inbox_msg_unread_count_apns_2795@localhost' id='582a0cb2c1d95e41cdc7c2e56b75e172'>
	<body>Private message</body>
</message>



*** User 2024-03-11 09:19:36.585 ***🔗
alice_inbox_msg_unread_count_apns_2795@localhost/res1 out
<message type='chat' to='bob_inbox_msg_unread_count_apns_2795@localhost' id='cbf096ef4a92566261a391f1ea740ebd'>
	<body>Private message</body>
</message>



*** User 2024-03-11 09:19:36.589 ***🔗
kate_inbox_msg_unread_count_apns_2795@localhost/res1 out
<message type='chat' to='bob_inbox_msg_unread_count_apns_2795@localhost' id='58f5f015896216d413584e59c058e9c2'>
	<body>Private message</body>
</message>



*** User 2024-03-11 09:19:36.593 ***🔗
kate_inbox_msg_unread_count_apns_2795@localhost/res1 out
</stream:stream>

*** User 2024-03-11 09:19:36.594 ***🔗
kate_inbox_msg_unread_count_apns_2795@localhost/res1 in
</stream:stream>

*** User 2024-03-11 09:19:36.594 ***🔗
alice_inbox_msg_unread_count_apns_2795@localhost/res1 out
</stream:stream>

*** User 2024-03-11 09:19:36.594 ***🔗
alice_inbox_msg_unread_count_apns_2795@localhost/res1 in
</stream:stream>

*** User 2024-03-11 09:19:36.594 ***🔗
bob_inbox_msg_unread_count_apns_2795@localhost/res1 out
</stream:stream>

*** User 2024-03-11 09:19:36.595 ***🔗
bob_inbox_msg_unread_count_apns_2795@localhost/res1 in
</stream:stream>
*** CT 2024-03-11 09:19:36.615 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4376.html



=== Ended at 2024-03-11 09:19:36
=== successfully completed test case
=== === Returned value: ok


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