=== Test case: amp_big_SUITE:error_deliver_to_offline_user_test/1 (click for source code)
=== Config value:
[{offline_storage,offline},
{watchdog,<0.4934.0>},
{preset,"mysql_redis"},
{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@de34115c687f.2024-04-10_12.44.09/big_tests.tests.amp_big_SUITE.logs/run.2024-04-10_12.44.24/amp_big_suite.error_deliver_to_offline_user_test.8324.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@de34115c687f.2024-04-10_12.44.09/big_tests.tests.amp_big_SUITE.logs/run.2024-04-10_12.44.24/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,iqdisc => parallel,backend => rdbms},
mod_roster =>
#{iqdisc => one_queue,backend => rdbms,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_presence => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_stream_management =>
#{buffer => true,ack => true,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
backend => mnesia,buffer_max => 100,ack_freq => 1,
resume_timeout => 600},
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@de34115c687f.2024-04-10_12.44.09"
=== Started at 2024-04-10 12:44:28
*** User 2024-04-10 12:44:28.586 ***🔗
Extra test config: [{rules,[{deliver,direct,error},
{deliver,stored,error},
{deliver,none,error}]}]
*** User 2024-04-10 12:44:28.702 ***🔗
alicE_error_deliver_to_offline_user_test_283@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-10 12:44:28.703 ***🔗
alicE_error_deliver_to_offline_user_test_283@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='785e6ae5b4ff75b5' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-10 12:44:28.703 ***🔗
alicE_error_deliver_to_offline_user_test_283@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-10 12:44:28.704 ***🔗
alicE_error_deliver_to_offline_user_test_283@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Vycm9yX2RlbGl2ZXJfdG9fb2ZmbGluZV91c2VyX3Rlc3RfMjgzAG1hdHlncnlzYQ==</auth>
*** User 2024-04-10 12:44:28.767 ***🔗
alicE_error_deliver_to_offline_user_test_283@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 12:44:28.767 ***🔗
alicE_error_deliver_to_offline_user_test_283@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-10 12:44:28.768 ***🔗
alicE_error_deliver_to_offline_user_test_283@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4354157877c21b44' from='localhost' version='1.0' xml:lang='en' to='alice_error_deliver_to_offline_user_test_283@localhost'>
*** User 2024-04-10 12:44:28.768 ***🔗
alicE_error_deliver_to_offline_user_test_283@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-10 12:44:28.768 ***🔗
alicE_error_deliver_to_offline_user_test_283@localhost/res1 out
<iq type='set' id='00ff92e9240df9ddad5a795a835eb636'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 12:44:28.770 ***🔗
alicE_error_deliver_to_offline_user_test_283@localhost/res1 in
<iq id='00ff92e9240df9ddad5a795a835eb636' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_error_deliver_to_offline_user_test_283@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-10 12:44:28.770 ***🔗
alice_error_deliver_to_offline_user_test_283@localhost/res1 out
<iq type='set' id='083d000040377166bcbf57b055240a6a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 12:44:28.778 ***🔗
alice_error_deliver_to_offline_user_test_283@localhost/res1 in
<iq from='localhost' to='alice_error_deliver_to_offline_user_test_283@localhost/res1' id='083d000040377166bcbf57b055240a6a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 12:44:28.778 ***🔗
alice_error_deliver_to_offline_user_test_283@localhost/res1 out
<presence/>
*** User 2024-04-10 12:44:28.886 ***🔗
alice_error_deliver_to_offline_user_test_283@localhost/res1 in
<presence from='alice_error_deliver_to_offline_user_test_283@localhost/res1' to='alice_error_deliver_to_offline_user_test_283@localhost/res1'/>
*** User 2024-04-10 12:44:28.886 ***🔗
alice_error_deliver_to_offline_user_test_283@localhost/res1 out
<message type='chat' to='bOb_error_deliver_to_offline_user_test_283@localhost' id='5da6a1cfaf4bca256b3bd56ed9da6370'>
<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-10 12:44:28.888 ***🔗
alice_error_deliver_to_offline_user_test_283@localhost/res1 in
<message from='localhost' to='alice_error_deliver_to_offline_user_test_283@localhost/res1' id='5da6a1cfaf4bca256b3bd56ed9da6370' 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_283@localhost' from='alice_error_deliver_to_offline_user_test_283@localhost/res1'>
<rule condition='deliver' value='stored' action='error'/>
</amp>
</message>
*** User 2024-04-10 12:44:28.888 ***🔗
alice_error_deliver_to_offline_user_test_283@localhost/res1 out
</stream:stream>
*** User 2024-04-10 12:44:28.889 ***🔗
alice_error_deliver_to_offline_user_test_283@localhost/res1 in
</stream:stream>
*** User 2024-04-10 12:44:28.990 ***🔗
waiting for timeout is done in 100 miliseconds
*** User 2024-04-10 12:44:28.993 ***🔗
bOb_error_deliver_to_offline_user_test_283_error_deliver_to_offline_user_test_299@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-10 12:44:28.993 ***🔗
bOb_error_deliver_to_offline_user_test_283_error_deliver_to_offline_user_test_299@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6b4c90b8e15d9260' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-10 12:44:28.993 ***🔗
bOb_error_deliver_to_offline_user_test_283_error_deliver_to_offline_user_test_299@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-10 12:44:28.993 ***🔗
bOb_error_deliver_to_offline_user_test_283_error_deliver_to_offline_user_test_299@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9lcnJvcl9kZWxpdmVyX3RvX29mZmxpbmVfdXNlcl90ZXN0XzI4M19lcnJvcl9kZWxpdmVyX3RvX29mZmxpbmVfdXNlcl90ZXN0XzI5OQBtYWtyb2xpa2E=</auth>
*** User 2024-04-10 12:44:28.994 ***🔗
bOb_error_deliver_to_offline_user_test_283_error_deliver_to_offline_user_test_299@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 12:44:28.994 ***🔗
bOb_error_deliver_to_offline_user_test_283_error_deliver_to_offline_user_test_299@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-10 12:44:28.995 ***🔗
bOb_error_deliver_to_offline_user_test_283_error_deliver_to_offline_user_test_299@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9ad8719de4b38a58' from='localhost' version='1.0' xml:lang='en' to='bob_error_deliver_to_offline_user_test_283_error_deliver_to_offline_user_test_299@localhost'>
*** User 2024-04-10 12:44:28.995 ***🔗
bOb_error_deliver_to_offline_user_test_283_error_deliver_to_offline_user_test_299@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-10 12:44:28.995 ***🔗
bOb_error_deliver_to_offline_user_test_283_error_deliver_to_offline_user_test_299@localhost/res1 out
<iq type='set' id='5ee4fbed98ae032df7ef25ff6e3c35ba'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 12:44:28.995 ***🔗
bOb_error_deliver_to_offline_user_test_283_error_deliver_to_offline_user_test_299@localhost/res1 in
<iq id='5ee4fbed98ae032df7ef25ff6e3c35ba' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_error_deliver_to_offline_user_test_283_error_deliver_to_offline_user_test_299@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-10 12:44:28.995 ***🔗
bob_error_deliver_to_offline_user_test_283_error_deliver_to_offline_user_test_299@localhost/res1 out
<iq type='set' id='c173637319bf6e1a0121392e328bc98f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 12:44:28.996 ***🔗
bob_error_deliver_to_offline_user_test_283_error_deliver_to_offline_user_test_299@localhost/res1 in
<iq from='localhost' to='bob_error_deliver_to_offline_user_test_283_error_deliver_to_offline_user_test_299@localhost/res1' id='c173637319bf6e1a0121392e328bc98f' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 12:44:28.997 ***🔗
bob_error_deliver_to_offline_user_test_283_error_deliver_to_offline_user_test_299@localhost/res1 out
<presence/>
*** User 2024-04-10 12:44:28.999 ***🔗
bob_error_deliver_to_offline_user_test_283_error_deliver_to_offline_user_test_299@localhost/res1 in
<presence from='bob_error_deliver_to_offline_user_test_283_error_deliver_to_offline_user_test_299@localhost/res1' to='bob_error_deliver_to_offline_user_test_283_error_deliver_to_offline_user_test_299@localhost/res1'/>
*** User 2024-04-10 12:44:29.300 ***🔗
bob_error_deliver_to_offline_user_test_283_error_deliver_to_offline_user_test_299@localhost/res1 out
</stream:stream>
*** User 2024-04-10 12:44:29.301 ***🔗
bob_error_deliver_to_offline_user_test_283_error_deliver_to_offline_user_test_299@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-10 12:44:29
=== successfully completed test case
=== === Returned value: ok