=== Test case: push_SUITE:muclight_no_msg_notifications_if_user_online/1 (click for source code)
=== Config value:
[{watchdog,<0.84008.0>},
{pubsub_host,virtual},
{preset,"pgsql_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/push_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@2d5413ff3720.2024-04-22_14.49.31/big_tests.tests.push_SUITE.logs/run.2024-04-22_15.04.59/push_suite.muclight_no_msg_notifications_if_user_online.80133.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@2d5413ff3720.2024-04-22_14.49.31/big_tests.tests.push_SUITE.logs/run.2024-04-22_15.04.59/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,backend => rdbms,iqdisc => parallel},
mod_roster =>
#{backend => rdbms,iqdisc => one_queue,versioning => false,
store_current_id => false},
mod_amp => #{},
mod_sic => #{iqdisc => one_queue},
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_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
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_bosh =>
#{backend => mnesia,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@2d5413ff3720.2024-04-22_14.49.31"
=== Started at 2024-04-22 15:05:15
*** User 2024-04-22 15:05:15.321 ***🔗
alicE_unnamed_3238@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-22 15:05:15.321 ***🔗
alicE_unnamed_3238@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2a1928470a55ace7' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 15:05:15.322 ***🔗
alicE_unnamed_3238@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-22 15:05:15.322 ***🔗
alicE_unnamed_3238@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMzIzOABtYXR5Z3J5c2E=</auth>
*** User 2024-04-22 15:05:15.324 ***🔗
alicE_unnamed_3238@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 15:05:15.324 ***🔗
alicE_unnamed_3238@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-22 15:05:15.325 ***🔗
alicE_unnamed_3238@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='647a70fc92be978e' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_3238@localhost'>
*** User 2024-04-22 15:05:15.325 ***🔗
alicE_unnamed_3238@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-22 15:05:15.325 ***🔗
alicE_unnamed_3238@localhost/res1 out
<iq type='set' id='ee09c1ad3292e4a014d337702f2a32f8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 15:05:15.326 ***🔗
alicE_unnamed_3238@localhost/res1 in
<iq id='ee09c1ad3292e4a014d337702f2a32f8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unnamed_3238@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-22 15:05:15.326 ***🔗
alice_unnamed_3238@localhost/res1 out
<iq type='set' id='7de3e207cdfce5d51b663a63aca760bf'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 15:05:15.326 ***🔗
alice_unnamed_3238@localhost/res1 in
<iq from='localhost' to='alice_unnamed_3238@localhost/res1' id='7de3e207cdfce5d51b663a63aca760bf' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 15:05:15.326 ***🔗
alice_unnamed_3238@localhost/res1 out
<presence/>
*** User 2024-04-22 15:05:15.327 ***🔗
alice_unnamed_3238@localhost/res1 in
<presence from='alice_unnamed_3238@localhost/res1' to='alice_unnamed_3238@localhost/res1'/>
*** User 2024-04-22 15:05:15.328 ***🔗
bOb_unnamed_3238@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-22 15:05:15.329 ***🔗
bOb_unnamed_3238@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3998bcd16f423baa' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 15:05:15.329 ***🔗
bOb_unnamed_3238@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-22 15:05:15.329 ***🔗
bOb_unnamed_3238@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzMyMzgAbWFrcm9saWth</auth>
*** User 2024-04-22 15:05:15.330 ***🔗
bOb_unnamed_3238@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 15:05:15.330 ***🔗
bOb_unnamed_3238@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-22 15:05:15.330 ***🔗
bOb_unnamed_3238@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='71ebfec472ab90d2' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_3238@localhost'>
*** User 2024-04-22 15:05:15.330 ***🔗
bOb_unnamed_3238@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-22 15:05:15.330 ***🔗
bOb_unnamed_3238@localhost/res1 out
<iq type='set' id='33086d9f1784878f80cf2b455c04f2c3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 15:05:15.331 ***🔗
bOb_unnamed_3238@localhost/res1 in
<iq id='33086d9f1784878f80cf2b455c04f2c3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unnamed_3238@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-22 15:05:15.331 ***🔗
bob_unnamed_3238@localhost/res1 out
<iq type='set' id='cf266749c89f9b36eb09ebba3dfb4661'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 15:05:15.331 ***🔗
bob_unnamed_3238@localhost/res1 in
<iq from='localhost' to='bob_unnamed_3238@localhost/res1' id='cf266749c89f9b36eb09ebba3dfb4661' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 15:05:15.331 ***🔗
bob_unnamed_3238@localhost/res1 out
<presence/>
*** User 2024-04-22 15:05:15.333 ***🔗
bob_unnamed_3238@localhost/res1 in
<presence from='bob_unnamed_3238@localhost/res1' to='bob_unnamed_3238@localhost/res1'/>
*** User 2024-04-22 15:05:15.333 ***🔗
kate_unnamed_3238@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-22 15:05:15.334 ***🔗
kate_unnamed_3238@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5a14368f64963d9f' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 15:05:15.334 ***🔗
kate_unnamed_3238@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-22 15:05:15.334 ***🔗
kate_unnamed_3238@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5uYW1lZF8zMjM4AG1ha3Jvd2U7cA==</auth>
*** User 2024-04-22 15:05:15.336 ***🔗
kate_unnamed_3238@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 15:05:15.336 ***🔗
kate_unnamed_3238@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-22 15:05:15.336 ***🔗
kate_unnamed_3238@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='13133058de104721' from='localhost' version='1.0' xml:lang='en' to='kate_unnamed_3238@localhost'>
*** User 2024-04-22 15:05:15.336 ***🔗
kate_unnamed_3238@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-22 15:05:15.336 ***🔗
kate_unnamed_3238@localhost/res1 out
<iq type='set' id='3ac64ef854ebf9ac014f4786b7e12aee'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 15:05:15.336 ***🔗
kate_unnamed_3238@localhost/res1 in
<iq id='3ac64ef854ebf9ac014f4786b7e12aee' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_unnamed_3238@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-22 15:05:15.337 ***🔗
kate_unnamed_3238@localhost/res1 out
<iq type='set' id='aa5e9372556c63fad5ec19354462af0f'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 15:05:15.337 ***🔗
kate_unnamed_3238@localhost/res1 in
<iq from='localhost' to='kate_unnamed_3238@localhost/res1' id='aa5e9372556c63fad5ec19354462af0f' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 15:05:15.337 ***🔗
kate_unnamed_3238@localhost/res1 out
<presence/>
*** User 2024-04-22 15:05:15.338 ***🔗
kate_unnamed_3238@localhost/res1 in
<presence from='kate_unnamed_3238@localhost/res1' to='kate_unnamed_3238@localhost/res1'/>
*** User 2024-04-22 15:05:15.373 ***🔗
alice_unnamed_3238@localhost/res1 out
<iq type='set' id='bbd1e9d601a8a843b10d00adb1d77b54'>
<enable xmlns='urn:xmpp:push:0' jid='muclight_no_msg_notifications_if_user_online_15.318329@virtual.domain' node='NodeId'/>
</iq>
*** User 2024-04-22 15:05:15.376 ***🔗
alice_unnamed_3238@localhost/res1 in
<iq from='alice_unnamed_3238@localhost' to='alice_unnamed_3238@localhost/res1' id='bbd1e9d601a8a843b10d00adb1d77b54' type='result'/>
*** User 2024-04-22 15:05:15.376 ***🔗
kate_unnamed_3238@localhost/res1 out
<presence type='unavailable'/>
*** User 2024-04-22 15:05:15.478 ***🔗
waiting for wait_for_user_offline is done in 100 miliseconds
*** User 2024-04-22 15:05:15.478 ***🔗
bob_unnamed_3238@localhost/res1 out
<message type='groupchat' to='room_muclight_no_msg_notifications_if_user_online@muclight.localhost'>
<body>Heyah!</body>
</message>
*** User 2024-04-22 15:05:20.479 ***🔗
#{result => nomatch,
msg_inbox =>
{messages,
[{stanza,<0.84049.0>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_3238@localhost">>},
{<<"to">>,<<"alice_unnamed_3238@localhost">>},
{<<"id">>,<<"1713-798315-479366">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1713798315481672}},
{stanza,<0.84059.0>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_3238@localhost">>},
{<<"to">>,<<"bob_unnamed_3238@localhost">>},
{<<"id">>,<<"1713-798315-479366">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1713798315482899}}]}}
*** User 2024-04-22 15:05:20.479 ***🔗
kate_unnamed_3238@localhost/res1 out
</stream:stream>
*** User 2024-04-22 15:05:20.480 ***🔗
kate_unnamed_3238@localhost/res1 in
</stream:stream>
*** User 2024-04-22 15:05:20.480 ***🔗
bob_unnamed_3238@localhost/res1 out
</stream:stream>
*** User 2024-04-22 15:05:20.480 ***🔗
bob_unnamed_3238@localhost/res1 in
</stream:stream>
*** User 2024-04-22 15:05:20.480 ***🔗
alice_unnamed_3238@localhost/res1 out
</stream:stream>
*** User 2024-04-22 15:05:20.480 ***🔗
alice_unnamed_3238@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-22 15:05:20
=== successfully completed test case
=== === Returned value: ok