=== Test case: push_SUITE:muclight_no_msg_notifications_if_user_online/1 (click for source code)
=== Config value:
[{watchdog,<0.8048.2>},
{pubsub_host,virtual},
{mim_data_dir,"/home/circleci/project/big_tests/tests/push_SUITE_data"},
{preset,"odbc_mssql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.push_SUITE.logs/run.2022-04-04_15.14.06/push_suite.muclight_no_msg_notifications_if_user_online.39429.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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.push_SUITE.logs/run.2022-04-04_15.14.06/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,strategy => fifo,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 =>
#{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
buffer_max => 100,resume_timeout => 600,
stale_h =>
#{enabled => false,geriatric => 3600,repeat_after => 1800}},
mod_vcard =>
#{backend => rdbms,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,matches => 30,search => true}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36"
=== Started at 2022-04-04 15:14:23
*** User 2022-04-04 15:14:23.317 ***
alicE_unnamed_2208@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-04-04 15:14:23.318 ***
alicE_unnamed_2208@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ddc543f4db2f8d8b' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:14:23.318 ***
alicE_unnamed_2208@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-04-04 15:14:23.318 ***
alicE_unnamed_2208@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMjIwOABtYXR5Z3J5c2E=</auth>
*** User 2022-04-04 15:14:23.319 ***
alicE_unnamed_2208@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-04 15:14:23.319 ***
alicE_unnamed_2208@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-04-04 15:14:23.320 ***
alicE_unnamed_2208@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e74d168b63daad1a' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:14:23.320 ***
alicE_unnamed_2208@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-04-04 15:14:23.320 ***
alicE_unnamed_2208@localhost/res1 out
<iq type='set' id='cc4ecb6758741fb90a94473a0e339a13'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-04 15:14:23.333 ***
alicE_unnamed_2208@localhost/res1 in
<iq id='cc4ecb6758741fb90a94473a0e339a13' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_unnamed_2208@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-04 15:14:23.333 ***
alicE_unnamed_2208@localhost/res1 out
<iq type='set' id='6ec0f707d6ffd3fc898fab580e7c3e0c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:14:23.334 ***
alicE_unnamed_2208@localhost/res1 in
<iq type='result' id='6ec0f707d6ffd3fc898fab580e7c3e0c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:14:23.334 ***
alicE_unnamed_2208@localhost/res1 out
<presence/>
*** User 2022-04-04 15:14:23.336 ***
alicE_unnamed_2208@localhost/res1 in
<presence from='alicE_unnamed_2208@localhost/res1' to='alice_unnamed_2208@localhost/res1' xml:lang='en'/>
*** User 2022-04-04 15:14:23.337 ***
bOb_unnamed_2208@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-04-04 15:14:23.338 ***
bOb_unnamed_2208@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='13ce35822521ea34' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:14:23.338 ***
bOb_unnamed_2208@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-04-04 15:14:23.338 ***
bOb_unnamed_2208@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzIyMDgAbWFrcm9saWth</auth>
*** User 2022-04-04 15:14:23.339 ***
bOb_unnamed_2208@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-04 15:14:23.339 ***
bOb_unnamed_2208@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-04-04 15:14:23.340 ***
bOb_unnamed_2208@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='16f9b2b049c9f0c8' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:14:23.340 ***
bOb_unnamed_2208@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-04-04 15:14:23.340 ***
bOb_unnamed_2208@localhost/res1 out
<iq type='set' id='169aa389498bbdaf29bd1cd5b73ae6d1'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-04 15:14:23.340 ***
bOb_unnamed_2208@localhost/res1 in
<iq id='169aa389498bbdaf29bd1cd5b73ae6d1' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_unnamed_2208@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-04 15:14:23.340 ***
bOb_unnamed_2208@localhost/res1 out
<iq type='set' id='90bb090a7aa812ee412cbbc0e0636073'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:14:23.341 ***
bOb_unnamed_2208@localhost/res1 in
<iq type='result' id='90bb090a7aa812ee412cbbc0e0636073'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:14:23.341 ***
bOb_unnamed_2208@localhost/res1 out
<presence/>
*** User 2022-04-04 15:14:23.343 ***
bOb_unnamed_2208@localhost/res1 in
<presence from='bOb_unnamed_2208@localhost/res1' to='bob_unnamed_2208@localhost/res1' xml:lang='en'/>
*** User 2022-04-04 15:14:23.343 ***
kate_unnamed_2208@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-04-04 15:14:23.344 ***
kate_unnamed_2208@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4f988b5bb159214c' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:14:23.344 ***
kate_unnamed_2208@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-04-04 15:14:23.344 ***
kate_unnamed_2208@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5uYW1lZF8yMjA4AG1ha3Jvd2U7cA==</auth>
*** User 2022-04-04 15:14:23.347 ***
kate_unnamed_2208@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-04 15:14:23.347 ***
kate_unnamed_2208@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-04-04 15:14:23.347 ***
kate_unnamed_2208@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6d2bbc940613217c' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:14:23.348 ***
kate_unnamed_2208@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-04-04 15:14:23.348 ***
kate_unnamed_2208@localhost/res1 out
<iq type='set' id='db40b7c6b12a1e33ac09ad3cbaadaa21'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-04-04 15:14:23.348 ***
kate_unnamed_2208@localhost/res1 in
<iq id='db40b7c6b12a1e33ac09ad3cbaadaa21' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_unnamed_2208@localhost/res1</jid>
</bind>
</iq>
*** User 2022-04-04 15:14:23.348 ***
kate_unnamed_2208@localhost/res1 out
<iq type='set' id='64af96d60840f5f36dc0fb314e5a878f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:14:23.349 ***
kate_unnamed_2208@localhost/res1 in
<iq type='result' id='64af96d60840f5f36dc0fb314e5a878f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-04-04 15:14:23.349 ***
kate_unnamed_2208@localhost/res1 out
<presence/>
*** User 2022-04-04 15:14:23.354 ***
kate_unnamed_2208@localhost/res1 in
<presence from='kate_unnamed_2208@localhost/res1' to='kate_unnamed_2208@localhost/res1' xml:lang='en'/>
*** User 2022-04-04 15:14:23.359 ***
alicE_unnamed_2208@localhost/res1 out
<iq type='set' id='00996ffe6c3cc7e8d2d70ed16f10626b'>
<enable xmlns='urn:xmpp:push:0' jid='muclight_no_msg_notifications_if_user_online_63.315469@virtual.domain' node='NodeId'/>
</iq>
*** User 2022-04-04 15:14:23.362 ***
alicE_unnamed_2208@localhost/res1 in
<iq from='alicE_unnamed_2208@localhost' to='alicE_unnamed_2208@localhost/res1' id='00996ffe6c3cc7e8d2d70ed16f10626b' type='result'/>
*** User 2022-04-04 15:14:23.362 ***
kate_unnamed_2208@localhost/res1 out
<presence type='unavailable'/>
*** User 2022-04-04 15:14:23.463 ***
bOb_unnamed_2208@localhost/res1 out
<message to='room_muclight_no_msg_notifications_if_user_online@muclight.localhost' type='groupchat'>
<body>Heyah!</body>
</message>
*** User 2022-04-04 15:14:28.464 ***
#{msg_inbox =>
{messages,
[{stanza,<0.8112.2>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_2208@localhost">>},
{<<"to">>,<<"alice_unnamed_2208@localhost">>},
{<<"id">>,<<"1649-85263-465172">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1649085263468061}},
{stanza,<0.8116.2>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_2208@localhost">>},
{<<"to">>,<<"bob_unnamed_2208@localhost">>},
{<<"id">>,<<"1649-85263-465172">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1649085263469873}}]},
result => nomatch}
*** User 2022-04-04 15:14:28.464 ***
kate_unnamed_2208@localhost/res1 out
</stream:stream>
*** User 2022-04-04 15:14:28.465 ***
kate_unnamed_2208@localhost/res1 in
</stream:stream>
*** User 2022-04-04 15:14:28.465 ***
bOb_unnamed_2208@localhost/res1 out
</stream:stream>
*** User 2022-04-04 15:14:28.465 ***
bOb_unnamed_2208@localhost/res1 in
</stream:stream>
*** User 2022-04-04 15:14:28.465 ***
alicE_unnamed_2208@localhost/res1 out
</stream:stream>
*** User 2022-04-04 15:14:28.465 ***
alicE_unnamed_2208@localhost/res1 in
</stream:stream>
=== Ended at 2022-04-04 15:14:28
=== successfully completed test case
=== === Returned value: ok