=== Test case: push_SUITE:muclight_no_msg_notifications_if_user_online/1 (click for source code)
=== Config value:
[{watchdog,<0.51087.0>},
{pubsub_host,virtual},
{preset,"internal_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@2cc1cb2b4b9c.2024-02-27_12.00.42/big_tests.tests.push_SUITE.logs/run.2024-02-27_12.13.38/push_suite.muclight_no_msg_notifications_if_user_online.69891.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@2cc1cb2b4b9c.2024-02-27_12.00.42/big_tests.tests.push_SUITE.logs/run.2024-02-27_12.13.38/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,backend => mnesia,iqdisc => parallel},
mod_roster =>
#{backend => mnesia,iqdisc => one_queue,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,backend => mnesia,buffer_max => 100,
ack_freq => 1,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
resume_timeout => 600},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_carboncopy => #{iqdisc => no_queue},
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}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@2cc1cb2b4b9c.2024-02-27_12.00.42"
=== Started at 2024-02-27 12:13:54
*** User 2024-02-27 12:13:54.318 ***🔗
alicE_unnamed_1705@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-02-27 12:13:54.318 ***🔗
alicE_unnamed_1705@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b784d5e0e8c9eee6' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-27 12:13:54.318 ***🔗
alicE_unnamed_1705@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-02-27 12:13:54.319 ***🔗
alicE_unnamed_1705@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMTcwNQBtYXR5Z3J5c2E=</auth>
*** User 2024-02-27 12:13:54.319 ***🔗
alicE_unnamed_1705@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-27 12:13:54.319 ***🔗
alicE_unnamed_1705@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-02-27 12:13:54.320 ***🔗
alicE_unnamed_1705@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='593c017702e5f303' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_1705@localhost'>
*** User 2024-02-27 12:13:54.320 ***🔗
alicE_unnamed_1705@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-02-27 12:13:54.320 ***🔗
alicE_unnamed_1705@localhost/res1 out
<iq type='set' id='4ef1aee7a75df2d5b6b6b2bc817e6ae0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-27 12:13:54.320 ***🔗
alicE_unnamed_1705@localhost/res1 in
<iq id='4ef1aee7a75df2d5b6b6b2bc817e6ae0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unnamed_1705@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-27 12:13:54.321 ***🔗
alice_unnamed_1705@localhost/res1 out
<iq type='set' id='9cf1c6a63045b9a3ac884d46a38c02b5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-27 12:13:54.321 ***🔗
alice_unnamed_1705@localhost/res1 in
<iq from='localhost' to='alice_unnamed_1705@localhost/res1' id='9cf1c6a63045b9a3ac884d46a38c02b5' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-27 12:13:54.321 ***🔗
alice_unnamed_1705@localhost/res1 out
<presence/>
*** User 2024-02-27 12:13:54.322 ***🔗
alice_unnamed_1705@localhost/res1 in
<presence from='alice_unnamed_1705@localhost/res1' to='alice_unnamed_1705@localhost/res1'/>
*** User 2024-02-27 12:13:54.323 ***🔗
bOb_unnamed_1705@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-02-27 12:13:54.324 ***🔗
bOb_unnamed_1705@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f54ce56e11178a3a' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-27 12:13:54.324 ***🔗
bOb_unnamed_1705@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-02-27 12:13:54.324 ***🔗
bOb_unnamed_1705@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzE3MDUAbWFrcm9saWth</auth>
*** User 2024-02-27 12:13:54.325 ***🔗
bOb_unnamed_1705@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-27 12:13:54.325 ***🔗
bOb_unnamed_1705@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-02-27 12:13:54.325 ***🔗
bOb_unnamed_1705@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='27385091735ca173' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_1705@localhost'>
*** User 2024-02-27 12:13:54.325 ***🔗
bOb_unnamed_1705@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-02-27 12:13:54.325 ***🔗
bOb_unnamed_1705@localhost/res1 out
<iq type='set' id='660e1671110282843bb3a970e9eee071'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-27 12:13:54.325 ***🔗
bOb_unnamed_1705@localhost/res1 in
<iq id='660e1671110282843bb3a970e9eee071' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unnamed_1705@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-27 12:13:54.326 ***🔗
bob_unnamed_1705@localhost/res1 out
<iq type='set' id='f04df40d80e6aff243d7305c10708b20'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-27 12:13:54.326 ***🔗
bob_unnamed_1705@localhost/res1 in
<iq from='localhost' to='bob_unnamed_1705@localhost/res1' id='f04df40d80e6aff243d7305c10708b20' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-27 12:13:54.326 ***🔗
bob_unnamed_1705@localhost/res1 out
<presence/>
*** User 2024-02-27 12:13:54.328 ***🔗
bob_unnamed_1705@localhost/res1 in
<presence from='bob_unnamed_1705@localhost/res1' to='bob_unnamed_1705@localhost/res1'/>
*** User 2024-02-27 12:13:54.328 ***🔗
kate_unnamed_1705@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-02-27 12:13:54.329 ***🔗
kate_unnamed_1705@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3deaf4af140edb58' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-27 12:13:54.329 ***🔗
kate_unnamed_1705@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-02-27 12:13:54.329 ***🔗
kate_unnamed_1705@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5uYW1lZF8xNzA1AG1ha3Jvd2U7cA==</auth>
*** User 2024-02-27 12:13:54.330 ***🔗
kate_unnamed_1705@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-27 12:13:54.330 ***🔗
kate_unnamed_1705@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-02-27 12:13:54.330 ***🔗
kate_unnamed_1705@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='16d184058a031ac6' from='localhost' version='1.0' xml:lang='en' to='kate_unnamed_1705@localhost'>
*** User 2024-02-27 12:13:54.331 ***🔗
kate_unnamed_1705@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-02-27 12:13:54.331 ***🔗
kate_unnamed_1705@localhost/res1 out
<iq type='set' id='e41947eedd1d2ead6a8059c0c862b6d6'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-02-27 12:13:54.331 ***🔗
kate_unnamed_1705@localhost/res1 in
<iq id='e41947eedd1d2ead6a8059c0c862b6d6' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_unnamed_1705@localhost/res1</jid>
</bind>
</iq>
*** User 2024-02-27 12:13:54.331 ***🔗
kate_unnamed_1705@localhost/res1 out
<iq type='set' id='2915b17654c53251a6932e564757e90c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-27 12:13:54.331 ***🔗
kate_unnamed_1705@localhost/res1 in
<iq from='localhost' to='kate_unnamed_1705@localhost/res1' id='2915b17654c53251a6932e564757e90c' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-02-27 12:13:54.332 ***🔗
kate_unnamed_1705@localhost/res1 out
<presence/>
*** User 2024-02-27 12:13:54.333 ***🔗
kate_unnamed_1705@localhost/res1 in
<presence from='kate_unnamed_1705@localhost/res1' to='kate_unnamed_1705@localhost/res1'/>
*** User 2024-02-27 12:13:54.335 ***🔗
alice_unnamed_1705@localhost/res1 out
<iq type='set' id='e420d8acabd5ee6971b3bca757c74495'>
<enable xmlns='urn:xmpp:push:0' jid='muclight_no_msg_notifications_if_user_online_34.315478@virtual.domain' node='NodeId'/>
</iq>
*** User 2024-02-27 12:13:54.335 ***🔗
alice_unnamed_1705@localhost/res1 in
<iq from='alice_unnamed_1705@localhost' to='alice_unnamed_1705@localhost/res1' id='e420d8acabd5ee6971b3bca757c74495' type='result'/>
*** User 2024-02-27 12:13:54.335 ***🔗
kate_unnamed_1705@localhost/res1 out
<presence type='unavailable'/>
*** User 2024-02-27 12:13:54.336 ***🔗
waiting for wait_for_user_offline is done in 0 miliseconds
*** User 2024-02-27 12:13:54.336 ***🔗
bob_unnamed_1705@localhost/res1 out
<message type='groupchat' to='room_muclight_no_msg_notifications_if_user_online@muclight.localhost'>
<body>Heyah!</body>
</message>
*** User 2024-02-27 12:13:59.338 ***🔗
#{result => nomatch,
msg_inbox =>
{messages,
[{stanza,<0.51128.0>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_1705@localhost">>},
{<<"to">>,<<"alice_unnamed_1705@localhost">>},
{<<"id">>,<<"1709-36034-337459">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1709036034337932}},
{stanza,<0.51139.0>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_1705@localhost">>},
{<<"to">>,<<"bob_unnamed_1705@localhost">>},
{<<"id">>,<<"1709-36034-337459">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1709036034374392}}]}}
*** User 2024-02-27 12:13:59.338 ***🔗
kate_unnamed_1705@localhost/res1 out
</stream:stream>
*** User 2024-02-27 12:13:59.338 ***🔗
kate_unnamed_1705@localhost/res1 in
</stream:stream>
*** User 2024-02-27 12:13:59.338 ***🔗
bob_unnamed_1705@localhost/res1 out
</stream:stream>
*** User 2024-02-27 12:13:59.339 ***🔗
bob_unnamed_1705@localhost/res1 in
</stream:stream>
*** User 2024-02-27 12:13:59.339 ***🔗
alice_unnamed_1705@localhost/res1 out
</stream:stream>
*** User 2024-02-27 12:13:59.339 ***🔗
alice_unnamed_1705@localhost/res1 in
</stream:stream>
=== Ended at 2024-02-27 12:13:59
=== successfully completed test case
=== === Returned value: ok