=== 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_createnode => 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.21093.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@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.push_integration_SUITE.logs/run.2022-06-22_08.56.49/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@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.push_integration_SUITE.logs/run.2022-06-22_08.56.49/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@838f153dfbc9.2022-06-22_08.43.58"

=== Started at 2022-06-22 08:56:53


*** CT 2022-06-22 08:56:53.035 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4525.html
*** CT 2022-06-22 08:56:53.036 *** View log from node ejabberd2@localhost when started🔗 ejabberd2@localhost_1988.html

*** User 2022-06-22 08:56:53.040 ***🔗
bOb_immediate_notification_1624@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 08:56:53.041 ***🔗
bOb_immediate_notification_1624@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1938e4718bcefbb9' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:56:53.041 ***🔗
bOb_immediate_notification_1624@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-06-22 08:56:53.041 ***🔗
bOb_immediate_notification_1624@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9pbW1lZGlhdGVfbm90aWZpY2F0aW9uXzE2MjQAbWFrcm9saWth</auth>



*** User 2022-06-22 08:56:53.042 ***🔗
bOb_immediate_notification_1624@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 08:56:53.043 ***🔗
bOb_immediate_notification_1624@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 08:56:53.043 ***🔗
bOb_immediate_notification_1624@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='755cc55e34ced43c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:56:53.043 ***🔗
bOb_immediate_notification_1624@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-06-22 08:56:53.043 ***🔗
bOb_immediate_notification_1624@localhost out
<iq type='set' id='11b941d779110ad22cb9b21abddfc0c9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2022-06-22 08:56:53.043 ***🔗
bOb_immediate_notification_1624@localhost in
<iq id='11b941d779110ad22cb9b21abddfc0c9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_immediate_notification_1624@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2022-06-22 08:56:53.043 ***🔗
bob_immediate_notification_1624@localhost/escalus-default-resource out
<iq type='set' id='19efb9c8112a06dd29a4660127538610'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:56:53.043 ***🔗
bob_immediate_notification_1624@localhost/escalus-default-resource in
<iq type='result' id='19efb9c8112a06dd29a4660127538610'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:56:53.043 ***🔗
bob_immediate_notification_1624@localhost/escalus-default-resource out
<presence/>



*** User 2022-06-22 08:56:53.045 ***🔗
bob_immediate_notification_1624@localhost/escalus-default-resource in
<presence from='bob_immediate_notification_1624@localhost/escalus-default-resource' to='bob_immediate_notification_1624@localhost/escalus-default-resource' xml:lang='en'/>



*** User 2022-06-22 08:56:53.048 ***🔗
alicE_immediate_notification_1625@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 08:56:53.048 ***🔗
alicE_immediate_notification_1625@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='71e913496ebe566a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:56:53.048 ***🔗
alicE_immediate_notification_1625@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-06-22 08:56:53.048 ***🔗
alicE_immediate_notification_1625@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2ltbWVkaWF0ZV9ub3RpZmljYXRpb25fMTYyNQBtYXR5Z3J5c2E=</auth>



*** User 2022-06-22 08:56:53.050 ***🔗
alicE_immediate_notification_1625@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 08:56:53.050 ***🔗
alicE_immediate_notification_1625@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 08:56:53.050 ***🔗
alicE_immediate_notification_1625@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e92b408315b29864' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:56:53.050 ***🔗
alicE_immediate_notification_1625@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-06-22 08:56:53.050 ***🔗
alicE_immediate_notification_1625@localhost out
<iq type='set' id='418d2a0123e6a54c89515710ae90057c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2022-06-22 08:56:53.050 ***🔗
alicE_immediate_notification_1625@localhost in
<iq id='418d2a0123e6a54c89515710ae90057c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_immediate_notification_1625@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2022-06-22 08:56:53.050 ***🔗
alice_immediate_notification_1625@localhost/escalus-default-resource out
<iq type='set' id='eced9ba669b523609add543aa98b3243'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:56:53.051 ***🔗
alice_immediate_notification_1625@localhost/escalus-default-resource in
<iq type='result' id='eced9ba669b523609add543aa98b3243'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:56:53.051 ***🔗
alice_immediate_notification_1625@localhost/escalus-default-resource out
<enable xmlns='urn:xmpp:sm:3' resume='true'/>



*** User 2022-06-22 08:56:53.051 ***🔗
alice_immediate_notification_1625@localhost/escalus-default-resource in
<enabled xmlns='urn:xmpp:sm:3' id='ZUGMPMvMUcKl1wGG8WaLhA7LRbMc' resume='true'/>



*** User 2022-06-22 08:56:53.051 ***🔗
alice_immediate_notification_1625@localhost/escalus-default-resource out
<presence/>



*** User 2022-06-22 08:56:53.052 ***🔗
alice_immediate_notification_1625@localhost/escalus-default-resource in
<presence from='alice_immediate_notification_1625@localhost/escalus-default-resource' to='alice_immediate_notification_1625@localhost/escalus-default-resource' xml:lang='en'/>



*** User 2022-06-22 08:56:53.052 ***🔗
alice_immediate_notification_1625@localhost/escalus-default-resource out
<iq to='pubsub.localhost' type='set' id='alice_immediate_notification_1625-pubsub.localhost-princely_musings_Tfc8zDMrq+k=-create_node' from='alice_immediate_notification_1625@localhost/escalus-default-resource'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create type='push' node='princely_musings_Tfc8zDMrq+k='/>
		<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-06-22 08:56:53.054 ***🔗
alice_immediate_notification_1625@localhost/escalus-default-resource in
<iq from='pubsub.localhost' to='alice_immediate_notification_1625@localhost/escalus-default-resource' id='alice_immediate_notification_1625-pubsub.localhost-princely_musings_Tfc8zDMrq+k=-create_node' type='result'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create node='princely_musings_Tfc8zDMrq+k='/>
	</pubsub>
</iq>



*** User 2022-06-22 08:56:53.054 ***🔗
alice_immediate_notification_1625@localhost/escalus-default-resource out
<iq to='pubsub.localhost' type='set' id='tXScYwk=' from='alice_immediate_notification_1625@localhost/escalus-default-resource'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
		<affiliations node='princely_musings_Tfc8zDMrq+k='>
			<affiliation jid='localhost' affiliation='publish-only'/>
		</affiliations>
	</pubsub>
</iq>



*** User 2022-06-22 08:56:53.054 ***🔗
alice_immediate_notification_1625@localhost/escalus-default-resource in
<iq from='pubsub.localhost' to='alice_immediate_notification_1625@localhost/escalus-default-resource' id='tXScYwk=' type='result'/>



*** User 2022-06-22 08:56:53.055 ***🔗
alice_immediate_notification_1625@localhost/escalus-default-resource out
<iq type='set' id='d1d8731549e90bb513915ca177931529'>
	<enable xmlns='urn:xmpp:push:0' jid='pubsub.localhost' node='princely_musings_Tfc8zDMrq+k='>
		<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>DF9EAA99N99166K36812IHN7E347</value>
			</field>
		</x>
	</enable>
</iq>



*** User 2022-06-22 08:56:53.064 ***🔗
alice_immediate_notification_1625@localhost/escalus-default-resource in
<iq from='alice_immediate_notification_1625@localhost' to='alice_immediate_notification_1625@localhost/escalus-default-resource' id='d1d8731549e90bb513915ca177931529' type='result'/>



*** User 2022-06-22 08:56:53.065 ***🔗
alice_immediate_notification_1625@localhost/escalus-default-resource out
<iq to='pubsub.localhost' type='set' id='alice_immediate_notification_1625-pubsub.localhost-princely_musings_qAfymc00zsU=-create_node' from='alice_immediate_notification_1625@localhost/escalus-default-resource'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create type='push' node='princely_musings_qAfymc00zsU='/>
		<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-06-22 08:56:53.485 ***🔗
alice_immediate_notification_1625@localhost/escalus-default-resource in
<iq from='pubsub.localhost' to='alice_immediate_notification_1625@localhost/escalus-default-resource' id='alice_immediate_notification_1625-pubsub.localhost-princely_musings_qAfymc00zsU=-create_node' type='result'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<create node='princely_musings_qAfymc00zsU='/>
	</pubsub>
</iq>



*** User 2022-06-22 08:56:53.485 ***🔗
alice_immediate_notification_1625@localhost/escalus-default-resource out
<iq to='pubsub.localhost' type='set' id='D2r0oKA=' from='alice_immediate_notification_1625@localhost/escalus-default-resource'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
		<affiliations node='princely_musings_qAfymc00zsU='>
			<affiliation jid='localhost' affiliation='publish-only'/>
		</affiliations>
	</pubsub>
</iq>



*** User 2022-06-22 08:56:54.119 ***🔗
alice_immediate_notification_1625@localhost/escalus-default-resource in
<iq from='pubsub.localhost' to='alice_immediate_notification_1625@localhost/escalus-default-resource' id='D2r0oKA=' type='result'/>



*** User 2022-06-22 08:56:54.120 ***🔗
alice_immediate_notification_1625@localhost/escalus-default-resource out
<iq type='set' id='4f64009e732f86dcc643fb3777a6c59b'>
	<enable xmlns='urn:xmpp:push:0' jid='pubsub.localhost' node='princely_musings_qAfymc00zsU='>
		<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>85J8CHBENHNNDLMGE37LC6EG776I</value>
			</field>
		</x>
	</enable>
</iq>



*** User 2022-06-22 08:56:54.439 ***🔗
alice_immediate_notification_1625@localhost/escalus-default-resource in
<iq from='alice_immediate_notification_1625@localhost' to='alice_immediate_notification_1625@localhost/escalus-default-resource' id='4f64009e732f86dcc643fb3777a6c59b' type='result'/>



*** User 2022-06-22 08:56:54.440 ***🔗
bob_immediate_notification_1624@localhost/escalus-default-resource out
<message to='alice_immediate_notification_1625@localhost' type='chat'>
	<body>msg-0</body>
</message>



*** User 2022-06-22 08:56:54.442 ***🔗
alice_immediate_notification_1625@localhost/escalus-default-resource in
<message from='bob_immediate_notification_1624@localhost/escalus-default-resource' to='alice_immediate_notification_1625@localhost' xml:lang='en' type='chat'>
	<body>msg-0</body>
</message>



*** User 2022-06-22 08:56:54.442 ***🔗
alice_immediate_notification_1625@localhost/escalus-default-resource out
<a xmlns='urn:xmpp:sm:3' h='8'/>



*** User 2022-06-22 08:56:54.442 ***🔗
bob_immediate_notification_1624@localhost/escalus-default-resource out
<message to='alice_immediate_notification_1625@localhost' type='chat'>
	<body>msg-1</body>
</message>



*** User 2022-06-22 08:56:54.443 ***🔗
alice_immediate_notification_1625@localhost/escalus-default-resource in
<message from='bob_immediate_notification_1624@localhost/escalus-default-resource' to='alice_immediate_notification_1625@localhost' xml:lang='en' type='chat'>
	<body>msg-1</body>
</message>



*** User 2022-06-22 08:56:54.890 ***🔗
bob_immediate_notification_1624@localhost/escalus-default-resource out
<message to='alice_immediate_notification_1625@localhost' type='chat'>
	<body>msg-2</body>
</message>



*** User 2022-06-22 08:56:55.894 ***🔗
bob_immediate_notification_1624@localhost/escalus-default-resource out
</stream:stream>

*** User 2022-06-22 08:56:55.895 ***🔗
bob_immediate_notification_1624@localhost/escalus-default-resource in
</stream:stream>
*** CT 2022-06-22 08:56:55.897 *** View log from node ejabberd2@localhost when finished🔗 ejabberd2@localhost_1988.html
*** CT 2022-06-22 08:56:55.897 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4527.html



=== Ended at 2022-06-22 08:56:55
=== successfully completed test case
=== === Returned value: already_stopped


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