=== Test case: inbox_SUITE:get_with_start_timestamp/1 (click for source code)
=== Config value:
[{watchdog,<0.35895.0>},
{inbox_opts,#{iqdisc => no_queue,backend => rdbms,
max_result_limit => infinity,
groupchat => [muclight],
reset_markers => [<<"displayed">>],
aff_changes => true,remove_on_kicked => true,
boxes => [<<"inbox">>,<<"archive">>,<<"bin">>,<<"other">>],
delete_domain_limit => infinity,
async_writer => #{pool_size => 8},
bin_ttl => 30,bin_clean_after => 3600000}},
{preset,"pgsql_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/inbox_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@edde2e56d808.2024-04-25_14.32.32/big_tests.tests.inbox_SUITE.logs/run.2024-04-25_14.40.42/inbox_suite.get_with_start_timestamp.54019.html"},
{tc_group_properties,[{name,timestamps},parallel]},
{tc_group_path,[[{name,regular}]]},
{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@edde2e56d808.2024-04-25_14.32.32/big_tests.tests.inbox_SUITE.logs/run.2024-04-25_14.40.42/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_sic => #{iqdisc => one_queue},
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_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}}},
{{saved_modules,mongooseim@localhost,<<"localhost.bis">>},
#{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_sic => #{iqdisc => one_queue},
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_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@edde2e56d808.2024-04-25_14.32.32"
=== Started at 2024-04-25 14:40:45
*** User 2024-04-25 14:40:45.445 ***🔗
alicE_get_with_start_timestamp_1500@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-25 14:40:45.448 ***🔗
alicE_get_with_start_timestamp_1500@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7289e1df85e60e6c' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 14:40:45.448 ***🔗
alicE_get_with_start_timestamp_1500@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-25 14:40:45.448 ***🔗
alicE_get_with_start_timestamp_1500@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2dldF93aXRoX3N0YXJ0X3RpbWVzdGFtcF8xNTAwAG1hdHlncnlzYQ==</auth>
*** User 2024-04-25 14:40:45.449 ***🔗
alicE_get_with_start_timestamp_1500@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 14:40:45.449 ***🔗
alicE_get_with_start_timestamp_1500@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-25 14:40:45.450 ***🔗
alicE_get_with_start_timestamp_1500@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b2c17b277d230a1a' from='localhost' version='1.0' xml:lang='en' to='alice_get_with_start_timestamp_1500@localhost'>
*** User 2024-04-25 14:40:45.450 ***🔗
alicE_get_with_start_timestamp_1500@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-25 14:40:45.450 ***🔗
alicE_get_with_start_timestamp_1500@localhost/res1 out
<iq type='set' id='fa5fe2e1044a32f01c6c93c551dc0462'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 14:40:45.450 ***🔗
alicE_get_with_start_timestamp_1500@localhost/res1 in
<iq id='fa5fe2e1044a32f01c6c93c551dc0462' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_get_with_start_timestamp_1500@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-25 14:40:45.450 ***🔗
alice_get_with_start_timestamp_1500@localhost/res1 out
<iq type='set' id='d66cf2e02e7a59dc7b24ebd47176338a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:40:45.451 ***🔗
alice_get_with_start_timestamp_1500@localhost/res1 in
<iq from='localhost' to='alice_get_with_start_timestamp_1500@localhost/res1' id='d66cf2e02e7a59dc7b24ebd47176338a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:40:45.451 ***🔗
alice_get_with_start_timestamp_1500@localhost/res1 out
<presence/>
*** User 2024-04-25 14:40:45.456 ***🔗
alice_get_with_start_timestamp_1500@localhost/res1 in
<presence from='alice_get_with_start_timestamp_1500@localhost/res1' to='alice_get_with_start_timestamp_1500@localhost/res1'/>
*** User 2024-04-25 14:40:45.456 ***🔗
bOb_get_with_start_timestamp_1500@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-25 14:40:45.457 ***🔗
bOb_get_with_start_timestamp_1500@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ccc63f3684696e22' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 14:40:45.457 ***🔗
bOb_get_with_start_timestamp_1500@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-25 14:40:45.457 ***🔗
bOb_get_with_start_timestamp_1500@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9nZXRfd2l0aF9zdGFydF90aW1lc3RhbXBfMTUwMABtYWtyb2xpa2E=</auth>
*** User 2024-04-25 14:40:45.459 ***🔗
bOb_get_with_start_timestamp_1500@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 14:40:45.459 ***🔗
bOb_get_with_start_timestamp_1500@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-25 14:40:45.459 ***🔗
bOb_get_with_start_timestamp_1500@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8df601280fc4eb0c' from='localhost' version='1.0' xml:lang='en' to='bob_get_with_start_timestamp_1500@localhost'>
*** User 2024-04-25 14:40:45.459 ***🔗
bOb_get_with_start_timestamp_1500@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-25 14:40:45.459 ***🔗
bOb_get_with_start_timestamp_1500@localhost/res1 out
<iq type='set' id='f63ec011f1ab0d8c66946448259abd42'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 14:40:45.460 ***🔗
bOb_get_with_start_timestamp_1500@localhost/res1 in
<iq id='f63ec011f1ab0d8c66946448259abd42' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_get_with_start_timestamp_1500@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-25 14:40:45.460 ***🔗
bob_get_with_start_timestamp_1500@localhost/res1 out
<iq type='set' id='0d7748c0fae288172edf4697db213756'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:40:45.460 ***🔗
bob_get_with_start_timestamp_1500@localhost/res1 in
<iq from='localhost' to='bob_get_with_start_timestamp_1500@localhost/res1' id='0d7748c0fae288172edf4697db213756' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:40:45.460 ***🔗
bob_get_with_start_timestamp_1500@localhost/res1 out
<presence/>
*** User 2024-04-25 14:40:45.463 ***🔗
bob_get_with_start_timestamp_1500@localhost/res1 in
<presence from='bob_get_with_start_timestamp_1500@localhost/res1' to='bob_get_with_start_timestamp_1500@localhost/res1'/>
*** User 2024-04-25 14:40:45.464 ***🔗
kate_get_with_start_timestamp_1500@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-25 14:40:45.465 ***🔗
kate_get_with_start_timestamp_1500@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1f2bbf4e8f366e4d' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 14:40:45.465 ***🔗
kate_get_with_start_timestamp_1500@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-25 14:40:45.465 ***🔗
kate_get_with_start_timestamp_1500@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfZ2V0X3dpdGhfc3RhcnRfdGltZXN0YW1wXzE1MDAAbWFrcm93ZTtw</auth>
*** User 2024-04-25 14:40:45.466 ***🔗
kate_get_with_start_timestamp_1500@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 14:40:45.466 ***🔗
kate_get_with_start_timestamp_1500@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-25 14:40:45.466 ***🔗
kate_get_with_start_timestamp_1500@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6c2e36cc69e84c70' from='localhost' version='1.0' xml:lang='en' to='kate_get_with_start_timestamp_1500@localhost'>
*** User 2024-04-25 14:40:45.466 ***🔗
kate_get_with_start_timestamp_1500@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-25 14:40:45.466 ***🔗
kate_get_with_start_timestamp_1500@localhost/res1 out
<iq type='set' id='a5b8908b5084da1d9bd0a2a47c8d0f8c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 14:40:45.467 ***🔗
kate_get_with_start_timestamp_1500@localhost/res1 in
<iq id='a5b8908b5084da1d9bd0a2a47c8d0f8c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_get_with_start_timestamp_1500@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-25 14:40:45.467 ***🔗
kate_get_with_start_timestamp_1500@localhost/res1 out
<iq type='set' id='e6a4a5b2d1ea969b3be23937c9407c8d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:40:45.467 ***🔗
kate_get_with_start_timestamp_1500@localhost/res1 in
<iq from='localhost' to='kate_get_with_start_timestamp_1500@localhost/res1' id='e6a4a5b2d1ea969b3be23937c9407c8d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 14:40:45.467 ***🔗
kate_get_with_start_timestamp_1500@localhost/res1 out
<presence/>
*** User 2024-04-25 14:40:45.469 ***🔗
kate_get_with_start_timestamp_1500@localhost/res1 in
<presence from='kate_get_with_start_timestamp_1500@localhost/res1' to='kate_get_with_start_timestamp_1500@localhost/res1'/>
*** User 2024-04-25 14:40:45.470 ***🔗
alice_get_with_start_timestamp_1500@localhost/res1 out
<message type='chat' to='bob_get_with_start_timestamp_1500@localhost/res1' xmlns='jabber:client'>
<body>Msg 1</body>
</message>
*** User 2024-04-25 14:40:45.473 ***🔗
bob_get_with_start_timestamp_1500@localhost/res1 in
<message from='alice_get_with_start_timestamp_1500@localhost/res1' to='bob_get_with_start_timestamp_1500@localhost/res1' type='chat' xmlns='jabber:client'>
<body>Msg 1</body>
</message>
*** User 2024-04-25 14:40:45.473 ***🔗
alice_get_with_start_timestamp_1500@localhost/res1 out
<message type='chat' to='kate_get_with_start_timestamp_1500@localhost/res1' xmlns='jabber:client'>
<body>Msg 2</body>
</message>
*** User 2024-04-25 14:40:45.476 ***🔗
kate_get_with_start_timestamp_1500@localhost/res1 in
<message from='alice_get_with_start_timestamp_1500@localhost/res1' to='kate_get_with_start_timestamp_1500@localhost/res1' type='chat' xmlns='jabber:client'>
<body>Msg 2</body>
</message>
*** User 2024-04-25 14:40:45.477 ***🔗
alice_get_with_start_timestamp_1500@localhost/res1 out
<iq type='set' id='d537e61a7e0ddbd250c7c44d13c06e09'>
<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='start'>
<value>2024-04-25T14:40:45.473407Z</value>
</field>
<field type='text-single' var='hidden_read'>
<value>false</value>
</field>
</x>
</inbox>
</iq>
*** User 2024-04-25 14:40:45.479 ***🔗
alice_get_with_start_timestamp_1500@localhost/res1 in
<message from='alice_get_with_start_timestamp_1500@localhost' to='alice_get_with_start_timestamp_1500@localhost/res1' id='1714-56045-478847'>
<result xmlns='erlang-solutions.com:xmpp:inbox:0' unread='0' queryid='d537e61a7e0ddbd250c7c44d13c06e09'>
<forwarded xmlns='urn:xmpp:forward:0'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-25T14:40:45.473660Z'/>
<message from='alice_get_with_start_timestamp_1500@localhost/res1' type='chat' to='kate_get_with_start_timestamp_1500@localhost/res1' xmlns='jabber:client'>
<body>Msg 2</body>
</message>
</forwarded>
<read>true</read>
<box>inbox</box>
<archive>false</archive>
<mute>0</mute>
</result>
</message>
*** User 2024-04-25 14:40:45.479 ***🔗
alice_get_with_start_timestamp_1500@localhost/res1 in
<iq from='alice_get_with_start_timestamp_1500@localhost' to='alice_get_with_start_timestamp_1500@localhost/res1' id='d537e61a7e0ddbd250c7c44d13c06e09' type='result'>
<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
<set xmlns='http://jabber.org/protocol/rsm'>
<first>1714056045473660/a2F0ZV9nZXRfd2l0aF9zdGFydF90aW1lc3RhbXBfMTUwMEBsb2NhbGhvc3Q=</first>
<last>1714056045473660/a2F0ZV9nZXRfd2l0aF9zdGFydF90aW1lc3RhbXBfMTUwMEBsb2NhbGhvc3Q=</last>
</set>
<active-conversations>0</active-conversations>
<count>1</count>
<unread-messages>0</unread-messages>
</fin>
</iq>
*** User 2024-04-25 14:40:45.479 ***🔗
waiting for inbox_size is done in 0 miliseconds
*** User 2024-04-25 14:40:45.479 ***🔗
kate_get_with_start_timestamp_1500@localhost/res1 out
</stream:stream>
*** User 2024-04-25 14:40:45.480 ***🔗
kate_get_with_start_timestamp_1500@localhost/res1 in
</stream:stream>
*** User 2024-04-25 14:40:45.480 ***🔗
bob_get_with_start_timestamp_1500@localhost/res1 out
</stream:stream>
*** User 2024-04-25 14:40:45.480 ***🔗
bob_get_with_start_timestamp_1500@localhost/res1 in
</stream:stream>
*** User 2024-04-25 14:40:45.480 ***🔗
alice_get_with_start_timestamp_1500@localhost/res1 out
</stream:stream>
*** User 2024-04-25 14:40:45.481 ***🔗
alice_get_with_start_timestamp_1500@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-25 14:40:45
=== successfully completed test case
=== === Returned value: ok