=== 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_push_service_mongoosepush,
              #{api_version => <<"v3">>,max_http_connections => 100,
                pool_name => mongoose_push_http}},
          {mod_event_pusher,
              [{backends,
                   [{push,
                        [{backend,rdbms},
                         {plugin_module,
                             mod_event_pusher_push_plugin_enhanced}]}]}]},
          {mod_pubsub,
              [{plugins,[<<"dag">>,<<"push">>]},
               {backend,rdbms},
               {nodetree,<<"dag">>},
               {host,{prefix,<<"pubsub.">>}}]}]},
     {watchdog,<0.9618.2>},
     {pubsub_host,real},
     {mim_data_dir,
         "/home/circleci/project/big_tests/tests/push_integration_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,
         "/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.push_integration_SUITE.logs/run.2022-04-04_15.14.32/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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.push_integration_SUITE.logs/run.2022-04-04_15.14.32/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 => [],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"}]},
             {welcome_message,{[],[]}}],
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,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 => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36"

=== Started at 2022-04-04 15:14:38


*** CT 2022-04-04 15:14:38.862 *** View log from node mongooseim@localhost when started mongooseim@localhost_4898.html
*** CT 2022-04-04 15:14:38.864 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1974.html

*** User 2022-04-04 15:14:38.877 ***
bOb_immediate_notification_2262@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-04-04 15:14:38.878 ***
bOb_immediate_notification_2262@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5dad6cfc979ea5c2' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:14:38.878 ***
bOb_immediate_notification_2262@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-04-04 15:14:38.878 ***
bOb_immediate_notification_2262@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbW1lZGlhdGVfbm90aWZpY2F0aW9uXzIyNjIAbWFrcm9saWth</auth>



*** User 2022-04-04 15:14:38.880 ***
bOb_immediate_notification_2262@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:14:38.880 ***
bOb_immediate_notification_2262@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-04-04 15:14:38.880 ***
bOb_immediate_notification_2262@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='edc1b00fba8157d3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:14:38.880 ***
bOb_immediate_notification_2262@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-04-04 15:14:38.881 ***
bOb_immediate_notification_2262@localhost out
<iq type='set' id='15bcda64e19745bf14f4868639ba33c8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2022-04-04 15:14:38.881 ***
bOb_immediate_notification_2262@localhost in
<iq id='15bcda64e19745bf14f4868639ba33c8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_immediate_notification_2262@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2022-04-04 15:14:38.881 ***
bOb_immediate_notification_2262@localhost/escalus-default-resource out
<iq type='set' id='71b4c9dcd7982348c7e52e4a61cabc23'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:14:38.881 ***
bOb_immediate_notification_2262@localhost/escalus-default-resource in
<iq type='result' id='71b4c9dcd7982348c7e52e4a61cabc23'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:14:38.881 ***
bOb_immediate_notification_2262@localhost/escalus-default-resource out
<presence/>



*** User 2022-04-04 15:14:38.884 ***
bOb_immediate_notification_2262@localhost/escalus-default-resource in
<presence from='bOb_immediate_notification_2262@localhost/escalus-default-resource' to='bob_immediate_notification_2262@localhost/escalus-default-resource' xml:lang='en'/>



*** User 2022-04-04 15:14:38.887 ***
alicE_immediate_notification_2263@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-04-04 15:14:38.888 ***
alicE_immediate_notification_2263@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0f0c15d3832b5f36' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:14:38.888 ***
alicE_immediate_notification_2263@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-04-04 15:14:38.888 ***
alicE_immediate_notification_2263@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ltbWVkaWF0ZV9ub3RpZmljYXRpb25fMjI2MwBtYXR5Z3J5c2E=</auth>



*** User 2022-04-04 15:14:38.890 ***
alicE_immediate_notification_2263@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:14:38.890 ***
alicE_immediate_notification_2263@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-04-04 15:14:38.890 ***
alicE_immediate_notification_2263@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0922a5756141ed99' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:14:38.890 ***
alicE_immediate_notification_2263@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-04-04 15:14:38.890 ***
alicE_immediate_notification_2263@localhost out
<iq type='set' id='613241cd9e346db7217738d9b8a2e661'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2022-04-04 15:14:38.890 ***
alicE_immediate_notification_2263@localhost in
<iq id='613241cd9e346db7217738d9b8a2e661' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_immediate_notification_2263@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2022-04-04 15:14:38.891 ***
alicE_immediate_notification_2263@localhost/escalus-default-resource out
<iq type='set' id='d683b8385e4bbd07c9ea38a2d762185a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:14:38.891 ***
alicE_immediate_notification_2263@localhost/escalus-default-resource in
<iq type='result' id='d683b8385e4bbd07c9ea38a2d762185a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:14:38.891 ***
alicE_immediate_notification_2263@localhost/escalus-default-resource out
<enable xmlns='urn:xmpp:sm:3' resume='true'/>



*** User 2022-04-04 15:14:38.892 ***
alicE_immediate_notification_2263@localhost/escalus-default-resource in
<enabled xmlns='urn:xmpp:sm:3' id='kVUkL6E8lDLeb/BCSots32Wxz3Jd' resume='true'/>



*** User 2022-04-04 15:14:38.892 ***
alicE_immediate_notification_2263@localhost/escalus-default-resource out
<presence/>



*** User 2022-04-04 15:14:38.893 ***
alicE_immediate_notification_2263@localhost/escalus-default-resource in
<presence from='alicE_immediate_notification_2263@localhost/escalus-default-resource' to='alice_immediate_notification_2263@localhost/escalus-default-resource' xml:lang='en'/>



*** User 2022-04-04 15:14:38.893 ***
alicE_immediate_notification_2263@localhost/escalus-default-resource out
<iq to='pubsub.localhost' type='set' id='alicE_immediate_notification_2263-pubsub.localhost-princely_musings_++iM2Qe7fDE=-create_node' from='alicE_immediate_notification_2263@localhost/escalus-default-resource'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create type='push' node='princely_musings_++iM2Qe7fDE='/>
		<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-04-04 15:14:38.898 ***
alicE_immediate_notification_2263@localhost/escalus-default-resource in
<iq from='pubsub.localhost' to='alicE_immediate_notification_2263@localhost/escalus-default-resource' id='alicE_immediate_notification_2263-pubsub.localhost-princely_musings_++iM2Qe7fDE=-create_node' type='result'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create node='princely_musings_++iM2Qe7fDE='/>
	</pubsub>
</iq>



*** User 2022-04-04 15:14:38.898 ***
alicE_immediate_notification_2263@localhost/escalus-default-resource out
<iq to='pubsub.localhost' type='set' id='JYIYETU=' from='alicE_immediate_notification_2263@localhost/escalus-default-resource'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
		<affiliations node='princely_musings_++iM2Qe7fDE='>
			<affiliation jid='localhost' affiliation='publish-only'/>
		</affiliations>
	</pubsub>
</iq>



*** User 2022-04-04 15:14:38.901 ***
alicE_immediate_notification_2263@localhost/escalus-default-resource in
<iq from='pubsub.localhost' to='alicE_immediate_notification_2263@localhost/escalus-default-resource' id='JYIYETU=' type='result'/>



*** User 2022-04-04 15:14:38.901 ***
alicE_immediate_notification_2263@localhost/escalus-default-resource out
<iq type='set' id='c9af5d08794ba1145732910a5e220925'>
	<enable xmlns='urn:xmpp:push:0' jid='pubsub.localhost' node='princely_musings_++iM2Qe7fDE='>
		<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>9B41J6H9HLLI1010ADFEL61AGJEI</value>
			</field>
		</x>
	</enable>
</iq>



*** User 2022-04-04 15:14:38.906 ***
alicE_immediate_notification_2263@localhost/escalus-default-resource in
<iq from='alicE_immediate_notification_2263@localhost' to='alicE_immediate_notification_2263@localhost/escalus-default-resource' id='c9af5d08794ba1145732910a5e220925' type='result'/>



*** User 2022-04-04 15:14:38.907 ***
alicE_immediate_notification_2263@localhost/escalus-default-resource out
<iq to='pubsub.localhost' type='set' id='alicE_immediate_notification_2263-pubsub.localhost-princely_musings_sKe0mn+4fi8=-create_node' from='alicE_immediate_notification_2263@localhost/escalus-default-resource'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create type='push' node='princely_musings_sKe0mn+4fi8='/>
		<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-04-04 15:14:39.330 ***
alicE_immediate_notification_2263@localhost/escalus-default-resource in
<iq from='pubsub.localhost' to='alicE_immediate_notification_2263@localhost/escalus-default-resource' id='alicE_immediate_notification_2263-pubsub.localhost-princely_musings_sKe0mn+4fi8=-create_node' type='result'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create node='princely_musings_sKe0mn+4fi8='/>
	</pubsub>
</iq>



*** User 2022-04-04 15:14:39.330 ***
alicE_immediate_notification_2263@localhost/escalus-default-resource out
<iq to='pubsub.localhost' type='set' id='jUYPLmw=' from='alicE_immediate_notification_2263@localhost/escalus-default-resource'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
		<affiliations node='princely_musings_sKe0mn+4fi8='>
			<affiliation jid='localhost' affiliation='publish-only'/>
		</affiliations>
	</pubsub>
</iq>



*** User 2022-04-04 15:14:39.968 ***
alicE_immediate_notification_2263@localhost/escalus-default-resource in
<iq from='pubsub.localhost' to='alicE_immediate_notification_2263@localhost/escalus-default-resource' id='jUYPLmw=' type='result'/>



*** User 2022-04-04 15:14:39.968 ***
alicE_immediate_notification_2263@localhost/escalus-default-resource out
<iq type='set' id='7ea709b9d4aff8f019524f6fb989c0f3'>
	<enable xmlns='urn:xmpp:push:0' jid='pubsub.localhost' node='princely_musings_sKe0mn+4fi8='>
		<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>256LE779KAJC3CFA21DG03I3H9LB</value>
			</field>
		</x>
	</enable>
</iq>



*** User 2022-04-04 15:14:40.283 ***
alicE_immediate_notification_2263@localhost/escalus-default-resource in
<iq from='alicE_immediate_notification_2263@localhost' to='alicE_immediate_notification_2263@localhost/escalus-default-resource' id='7ea709b9d4aff8f019524f6fb989c0f3' type='result'/>



*** User 2022-04-04 15:14:40.283 ***
bOb_immediate_notification_2262@localhost/escalus-default-resource out
<message to='alice_immediate_notification_2263@localhost' type='chat'>
	<body>msg-0</body>
</message>



*** User 2022-04-04 15:14:40.290 ***
alicE_immediate_notification_2263@localhost/escalus-default-resource in
<message from='bOb_immediate_notification_2262@localhost/escalus-default-resource' to='alice_immediate_notification_2263@localhost' xml:lang='en' type='chat'>
	<body>msg-0</body>
</message>



*** User 2022-04-04 15:14:40.290 ***
alicE_immediate_notification_2263@localhost/escalus-default-resource out
<a xmlns='urn:xmpp:sm:3' h='8'/>



*** User 2022-04-04 15:14:40.290 ***
bOb_immediate_notification_2262@localhost/escalus-default-resource out
<message to='alice_immediate_notification_2263@localhost' type='chat'>
	<body>msg-1</body>
</message>



*** User 2022-04-04 15:14:40.292 ***
alicE_immediate_notification_2263@localhost/escalus-default-resource in
<message from='bOb_immediate_notification_2262@localhost/escalus-default-resource' to='alice_immediate_notification_2263@localhost' xml:lang='en' type='chat'>
	<body>msg-1</body>
</message>



*** User 2022-04-04 15:14:40.733 ***
bOb_immediate_notification_2262@localhost/escalus-default-resource out
<message to='alice_immediate_notification_2263@localhost' type='chat'>
	<body>msg-2</body>
</message>



*** User 2022-04-04 15:14:41.750 ***
bOb_immediate_notification_2262@localhost/escalus-default-resource out
</stream:stream>

*** User 2022-04-04 15:14:41.750 ***
bOb_immediate_notification_2262@localhost/escalus-default-resource in
</stream:stream>
*** CT 2022-04-04 15:14:41.754 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1974.html
*** CT 2022-04-04 15:14:41.755 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4902.html



=== Ended at 2022-04-04 15:14:41
=== successfully completed test case
=== === Returned value: already_stopped


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