=== Test case: push_SUITE:muclight_no_msg_notifications_if_user_online/1 (click for source code)
=== Config value:
[{watchdog,<0.82549.0>},
{pubsub_host,real},
{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@de34115c687f.2024-04-10_12.44.09/big_tests.tests.push_SUITE.logs/run.2024-04-10_12.57.12/push_suite.muclight_no_msg_notifications_if_user_online.226690.html"},
{tc_group_properties,[{name,muclight_msg_notifications},parallel]},
{tc_group_path,[[{name,pubsub_ful}]]},
{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@de34115c687f.2024-04-10_12.44.09/big_tests.tests.push_SUITE.logs/run.2024-04-10_12.57.12/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_presence => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_stream_management =>
#{buffer => true,ack => true,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
backend => mnesia,buffer_max => 100,ack_freq => 1,
resume_timeout => 600},
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@de34115c687f.2024-04-10_12.44.09"
=== Started at 2024-04-10 12:57:18
*** User 2024-04-10 12:57:18.518 ***🔗
alicE_unnamed_3052@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-10 12:57:18.518 ***🔗
alicE_unnamed_3052@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0d4078b56e52d126' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-10 12:57:18.519 ***🔗
alicE_unnamed_3052@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-10 12:57:18.519 ***🔗
alicE_unnamed_3052@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMzA1MgBtYXR5Z3J5c2E=</auth>
*** User 2024-04-10 12:57:18.519 ***🔗
alicE_unnamed_3052@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 12:57:18.519 ***🔗
alicE_unnamed_3052@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-10 12:57:18.520 ***🔗
alicE_unnamed_3052@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8fa3f6394bc50d4e' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_3052@localhost'>
*** User 2024-04-10 12:57:18.520 ***🔗
alicE_unnamed_3052@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-10 12:57:18.520 ***🔗
alicE_unnamed_3052@localhost/res1 out
<iq type='set' id='9f503b807daf51b14463017e9a565261'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 12:57:18.520 ***🔗
alicE_unnamed_3052@localhost/res1 in
<iq id='9f503b807daf51b14463017e9a565261' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unnamed_3052@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-10 12:57:18.520 ***🔗
alice_unnamed_3052@localhost/res1 out
<iq type='set' id='b6798cd38dcf15cef07df4b4dbe993a1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 12:57:18.521 ***🔗
alice_unnamed_3052@localhost/res1 in
<iq from='localhost' to='alice_unnamed_3052@localhost/res1' id='b6798cd38dcf15cef07df4b4dbe993a1' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 12:57:18.521 ***🔗
alice_unnamed_3052@localhost/res1 out
<presence/>
*** User 2024-04-10 12:57:18.522 ***🔗
alice_unnamed_3052@localhost/res1 in
<presence from='alice_unnamed_3052@localhost/res1' to='alice_unnamed_3052@localhost/res1'/>
*** User 2024-04-10 12:57:18.522 ***🔗
bOb_unnamed_3052@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-10 12:57:18.523 ***🔗
bOb_unnamed_3052@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4cecb12d8841c4ae' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-10 12:57:18.523 ***🔗
bOb_unnamed_3052@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-10 12:57:18.523 ***🔗
bOb_unnamed_3052@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzMwNTIAbWFrcm9saWth</auth>
*** User 2024-04-10 12:57:18.524 ***🔗
bOb_unnamed_3052@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 12:57:18.524 ***🔗
bOb_unnamed_3052@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-10 12:57:18.524 ***🔗
bOb_unnamed_3052@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f66ed5a8aae47ad3' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_3052@localhost'>
*** User 2024-04-10 12:57:18.524 ***🔗
bOb_unnamed_3052@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-10 12:57:18.524 ***🔗
bOb_unnamed_3052@localhost/res1 out
<iq type='set' id='210ea19e9de44e26a53285231795f863'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 12:57:18.524 ***🔗
bOb_unnamed_3052@localhost/res1 in
<iq id='210ea19e9de44e26a53285231795f863' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unnamed_3052@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-10 12:57:18.524 ***🔗
bob_unnamed_3052@localhost/res1 out
<iq type='set' id='69125fcf5aa4dc13b2aba5ff170e5fab'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 12:57:18.525 ***🔗
bob_unnamed_3052@localhost/res1 in
<iq from='localhost' to='bob_unnamed_3052@localhost/res1' id='69125fcf5aa4dc13b2aba5ff170e5fab' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 12:57:18.525 ***🔗
bob_unnamed_3052@localhost/res1 out
<presence/>
*** User 2024-04-10 12:57:18.527 ***🔗
bob_unnamed_3052@localhost/res1 in
<presence from='bob_unnamed_3052@localhost/res1' to='bob_unnamed_3052@localhost/res1'/>
*** User 2024-04-10 12:57:18.527 ***🔗
kate_unnamed_3052@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-10 12:57:18.527 ***🔗
kate_unnamed_3052@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f8475da2a625097e' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-10 12:57:18.527 ***🔗
kate_unnamed_3052@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-10 12:57:18.527 ***🔗
kate_unnamed_3052@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5uYW1lZF8zMDUyAG1ha3Jvd2U7cA==</auth>
*** User 2024-04-10 12:57:18.528 ***🔗
kate_unnamed_3052@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 12:57:18.528 ***🔗
kate_unnamed_3052@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-10 12:57:18.528 ***🔗
kate_unnamed_3052@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='69653b7273e71a7f' from='localhost' version='1.0' xml:lang='en' to='kate_unnamed_3052@localhost'>
*** User 2024-04-10 12:57:18.528 ***🔗
kate_unnamed_3052@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-10 12:57:18.528 ***🔗
kate_unnamed_3052@localhost/res1 out
<iq type='set' id='2d4796a5371e1fcffdd004ee724068d9'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 12:57:18.529 ***🔗
kate_unnamed_3052@localhost/res1 in
<iq id='2d4796a5371e1fcffdd004ee724068d9' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_unnamed_3052@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-10 12:57:18.529 ***🔗
kate_unnamed_3052@localhost/res1 out
<iq type='set' id='c431db5b529ecf72220a7e6b3be3694b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 12:57:18.530 ***🔗
kate_unnamed_3052@localhost/res1 in
<iq from='localhost' to='kate_unnamed_3052@localhost/res1' id='c431db5b529ecf72220a7e6b3be3694b' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 12:57:18.530 ***🔗
kate_unnamed_3052@localhost/res1 out
<presence/>
*** User 2024-04-10 12:57:18.531 ***🔗
kate_unnamed_3052@localhost/res1 in
<presence from='kate_unnamed_3052@localhost/res1' to='kate_unnamed_3052@localhost/res1'/>
*** User 2024-04-10 12:57:18.536 ***🔗
alice_unnamed_3052@localhost/res1 out
<iq type='set' id='209fa780024a63c630fcb0e3eeeca526'>
<enable xmlns='urn:xmpp:push:0' jid='pub-sub@muclight_no_msg_notifications_if_user_online_38.516266' node='NodeId'/>
</iq>
*** User 2024-04-10 12:57:18.567 ***🔗
alice_unnamed_3052@localhost/res1 in
<iq from='alice_unnamed_3052@localhost' to='alice_unnamed_3052@localhost/res1' id='209fa780024a63c630fcb0e3eeeca526' type='result'/>
*** User 2024-04-10 12:57:18.567 ***🔗
kate_unnamed_3052@localhost/res1 out
<presence type='unavailable'/>
*** User 2024-04-10 12:57:18.669 ***🔗
waiting for wait_for_user_offline is done in 100 miliseconds
*** User 2024-04-10 12:57:18.669 ***🔗
bob_unnamed_3052@localhost/res1 out
<message type='groupchat' to='room_muclight_no_msg_notifications_if_user_online@muclight.localhost'>
<body>Heyah!</body>
</message>
*** User 2024-04-10 12:57:23.670 ***🔗
#{result => nomatch,
msg_inbox =>
{messages,
[{stanza,<0.82596.0>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_3052@localhost">>},
{<<"to">>,<<"alice_unnamed_3052@localhost">>},
{<<"id">>,<<"1712-753838-670830">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1712753838673302}},
{stanza,<0.82601.0>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_3052@localhost">>},
{<<"to">>,<<"bob_unnamed_3052@localhost">>},
{<<"id">>,<<"1712-753838-670830">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1712753838675209}}]}}
*** User 2024-04-10 12:57:23.670 ***🔗
kate_unnamed_3052@localhost/res1 out
</stream:stream>
*** User 2024-04-10 12:57:23.671 ***🔗
kate_unnamed_3052@localhost/res1 in
</stream:stream>
*** User 2024-04-10 12:57:23.671 ***🔗
bob_unnamed_3052@localhost/res1 out
</stream:stream>
*** User 2024-04-10 12:57:23.671 ***🔗
bob_unnamed_3052@localhost/res1 in
</stream:stream>
*** User 2024-04-10 12:57:23.671 ***🔗
alice_unnamed_3052@localhost/res1 out
</stream:stream>
*** User 2024-04-10 12:57:23.671 ***🔗
alice_unnamed_3052@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-10 12:57:23
=== successfully completed test case
=== === Returned value: ok