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

=== Config value:

    [{watchdog,<0.17492.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.inbox_SUITE.logs/run.2022-01-27_12.30.53/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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.inbox_SUITE.logs/run.2022-01-27_12.30.53/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@998557c7e1d1.2022-01-27_12.27.57"

=== Started at 2022-01-27 12:30:55


*** CT 2022-01-27 12:30:55.274 *** View log from node mongooseim@localhost when started mongooseim@localhost_902.html
*** CT 2022-01-27 12:30:55.275 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_538.html

*** User 2022-01-27 12:30:55.340 ***
alicE_msg_sent_to_offline_user_736@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-01-27 12:30:55.341 ***
alicE_msg_sent_to_offline_user_736@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cb8fe4d30190afbb' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:30:55.341 ***
alicE_msg_sent_to_offline_user_736@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-01-27 12:30:55.341 ***
alicE_msg_sent_to_offline_user_736@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21zZ19zZW50X3RvX29mZmxpbmVfdXNlcl83MzYAbWF0eWdyeXNh</auth>



*** User 2022-01-27 12:30:55.343 ***
alicE_msg_sent_to_offline_user_736@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:30:55.343 ***
alicE_msg_sent_to_offline_user_736@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-01-27 12:30:55.343 ***
alicE_msg_sent_to_offline_user_736@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1dc2dcf1b77fc192' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:30:55.343 ***
alicE_msg_sent_to_offline_user_736@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-01-27 12:30:55.343 ***
alicE_msg_sent_to_offline_user_736@domain.example.com/res1 out
<iq type='set' id='3d3ae6e82ba7a3d69f80d70e916285f1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:30:55.344 ***
alicE_msg_sent_to_offline_user_736@domain.example.com/res1 in
<iq id='3d3ae6e82ba7a3d69f80d70e916285f1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_msg_sent_to_offline_user_736@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:30:55.344 ***
alicE_msg_sent_to_offline_user_736@domain.example.com/res1 out
<iq type='set' id='586e54a72ca58c416832d8e1f9ba02b6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:30:55.344 ***
alicE_msg_sent_to_offline_user_736@domain.example.com/res1 in
<iq type='result' id='586e54a72ca58c416832d8e1f9ba02b6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:30:55.344 ***
alicE_msg_sent_to_offline_user_736@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:30:55.348 ***
alicE_msg_sent_to_offline_user_736@domain.example.com/res1 in
<presence from='alicE_msg_sent_to_offline_user_736@domain.example.com/res1' to='alice_msg_sent_to_offline_user_736@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:30:55.349 ***
bOb_msg_sent_to_offline_user_736@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-01-27 12:30:55.350 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d3b3260541c5fd7f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:30:55.350 ***
bOb_msg_sent_to_offline_user_736@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-01-27 12:30:55.350 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tc2dfc2VudF90b19vZmZsaW5lX3VzZXJfNzM2AG1ha3JvbGlrYQ==</auth>



*** User 2022-01-27 12:30:55.352 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:30:55.352 ***
bOb_msg_sent_to_offline_user_736@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-01-27 12:30:55.352 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8681424d7a3d8a02' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:30:55.352 ***
bOb_msg_sent_to_offline_user_736@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-01-27 12:30:55.352 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/res1 out
<iq type='set' id='d728012b1ddfd82f4c7a8a31e784a9a7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:30:55.352 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/res1 in
<iq id='d728012b1ddfd82f4c7a8a31e784a9a7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_msg_sent_to_offline_user_736@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:30:55.353 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/res1 out
<iq type='set' id='c05135285863696a9b22f9c518a96871'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:30:55.353 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/res1 in
<iq type='result' id='c05135285863696a9b22f9c518a96871'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:30:55.353 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:30:55.356 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/res1 in
<presence from='bOb_msg_sent_to_offline_user_736@domain.example.com/res1' to='bob_msg_sent_to_offline_user_736@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:30:55.356 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:30:55.356 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/res1 in
</stream:stream>

*** User 2022-01-27 12:30:55.357 ***
alicE_msg_sent_to_offline_user_736@domain.example.com/res1 out
<message to='bOb_msg_sent_to_offline_user_736@domain.example.com/res1' type='chat'>
	<body>test</body>
</message>



*** User 2022-01-27 12:30:55.357 ***
bOb_msg_sent_to_offline_user_736@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-01-27 12:30:55.358 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/new-session in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f6a3a01c850bd40f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:30:55.358 ***
bOb_msg_sent_to_offline_user_736@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-01-27 12:30:55.358 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/new-session out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tc2dfc2VudF90b19vZmZsaW5lX3VzZXJfNzM2AG1ha3JvbGlrYQ==</auth>



*** User 2022-01-27 12:30:55.387 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/new-session in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:30:55.387 ***
bOb_msg_sent_to_offline_user_736@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-01-27 12:30:55.387 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/new-session in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bac0a49ec7ff945b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:30:55.387 ***
bOb_msg_sent_to_offline_user_736@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-01-27 12:30:55.388 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/new-session out
<iq type='set' id='ed12feb32d80ad4e1016222adebf2843'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>new-session</resource>
	</bind>
</iq>



*** User 2022-01-27 12:30:55.388 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/new-session in
<iq id='ed12feb32d80ad4e1016222adebf2843' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_msg_sent_to_offline_user_736@domain.example.com/new-session</jid>
	</bind>
</iq>



*** User 2022-01-27 12:30:55.388 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/new-session out
<iq type='set' id='18c6c485a1598d2c59c2eda17f7cb3c0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:30:55.388 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/new-session in
<iq type='result' id='18c6c485a1598d2c59c2eda17f7cb3c0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:30:55.388 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/new-session out
<presence/>



*** User 2022-01-27 12:30:55.418 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/new-session in
<message from='alicE_msg_sent_to_offline_user_736@domain.example.com/res1' to='bOb_msg_sent_to_offline_user_736@domain.example.com/res1' xml:lang='en' type='chat'>
	<body>test</body>
	<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T12:30:55.416398Z' from='domain.example.com'>Offline Storage</delay>
</message>



*** User 2022-01-27 12:30:55.419 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/new-session in
<presence from='bOb_msg_sent_to_offline_user_736@domain.example.com/new-session' to='bob_msg_sent_to_offline_user_736@domain.example.com/new-session' xml:lang='en'/>



*** User 2022-01-27 12:30:55.419 ***
alicE_msg_sent_to_offline_user_736@domain.example.com/res1 out
<iq type='set' id='562c41470022f5fc36d0e9490a3abeea'>
	<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-01-27 12:30:55.421 ***
alicE_msg_sent_to_offline_user_736@domain.example.com/res1 in
<message from='alicE_msg_sent_to_offline_user_736@domain.example.com' to='alicE_msg_sent_to_offline_user_736@domain.example.com/res1' id='dc3cdb2c-94b1-4505-b2c2-2af11549e9e3'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='562c41470022f5fc36d0e9490a3abeea'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T12:30:55.357420Z'/>
			<message from='alicE_msg_sent_to_offline_user_736@domain.example.com/res1' xml:lang='en' to='bOb_msg_sent_to_offline_user_736@domain.example.com/res1' type='chat'>
				<body>test</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-01-27 12:30:55.421 ***
alicE_msg_sent_to_offline_user_736@domain.example.com/res1 in
<iq from='alicE_msg_sent_to_offline_user_736@domain.example.com' to='alicE_msg_sent_to_offline_user_736@domain.example.com/res1' id='562c41470022f5fc36d0e9490a3abeea' 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-01-27 12:30:55.421 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/new-session out
<iq type='set' id='61e091ae09c6b958836a2d4fe289a121'>
	<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-01-27 12:30:55.424 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/new-session in
<message from='bOb_msg_sent_to_offline_user_736@domain.example.com' to='bOb_msg_sent_to_offline_user_736@domain.example.com/new-session' id='5a8c8735-f1db-42fc-9f1f-074e7e9b68e7'>
	<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='1' queryid='61e091ae09c6b958836a2d4fe289a121'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T12:30:55.357420Z'/>
			<message from='alicE_msg_sent_to_offline_user_736@domain.example.com/res1' xml:lang='en' to='bOb_msg_sent_to_offline_user_736@domain.example.com/res1' type='chat'>
				<body>test</body>
			</message>
		</forwarded>
		<archive>false</archive>
		<mute>0</mute>
	</result>
</message>



*** User 2022-01-27 12:30:55.424 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/new-session in
<iq from='bOb_msg_sent_to_offline_user_736@domain.example.com' to='bOb_msg_sent_to_offline_user_736@domain.example.com/new-session' id='61e091ae09c6b958836a2d4fe289a121' 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-01-27 12:30:55.424 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/new-session out
</stream:stream>

*** User 2022-01-27 12:30:55.424 ***
bOb_msg_sent_to_offline_user_736@domain.example.com/new-session in
</stream:stream>

*** User 2022-01-27 12:30:55.425 ***
alicE_msg_sent_to_offline_user_736@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:30:55.425 ***
alicE_msg_sent_to_offline_user_736@domain.example.com/res1 in
</stream:stream>
*** CT 2022-01-27 12:30:55.429 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_538.html
*** CT 2022-01-27 12:30:55.431 *** View log from node mongooseim@localhost when finished mongooseim@localhost_902.html



=== Ended at 2022-01-27 12:30:55
=== successfully completed test case
=== === Returned value: ok


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