=== Test case: amp_big_SUITE:error_deliver_to_offline_user_test/1 (click for source code)
=== Config value:
[{offline_storage,mam_failure},
{watchdog,<0.4164.0>},
{preset,"pgsql_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@a27c2d7d2fed.2024-04-24_13.09.38/big_tests.tests.amp_big_SUITE.logs/run.2024-04-24_13.09.53/amp_big_suite.error_deliver_to_offline_user_test.7810.html"},
{tc_group_properties,[{name,mam_failure},parallel]},
{tc_group_path,[[{name,mam}]]},
{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@a27c2d7d2fed.2024-04-24_13.09.38/big_tests.tests.amp_big_SUITE.logs/run.2024-04-24_13.09.53/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,backend => rdbms,iqdisc => parallel},
mod_roster =>
#{backend => rdbms,iqdisc => one_queue,versioning => false,
store_current_id => false},
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_amp => #{},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_presence => #{},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
buffer_max => 100,ack_freq => 1,resume_timeout => 600},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_carboncopy => #{iqdisc => no_queue}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a27c2d7d2fed.2024-04-24_13.09.38"
=== Started at 2024-04-24 13:09:56
*** User 2024-04-24 13:09:56.807 ***🔗
Extra test config: [{rules,[{deliver,direct,error},
{deliver,stored,error},
{deliver,none,error}]}]
*** User 2024-04-24 13:09:56.905 ***🔗
alicE_error_deliver_to_offline_user_test_231@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-04-24 13:09:56.916 ***🔗
alicE_error_deliver_to_offline_user_test_231@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0ab210a727540835' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-24 13:09:56.916 ***🔗
alicE_error_deliver_to_offline_user_test_231@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>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-24 13:09:56.917 ***🔗
alicE_error_deliver_to_offline_user_test_231@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Vycm9yX2RlbGl2ZXJfdG9fb2ZmbGluZV91c2VyX3Rlc3RfMjMxAG1hdHlncnlzYQ==</auth>
*** User 2024-04-24 13:09:56.921 ***🔗
alicE_error_deliver_to_offline_user_test_231@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-24 13:09:56.921 ***🔗
alicE_error_deliver_to_offline_user_test_231@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-04-24 13:09:56.924 ***🔗
alicE_error_deliver_to_offline_user_test_231@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cb17e7e16fc6715d' from='localhost' version='1.0' xml:lang='en' to='alice_error_deliver_to_offline_user_test_231@localhost'>
*** User 2024-04-24 13:09:56.924 ***🔗
alicE_error_deliver_to_offline_user_test_231@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-04-24 13:09:56.925 ***🔗
alicE_error_deliver_to_offline_user_test_231@localhost/res1 out
<iq type='set' id='c3c033955ae6455f71a209aba1ea99c1'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-24 13:09:56.926 ***🔗
alicE_error_deliver_to_offline_user_test_231@localhost/res1 in
<iq id='c3c033955ae6455f71a209aba1ea99c1' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_error_deliver_to_offline_user_test_231@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-24 13:09:56.926 ***🔗
alice_error_deliver_to_offline_user_test_231@localhost/res1 out
<iq type='set' id='d4240b851850ed137f4cc8e76c6ac3aa'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:09:56.929 ***🔗
alice_error_deliver_to_offline_user_test_231@localhost/res1 in
<iq from='localhost' to='alice_error_deliver_to_offline_user_test_231@localhost/res1' id='d4240b851850ed137f4cc8e76c6ac3aa' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:09:56.930 ***🔗
alice_error_deliver_to_offline_user_test_231@localhost/res1 out
<presence/>
*** User 2024-04-24 13:09:56.948 ***🔗
alice_error_deliver_to_offline_user_test_231@localhost/res1 in
<presence from='alice_error_deliver_to_offline_user_test_231@localhost/res1' to='alice_error_deliver_to_offline_user_test_231@localhost/res1'/>
*** User 2024-04-24 13:09:56.948 ***🔗
alice_error_deliver_to_offline_user_test_231@localhost/res1 out
<message type='chat' to='bOb_error_deliver_to_offline_user_test_231@localhost' id='eb9b2a51e325cdaf6fce125e2a1d1e9f'>
<body>A message in a bottle...</body>
<amp xmlns='http://jabber.org/protocol/amp'>
<rule condition='deliver' value='direct' action='error'/>
<rule condition='deliver' value='stored' action='error'/>
<rule condition='deliver' value='none' action='error'/>
</amp>
</message>
*** User 2024-04-24 13:09:57.003 ***🔗
alice_error_deliver_to_offline_user_test_231@localhost/res1 in
<message from='localhost' to='alice_error_deliver_to_offline_user_test_231@localhost/res1' id='eb9b2a51e325cdaf6fce125e2a1d1e9f' type='error'>
<error type='modify' code='500'>
<undefined-condition xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
<failed-rules xmlns='http://jabber.org/protocol/amp'>
<rule condition='deliver' value='stored' action='error'/>
</failed-rules>
</error>
<amp xmlns='http://jabber.org/protocol/amp' status='error' to='bOb_error_deliver_to_offline_user_test_231@localhost' from='alice_error_deliver_to_offline_user_test_231@localhost/res1'>
<rule condition='deliver' value='stored' action='error'/>
</amp>
</message>
*** User 2024-04-24 13:09:57.004 ***🔗
alice_error_deliver_to_offline_user_test_231@localhost/res1 out
</stream:stream>
*** User 2024-04-24 13:09:57.004 ***🔗
alice_error_deliver_to_offline_user_test_231@localhost/res1 in
</stream:stream>
*** User 2024-04-24 13:09:57.011 ***🔗
waiting for timeout is done in 0 miliseconds
*** User 2024-04-24 13:09:57.056 ***🔗
bOb_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@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-04-24 13:09:57.059 ***🔗
bOb_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ca4354316bcaffe3' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-24 13:09:57.060 ***🔗
bOb_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@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>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-24 13:09:57.060 ***🔗
bOb_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9lcnJvcl9kZWxpdmVyX3RvX29mZmxpbmVfdXNlcl90ZXN0XzIzMV9lcnJvcl9kZWxpdmVyX3RvX29mZmxpbmVfdXNlcl90ZXN0XzI1MABtYWtyb2xpa2E=</auth>
*** User 2024-04-24 13:09:57.065 ***🔗
bOb_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-24 13:09:57.065 ***🔗
bOb_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@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-04-24 13:09:57.067 ***🔗
bOb_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0d936427c21e553c' from='localhost' version='1.0' xml:lang='en' to='bob_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@localhost'>
*** User 2024-04-24 13:09:57.068 ***🔗
bOb_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@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-04-24 13:09:57.068 ***🔗
bOb_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@localhost/res1 out
<iq type='set' id='382a4bd79aaa76ad4d7069776575eaee'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-24 13:09:57.068 ***🔗
bOb_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@localhost/res1 in
<iq id='382a4bd79aaa76ad4d7069776575eaee' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-24 13:09:57.068 ***🔗
bob_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@localhost/res1 out
<iq type='set' id='042a13c4a7f7a5e2b4524d62b81a3499'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:09:57.069 ***🔗
bob_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@localhost/res1 in
<iq from='localhost' to='bob_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@localhost/res1' id='042a13c4a7f7a5e2b4524d62b81a3499' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:09:57.070 ***🔗
bob_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@localhost/res1 out
<presence/>
*** User 2024-04-24 13:09:57.072 ***🔗
bob_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@localhost/res1 in
<presence from='bob_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@localhost/res1' to='bob_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@localhost/res1'/>
*** User 2024-04-24 13:09:57.372 ***🔗
bob_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@localhost/res1 out
<iq type='set' id='e06082b2a392b02782ae4770d1e9644e'>
<query xmlns='urn:xmpp:mam:1' queryid='q1'/>
</iq>
*** User 2024-04-24 13:09:57.375 ***🔗
bob_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@localhost/res1 in
<iq from='bob_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@localhost' to='bob_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@localhost/res1' id='e06082b2a392b02782ae4770d1e9644e' type='result'>
<fin xmlns='urn:xmpp:mam:1' complete='true'>
<set xmlns='http://jabber.org/protocol/rsm'>
<count>0</count>
</set>
</fin>
</iq>
*** User 2024-04-24 13:09:57.375 ***🔗
bob_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@localhost/res1 out
</stream:stream>
*** User 2024-04-24 13:09:57.375 ***🔗
bob_error_deliver_to_offline_user_test_231_error_deliver_to_offline_user_test_250@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-24 13:09:57
=== successfully completed test case
=== === Returned value: ok