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

=== Config value:

    [{api_v,<<"v3">>},
     {required_modules,
         [{mod_stream_management,
              #{ack => true,ack_freq => never,backend => mnesia,
                buffer => true,buffer_max => 100,resume_timeout => 600,
                stale_h =>
                    #{enabled => false,geriatric => 3600,
                      repeat_after => 1800}}},
          {mod_pubsub,
              #{access => all,backend => mnesia,default_node_config => [],
                host => {prefix,<<"pubsub.">>},
                ignore_pep_from_offline => true,iqdisc => one_queue,
                item_publisher => false,last_item_cache => false,
                max_items_node => 10,nodetree => nodetree_dag,
                pep_mapping => #{},
                plugins => [<<"dag">>,<<"push">>],
                sync_broadcast => false}},
          {mod_push_service_mongoosepush,
              #{api_version => <<"v3">>,max_http_connections => 100,
                pool_name => mongoose_push_http}},
          {mod_event_pusher,
              #{push =>
                    #{backend => mnesia,iqdisc => one_queue,
                      plugin_module => mod_event_pusher_push_plugin_enhanced,
                      virtual_pubsub_hosts => [],
                      wpool =>
                          #{call_timeout => 5000,strategy => available_worker,
                            workers => 10}}}}]},
     {watchdog,<0.19812.1>},
     {pubsub_host,real},
     {mim_data_dir,
         "/home/circleci/project/big_tests/tests/push_integration_SUITE_data"},
     {preset,"riak_mnesia"},
     {tc_logfile,
         "/home/circleci/project/big_tests/ct_report/ct_run.test@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.push_integration_SUITE.logs/run.2022-05-25_10.50.42/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@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.push_integration_SUITE.logs/run.2022-05-25_10.50.42/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_commands => #{},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              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"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => riak,iqdisc => one_queue,
              riak =>
                  #{bucket_type => <<"rosters">>,
                    version_bucket_type => <<"roster_versions">>},
              store_current_id => false,versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => riak,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,
              riak =>
                  #{bucket_type => <<"vcard">>,search_index => <<"vcard">>},
              search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@901bd2a377ee.2022-05-25_10.38.09"

=== Started at 2022-05-25 10:50:45


*** CT 2022-05-25 10:50:45.856 *** View log from node mongooseim@localhost when started mongooseim@localhost_5107.html
*** CT 2022-05-25 10:50:45.856 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1997.html

*** User 2022-05-25 10:50:45.861 ***
bOb_immediate_notification_1499@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 10:50:45.861 ***
bOb_immediate_notification_1499@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='33db50b70352d505' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:50:45.862 ***
bOb_immediate_notification_1499@localhost 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-05-25 10:50:45.862 ***
bOb_immediate_notification_1499@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbW1lZGlhdGVfbm90aWZpY2F0aW9uXzE0OTkAbWFrcm9saWth</auth>



*** User 2022-05-25 10:50:45.864 ***
bOb_immediate_notification_1499@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:50:45.864 ***
bOb_immediate_notification_1499@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 10:50:45.864 ***
bOb_immediate_notification_1499@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='06676b30b0c5af39' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:50:45.864 ***
bOb_immediate_notification_1499@localhost 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-05-25 10:50:45.864 ***
bOb_immediate_notification_1499@localhost out
<iq type='set' id='cd98d2686c26142cf374bda0a4c7d052'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2022-05-25 10:50:45.864 ***
bOb_immediate_notification_1499@localhost in
<iq id='cd98d2686c26142cf374bda0a4c7d052' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_immediate_notification_1499@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2022-05-25 10:50:45.864 ***
bob_immediate_notification_1499@localhost/escalus-default-resource out
<iq type='set' id='8870410da28dc7d53c781a97b4074306'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:50:45.865 ***
bob_immediate_notification_1499@localhost/escalus-default-resource in
<iq type='result' id='8870410da28dc7d53c781a97b4074306'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:50:45.865 ***
bob_immediate_notification_1499@localhost/escalus-default-resource out
<presence/>



*** User 2022-05-25 10:50:45.867 ***
bob_immediate_notification_1499@localhost/escalus-default-resource in
<presence from='bob_immediate_notification_1499@localhost/escalus-default-resource' to='bob_immediate_notification_1499@localhost/escalus-default-resource' xml:lang='en'/>



*** User 2022-05-25 10:50:45.870 ***
alicE_immediate_notification_1500@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 10:50:45.870 ***
alicE_immediate_notification_1500@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='19ec2691784be40a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:50:45.870 ***
alicE_immediate_notification_1500@localhost 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-05-25 10:50:45.871 ***
alicE_immediate_notification_1500@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ltbWVkaWF0ZV9ub3RpZmljYXRpb25fMTUwMABtYXR5Z3J5c2E=</auth>



*** User 2022-05-25 10:50:45.872 ***
alicE_immediate_notification_1500@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:50:45.872 ***
alicE_immediate_notification_1500@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 10:50:45.872 ***
alicE_immediate_notification_1500@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5d877acb3f7df475' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:50:45.872 ***
alicE_immediate_notification_1500@localhost 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-05-25 10:50:45.872 ***
alicE_immediate_notification_1500@localhost out
<iq type='set' id='4bbbbde466e93e6d6eed55ee10cbac35'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2022-05-25 10:50:45.873 ***
alicE_immediate_notification_1500@localhost in
<iq id='4bbbbde466e93e6d6eed55ee10cbac35' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_immediate_notification_1500@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2022-05-25 10:50:45.873 ***
alice_immediate_notification_1500@localhost/escalus-default-resource out
<iq type='set' id='1bb9d1a70847df323ca55d3e8afce1e7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:50:45.873 ***
alice_immediate_notification_1500@localhost/escalus-default-resource in
<iq type='result' id='1bb9d1a70847df323ca55d3e8afce1e7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:50:45.873 ***
alice_immediate_notification_1500@localhost/escalus-default-resource out
<enable xmlns='urn:xmpp:sm:3' resume='true'/>



*** User 2022-05-25 10:50:45.874 ***
alice_immediate_notification_1500@localhost/escalus-default-resource in
<enabled xmlns='urn:xmpp:sm:3' id='PpSt7C6vZ1ZbA3Y6mWLFqrEoARFY' resume='true'/>



*** User 2022-05-25 10:50:45.874 ***
alice_immediate_notification_1500@localhost/escalus-default-resource out
<presence/>



*** User 2022-05-25 10:50:45.876 ***
alice_immediate_notification_1500@localhost/escalus-default-resource in
<presence from='alice_immediate_notification_1500@localhost/escalus-default-resource' to='alice_immediate_notification_1500@localhost/escalus-default-resource' xml:lang='en'/>



*** User 2022-05-25 10:50:45.876 ***
alice_immediate_notification_1500@localhost/escalus-default-resource out
<iq to='pubsub.localhost' type='set' id='alice_immediate_notification_1500-pubsub.localhost-princely_musings_2U69tIaPh74=-create_node' from='alice_immediate_notification_1500@localhost/escalus-default-resource'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create type='push' node='princely_musings_2U69tIaPh74='/>
		<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-05-25 10:50:45.877 ***
alice_immediate_notification_1500@localhost/escalus-default-resource in
<iq from='pubsub.localhost' to='alice_immediate_notification_1500@localhost/escalus-default-resource' id='alice_immediate_notification_1500-pubsub.localhost-princely_musings_2U69tIaPh74=-create_node' type='result'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create node='princely_musings_2U69tIaPh74='/>
	</pubsub>
</iq>



*** User 2022-05-25 10:50:45.878 ***
alice_immediate_notification_1500@localhost/escalus-default-resource out
<iq to='pubsub.localhost' type='set' id='VOacAdU=' from='alice_immediate_notification_1500@localhost/escalus-default-resource'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
		<affiliations node='princely_musings_2U69tIaPh74='>
			<affiliation jid='localhost' affiliation='publish-only'/>
		</affiliations>
	</pubsub>
</iq>



*** User 2022-05-25 10:50:45.878 ***
alice_immediate_notification_1500@localhost/escalus-default-resource in
<iq from='pubsub.localhost' to='alice_immediate_notification_1500@localhost/escalus-default-resource' id='VOacAdU=' type='result'/>



*** User 2022-05-25 10:50:45.878 ***
alice_immediate_notification_1500@localhost/escalus-default-resource out
<iq type='set' id='b253407f150d5cc875a5c55832bea7eb'>
	<enable xmlns='urn:xmpp:push:0' jid='pubsub.localhost' node='princely_musings_2U69tIaPh74='>
		<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>33HJ4KC88FJK65DMFB2K9C3B668H</value>
			</field>
		</x>
	</enable>
</iq>



*** User 2022-05-25 10:50:45.887 ***
alice_immediate_notification_1500@localhost/escalus-default-resource in
<iq from='alice_immediate_notification_1500@localhost' to='alice_immediate_notification_1500@localhost/escalus-default-resource' id='b253407f150d5cc875a5c55832bea7eb' type='result'/>



*** User 2022-05-25 10:50:45.887 ***
alice_immediate_notification_1500@localhost/escalus-default-resource out
<iq to='pubsub.localhost' type='set' id='alice_immediate_notification_1500-pubsub.localhost-princely_musings_wtcNoyW4uGE=-create_node' from='alice_immediate_notification_1500@localhost/escalus-default-resource'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create type='push' node='princely_musings_wtcNoyW4uGE='/>
		<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-05-25 10:50:46.307 ***
alice_immediate_notification_1500@localhost/escalus-default-resource in
<iq from='pubsub.localhost' to='alice_immediate_notification_1500@localhost/escalus-default-resource' id='alice_immediate_notification_1500-pubsub.localhost-princely_musings_wtcNoyW4uGE=-create_node' type='result'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create node='princely_musings_wtcNoyW4uGE='/>
	</pubsub>
</iq>



*** User 2022-05-25 10:50:46.307 ***
alice_immediate_notification_1500@localhost/escalus-default-resource out
<iq to='pubsub.localhost' type='set' id='CUsxs3I=' from='alice_immediate_notification_1500@localhost/escalus-default-resource'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
		<affiliations node='princely_musings_wtcNoyW4uGE='>
			<affiliation jid='localhost' affiliation='publish-only'/>
		</affiliations>
	</pubsub>
</iq>



*** User 2022-05-25 10:50:46.942 ***
alice_immediate_notification_1500@localhost/escalus-default-resource in
<iq from='pubsub.localhost' to='alice_immediate_notification_1500@localhost/escalus-default-resource' id='CUsxs3I=' type='result'/>



*** User 2022-05-25 10:50:46.942 ***
alice_immediate_notification_1500@localhost/escalus-default-resource out
<iq type='set' id='5db1f485c14227289152da369a043b2a'>
	<enable xmlns='urn:xmpp:push:0' jid='pubsub.localhost' node='princely_musings_wtcNoyW4uGE='>
		<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>fcm</value>
			</field>
			<field var='device_id'>
				<value>943M7MND364F81FA1DENJ4MLMC4E</value>
			</field>
		</x>
	</enable>
</iq>



*** User 2022-05-25 10:50:47.262 ***
alice_immediate_notification_1500@localhost/escalus-default-resource in
<iq from='alice_immediate_notification_1500@localhost' to='alice_immediate_notification_1500@localhost/escalus-default-resource' id='5db1f485c14227289152da369a043b2a' type='result'/>



*** User 2022-05-25 10:50:47.262 ***
bob_immediate_notification_1499@localhost/escalus-default-resource out
<message to='alice_immediate_notification_1500@localhost' type='chat'>
	<body>msg-0</body>
</message>



*** User 2022-05-25 10:50:47.265 ***
alice_immediate_notification_1500@localhost/escalus-default-resource in
<message from='bob_immediate_notification_1499@localhost/escalus-default-resource' to='alice_immediate_notification_1500@localhost' xml:lang='en' type='chat'>
	<body>msg-0</body>
</message>



*** User 2022-05-25 10:50:47.265 ***
alice_immediate_notification_1500@localhost/escalus-default-resource out
<a xmlns='urn:xmpp:sm:3' h='8'/>



*** User 2022-05-25 10:50:47.265 ***
bob_immediate_notification_1499@localhost/escalus-default-resource out
<message to='alice_immediate_notification_1500@localhost' type='chat'>
	<body>msg-1</body>
</message>



*** User 2022-05-25 10:50:47.265 ***
alice_immediate_notification_1500@localhost/escalus-default-resource in
<message from='bob_immediate_notification_1499@localhost/escalus-default-resource' to='alice_immediate_notification_1500@localhost' xml:lang='en' type='chat'>
	<body>msg-1</body>
</message>



*** User 2022-05-25 10:50:47.712 ***
bob_immediate_notification_1499@localhost/escalus-default-resource out
<message to='alice_immediate_notification_1500@localhost' type='chat'>
	<body>msg-2</body>
</message>



*** User 2022-05-25 10:50:48.718 ***
bob_immediate_notification_1499@localhost/escalus-default-resource out
</stream:stream>

*** User 2022-05-25 10:50:48.718 ***
bob_immediate_notification_1499@localhost/escalus-default-resource in
</stream:stream>
*** CT 2022-05-25 10:50:48.720 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1997.html
*** CT 2022-05-25 10:50:48.721 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5109.html



=== Ended at 2022-05-25 10:50:48
=== successfully completed test case
=== === Returned value: already_stopped


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