=== Test case: inbox_SUITE:msg_sent_to_offline_user/1 (click for source code)

=== Config value:

    [{watchdog,<0.19382.0>},
     {inbox_opts,[{aff_changes,true},
                  {remove_on_kicked,true},
                  {groupchat,[]},
                  {reset_markers,[<<"displayed">>]}]},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/inbox_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.inbox_SUITE.logs/run.2022-03-04_11.19.57/inbox_suite.msg_sent_to_offline_user.html"},
     {tc_group_properties,[{name,one_to_one}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/inbox_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.inbox_SUITE.logs/run.2022-03-04_11.19.57/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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@88d84ff17c71.2022-03-04_11.16.52"

=== Started at 2022-03-04 11:19:59


*** CT 2022-03-04 11:19:59.359 *** View log from node mongooseim@localhost when started mongooseim@localhost_916.html
*** CT 2022-03-04 11:19:59.360 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_529.html

*** User 2022-03-04 11:19:59.385 ***
alicE_msg_sent_to_offline_user_787@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:19:59.386 ***
alicE_msg_sent_to_offline_user_787@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3e8aefa834e210e4' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:59.386 ***
alicE_msg_sent_to_offline_user_787@domain.example.com/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-03-04 11:19:59.386 ***
alicE_msg_sent_to_offline_user_787@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21zZ19zZW50X3RvX29mZmxpbmVfdXNlcl83ODcAbWF0eWdyeXNh</auth>



*** User 2022-03-04 11:19:59.387 ***
alicE_msg_sent_to_offline_user_787@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:19:59.387 ***
alicE_msg_sent_to_offline_user_787@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:19:59.388 ***
alicE_msg_sent_to_offline_user_787@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3b39d13b125dc738' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:59.388 ***
alicE_msg_sent_to_offline_user_787@domain.example.com/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-03-04 11:19:59.388 ***
alicE_msg_sent_to_offline_user_787@domain.example.com/res1 out
<iq type='set' id='9f7c56e42d678093356bd8832eb4f2c5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:19:59.388 ***
alicE_msg_sent_to_offline_user_787@domain.example.com/res1 in
<iq id='9f7c56e42d678093356bd8832eb4f2c5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_msg_sent_to_offline_user_787@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:19:59.389 ***
alicE_msg_sent_to_offline_user_787@domain.example.com/res1 out
<iq type='set' id='4b3c3f56e06fb97f3935031ea829c736'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:59.389 ***
alicE_msg_sent_to_offline_user_787@domain.example.com/res1 in
<iq type='result' id='4b3c3f56e06fb97f3935031ea829c736'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:59.389 ***
alicE_msg_sent_to_offline_user_787@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:19:59.392 ***
alicE_msg_sent_to_offline_user_787@domain.example.com/res1 in
<presence from='alicE_msg_sent_to_offline_user_787@domain.example.com/res1' to='alice_msg_sent_to_offline_user_787@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:19:59.392 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:19:59.393 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f8fe689ca345a4e3' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:59.393 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/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-03-04 11:19:59.393 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tc2dfc2VudF90b19vZmZsaW5lX3VzZXJfNzg3AG1ha3JvbGlrYQ==</auth>



*** User 2022-03-04 11:19:59.395 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:19:59.395 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:19:59.395 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4dbcc26913b6a71c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:59.395 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/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-03-04 11:19:59.395 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/res1 out
<iq type='set' id='f494cef1e1ed7812639a59c0e26f80a7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:19:59.396 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/res1 in
<iq id='f494cef1e1ed7812639a59c0e26f80a7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_msg_sent_to_offline_user_787@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:19:59.396 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/res1 out
<iq type='set' id='46843e068c4814d1bf030e1004160123'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:59.396 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/res1 in
<iq type='result' id='46843e068c4814d1bf030e1004160123'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:59.397 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:19:59.399 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/res1 in
<presence from='bOb_msg_sent_to_offline_user_787@domain.example.com/res1' to='bob_msg_sent_to_offline_user_787@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:19:59.400 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:19:59.400 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-04 11:19:59.400 ***
alicE_msg_sent_to_offline_user_787@domain.example.com/res1 out
<message to='bOb_msg_sent_to_offline_user_787@domain.example.com/res1' type='chat'>
	<body>test</body>
</message>



*** User 2022-03-04 11:19:59.401 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/new-session out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:19:59.401 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/new-session in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1a4434ab0a8437f5' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:59.401 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/new-session 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-03-04 11:19:59.402 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/new-session out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tc2dfc2VudF90b19vZmZsaW5lX3VzZXJfNzg3AG1ha3JvbGlrYQ==</auth>



*** User 2022-03-04 11:19:59.409 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/new-session in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:19:59.409 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/new-session out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:19:59.410 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/new-session in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d3dad3756a195c3f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:19:59.410 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/new-session 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-03-04 11:19:59.410 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/new-session out
<iq type='set' id='109ea49b4933264610bc2a20945a5f02'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>new-session</resource>
	</bind>
</iq>



*** User 2022-03-04 11:19:59.410 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/new-session in
<iq id='109ea49b4933264610bc2a20945a5f02' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_msg_sent_to_offline_user_787@domain.example.com/new-session</jid>
	</bind>
</iq>



*** User 2022-03-04 11:19:59.410 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/new-session out
<iq type='set' id='c418adc71b3f52f4025e6ecbdea234c2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:59.411 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/new-session in
<iq type='result' id='c418adc71b3f52f4025e6ecbdea234c2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:19:59.411 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/new-session out
<presence/>



*** User 2022-03-04 11:19:59.417 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/new-session in
<message from='alicE_msg_sent_to_offline_user_787@domain.example.com/res1' to='bOb_msg_sent_to_offline_user_787@domain.example.com/res1' xml:lang='en' type='chat'>
	<body>test</body>
	<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T11:19:59.415002Z' from='domain.example.com'>Offline Storage</delay>
</message>



*** User 2022-03-04 11:19:59.417 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/new-session in
<presence from='bOb_msg_sent_to_offline_user_787@domain.example.com/new-session' to='bob_msg_sent_to_offline_user_787@domain.example.com/new-session' xml:lang='en'/>



*** User 2022-03-04 11:19:59.417 ***
alicE_msg_sent_to_offline_user_787@domain.example.com/res1 out
<iq type='set' id='b9e11cce0f8c22f04ea5b657c0f42c75'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2022-03-04 11:19:59.418 ***
alicE_msg_sent_to_offline_user_787@domain.example.com/res1 in
<message from='alicE_msg_sent_to_offline_user_787@domain.example.com' to='alicE_msg_sent_to_offline_user_787@domain.example.com/res1' id='bb845f03-45ec-4bca-9f8a-41f954fa37a5'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='b9e11cce0f8c22f04ea5b657c0f42c75'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T11:19:59.400803Z'/>
			<message from='alicE_msg_sent_to_offline_user_787@domain.example.com/res1' xml:lang='en' to='bOb_msg_sent_to_offline_user_787@domain.example.com/res1' type='chat'>
				<body>test</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-04 11:19:59.418 ***
alicE_msg_sent_to_offline_user_787@domain.example.com/res1 in
<iq from='alicE_msg_sent_to_offline_user_787@domain.example.com' to='alicE_msg_sent_to_offline_user_787@domain.example.com/res1' id='b9e11cce0f8c22f04ea5b657c0f42c75' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>0</active-conversations>
		<count>1</count>
		<unread-messages>0</unread-messages>
	</fin>
</iq>



*** User 2022-03-04 11:19:59.419 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/new-session out
<iq type='set' id='b8af70c66eefc84fe868d95b17fc3b84'>
	<inbox xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>erlang-solutions.com:xmpp:inbox:0</value>
			</field>
			<field type='text-single' var='hidden_read'>
				<value>false</value>
			</field>
		</x>
	</inbox>
</iq>



*** User 2022-03-04 11:19:59.420 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/new-session in
<message from='bOb_msg_sent_to_offline_user_787@domain.example.com' to='bOb_msg_sent_to_offline_user_787@domain.example.com/new-session' id='39ec6a33-f1c5-4f9f-bab2-27d54ea384bf'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='b8af70c66eefc84fe868d95b17fc3b84'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T11:19:59.400803Z'/>
			<message from='alicE_msg_sent_to_offline_user_787@domain.example.com/res1' xml:lang='en' to='bOb_msg_sent_to_offline_user_787@domain.example.com/res1' type='chat'>
				<body>test</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-03-04 11:19:59.420 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/new-session in
<iq from='bOb_msg_sent_to_offline_user_787@domain.example.com' to='bOb_msg_sent_to_offline_user_787@domain.example.com/new-session' id='b8af70c66eefc84fe868d95b17fc3b84' type='result'>
	<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
		<active-conversations>1</active-conversations>
		<count>1</count>
		<unread-messages>1</unread-messages>
	</fin>
</iq>



*** User 2022-03-04 11:19:59.421 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/new-session out
</stream:stream>

*** User 2022-03-04 11:19:59.421 ***
bOb_msg_sent_to_offline_user_787@domain.example.com/new-session in
</stream:stream>

*** User 2022-03-04 11:19:59.421 ***
alicE_msg_sent_to_offline_user_787@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:19:59.421 ***
alicE_msg_sent_to_offline_user_787@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-04 11:19:59.423 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_529.html
*** CT 2022-03-04 11:19:59.424 *** View log from node mongooseim@localhost when finished mongooseim@localhost_916.html



=== Ended at 2022-03-04 11:19:59
=== successfully completed test case
=== === Returned value: ok


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