=== Test case: push_SUITE:muclight_no_msg_notifications_if_user_online/1 (click for source code)
=== Config value:
[{push_opts,[{virtual_pubsub_hosts,[{fqdn,<<"virtual.domain">>}]},
{backend,rdbms}]},
{watchdog,<0.6134.2>},
{pubsub_host,virtual},
{mim_data_dir,"/home/circleci/project/big_tests/tests/push_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.push_SUITE.logs/run.2022-03-07_09.40.45/push_suite.muclight_no_msg_notifications_if_user_online.45189.html"},
{tc_group_properties,[{name,muclight_msg_notifications},
{repeat_until_all_ok,3},
parallel]},
{tc_group_path,[[{name,pubsub_less},{repeat_until_all_ok,3}]]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/push_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.push_SUITE.logs/run.2022-03-07_09.40.45/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}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55"
=== Started at 2022-03-07 09:41:02
*** User 2022-03-07 09:41:02.296 ***
alicE_unnamed_1961@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 09:41:02.296 ***
alicE_unnamed_1961@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='74c523a242154277' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:41:02.296 ***
alicE_unnamed_1961@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 09:41:02.296 ***
alicE_unnamed_1961@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMTk2MQBtYXR5Z3J5c2E=</auth>
*** User 2022-03-07 09:41:02.303 ***
alicE_unnamed_1961@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 09:41:02.303 ***
alicE_unnamed_1961@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 09:41:02.304 ***
alicE_unnamed_1961@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a035fb05ee95354d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:41:02.304 ***
alicE_unnamed_1961@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 09:41:02.305 ***
alicE_unnamed_1961@localhost/res1 out
<iq type='set' id='db2d0586bbe559174251ce779203f7eb'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-07 09:41:02.306 ***
alicE_unnamed_1961@localhost/res1 in
<iq id='db2d0586bbe559174251ce779203f7eb' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unnamed_1961@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-07 09:41:02.307 ***
alicE_unnamed_1961@localhost/res1 out
<iq type='set' id='1e353eba768d1358e73006586578dc16'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:41:02.307 ***
alicE_unnamed_1961@localhost/res1 in
<iq type='result' id='1e353eba768d1358e73006586578dc16'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:41:02.308 ***
alicE_unnamed_1961@localhost/res1 out
<presence/>
*** User 2022-03-07 09:41:02.309 ***
alicE_unnamed_1961@localhost/res1 in
<presence from='alicE_unnamed_1961@localhost/res1' to='alice_unnamed_1961@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 09:41:02.311 ***
bOb_unnamed_1961@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 09:41:02.312 ***
bOb_unnamed_1961@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='27888a821568d7a6' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:41:02.312 ***
bOb_unnamed_1961@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 09:41:02.312 ***
bOb_unnamed_1961@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzE5NjEAbWFrcm9saWth</auth>
*** User 2022-03-07 09:41:02.313 ***
bOb_unnamed_1961@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 09:41:02.313 ***
bOb_unnamed_1961@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 09:41:02.314 ***
bOb_unnamed_1961@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b53cacfeee037144' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:41:02.314 ***
bOb_unnamed_1961@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 09:41:02.314 ***
bOb_unnamed_1961@localhost/res1 out
<iq type='set' id='65379be4939b33b57839fc56e644fd45'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-07 09:41:02.314 ***
bOb_unnamed_1961@localhost/res1 in
<iq id='65379be4939b33b57839fc56e644fd45' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_unnamed_1961@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-07 09:41:02.314 ***
bOb_unnamed_1961@localhost/res1 out
<iq type='set' id='ea58d5c2ee8863b0654c21f9d7977d00'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:41:02.314 ***
bOb_unnamed_1961@localhost/res1 in
<iq type='result' id='ea58d5c2ee8863b0654c21f9d7977d00'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:41:02.314 ***
bOb_unnamed_1961@localhost/res1 out
<presence/>
*** User 2022-03-07 09:41:02.316 ***
bOb_unnamed_1961@localhost/res1 in
<presence from='bOb_unnamed_1961@localhost/res1' to='bob_unnamed_1961@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 09:41:02.317 ***
kate_unnamed_1961@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 09:41:02.317 ***
kate_unnamed_1961@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cf6479eadf7d253b' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:41:02.317 ***
kate_unnamed_1961@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 09:41:02.317 ***
kate_unnamed_1961@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5uYW1lZF8xOTYxAG1ha3Jvd2U7cA==</auth>
*** User 2022-03-07 09:41:02.318 ***
kate_unnamed_1961@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 09:41:02.318 ***
kate_unnamed_1961@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 09:41:02.318 ***
kate_unnamed_1961@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a686b524997de422' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 09:41:02.318 ***
kate_unnamed_1961@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 09:41:02.318 ***
kate_unnamed_1961@localhost/res1 out
<iq type='set' id='56d87eda5775f913031a8df3a3a0b028'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-07 09:41:02.318 ***
kate_unnamed_1961@localhost/res1 in
<iq id='56d87eda5775f913031a8df3a3a0b028' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_unnamed_1961@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-07 09:41:02.318 ***
kate_unnamed_1961@localhost/res1 out
<iq type='set' id='bfbabb36a00ce047406c3d3551f15ea4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:41:02.319 ***
kate_unnamed_1961@localhost/res1 in
<iq type='result' id='bfbabb36a00ce047406c3d3551f15ea4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 09:41:02.319 ***
kate_unnamed_1961@localhost/res1 out
<presence/>
*** User 2022-03-07 09:41:02.320 ***
kate_unnamed_1961@localhost/res1 in
<presence from='kate_unnamed_1961@localhost/res1' to='kate_unnamed_1961@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 09:41:02.323 ***
alicE_unnamed_1961@localhost/res1 out
<iq type='set' id='4d4699483920f8e15e622b117982383c'>
<enable xmlns='urn:xmpp:push:0' jid='muclight_no_msg_notifications_if_user_online_62.287282@virtual.domain' node='NodeId'/>
</iq>
*** User 2022-03-07 09:41:02.325 ***
alicE_unnamed_1961@localhost/res1 in
<iq from='alicE_unnamed_1961@localhost' to='alicE_unnamed_1961@localhost/res1' id='4d4699483920f8e15e622b117982383c' type='result'/>
*** User 2022-03-07 09:41:02.325 ***
kate_unnamed_1961@localhost/res1 out
<presence type='unavailable'/>
*** User 2022-03-07 09:41:02.426 ***
bOb_unnamed_1961@localhost/res1 out
<message to='room_muclight_no_msg_notifications_if_user_online@muclight.localhost' type='groupchat'>
<body>Heyah!</body>
</message>
*** User 2022-03-07 09:41:07.428 ***
#{msg_inbox =>
{messages,
[{stanza,<0.6190.2>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_1961@localhost">>},
{<<"to">>,<<"alice_unnamed_1961@localhost">>},
{<<"id">>,<<"1646-646062-428590">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1646646062430182}},
{stanza,<0.6197.2>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_1961@localhost">>},
{<<"to">>,<<"bob_unnamed_1961@localhost">>},
{<<"id">>,<<"1646-646062-428590">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1646646062431317}}]},
result => nomatch}
*** User 2022-03-07 09:41:07.428 ***
kate_unnamed_1961@localhost/res1 out
</stream:stream>
*** User 2022-03-07 09:41:07.429 ***
kate_unnamed_1961@localhost/res1 in
</stream:stream>
*** User 2022-03-07 09:41:07.429 ***
bOb_unnamed_1961@localhost/res1 out
</stream:stream>
*** User 2022-03-07 09:41:07.429 ***
bOb_unnamed_1961@localhost/res1 in
</stream:stream>
*** User 2022-03-07 09:41:07.429 ***
alicE_unnamed_1961@localhost/res1 out
</stream:stream>
*** User 2022-03-07 09:41:07.429 ***
alicE_unnamed_1961@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-07 09:41:07
=== successfully completed test case
=== === Returned value: ok