=== Test case: amp_big_SUITE:notify_deliver_to_offline_user_test/1 (click for source code)

=== Config value:

    [{offline_storage,offline},
     {watchdog,<0.3391.0>},
     {preset,"ldap_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/amp_big_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@04136cebbe9f.2024-02-26_14.30.11/big_tests.tests.amp_big_SUITE.logs/run.2024-02-26_14.30.26/amp_big_suite.notify_deliver_to_offline_user_test.8450.html"},
     {tc_group_properties,[{name,offline_success},parallel]},
     {tc_group_path,[[{name,offline}]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/amp_big_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@04136cebbe9f.2024-02-26_14.30.11/big_tests.tests.amp_big_SUITE.logs/run.2024-02-26_14.30.26/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,
              ldap =>
                  #{filter => <<"(objectClass=inetOrgPerson)">>,
                    base => <<"ou=Users,dc=esl,dc=com">>,
                    vcard_map =>
                        [{<<"NICKNAME">>,<<"%u">>,[]},
                         {<<"FN">>,<<"%s">>,[<<"displayName">>]},
                         {<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
                         {<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
                         {<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
                         {<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
                         {<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
                         {<<"CTRY">>,<<"%s">>,[<<"c">>]},
                         {<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
                         {<<"STREET">>,<<"%s">>,[<<"street">>]},
                         {<<"REGION">>,<<"%s">>,[<<"st">>]},
                         {<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
                         {<<"TITLE">>,<<"%s">>,[<<"title">>]},
                         {<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
                         {<<"DESC">>,<<"%s">>,[<<"description">>]},
                         {<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
                         {<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
                         {<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
                         {<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
                         {<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}],
                    deref => never,
                    search_fields =>
                        [{<<"User">>,<<"%u">>},
                         {<<"Full Name">>,<<"displayName">>},
                         {<<"Given Name">>,<<"givenName">>},
                         {<<"Middle Name">>,<<"initials">>},
                         {<<"Family Name">>,<<"sn">>},
                         {<<"Nickname">>,<<"%u">>},
                         {<<"Birthday">>,<<"birthDay">>},
                         {<<"Country">>,<<"c">>},
                         {<<"City">>,<<"l">>},
                         {<<"Email">>,<<"mail">>},
                         {<<"Organization Name">>,<<"o">>},
                         {<<"Organization Unit">>,<<"ou">>}],
                    pool_tag => default,
                    uids => [{<<"uid">>,<<"%u">>}],
                    search_reported =>
                        [{<<"Full Name">>,<<"FN">>},
                         {<<"Given Name">>,<<"FIRST">>},
                         {<<"Middle Name">>,<<"MIDDLE">>},
                         {<<"Family Name">>,<<"LAST">>},
                         {<<"Nickname">>,<<"NICK">>},
                         {<<"Birthday">>,<<"BDAY">>},
                         {<<"Country">>,<<"CTRY">>},
                         {<<"City">>,<<"LOCALITY">>},
                         {<<"Email">>,<<"EMAIL">>},
                         {<<"Organization Name">>,<<"ORGNAME">>},
                         {<<"Organization Unit">>,<<"ORGUNIT">>}],
                    search_operator => 'and',binary_search_fields => []},
              backend => ldap,iqdisc => parallel},
        mod_roster =>
            #{backend => mnesia,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
              ack_freq => 1,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@04136cebbe9f.2024-02-26_14.30.11"

=== Started at 2024-02-26 14:30:28


*** CT 2024-02-26 14:30:28.697 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_45.html

*** User 2024-02-26 14:30:28.697 ***🔗
Extra test config: [{rules,[{deliver,direct,notify},
                            {deliver,stored,notify},
                            {deliver,none,notify}]}]

*** User 2024-02-26 14:30:29.296 ***🔗
alicE_notify_deliver_to_offline_user_test_145@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-26 14:30:29.297 ***🔗
alicE_notify_deliver_to_offline_user_test_145@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ec1bd146b4159d92' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-26 14:30:29.297 ***🔗
alicE_notify_deliver_to_offline_user_test_145@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-02-26 14:30:29.297 ***🔗
alicE_notify_deliver_to_offline_user_test_145@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX25vdGlmeV9kZWxpdmVyX3RvX29mZmxpbmVfdXNlcl90ZXN0XzE0NQBtYXR5Z3J5c2E=</auth>



*** User 2024-02-26 14:30:29.303 ***🔗
alicE_notify_deliver_to_offline_user_test_145@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-26 14:30:29.303 ***🔗
alicE_notify_deliver_to_offline_user_test_145@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-26 14:30:29.304 ***🔗
alicE_notify_deliver_to_offline_user_test_145@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9e35c68b6c246bfc' from='localhost' version='1.0' xml:lang='en' to='alice_notify_deliver_to_offline_user_test_145@localhost'>

*** User 2024-02-26 14:30:29.304 ***🔗
alicE_notify_deliver_to_offline_user_test_145@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-02-26 14:30:29.305 ***🔗
alicE_notify_deliver_to_offline_user_test_145@localhost/res1 out
<iq type='set' id='39b8e2ab0005a163d8c1b9673b42bcdc'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-26 14:30:29.305 ***🔗
alicE_notify_deliver_to_offline_user_test_145@localhost/res1 in
<iq id='39b8e2ab0005a163d8c1b9673b42bcdc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_notify_deliver_to_offline_user_test_145@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-26 14:30:29.306 ***🔗
alice_notify_deliver_to_offline_user_test_145@localhost/res1 out
<iq type='set' id='33829db0b47c64d93d60ff44a6683116'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 14:30:29.307 ***🔗
alice_notify_deliver_to_offline_user_test_145@localhost/res1 in
<iq from='localhost' to='alice_notify_deliver_to_offline_user_test_145@localhost/res1' id='33829db0b47c64d93d60ff44a6683116' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 14:30:29.307 ***🔗
alice_notify_deliver_to_offline_user_test_145@localhost/res1 out
<presence/>



*** User 2024-02-26 14:30:29.316 ***🔗
alice_notify_deliver_to_offline_user_test_145@localhost/res1 in
<presence from='alice_notify_deliver_to_offline_user_test_145@localhost/res1' to='alice_notify_deliver_to_offline_user_test_145@localhost/res1'/>



*** User 2024-02-26 14:30:29.316 ***🔗
alice_notify_deliver_to_offline_user_test_145@localhost/res1 out
<message type='chat' to='bOb_notify_deliver_to_offline_user_test_145@localhost' id='f7b04cb11217d423d99b0dd8d38b39f6'>
	<body>A message in a bottle...</body>
	<amp xmlns='http://jabber.org/protocol/amp'>
		<rule condition='deliver' value='direct' action='notify'/>
		<rule condition='deliver' value='stored' action='notify'/>
		<rule condition='deliver' value='none' action='notify'/>
	</amp>
</message>



*** User 2024-02-26 14:30:29.330 ***🔗
alice_notify_deliver_to_offline_user_test_145@localhost/res1 in
<message from='localhost' to='alice_notify_deliver_to_offline_user_test_145@localhost/res1' id='f7b04cb11217d423d99b0dd8d38b39f6'>
	<amp xmlns='http://jabber.org/protocol/amp' status='notify' to='bOb_notify_deliver_to_offline_user_test_145@localhost' from='alice_notify_deliver_to_offline_user_test_145@localhost/res1'>
		<rule condition='deliver' value='stored' action='notify'/>
	</amp>
</message>



*** User 2024-02-26 14:30:29.632 ***🔗
alice_notify_deliver_to_offline_user_test_145@localhost/res1 out
</stream:stream>

*** User 2024-02-26 14:30:29.632 ***🔗
alice_notify_deliver_to_offline_user_test_145@localhost/res1 in
</stream:stream>

*** User 2024-02-26 14:30:29.632 ***🔗
waiting for timeout is done in 0 miliseconds

*** User 2024-02-26 14:30:29.634 ***🔗
bOb_notify_deliver_to_offline_user_test_145@localhost/new-session out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-26 14:30:29.634 ***🔗
bOb_notify_deliver_to_offline_user_test_145@localhost/new-session in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='26dc88af12d5bda0' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-26 14:30:29.634 ***🔗
bOb_notify_deliver_to_offline_user_test_145@localhost/new-session in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-02-26 14:30:29.635 ***🔗
bOb_notify_deliver_to_offline_user_test_145@localhost/new-session out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ub3RpZnlfZGVsaXZlcl90b19vZmZsaW5lX3VzZXJfdGVzdF8xNDUAbWFrcm9saWth</auth>



*** User 2024-02-26 14:30:29.636 ***🔗
bOb_notify_deliver_to_offline_user_test_145@localhost/new-session in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-26 14:30:29.636 ***🔗
bOb_notify_deliver_to_offline_user_test_145@localhost/new-session out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-26 14:30:29.637 ***🔗
bOb_notify_deliver_to_offline_user_test_145@localhost/new-session in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='369a69b27698e99c' from='localhost' version='1.0' xml:lang='en' to='bob_notify_deliver_to_offline_user_test_145@localhost'>

*** User 2024-02-26 14:30:29.637 ***🔗
bOb_notify_deliver_to_offline_user_test_145@localhost/new-session in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-02-26 14:30:29.637 ***🔗
bOb_notify_deliver_to_offline_user_test_145@localhost/new-session out
<iq type='set' id='b804d13a6343cfd85dc79fb51369cf99'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>new-session</resource>
	</bind>
</iq>



*** User 2024-02-26 14:30:29.637 ***🔗
bOb_notify_deliver_to_offline_user_test_145@localhost/new-session in
<iq id='b804d13a6343cfd85dc79fb51369cf99' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_notify_deliver_to_offline_user_test_145@localhost/new-session</jid>
	</bind>
</iq>



*** User 2024-02-26 14:30:29.637 ***🔗
bob_notify_deliver_to_offline_user_test_145@localhost/new-session out
<iq type='set' id='c6bd55c2fd71c2dc3acac884f7b10ca1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 14:30:29.638 ***🔗
bob_notify_deliver_to_offline_user_test_145@localhost/new-session in
<iq from='localhost' to='bob_notify_deliver_to_offline_user_test_145@localhost/new-session' id='c6bd55c2fd71c2dc3acac884f7b10ca1' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 14:30:29.638 ***🔗
bob_notify_deliver_to_offline_user_test_145@localhost/new-session out
<presence/>



*** User 2024-02-26 14:30:29.640 ***🔗
bob_notify_deliver_to_offline_user_test_145@localhost/new-session in
<message from='alice_notify_deliver_to_offline_user_test_145@localhost/res1' to='bob_notify_deliver_to_offline_user_test_145@localhost' type='chat' id='f7b04cb11217d423d99b0dd8d38b39f6'>
	<body>A message in a bottle...</body>
	<delay xmlns='urn:xmpp:delay' stamp='2024-02-26T14:30:29.320258Z' from='localhost'>Offline Storage</delay>
</message>



*** User 2024-02-26 14:30:29.640 ***🔗
bob_notify_deliver_to_offline_user_test_145@localhost/new-session in
<presence from='bob_notify_deliver_to_offline_user_test_145@localhost/new-session' to='bob_notify_deliver_to_offline_user_test_145@localhost/new-session'/>



*** User 2024-02-26 14:30:29.640 ***🔗
bob_notify_deliver_to_offline_user_test_145@localhost/new-session out
</stream:stream>

*** User 2024-02-26 14:30:29.641 ***🔗
bob_notify_deliver_to_offline_user_test_145@localhost/new-session in
</stream:stream>
*** CT 2024-02-26 14:30:29.642 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_45.html



=== Ended at 2024-02-26 14:30:29
=== successfully completed test case
=== === Returned value: ok