=== Test case: offline_SUITE:expired_messages_are_not_delivered/1 (click for source code)
=== Config value:
[{watchdog,<0.22253.1>},
{backend,rdbms},
{mim_data_dir,"/home/circleci/project/big_tests/tests/offline_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.offline_SUITE.logs/run.2022-02-02_15.14.22/offline_suite.expired_messages_are_not_delivered.65924.html"},
{tc_group_properties,[{name,mod_offline_tests},
{repeat_until_all_ok,3},
parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/offline_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.offline_SUITE.logs/run.2022-02-02_15.14.22/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@7a520fcf4274.2022-02-02_15.07.36"
=== Started at 2022-02-02 15:14:23
*** User 2022-02-02 15:14:23.144 ***
alicE_expired_messages_are_not_delivered_1538@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-02-02 15:14:23.144 ***
alicE_expired_messages_are_not_delivered_1538@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1d2ebccc31ec498e' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:14:23.144 ***
alicE_expired_messages_are_not_delivered_1538@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-02-02 15:14:23.144 ***
alicE_expired_messages_are_not_delivered_1538@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2V4cGlyZWRfbWVzc2FnZXNfYXJlX25vdF9kZWxpdmVyZWRfMTUzOABtYXR5Z3J5c2E=</auth>
*** User 2022-02-02 15:14:23.145 ***
alicE_expired_messages_are_not_delivered_1538@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:14:23.145 ***
alicE_expired_messages_are_not_delivered_1538@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-02-02 15:14:23.145 ***
alicE_expired_messages_are_not_delivered_1538@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fe4d322d9d61b233' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:14:23.145 ***
alicE_expired_messages_are_not_delivered_1538@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-02-02 15:14:23.146 ***
alicE_expired_messages_are_not_delivered_1538@domain.example.com/res1 out
<iq type='set' id='792dbe3373c7a268b1b64de40ae5479a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-02 15:14:23.146 ***
alicE_expired_messages_are_not_delivered_1538@domain.example.com/res1 in
<iq id='792dbe3373c7a268b1b64de40ae5479a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_expired_messages_are_not_delivered_1538@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-02-02 15:14:23.146 ***
alicE_expired_messages_are_not_delivered_1538@domain.example.com/res1 out
<iq type='set' id='762f16ad95a23a1ebb02266cd8a3733a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:14:23.146 ***
alicE_expired_messages_are_not_delivered_1538@domain.example.com/res1 in
<iq type='result' id='762f16ad95a23a1ebb02266cd8a3733a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:14:23.146 ***
alicE_expired_messages_are_not_delivered_1538@domain.example.com/res1 out
<presence/>
*** User 2022-02-02 15:14:23.150 ***
alicE_expired_messages_are_not_delivered_1538@domain.example.com/res1 in
<presence from='alicE_expired_messages_are_not_delivered_1538@domain.example.com/res1' to='alice_expired_messages_are_not_delivered_1538@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:14:23.151 ***
bOb_expired_messages_are_not_delivered_1538@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-02-02 15:14:23.151 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7dd31fcb0f8aed40' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:14:23.151 ***
bOb_expired_messages_are_not_delivered_1538@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-02-02 15:14:23.151 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9leHBpcmVkX21lc3NhZ2VzX2FyZV9ub3RfZGVsaXZlcmVkXzE1MzgAbWFrcm9saWth</auth>
*** User 2022-02-02 15:14:23.153 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:14:23.153 ***
bOb_expired_messages_are_not_delivered_1538@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-02-02 15:14:23.153 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='94a30b252ed099be' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:14:23.153 ***
bOb_expired_messages_are_not_delivered_1538@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-02-02 15:14:23.153 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/res1 out
<iq type='set' id='438f3b846fe76cabcb2ae392472c4c04'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-02-02 15:14:23.154 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/res1 in
<iq id='438f3b846fe76cabcb2ae392472c4c04' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_expired_messages_are_not_delivered_1538@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-02-02 15:14:23.154 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/res1 out
<iq type='set' id='76e7ac020352971c602c1ea0051cbb91'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:14:23.154 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/res1 in
<iq type='result' id='76e7ac020352971c602c1ea0051cbb91'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:14:23.154 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/res1 out
<presence/>
*** User 2022-02-02 15:14:23.156 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/res1 in
<presence from='bOb_expired_messages_are_not_delivered_1538@domain.example.com/res1' to='bob_expired_messages_are_not_delivered_1538@domain.example.com/res1' xml:lang='en'/>
*** User 2022-02-02 15:14:23.157 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/res1 out
</stream:stream>
*** User 2022-02-02 15:14:23.157 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/res1 in
</stream:stream>
*** User 2022-02-02 15:14:23.157 ***
alicE_expired_messages_are_not_delivered_1538@domain.example.com/res1 out
<message to='bOb_expired_messages_are_not_delivered_1538@domain.example.com' type='chat'>
<x xmlns='jabber:x:expire' seconds='600000'/>
<body>long</body>
</message>
*** User 2022-02-02 15:14:23.157 ***
alicE_expired_messages_are_not_delivered_1538@domain.example.com/res1 out
<message to='bOb_expired_messages_are_not_delivered_1538@domain.example.com' type='chat'>
<x xmlns='jabber:x:expire' seconds='1'/>
<body>short</body>
</message>
*** User 2022-02-02 15:14:25.158 ***
bOb_expired_messages_are_not_delivered_1538@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-02-02 15:14:25.159 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/new-session in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2e0816d2e6d8588b' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:14:25.159 ***
bOb_expired_messages_are_not_delivered_1538@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-02-02 15:14:25.159 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/new-session out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9leHBpcmVkX21lc3NhZ2VzX2FyZV9ub3RfZGVsaXZlcmVkXzE1MzgAbWFrcm9saWth</auth>
*** User 2022-02-02 15:14:25.160 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/new-session in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-02-02 15:14:25.160 ***
bOb_expired_messages_are_not_delivered_1538@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-02-02 15:14:25.160 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/new-session in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d142a82c4dd80500' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-02-02 15:14:25.160 ***
bOb_expired_messages_are_not_delivered_1538@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-02-02 15:14:25.160 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/new-session out
<iq type='set' id='df98c098719ad863f3d5878a9acf6287'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>new-session</resource>
</bind>
</iq>
*** User 2022-02-02 15:14:25.160 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/new-session in
<iq id='df98c098719ad863f3d5878a9acf6287' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_expired_messages_are_not_delivered_1538@domain.example.com/new-session</jid>
</bind>
</iq>
*** User 2022-02-02 15:14:25.160 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/new-session out
<iq type='set' id='e39949428b09d97e40a0deb7fe6d5237'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:14:25.161 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/new-session in
<iq type='result' id='e39949428b09d97e40a0deb7fe6d5237'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-02-02 15:14:25.161 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/new-session out
<presence/>
*** User 2022-02-02 15:14:25.163 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/new-session in
<message from='alicE_expired_messages_are_not_delivered_1538@domain.example.com/res1' to='bOb_expired_messages_are_not_delivered_1538@domain.example.com' xml:lang='en' type='chat'>
<x xmlns='jabber:x:expire' seconds='600000'/>
<body>long</body>
<delay xmlns='urn:xmpp:delay' stamp='2022-02-02T15:14:23.158330Z' from='domain.example.com'>Offline Storage</delay>
</message>
*** User 2022-02-02 15:14:25.163 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/new-session in
<presence from='bOb_expired_messages_are_not_delivered_1538@domain.example.com/new-session' to='bob_expired_messages_are_not_delivered_1538@domain.example.com/new-session' xml:lang='en'/>
*** User 2022-02-02 15:14:25.664 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/new-session out
</stream:stream>
*** User 2022-02-02 15:14:25.664 ***
bOb_expired_messages_are_not_delivered_1538@domain.example.com/new-session in
</stream:stream>
*** User 2022-02-02 15:14:25.664 ***
alicE_expired_messages_are_not_delivered_1538@domain.example.com/res1 out
</stream:stream>
*** User 2022-02-02 15:14:25.665 ***
alicE_expired_messages_are_not_delivered_1538@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-02-02 15:14:25
=== successfully completed test case
=== === Returned value: ok