=== Test case: push_SUITE:muclight_no_msg_notifications_if_user_online/1 (click for source code)
=== Config value:
[{watchdog,<0.76006.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@e5991d55cb5f.2024-04-10_07.52.47/big_tests.tests.push_SUITE.logs/run.2024-04-10_08.05.56/push_suite.muclight_no_msg_notifications_if_user_online.158851.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@e5991d55cb5f.2024-04-10_07.52.47/big_tests.tests.push_SUITE.logs/run.2024-04-10_08.05.56/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_stream_management =>
#{buffer => true,ack => true,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
backend => cets,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_carboncopy => #{iqdisc => no_queue},
mod_bosh =>
#{backend => cets,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@e5991d55cb5f.2024-04-10_07.52.47"
=== Started at 2024-04-10 08:06:12
*** User 2024-04-10 08:06:13.008 ***🔗
alicE_unnamed_2814@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 08:06:13.009 ***🔗
alicE_unnamed_2814@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='20a8ffd1b5a4a69c' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-10 08:06:13.009 ***🔗
alicE_unnamed_2814@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 08:06:13.009 ***🔗
alicE_unnamed_2814@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMjgxNABtYXR5Z3J5c2E=</auth>
*** User 2024-04-10 08:06:13.010 ***🔗
alicE_unnamed_2814@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 08:06:13.010 ***🔗
alicE_unnamed_2814@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 08:06:13.011 ***🔗
alicE_unnamed_2814@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='685c3c61187c2ed9' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_2814@localhost'>
*** User 2024-04-10 08:06:13.011 ***🔗
alicE_unnamed_2814@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 08:06:13.012 ***🔗
alicE_unnamed_2814@localhost/res1 out
<iq type='set' id='96f3fe47d1dcd3955b1e063a80b67763'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 08:06:13.012 ***🔗
alicE_unnamed_2814@localhost/res1 in
<iq id='96f3fe47d1dcd3955b1e063a80b67763' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unnamed_2814@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-10 08:06:13.012 ***🔗
alice_unnamed_2814@localhost/res1 out
<iq type='set' id='914815bdf60108a8d0ba583d6e731ea0'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 08:06:13.014 ***🔗
alice_unnamed_2814@localhost/res1 in
<iq from='localhost' to='alice_unnamed_2814@localhost/res1' id='914815bdf60108a8d0ba583d6e731ea0' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 08:06:13.014 ***🔗
alice_unnamed_2814@localhost/res1 out
<presence/>
*** User 2024-04-10 08:06:13.042 ***🔗
alice_unnamed_2814@localhost/res1 in
<presence from='alice_unnamed_2814@localhost/res1' to='alice_unnamed_2814@localhost/res1'/>
*** User 2024-04-10 08:06:13.043 ***🔗
bOb_unnamed_2814@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 08:06:13.044 ***🔗
bOb_unnamed_2814@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d469d8610f86974a' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-10 08:06:13.044 ***🔗
bOb_unnamed_2814@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 08:06:13.044 ***🔗
bOb_unnamed_2814@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzI4MTQAbWFrcm9saWth</auth>
*** User 2024-04-10 08:06:13.046 ***🔗
bOb_unnamed_2814@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 08:06:13.046 ***🔗
bOb_unnamed_2814@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 08:06:13.046 ***🔗
bOb_unnamed_2814@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f46e3a0e58bb53ef' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_2814@localhost'>
*** User 2024-04-10 08:06:13.047 ***🔗
bOb_unnamed_2814@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 08:06:13.047 ***🔗
bOb_unnamed_2814@localhost/res1 out
<iq type='set' id='cf7b4b87044379720ef8dba688c564b0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 08:06:13.047 ***🔗
bOb_unnamed_2814@localhost/res1 in
<iq id='cf7b4b87044379720ef8dba688c564b0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unnamed_2814@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-10 08:06:13.048 ***🔗
bob_unnamed_2814@localhost/res1 out
<iq type='set' id='49f453d87e4fa23b53a62f1884c6ab5c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 08:06:13.050 ***🔗
bob_unnamed_2814@localhost/res1 in
<iq from='localhost' to='bob_unnamed_2814@localhost/res1' id='49f453d87e4fa23b53a62f1884c6ab5c' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 08:06:13.050 ***🔗
bob_unnamed_2814@localhost/res1 out
<presence/>
*** User 2024-04-10 08:06:13.054 ***🔗
bob_unnamed_2814@localhost/res1 in
<presence from='bob_unnamed_2814@localhost/res1' to='bob_unnamed_2814@localhost/res1'/>
*** User 2024-04-10 08:06:13.055 ***🔗
kate_unnamed_2814@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 08:06:13.055 ***🔗
kate_unnamed_2814@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bff369603b63f47e' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-10 08:06:13.055 ***🔗
kate_unnamed_2814@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 08:06:13.055 ***🔗
kate_unnamed_2814@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5uYW1lZF8yODE0AG1ha3Jvd2U7cA==</auth>
*** User 2024-04-10 08:06:13.057 ***🔗
kate_unnamed_2814@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 08:06:13.057 ***🔗
kate_unnamed_2814@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 08:06:13.057 ***🔗
kate_unnamed_2814@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9e88ff9902e4eee6' from='localhost' version='1.0' xml:lang='en' to='kate_unnamed_2814@localhost'>
*** User 2024-04-10 08:06:13.057 ***🔗
kate_unnamed_2814@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 08:06:13.057 ***🔗
kate_unnamed_2814@localhost/res1 out
<iq type='set' id='c8f2d536993869b5fc66440107d15053'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 08:06:13.058 ***🔗
kate_unnamed_2814@localhost/res1 in
<iq id='c8f2d536993869b5fc66440107d15053' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_unnamed_2814@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-10 08:06:13.058 ***🔗
kate_unnamed_2814@localhost/res1 out
<iq type='set' id='1ad444eb94ed3847494c0a3983e265ef'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 08:06:13.059 ***🔗
kate_unnamed_2814@localhost/res1 in
<iq from='localhost' to='kate_unnamed_2814@localhost/res1' id='1ad444eb94ed3847494c0a3983e265ef' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 08:06:13.059 ***🔗
kate_unnamed_2814@localhost/res1 out
<presence/>
*** User 2024-04-10 08:06:13.061 ***🔗
kate_unnamed_2814@localhost/res1 in
<presence from='kate_unnamed_2814@localhost/res1' to='kate_unnamed_2814@localhost/res1'/>
*** User 2024-04-10 08:06:13.071 ***🔗
alice_unnamed_2814@localhost/res1 out
<iq type='set' id='4fed3ab6f76a027f4ae85f74d42fd1ce'>
<enable xmlns='urn:xmpp:push:0' jid='muclight_no_msg_notifications_if_user_online_73.4251@virtual.domain' node='NodeId'/>
</iq>
*** User 2024-04-10 08:06:13.075 ***🔗
alice_unnamed_2814@localhost/res1 in
<iq from='alice_unnamed_2814@localhost' to='alice_unnamed_2814@localhost/res1' id='4fed3ab6f76a027f4ae85f74d42fd1ce' type='result'/>
*** User 2024-04-10 08:06:13.075 ***🔗
kate_unnamed_2814@localhost/res1 out
<presence type='unavailable'/>
*** User 2024-04-10 08:06:13.177 ***🔗
waiting for wait_for_user_offline is done in 100 miliseconds
*** User 2024-04-10 08:06:13.178 ***🔗
bob_unnamed_2814@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 08:06:18.178 ***🔗
#{result => nomatch,
msg_inbox =>
{messages,
[{stanza,<0.76046.0>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_2814@localhost">>},
{<<"to">>,<<"alice_unnamed_2814@localhost">>},
{<<"id">>,<<"1712-736373-179400">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1712736373182022}},
{stanza,<0.76057.0>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_2814@localhost">>},
{<<"to">>,<<"bob_unnamed_2814@localhost">>},
{<<"id">>,<<"1712-736373-179400">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1712736373183282}}]}}
*** User 2024-04-10 08:06:18.178 ***🔗
kate_unnamed_2814@localhost/res1 out
</stream:stream>
*** User 2024-04-10 08:06:18.179 ***🔗
kate_unnamed_2814@localhost/res1 in
</stream:stream>
*** User 2024-04-10 08:06:18.179 ***🔗
bob_unnamed_2814@localhost/res1 out
</stream:stream>
*** User 2024-04-10 08:06:18.179 ***🔗
bob_unnamed_2814@localhost/res1 in
</stream:stream>
*** User 2024-04-10 08:06:18.179 ***🔗
alice_unnamed_2814@localhost/res1 out
</stream:stream>
*** User 2024-04-10 08:06:18.180 ***🔗
alice_unnamed_2814@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-10 08:06:18
=== successfully completed test case
=== === Returned value: ok