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

=== Config value:

    [{api_v,"v3"},
     {required_modules,
         [{mod_push_service_mongoosepush,
              [{pool_name,mongoose_push_http},{api_version,"v3"}]},
          {mod_event_pusher,
              [{backends,
                   [{push,
                        [{backend,rdbms},
                         {virtual_pubsub_hosts,
                             [{prefix,<<"virtual.">>}]}]}]}]}]},
     {watchdog,<0.6446.2>},
     {pubsub_host,virtual},
     {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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.push_integration_SUITE.logs/run.2022-01-27_15.36.19/push_integration_suite.no_push_notification_for_expired_device.145794.html"},
     {tc_group_properties,[{name,failure_cases_v3},parallel]},
     {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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.push_integration_SUITE.logs/run.2022-01-27_15.36.19/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => [],mod_amp => [],mod_bosh => [],
        mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
        mod_carboncopy => [],mod_commands => [],
        mod_disco => [{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}],
        mod_sic => [],mod_stream_management => [],
        mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11"

=== Started at 2022-01-27 15:36:33


*** CT 2022-01-27 15:36:33.652 *** View log from node mongooseim@localhost when started mongooseim@localhost_5651.html
*** CT 2022-01-27 15:36:33.653 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2385.html

*** User 2022-01-27 15:36:33.686 ***
bOb_no_push_notification_for_expired_device_2119@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-27 15:36:33.686 ***
bOb_no_push_notification_for_expired_device_2119@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f285d28f0c7eeab7' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:36:33.686 ***
bOb_no_push_notification_for_expired_device_2119@localhost/res1 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-01-27 15:36:33.687 ***
bOb_no_push_notification_for_expired_device_2119@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ub19wdXNoX25vdGlmaWNhdGlvbl9mb3JfZXhwaXJlZF9kZXZpY2VfMjExOQBtYWtyb2xpa2E=</auth>



*** User 2022-01-27 15:36:33.688 ***
bOb_no_push_notification_for_expired_device_2119@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:36:33.688 ***
bOb_no_push_notification_for_expired_device_2119@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-27 15:36:33.688 ***
bOb_no_push_notification_for_expired_device_2119@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='488199dc2bf9e6aa' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:36:33.688 ***
bOb_no_push_notification_for_expired_device_2119@localhost/res1 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-01-27 15:36:33.688 ***
bOb_no_push_notification_for_expired_device_2119@localhost/res1 out
<iq type='set' id='1f6616e48f82e762baad07ca7b6e1bfd'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:36:33.688 ***
bOb_no_push_notification_for_expired_device_2119@localhost/res1 in
<iq id='1f6616e48f82e762baad07ca7b6e1bfd' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_no_push_notification_for_expired_device_2119@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:36:33.688 ***
bOb_no_push_notification_for_expired_device_2119@localhost/res1 out
<iq type='set' id='ab1d120f118961cc2fdad46b42c43ca4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:36:33.689 ***
bOb_no_push_notification_for_expired_device_2119@localhost/res1 in
<iq type='result' id='ab1d120f118961cc2fdad46b42c43ca4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:36:33.689 ***
bOb_no_push_notification_for_expired_device_2119@localhost/res1 out
<presence/>



*** User 2022-01-27 15:36:33.690 ***
bOb_no_push_notification_for_expired_device_2119@localhost/res1 in
<presence from='bOb_no_push_notification_for_expired_device_2119@localhost/res1' to='bob_no_push_notification_for_expired_device_2119@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:36:33.690 ***
alicE_no_push_notification_for_expired_device_2119@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-27 15:36:33.691 ***
alicE_no_push_notification_for_expired_device_2119@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e2b32ace3d8fefe0' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:36:33.691 ***
alicE_no_push_notification_for_expired_device_2119@localhost/res1 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-01-27 15:36:33.691 ***
alicE_no_push_notification_for_expired_device_2119@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25vX3B1c2hfbm90aWZpY2F0aW9uX2Zvcl9leHBpcmVkX2RldmljZV8yMTE5AG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 15:36:33.692 ***
alicE_no_push_notification_for_expired_device_2119@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:36:33.692 ***
alicE_no_push_notification_for_expired_device_2119@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-27 15:36:33.692 ***
alicE_no_push_notification_for_expired_device_2119@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9fdd8e5d4b3c9097' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:36:33.692 ***
alicE_no_push_notification_for_expired_device_2119@localhost/res1 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-01-27 15:36:33.692 ***
alicE_no_push_notification_for_expired_device_2119@localhost/res1 out
<iq type='set' id='a63c8ec27149635f7f777475c932efb0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:36:33.693 ***
alicE_no_push_notification_for_expired_device_2119@localhost/res1 in
<iq id='a63c8ec27149635f7f777475c932efb0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_no_push_notification_for_expired_device_2119@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:36:33.693 ***
alicE_no_push_notification_for_expired_device_2119@localhost/res1 out
<iq type='set' id='ed7f56bf40160d46dfb91b149a78eb1d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:36:33.693 ***
alicE_no_push_notification_for_expired_device_2119@localhost/res1 in
<iq type='result' id='ed7f56bf40160d46dfb91b149a78eb1d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:36:33.693 ***
alicE_no_push_notification_for_expired_device_2119@localhost/res1 out
<presence/>



*** User 2022-01-27 15:36:33.694 ***
alicE_no_push_notification_for_expired_device_2119@localhost/res1 in
<presence from='alicE_no_push_notification_for_expired_device_2119@localhost/res1' to='alice_no_push_notification_for_expired_device_2119@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:36:33.694 ***
bOb_no_push_notification_for_expired_device_2119@localhost/res1 out
<iq type='set' id='bed778d03ca26837cff71a4e3dfee8e4'>
	<enable xmlns='urn:xmpp:push:0' jid='virtual.localhost' node='princely_musings_.9ynuxsXWZI='>
		<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>A2CBHF2HH0L7N6F9GN961047K05</value>
			</field>
		</x>
	</enable>
</iq>



*** User 2022-01-27 15:36:33.703 ***
bOb_no_push_notification_for_expired_device_2119@localhost/res1 in
<iq from='bOb_no_push_notification_for_expired_device_2119@localhost' to='bOb_no_push_notification_for_expired_device_2119@localhost/res1' id='bed778d03ca26837cff71a4e3dfee8e4' type='result'/>



*** User 2022-01-27 15:36:33.704 ***
bOb_no_push_notification_for_expired_device_2119@localhost/res1 out
<presence type='unavailable'/>



*** User 2022-01-27 15:36:33.804 ***
alicE_no_push_notification_for_expired_device_2119@localhost/res1 out
<message to='bOb_no_push_notification_for_expired_device_2119@localhost/res1' type='chat'>
	<body>OH, HAI!</body>
</message>



*** User 2022-01-27 15:36:33.909 ***
alicE_no_push_notification_for_expired_device_2119@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:36:33.910 ***
alicE_no_push_notification_for_expired_device_2119@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:36:33.910 ***
bOb_no_push_notification_for_expired_device_2119@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:36:33.910 ***
bOb_no_push_notification_for_expired_device_2119@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:36:33.913 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2385.html
*** CT 2022-01-27 15:36:33.921 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5667.html



=== Ended at 2022-01-27 15:36:33
=== successfully completed test case
=== === Returned value: ok