=== Test case: inbox_SUITE:msg_with_no_store_is_not_stored_in_inbox/1 (click for source code)
=== Config value:
[{watchdog,<0.19507.0>},
{inbox_opts,#{aff_changes => true,
async_writer => #{pool_size => 8},
backend => rdbms,
groupchat => [muclight],
iqdisc => no_queue,remove_on_kicked => true,
reset_markers => [<<"displayed">>]}},
{mim_data_dir,"/home/circleci/project/big_tests/tests/inbox_SUITE_data"},
{preset,"mysql_redis"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.inbox_SUITE.logs/run.2022-03-07_16.00.49/inbox_suite.msg_with_no_store_is_not_stored_in_inbox.40834.html"},
{tc_group_properties,[{name,one_to_one},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@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.inbox_SUITE.logs/run.2022-03-07_16.00.49/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_amp => [],
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
mod_carboncopy => [],mod_commands => [],
mod_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
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,iqdisc => one_queue,store_current_id => false,
versioning => false},
mod_sic => #{iqdisc => one_queue},
mod_stream_management => [],
mod_vcard =>
#{backend => rdbms,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,ldap_binary_search_fields => [],
ldap_pool_tag => default,
ldap_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">>}],
ldap_search_operator => 'and',
ldap_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">>}],
ldap_uids => [{<<"uid">>,<<"%u">>}],
ldap_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">>]}],
matches => 30,search => true}}},
{{saved_modules,mongooseim@localhost,<<"localhost.bis">>},
#{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_amp => [],
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
mod_carboncopy => [],mod_commands => [],
mod_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
users_can_see_hidden_services => false},
mod_last => #{backend => mnesia,iqdisc => one_queue},
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,iqdisc => one_queue,store_current_id => false,
versioning => false},
mod_sic => #{iqdisc => one_queue},
mod_stream_management => [],
mod_vcard =>
#{backend => rdbms,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,ldap_binary_search_fields => [],
ldap_pool_tag => default,
ldap_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">>}],
ldap_search_operator => 'and',
ldap_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">>}],
ldap_uids => [{<<"uid">>,<<"%u">>}],
ldap_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">>]}],
matches => 30,search => true}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55"
=== Started at 2022-03-07 16:00:49
*** User 2022-03-07 16:00:49.701 ***
alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 16:00:49.701 ***
alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='13b0bebddf92c5b5' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 16:00:49.701 ***
alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost/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-03-07 16:00:49.701 ***
alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21zZ193aXRoX25vX3N0b3JlX2lzX25vdF9zdG9yZWRfaW5faW5ib3hfODEwAG1hdHlncnlzYQ==</auth>
*** User 2022-03-07 16:00:49.703 ***
alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 16:00:49.704 ***
alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 16:00:49.704 ***
alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='06f3528a72d0af80' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 16:00:49.704 ***
alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost/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-03-07 16:00:49.704 ***
alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 out
<iq type='set' id='ec096a1637fc052b342dac97576bd438'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-07 16:00:49.705 ***
alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 in
<iq id='ec096a1637fc052b342dac97576bd438' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-07 16:00:49.705 ***
alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 out
<iq type='set' id='c1fd59db72999b7c2cf0c0a99776b828'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 16:00:49.705 ***
alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 in
<iq type='result' id='c1fd59db72999b7c2cf0c0a99776b828'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 16:00:49.706 ***
alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 out
<presence/>
*** User 2022-03-07 16:00:49.716 ***
alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 in
<presence from='alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1' to='alice_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 16:00:49.763 ***
bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 16:00:49.766 ***
bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='14c4415a9dbffa88' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 16:00:49.766 ***
bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/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-03-07 16:00:49.766 ***
bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tc2dfd2l0aF9ub19zdG9yZV9pc19ub3Rfc3RvcmVkX2luX2luYm94XzgxMABtYWtyb2xpa2E=</auth>
*** User 2022-03-07 16:00:49.775 ***
bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 16:00:49.775 ***
bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 16:00:49.778 ***
bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e8155cec4a07b029' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 16:00:49.778 ***
bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/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-03-07 16:00:49.778 ***
bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 out
<iq type='set' id='c91cff0fe339d18bda342fea4967cfa3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-07 16:00:49.779 ***
bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 in
<iq id='c91cff0fe339d18bda342fea4967cfa3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-07 16:00:49.779 ***
bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 out
<iq type='set' id='03402492909dcde1ff682b090a26a380'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 16:00:49.781 ***
bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 in
<iq type='result' id='03402492909dcde1ff682b090a26a380'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 16:00:49.782 ***
bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 out
<presence/>
*** User 2022-03-07 16:00:49.799 ***
bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 in
<presence from='bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1' to='bob_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 16:00:49.799 ***
alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 out
<message to='bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1' type='chat' id='627168cf189ea1f739f499347f2d209b'>
<body>test</body>
<no-store xmlns='urn:xmpp:hints'/>
</message>
*** User 2022-03-07 16:00:49.801 ***
bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 in
<message from='alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1' to='bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1' xml:lang='en' type='chat' id='627168cf189ea1f739f499347f2d209b'>
<body>test</body>
<no-store xmlns='urn:xmpp:hints'/>
</message>
*** User 2022-03-07 16:00:49.801 ***
bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 out
<iq type='set' id='61f1386c8fb7aa8a1a585d7639ea2db2'>
<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='hidden_read'>
<value>false</value>
</field>
</x>
</inbox>
</iq>
*** User 2022-03-07 16:00:49.805 ***
bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 in
<iq from='bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost' to='bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1' id='61f1386c8fb7aa8a1a585d7639ea2db2' type='result'>
<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
<active-conversations>0</active-conversations>
<count>0</count>
<unread-messages>0</unread-messages>
</fin>
</iq>
*** User 2022-03-07 16:00:49.805 ***
alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 out
<iq type='set' id='4d948444e881577872feb1ea88ad3971'>
<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='hidden_read'>
<value>false</value>
</field>
</x>
</inbox>
</iq>
*** User 2022-03-07 16:00:49.856 ***
alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 in
<iq from='alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost' to='alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1' id='4d948444e881577872feb1ea88ad3971' type='result'>
<fin xmlns='erlang-solutions.com:xmpp:inbox:0'>
<active-conversations>0</active-conversations>
<count>0</count>
<unread-messages>0</unread-messages>
</fin>
</iq>
*** User 2022-03-07 16:00:49.856 ***
bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 out
</stream:stream>
*** User 2022-03-07 16:00:49.858 ***
bOb_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 in
</stream:stream>
*** User 2022-03-07 16:00:49.858 ***
alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 out
</stream:stream>
*** User 2022-03-07 16:00:49.859 ***
alicE_msg_with_no_store_is_not_stored_in_inbox_810@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-07 16:00:49
=== successfully completed test case
=== === Returned value: ok