=== Test case: push_SUITE:muclight_no_msg_notifications_if_user_online/1 (click for source code)
=== Config value:
[{watchdog,<0.82712.0>},
{pubsub_host,virtual},
{preset,"mysql_redis"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/push_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f53478984827.2024-04-24_13.07.56/big_tests.tests.push_SUITE.logs/run.2024-04-24_13.21.57/push_suite.muclight_no_msg_notifications_if_user_online.155395.html"},
{tc_group_properties,[{name,muclight_msg_notifications},parallel]},
{tc_group_path,[[{name,pubsub_less}]]},
{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@f53478984827.2024-04-24_13.07.56/big_tests.tests.push_SUITE.logs/run.2024-04-24_13.21.57/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_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_sic => #{iqdisc => one_queue},
mod_amp => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
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@f53478984827.2024-04-24_13.07.56"
=== Started at 2024-04-24 13:22:14
*** User 2024-04-24 13:22:14.422 ***🔗
alicE_unnamed_3051@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-24 13:22:14.422 ***🔗
alicE_unnamed_3051@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a57b4bf986e67e00' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-24 13:22:14.422 ***🔗
alicE_unnamed_3051@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-24 13:22:14.422 ***🔗
alicE_unnamed_3051@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMzA1MQBtYXR5Z3J5c2E=</auth>
*** User 2024-04-24 13:22:14.423 ***🔗
alicE_unnamed_3051@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-24 13:22:14.423 ***🔗
alicE_unnamed_3051@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-24 13:22:14.424 ***🔗
alicE_unnamed_3051@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0dabac4410f8c114' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_3051@localhost'>
*** User 2024-04-24 13:22:14.424 ***🔗
alicE_unnamed_3051@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-24 13:22:14.424 ***🔗
alicE_unnamed_3051@localhost/res1 out
<iq type='set' id='ecb5242ead22b98f977886204c06f9bb'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-24 13:22:14.425 ***🔗
alicE_unnamed_3051@localhost/res1 in
<iq id='ecb5242ead22b98f977886204c06f9bb' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unnamed_3051@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-24 13:22:14.425 ***🔗
alice_unnamed_3051@localhost/res1 out
<iq type='set' id='3a1cf28703fdfc597b649baea514a0d4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:22:14.426 ***🔗
alice_unnamed_3051@localhost/res1 in
<iq from='localhost' to='alice_unnamed_3051@localhost/res1' id='3a1cf28703fdfc597b649baea514a0d4' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:22:14.426 ***🔗
alice_unnamed_3051@localhost/res1 out
<presence/>
*** User 2024-04-24 13:22:14.429 ***🔗
alice_unnamed_3051@localhost/res1 in
<presence from='alice_unnamed_3051@localhost/res1' to='alice_unnamed_3051@localhost/res1'/>
*** User 2024-04-24 13:22:14.430 ***🔗
bOb_unnamed_3051@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-24 13:22:14.430 ***🔗
bOb_unnamed_3051@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b6f8f47dfedb78b' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-24 13:22:14.431 ***🔗
bOb_unnamed_3051@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-24 13:22:14.431 ***🔗
bOb_unnamed_3051@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzMwNTEAbWFrcm9saWth</auth>
*** User 2024-04-24 13:22:14.432 ***🔗
bOb_unnamed_3051@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-24 13:22:14.432 ***🔗
bOb_unnamed_3051@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-24 13:22:14.432 ***🔗
bOb_unnamed_3051@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='204e2bf5f9cd3363' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_3051@localhost'>
*** User 2024-04-24 13:22:14.432 ***🔗
bOb_unnamed_3051@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-24 13:22:14.432 ***🔗
bOb_unnamed_3051@localhost/res1 out
<iq type='set' id='58c516379b85420c1dfa2445bb9d4bb0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-24 13:22:14.433 ***🔗
bOb_unnamed_3051@localhost/res1 in
<iq id='58c516379b85420c1dfa2445bb9d4bb0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unnamed_3051@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-24 13:22:14.433 ***🔗
bob_unnamed_3051@localhost/res1 out
<iq type='set' id='ff008fdf5a72e1c5244c5af187b48784'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:22:14.434 ***🔗
bob_unnamed_3051@localhost/res1 in
<iq from='localhost' to='bob_unnamed_3051@localhost/res1' id='ff008fdf5a72e1c5244c5af187b48784' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:22:14.434 ***🔗
bob_unnamed_3051@localhost/res1 out
<presence/>
*** User 2024-04-24 13:22:14.466 ***🔗
bob_unnamed_3051@localhost/res1 in
<presence from='bob_unnamed_3051@localhost/res1' to='bob_unnamed_3051@localhost/res1'/>
*** User 2024-04-24 13:22:14.467 ***🔗
kate_unnamed_3051@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-24 13:22:14.468 ***🔗
kate_unnamed_3051@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fd6dd1e84ce31752' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-24 13:22:14.468 ***🔗
kate_unnamed_3051@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-24 13:22:14.468 ***🔗
kate_unnamed_3051@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5uYW1lZF8zMDUxAG1ha3Jvd2U7cA==</auth>
*** User 2024-04-24 13:22:14.470 ***🔗
kate_unnamed_3051@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-24 13:22:14.470 ***🔗
kate_unnamed_3051@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-24 13:22:14.470 ***🔗
kate_unnamed_3051@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d8911db1a0acfb02' from='localhost' version='1.0' xml:lang='en' to='kate_unnamed_3051@localhost'>
*** User 2024-04-24 13:22:14.470 ***🔗
kate_unnamed_3051@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-24 13:22:14.471 ***🔗
kate_unnamed_3051@localhost/res1 out
<iq type='set' id='d5553c1d3debf7deddebc89f497137f1'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-24 13:22:14.471 ***🔗
kate_unnamed_3051@localhost/res1 in
<iq id='d5553c1d3debf7deddebc89f497137f1' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_unnamed_3051@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-24 13:22:14.471 ***🔗
kate_unnamed_3051@localhost/res1 out
<iq type='set' id='fadad81e8815d9063782b69228a28f0e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:22:14.472 ***🔗
kate_unnamed_3051@localhost/res1 in
<iq from='localhost' to='kate_unnamed_3051@localhost/res1' id='fadad81e8815d9063782b69228a28f0e' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:22:14.472 ***🔗
kate_unnamed_3051@localhost/res1 out
<presence/>
*** User 2024-04-24 13:22:14.475 ***🔗
kate_unnamed_3051@localhost/res1 in
<presence from='kate_unnamed_3051@localhost/res1' to='kate_unnamed_3051@localhost/res1'/>
*** User 2024-04-24 13:22:14.480 ***🔗
alice_unnamed_3051@localhost/res1 out
<iq type='set' id='1b021132e43452c0f09ab898077e5ea5'>
<enable xmlns='urn:xmpp:push:0' jid='muclight_no_msg_notifications_if_user_online_34.419107@virtual.domain' node='NodeId'/>
</iq>
*** User 2024-04-24 13:22:14.483 ***🔗
alice_unnamed_3051@localhost/res1 in
<iq from='alice_unnamed_3051@localhost' to='alice_unnamed_3051@localhost/res1' id='1b021132e43452c0f09ab898077e5ea5' type='result'/>
*** User 2024-04-24 13:22:14.483 ***🔗
kate_unnamed_3051@localhost/res1 out
<presence type='unavailable'/>
*** User 2024-04-24 13:22:14.584 ***🔗
waiting for wait_for_user_offline is done in 100 miliseconds
*** User 2024-04-24 13:22:14.584 ***🔗
bob_unnamed_3051@localhost/res1 out
<message type='groupchat' to='room_muclight_no_msg_notifications_if_user_online@muclight.localhost'>
<body>Heyah!</body>
</message>
*** User 2024-04-24 13:22:19.585 ***🔗
#{result => nomatch,
msg_inbox =>
{messages,
[{stanza,<0.82752.0>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_3051@localhost">>},
{<<"to">>,<<"alice_unnamed_3051@localhost">>},
{<<"id">>,<<"1713-964934-585971">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1713964934588765}},
{stanza,<0.82763.0>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_3051@localhost">>},
{<<"to">>,<<"bob_unnamed_3051@localhost">>},
{<<"id">>,<<"1713-964934-585971">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1713964934591056}}]}}
*** User 2024-04-24 13:22:19.585 ***🔗
kate_unnamed_3051@localhost/res1 out
</stream:stream>
*** User 2024-04-24 13:22:19.585 ***🔗
kate_unnamed_3051@localhost/res1 in
</stream:stream>
*** User 2024-04-24 13:22:19.586 ***🔗
bob_unnamed_3051@localhost/res1 out
</stream:stream>
*** User 2024-04-24 13:22:19.586 ***🔗
bob_unnamed_3051@localhost/res1 in
</stream:stream>
*** User 2024-04-24 13:22:19.586 ***🔗
alice_unnamed_3051@localhost/res1 out
</stream:stream>
*** User 2024-04-24 13:22:19.586 ***🔗
alice_unnamed_3051@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-24 13:22:19
=== successfully completed test case
=== === Returned value: ok