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

=== Config value:

    [{api_v,<<"v3">>},
     {required_modules,
         [{mod_stream_management,
              #{buffer => true,ack => true,backend => cets,
                stale_h =>
                    #{enabled => false,repeat_after => 1800,geriatric => 3600},
                buffer_max => 100,ack_freq => never,resume_timeout => 600}},
          {mod_pubsub,
              #{host => {prefix,<<"pubsub.">>},
                wpool =>
                    #{strategy => best_worker,workers => 10,
                      call_timeout => 5000},
                iqdisc => one_queue,backend => rdbms,pep_mapping => #{},
                ignore_pep_from_offline => true,last_item_cache => false,
                max_items_node => 10,default_node_config => [],
                nodetree => nodetree_dag,
                plugins => [<<"dag">>,<<"push">>],
                access_createnode => all,item_publisher => false,
                sync_broadcast => false}},
          {mod_push_service_mongoosepush,
              #{pool_name => mongoose_push_http,max_http_connections => 100,
                api_version => <<"v3">>}},
          {mod_event_pusher,
              #{push =>
                    #{wpool =>
                          #{strategy => available_worker,workers => 10,
                            call_timeout => 5000},
                      iqdisc => one_queue,virtual_pubsub_hosts => [],
                      backend => rdbms,
                      plugin_module =>
                          mod_event_pusher_push_plugin_enhanced}}}]},
     {watchdog,<0.77020.0>},
     {pubsub_host,real},
     {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@567ce96ed226.2024-04-25_14.56.57/big_tests.tests.push_integration_SUITE.logs/run.2024-04-25_15.09.45/push_integration_suite.immediate_notification.html"},
     {tc_group_properties,[{name,enhanced_integration_with_sm}]},
     {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@567ce96ed226.2024-04-25_14.56.57/big_tests.tests.push_integration_SUITE.logs/run.2024-04-25_15.09.45/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_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_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 => 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_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => cets,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@567ce96ed226.2024-04-25_14.56.57"

=== Started at 2024-04-25 15:09:55


*** CT 2024-04-25 15:09:55.519 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4463.html

*** User 2024-04-25 15:09:55.563 ***🔗
bOb_immediate_notification_2871@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 15:09:55.563 ***🔗
bOb_immediate_notification_2871@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fae4b7ba57cd4be4' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 15:09:55.564 ***🔗
bOb_immediate_notification_2871@localhost 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-25 15:09:55.564 ***🔗
bOb_immediate_notification_2871@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbW1lZGlhdGVfbm90aWZpY2F0aW9uXzI4NzEAbWFrcm9saWth</auth>



*** User 2024-04-25 15:09:55.565 ***🔗
bOb_immediate_notification_2871@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 15:09:55.565 ***🔗
bOb_immediate_notification_2871@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 15:09:55.566 ***🔗
bOb_immediate_notification_2871@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='29d96e246181391f' from='localhost' version='1.0' xml:lang='en' to='bob_immediate_notification_2871@localhost'>

*** User 2024-04-25 15:09:55.566 ***🔗
bOb_immediate_notification_2871@localhost 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-25 15:09:55.566 ***🔗
bOb_immediate_notification_2871@localhost out
<iq type='set' id='bde725b37d26171286742b932791900d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2024-04-25 15:09:55.566 ***🔗
bOb_immediate_notification_2871@localhost in
<iq id='bde725b37d26171286742b932791900d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_immediate_notification_2871@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2024-04-25 15:09:55.566 ***🔗
bob_immediate_notification_2871@localhost/escalus-default-resource out
<iq type='set' id='954c285566870d55cf5e2416abf398f7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 15:09:55.567 ***🔗
bob_immediate_notification_2871@localhost/escalus-default-resource in
<iq from='localhost' to='bob_immediate_notification_2871@localhost/escalus-default-resource' id='954c285566870d55cf5e2416abf398f7' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 15:09:55.567 ***🔗
bob_immediate_notification_2871@localhost/escalus-default-resource out
<presence/>



*** User 2024-04-25 15:09:55.569 ***🔗
bob_immediate_notification_2871@localhost/escalus-default-resource in
<presence from='bob_immediate_notification_2871@localhost/escalus-default-resource' to='bob_immediate_notification_2871@localhost/escalus-default-resource'/>



*** User 2024-04-25 15:09:55.573 ***🔗
alicE_immediate_notification_2872@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 15:09:55.574 ***🔗
alicE_immediate_notification_2872@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='be30f07ab271538e' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 15:09:55.574 ***🔗
alicE_immediate_notification_2872@localhost 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-25 15:09:55.574 ***🔗
alicE_immediate_notification_2872@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ltbWVkaWF0ZV9ub3RpZmljYXRpb25fMjg3MgBtYXR5Z3J5c2E=</auth>



*** User 2024-04-25 15:09:55.575 ***🔗
alicE_immediate_notification_2872@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 15:09:55.576 ***🔗
alicE_immediate_notification_2872@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 15:09:55.576 ***🔗
alicE_immediate_notification_2872@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='431fba05f3fa1992' from='localhost' version='1.0' xml:lang='en' to='alice_immediate_notification_2872@localhost'>

*** User 2024-04-25 15:09:55.576 ***🔗
alicE_immediate_notification_2872@localhost 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-25 15:09:55.576 ***🔗
alicE_immediate_notification_2872@localhost out
<iq type='set' id='e27ac980d6540b12a416f9036903e5d3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2024-04-25 15:09:55.577 ***🔗
alicE_immediate_notification_2872@localhost in
<iq id='e27ac980d6540b12a416f9036903e5d3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_immediate_notification_2872@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2024-04-25 15:09:55.577 ***🔗
alice_immediate_notification_2872@localhost/escalus-default-resource out
<iq type='set' id='507c5f822f939860462e10686591fe59'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 15:09:55.578 ***🔗
alice_immediate_notification_2872@localhost/escalus-default-resource in
<iq from='localhost' to='alice_immediate_notification_2872@localhost/escalus-default-resource' id='507c5f822f939860462e10686591fe59' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 15:09:55.578 ***🔗
alice_immediate_notification_2872@localhost/escalus-default-resource out
<enable xmlns='urn:xmpp:sm:3' resume='true'/>



*** User 2024-04-25 15:09:55.579 ***🔗
alice_immediate_notification_2872@localhost/escalus-default-resource in
<enabled xmlns='urn:xmpp:sm:3' id='lCsoKyxpl2rCmyWkj9rMeBMeDPRW' resume='true'/>



*** User 2024-04-25 15:09:55.579 ***🔗
alice_immediate_notification_2872@localhost/escalus-default-resource out
<presence/>



*** User 2024-04-25 15:09:55.580 ***🔗
alice_immediate_notification_2872@localhost/escalus-default-resource in
<presence from='alice_immediate_notification_2872@localhost/escalus-default-resource' to='alice_immediate_notification_2872@localhost/escalus-default-resource'/>



*** User 2024-04-25 15:09:55.581 ***🔗
alice_immediate_notification_2872@localhost/escalus-default-resource out
<iq to='pubsub.localhost' type='set' id='alice_immediate_notification_2872-pubsub.localhost-princely_musings_JGBloOT3Z4Y=-create_node' from='alice_immediate_notification_2872@localhost/escalus-default-resource'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create type='push' node='princely_musings_JGBloOT3Z4Y='/>
		<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 2024-04-25 15:09:55.585 ***🔗
alice_immediate_notification_2872@localhost/escalus-default-resource in
<iq from='pubsub.localhost' to='alice_immediate_notification_2872@localhost/escalus-default-resource' id='alice_immediate_notification_2872-pubsub.localhost-princely_musings_JGBloOT3Z4Y=-create_node' type='result'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create node='princely_musings_JGBloOT3Z4Y='/>
	</pubsub>
</iq>



*** User 2024-04-25 15:09:55.585 ***🔗
alice_immediate_notification_2872@localhost/escalus-default-resource out
<iq to='pubsub.localhost' type='set' id='IhgmHgk=' from='alice_immediate_notification_2872@localhost/escalus-default-resource'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
		<affiliations node='princely_musings_JGBloOT3Z4Y='>
			<affiliation jid='localhost' affiliation='publish-only'/>
		</affiliations>
	</pubsub>
</iq>



*** User 2024-04-25 15:09:55.587 ***🔗
alice_immediate_notification_2872@localhost/escalus-default-resource in
<iq from='pubsub.localhost' to='alice_immediate_notification_2872@localhost/escalus-default-resource' id='IhgmHgk=' type='result'/>



*** User 2024-04-25 15:09:55.587 ***🔗
alice_immediate_notification_2872@localhost/escalus-default-resource out
<iq type='set' id='971636d8fb5cb1cd332209dcf309d778'>
	<enable xmlns='urn:xmpp:push:0' jid='pubsub.localhost' node='princely_musings_JGBloOT3Z4Y='>
		<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>A3H3A33IJD4F1EI5M236H9DGJJLM</value>
			</field>
		</x>
	</enable>
</iq>



*** User 2024-04-25 15:09:55.589 ***🔗
alice_immediate_notification_2872@localhost/escalus-default-resource in
<iq from='alice_immediate_notification_2872@localhost' to='alice_immediate_notification_2872@localhost/escalus-default-resource' id='971636d8fb5cb1cd332209dcf309d778' type='result'/>



*** User 2024-04-25 15:09:55.590 ***🔗
alice_immediate_notification_2872@localhost/escalus-default-resource out
<iq to='pubsub.localhost' type='set' id='alice_immediate_notification_2872-pubsub.localhost-princely_musings_dB65UAJu4aI=-create_node' from='alice_immediate_notification_2872@localhost/escalus-default-resource'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create type='push' node='princely_musings_dB65UAJu4aI='/>
		<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 2024-04-25 15:09:55.594 ***🔗
alice_immediate_notification_2872@localhost/escalus-default-resource in
<iq from='pubsub.localhost' to='alice_immediate_notification_2872@localhost/escalus-default-resource' id='alice_immediate_notification_2872-pubsub.localhost-princely_musings_dB65UAJu4aI=-create_node' type='result'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create node='princely_musings_dB65UAJu4aI='/>
	</pubsub>
</iq>



*** User 2024-04-25 15:09:55.594 ***🔗
alice_immediate_notification_2872@localhost/escalus-default-resource out
<iq to='pubsub.localhost' type='set' id='77QDWJo=' from='alice_immediate_notification_2872@localhost/escalus-default-resource'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
		<affiliations node='princely_musings_dB65UAJu4aI='>
			<affiliation jid='localhost' affiliation='publish-only'/>
		</affiliations>
	</pubsub>
</iq>



*** User 2024-04-25 15:09:55.596 ***🔗
alice_immediate_notification_2872@localhost/escalus-default-resource in
<iq from='pubsub.localhost' to='alice_immediate_notification_2872@localhost/escalus-default-resource' id='77QDWJo=' type='result'/>



*** User 2024-04-25 15:09:55.596 ***🔗
alice_immediate_notification_2872@localhost/escalus-default-resource out
<iq type='set' id='6722fa72196cc3f3646ab5c9bb5f66be'>
	<enable xmlns='urn:xmpp:push:0' jid='pubsub.localhost' node='princely_musings_dB65UAJu4aI='>
		<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>fcm</value>
			</field>
			<field var='device_id'>
				<value>39B280NDDBIJ6K9K92242J8EH49N</value>
			</field>
		</x>
	</enable>
</iq>



*** User 2024-04-25 15:09:55.598 ***🔗
alice_immediate_notification_2872@localhost/escalus-default-resource in
<iq from='alice_immediate_notification_2872@localhost' to='alice_immediate_notification_2872@localhost/escalus-default-resource' id='6722fa72196cc3f3646ab5c9bb5f66be' type='result'/>



*** User 2024-04-25 15:09:55.598 ***🔗
bob_immediate_notification_2871@localhost/escalus-default-resource out
<message type='chat' to='alice_immediate_notification_2872@localhost'>
	<body>msg-0</body>
</message>



*** User 2024-04-25 15:09:55.600 ***🔗
alice_immediate_notification_2872@localhost/escalus-default-resource in
<message from='bob_immediate_notification_2871@localhost/escalus-default-resource' to='alice_immediate_notification_2872@localhost' type='chat'>
	<body>msg-0</body>
</message>



*** User 2024-04-25 15:09:55.600 ***🔗
alice_immediate_notification_2872@localhost/escalus-default-resource out
<a xmlns='urn:xmpp:sm:3' h='8'/>



*** User 2024-04-25 15:09:55.600 ***🔗
bob_immediate_notification_2871@localhost/escalus-default-resource out
<message type='chat' to='alice_immediate_notification_2872@localhost'>
	<body>msg-1</body>
</message>



*** User 2024-04-25 15:09:55.602 ***🔗
alice_immediate_notification_2872@localhost/escalus-default-resource in
<message from='bob_immediate_notification_2871@localhost/escalus-default-resource' to='alice_immediate_notification_2872@localhost' type='chat'>
	<body>msg-1</body>
</message>



*** User 2024-04-25 15:09:55.605 ***🔗
bob_immediate_notification_2871@localhost/escalus-default-resource out
<message type='chat' to='alice_immediate_notification_2872@localhost'>
	<body>msg-2</body>
</message>



*** User 2024-04-25 15:09:56.615 ***🔗
bob_immediate_notification_2871@localhost/escalus-default-resource out
</stream:stream>

*** User 2024-04-25 15:09:56.615 ***🔗
bob_immediate_notification_2871@localhost/escalus-default-resource in
</stream:stream>
*** CT 2024-04-25 15:09:56.637 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4463.html



=== Ended at 2024-04-25 15:09:56
=== successfully completed test case
=== === Returned value: already_stopped


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