=== Test case: push_SUITE:muclight_no_msg_notifications_if_user_online/1 (click for source code)
=== Config value:
[{watchdog,<0.75840.0>},
{pubsub_host,virtual},
{preset,"pgsql_cets"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/push_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@af661f7c368d.2024-04-23_08.56.35/big_tests.tests.push_SUITE.logs/run.2024-04-23_09.09.17/push_suite.muclight_no_msg_notifications_if_user_online.103940.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@af661f7c368d.2024-04-23_08.56.35/big_tests.tests.push_SUITE.logs/run.2024-04-23_09.09.17/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,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_stream_management =>
#{buffer => true,ack => true,buffer_max => 100,ack_freq => 1,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
resume_timeout => 600,backend => cets},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_bosh =>
#{backend => cets,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@af661f7c368d.2024-04-23_08.56.35"
=== Started at 2024-04-23 09:09:33
*** User 2024-04-23 09:09:33.314 ***🔗
alicE_unnamed_2815@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-23 09:09:33.315 ***🔗
alicE_unnamed_2815@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5ea2436be05bba06' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 09:09:33.315 ***🔗
alicE_unnamed_2815@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-23 09:09:33.315 ***🔗
alicE_unnamed_2815@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMjgxNQBtYXR5Z3J5c2E=</auth>
*** User 2024-04-23 09:09:33.317 ***🔗
alicE_unnamed_2815@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 09:09:33.317 ***🔗
alicE_unnamed_2815@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-23 09:09:33.317 ***🔗
alicE_unnamed_2815@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='18efe78e3a4016db' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_2815@localhost'>
*** User 2024-04-23 09:09:33.317 ***🔗
alicE_unnamed_2815@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-23 09:09:33.317 ***🔗
alicE_unnamed_2815@localhost/res1 out
<iq type='set' id='8f09a79c334ac172d776c6d395fd0b46'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 09:09:33.317 ***🔗
alicE_unnamed_2815@localhost/res1 in
<iq id='8f09a79c334ac172d776c6d395fd0b46' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unnamed_2815@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 09:09:33.318 ***🔗
alice_unnamed_2815@localhost/res1 out
<iq type='set' id='e9d325a8de52d5f192b01c0761655cda'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 09:09:33.319 ***🔗
alice_unnamed_2815@localhost/res1 in
<iq from='localhost' to='alice_unnamed_2815@localhost/res1' id='e9d325a8de52d5f192b01c0761655cda' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 09:09:33.319 ***🔗
alice_unnamed_2815@localhost/res1 out
<presence/>
*** User 2024-04-23 09:09:33.321 ***🔗
alice_unnamed_2815@localhost/res1 in
<presence from='alice_unnamed_2815@localhost/res1' to='alice_unnamed_2815@localhost/res1'/>
*** User 2024-04-23 09:09:33.321 ***🔗
bOb_unnamed_2815@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-23 09:09:33.322 ***🔗
bOb_unnamed_2815@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f3484f3fe784a45b' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 09:09:33.322 ***🔗
bOb_unnamed_2815@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-23 09:09:33.322 ***🔗
bOb_unnamed_2815@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzI4MTUAbWFrcm9saWth</auth>
*** User 2024-04-23 09:09:33.323 ***🔗
bOb_unnamed_2815@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 09:09:33.323 ***🔗
bOb_unnamed_2815@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-23 09:09:33.323 ***🔗
bOb_unnamed_2815@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='101998eeda24b360' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_2815@localhost'>
*** User 2024-04-23 09:09:33.323 ***🔗
bOb_unnamed_2815@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-23 09:09:33.323 ***🔗
bOb_unnamed_2815@localhost/res1 out
<iq type='set' id='58cc8d0dabc4ae05cca155dd36bd8bd5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 09:09:33.323 ***🔗
bOb_unnamed_2815@localhost/res1 in
<iq id='58cc8d0dabc4ae05cca155dd36bd8bd5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unnamed_2815@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 09:09:33.324 ***🔗
bob_unnamed_2815@localhost/res1 out
<iq type='set' id='05c83f3c3cf145822f8d34f1c5ce5b71'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 09:09:33.324 ***🔗
bob_unnamed_2815@localhost/res1 in
<iq from='localhost' to='bob_unnamed_2815@localhost/res1' id='05c83f3c3cf145822f8d34f1c5ce5b71' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 09:09:33.325 ***🔗
bob_unnamed_2815@localhost/res1 out
<presence/>
*** User 2024-04-23 09:09:33.326 ***🔗
bob_unnamed_2815@localhost/res1 in
<presence from='bob_unnamed_2815@localhost/res1' to='bob_unnamed_2815@localhost/res1'/>
*** User 2024-04-23 09:09:33.327 ***🔗
kate_unnamed_2815@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-23 09:09:33.327 ***🔗
kate_unnamed_2815@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dde99eb036070fd3' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 09:09:33.327 ***🔗
kate_unnamed_2815@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-23 09:09:33.328 ***🔗
kate_unnamed_2815@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5uYW1lZF8yODE1AG1ha3Jvd2U7cA==</auth>
*** User 2024-04-23 09:09:33.358 ***🔗
kate_unnamed_2815@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 09:09:33.358 ***🔗
kate_unnamed_2815@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-23 09:09:33.358 ***🔗
kate_unnamed_2815@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4ca0a8561469dbe7' from='localhost' version='1.0' xml:lang='en' to='kate_unnamed_2815@localhost'>
*** User 2024-04-23 09:09:33.358 ***🔗
kate_unnamed_2815@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-23 09:09:33.358 ***🔗
kate_unnamed_2815@localhost/res1 out
<iq type='set' id='3c9efaabd833bea01b1b374f66a2c949'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 09:09:33.359 ***🔗
kate_unnamed_2815@localhost/res1 in
<iq id='3c9efaabd833bea01b1b374f66a2c949' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_unnamed_2815@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 09:09:33.359 ***🔗
kate_unnamed_2815@localhost/res1 out
<iq type='set' id='1ea85d02d87879c42219226acec583b8'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 09:09:33.360 ***🔗
kate_unnamed_2815@localhost/res1 in
<iq from='localhost' to='kate_unnamed_2815@localhost/res1' id='1ea85d02d87879c42219226acec583b8' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 09:09:33.360 ***🔗
kate_unnamed_2815@localhost/res1 out
<presence/>
*** User 2024-04-23 09:09:33.362 ***🔗
kate_unnamed_2815@localhost/res1 in
<presence from='kate_unnamed_2815@localhost/res1' to='kate_unnamed_2815@localhost/res1'/>
*** User 2024-04-23 09:09:33.370 ***🔗
alice_unnamed_2815@localhost/res1 out
<iq type='set' id='02e728c0f8bd64500b5b76f55b67ae93'>
<enable xmlns='urn:xmpp:push:0' jid='muclight_no_msg_notifications_if_user_online_73.311782@virtual.domain' node='NodeId'/>
</iq>
*** User 2024-04-23 09:09:33.373 ***🔗
alice_unnamed_2815@localhost/res1 in
<iq from='alice_unnamed_2815@localhost' to='alice_unnamed_2815@localhost/res1' id='02e728c0f8bd64500b5b76f55b67ae93' type='result'/>
*** User 2024-04-23 09:09:33.373 ***🔗
kate_unnamed_2815@localhost/res1 out
<presence type='unavailable'/>
*** User 2024-04-23 09:09:33.474 ***🔗
waiting for wait_for_user_offline is done in 100 miliseconds
*** User 2024-04-23 09:09:33.474 ***🔗
bob_unnamed_2815@localhost/res1 out
<message type='groupchat' to='room_muclight_no_msg_notifications_if_user_online@muclight.localhost'>
<body>Heyah!</body>
</message>
*** User 2024-04-23 09:09:38.475 ***🔗
#{result => nomatch,
msg_inbox =>
{messages,
[{stanza,<0.75888.0>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_2815@localhost">>},
{<<"to">>,<<"alice_unnamed_2815@localhost">>},
{<<"id">>,<<"1713-863373-475674">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1713863373477510}},
{stanza,<0.75893.0>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_2815@localhost">>},
{<<"to">>,<<"bob_unnamed_2815@localhost">>},
{<<"id">>,<<"1713-863373-475674">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1713863373478922}}]}}
*** User 2024-04-23 09:09:38.475 ***🔗
kate_unnamed_2815@localhost/res1 out
</stream:stream>
*** User 2024-04-23 09:09:38.475 ***🔗
kate_unnamed_2815@localhost/res1 in
</stream:stream>
*** User 2024-04-23 09:09:38.475 ***🔗
bob_unnamed_2815@localhost/res1 out
</stream:stream>
*** User 2024-04-23 09:09:38.476 ***🔗
bob_unnamed_2815@localhost/res1 in
</stream:stream>
*** User 2024-04-23 09:09:38.476 ***🔗
alice_unnamed_2815@localhost/res1 out
</stream:stream>
*** User 2024-04-23 09:09:38.476 ***🔗
alice_unnamed_2815@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-23 09:09:38
=== successfully completed test case
=== === Returned value: ok