=== Test case: push_SUITE:muclight_no_msg_notifications_if_user_online/1 (click for source code)
=== Config value:
[{watchdog,<0.17786.2>},
{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@fa6c70dc878c.2024-03-21_07.45.25/big_tests.tests.push_SUITE.logs/run.2024-03-21_08.00.00/push_suite.muclight_no_msg_notifications_if_user_online.168451.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@fa6c70dc878c.2024-03-21_07.45.25/big_tests.tests.push_SUITE.logs/run.2024-03-21_08.00.00/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_amp => #{},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{number_of_segments => 5,strategy => fifo,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue},
mod_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
users_can_see_hidden_services => false},
mod_presence => #{},
mod_register =>
#{access => register,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
iqdisc => one_queue,password_strength => 0,
registration_watchers => []},
mod_roster =>
#{backend => rdbms,iqdisc => one_queue,store_current_id => false,
versioning => false},
mod_sic => #{iqdisc => one_queue},
mod_stream_management =>
#{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
buffer_max => 100,resume_timeout => 600,
stale_h =>
#{enabled => false,geriatric => 3600,repeat_after => 1800}},
mod_vcard =>
#{backend => rdbms,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,matches => 30,search => true}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fa6c70dc878c.2024-03-21_07.45.25"
=== Started at 2024-03-21 08:00:17
*** User 2024-03-21 08:00:17.208 ***🔗
alicE_unnamed_3167@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-03-21 08:00:17.208 ***🔗
alicE_unnamed_3167@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='de9ef663acf0522b' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-21 08:00:17.208 ***🔗
alicE_unnamed_3167@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-03-21 08:00:17.208 ***🔗
alicE_unnamed_3167@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMzE2NwBtYXR5Z3J5c2E=</auth>
*** User 2024-03-21 08:00:17.209 ***🔗
alicE_unnamed_3167@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-21 08:00:17.209 ***🔗
alicE_unnamed_3167@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-03-21 08:00:17.210 ***🔗
alicE_unnamed_3167@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d068c739f95262aa' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_3167@localhost'>
*** User 2024-03-21 08:00:17.210 ***🔗
alicE_unnamed_3167@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-03-21 08:00:17.210 ***🔗
alicE_unnamed_3167@localhost/res1 out
<iq type='set' id='6df3c5ce3e4fde194b464eb583b70d0f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-21 08:00:17.210 ***🔗
alicE_unnamed_3167@localhost/res1 in
<iq id='6df3c5ce3e4fde194b464eb583b70d0f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unnamed_3167@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-21 08:00:17.210 ***🔗
alice_unnamed_3167@localhost/res1 out
<iq type='set' id='6810fe93f9dba313728f305990c7a778'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:00:17.211 ***🔗
alice_unnamed_3167@localhost/res1 in
<iq from='localhost' to='alice_unnamed_3167@localhost/res1' id='6810fe93f9dba313728f305990c7a778' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:00:17.211 ***🔗
alice_unnamed_3167@localhost/res1 out
<presence/>
*** User 2024-03-21 08:00:17.212 ***🔗
alice_unnamed_3167@localhost/res1 in
<presence from='alice_unnamed_3167@localhost/res1' to='alice_unnamed_3167@localhost/res1'/>
*** User 2024-03-21 08:00:17.213 ***🔗
bOb_unnamed_3167@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-03-21 08:00:17.214 ***🔗
bOb_unnamed_3167@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cc5500c8ab28876d' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-21 08:00:17.214 ***🔗
bOb_unnamed_3167@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-03-21 08:00:17.214 ***🔗
bOb_unnamed_3167@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzMxNjcAbWFrcm9saWth</auth>
*** User 2024-03-21 08:00:17.215 ***🔗
bOb_unnamed_3167@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-21 08:00:17.215 ***🔗
bOb_unnamed_3167@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-03-21 08:00:17.215 ***🔗
bOb_unnamed_3167@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3cd0d9b3206c29ba' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_3167@localhost'>
*** User 2024-03-21 08:00:17.216 ***🔗
bOb_unnamed_3167@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-03-21 08:00:17.216 ***🔗
bOb_unnamed_3167@localhost/res1 out
<iq type='set' id='e9f5e5a98a6b6f810c4653a0a48bf96a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-21 08:00:17.216 ***🔗
bOb_unnamed_3167@localhost/res1 in
<iq id='e9f5e5a98a6b6f810c4653a0a48bf96a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unnamed_3167@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-21 08:00:17.216 ***🔗
bob_unnamed_3167@localhost/res1 out
<iq type='set' id='af77f3f767ce86f6a1a62cf057d4f3c1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:00:17.216 ***🔗
bob_unnamed_3167@localhost/res1 in
<iq from='localhost' to='bob_unnamed_3167@localhost/res1' id='af77f3f767ce86f6a1a62cf057d4f3c1' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:00:17.216 ***🔗
bob_unnamed_3167@localhost/res1 out
<presence/>
*** User 2024-03-21 08:00:17.217 ***🔗
bob_unnamed_3167@localhost/res1 in
<presence from='bob_unnamed_3167@localhost/res1' to='bob_unnamed_3167@localhost/res1'/>
*** User 2024-03-21 08:00:17.218 ***🔗
kate_unnamed_3167@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-03-21 08:00:17.218 ***🔗
kate_unnamed_3167@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d0c166a962b4213f' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-21 08:00:17.218 ***🔗
kate_unnamed_3167@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-03-21 08:00:17.218 ***🔗
kate_unnamed_3167@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5uYW1lZF8zMTY3AG1ha3Jvd2U7cA==</auth>
*** User 2024-03-21 08:00:17.220 ***🔗
kate_unnamed_3167@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-21 08:00:17.220 ***🔗
kate_unnamed_3167@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-03-21 08:00:17.220 ***🔗
kate_unnamed_3167@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4811c1c1ae6003b7' from='localhost' version='1.0' xml:lang='en' to='kate_unnamed_3167@localhost'>
*** User 2024-03-21 08:00:17.220 ***🔗
kate_unnamed_3167@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-03-21 08:00:17.220 ***🔗
kate_unnamed_3167@localhost/res1 out
<iq type='set' id='9e9662f2d5a8814217f4a6bb39ac3e38'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-21 08:00:17.220 ***🔗
kate_unnamed_3167@localhost/res1 in
<iq id='9e9662f2d5a8814217f4a6bb39ac3e38' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_unnamed_3167@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-21 08:00:17.221 ***🔗
kate_unnamed_3167@localhost/res1 out
<iq type='set' id='06cdb322cec32d7e69ebd9c1ebfc87f4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:00:17.221 ***🔗
kate_unnamed_3167@localhost/res1 in
<iq from='localhost' to='kate_unnamed_3167@localhost/res1' id='06cdb322cec32d7e69ebd9c1ebfc87f4' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:00:17.221 ***🔗
kate_unnamed_3167@localhost/res1 out
<presence/>
*** User 2024-03-21 08:00:17.222 ***🔗
kate_unnamed_3167@localhost/res1 in
<presence from='kate_unnamed_3167@localhost/res1' to='kate_unnamed_3167@localhost/res1'/>
*** User 2024-03-21 08:00:17.227 ***🔗
alice_unnamed_3167@localhost/res1 out
<iq type='set' id='d3d6540042bb676aee35e0b565544a3d'>
<enable xmlns='urn:xmpp:push:0' jid='muclight_no_msg_notifications_if_user_online_17.205550@virtual.domain' node='NodeId'/>
</iq>
*** User 2024-03-21 08:00:17.267 ***🔗
alice_unnamed_3167@localhost/res1 in
<iq from='alice_unnamed_3167@localhost' to='alice_unnamed_3167@localhost/res1' id='d3d6540042bb676aee35e0b565544a3d' type='result'/>
*** User 2024-03-21 08:00:17.267 ***🔗
kate_unnamed_3167@localhost/res1 out
<presence type='unavailable'/>
*** User 2024-03-21 08:00:17.368 ***🔗
waiting for wait_for_user_offline is done in 100 miliseconds
*** User 2024-03-21 08:00:17.368 ***🔗
bob_unnamed_3167@localhost/res1 out
<message to='room_muclight_no_msg_notifications_if_user_online@muclight.localhost' type='groupchat'>
<body>Heyah!</body>
</message>
*** User 2024-03-21 08:00:22.369 ***🔗
#{msg_inbox =>
{messages,
[{stanza,<0.17830.2>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_3167@localhost">>},
{<<"to">>,<<"alice_unnamed_3167@localhost">>},
{<<"id">>,<<"1711-8017-370244">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1711008017371827}},
{stanza,<0.17838.2>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_3167@localhost">>},
{<<"to">>,<<"bob_unnamed_3167@localhost">>},
{<<"id">>,<<"1711-8017-370244">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1711008017373020}}]},
result => nomatch}
*** User 2024-03-21 08:00:22.369 ***🔗
kate_unnamed_3167@localhost/res1 out
</stream:stream>
*** User 2024-03-21 08:00:22.370 ***🔗
kate_unnamed_3167@localhost/res1 in
</stream:stream>
*** User 2024-03-21 08:00:22.370 ***🔗
bob_unnamed_3167@localhost/res1 out
</stream:stream>
*** User 2024-03-21 08:00:22.370 ***🔗
bob_unnamed_3167@localhost/res1 in
</stream:stream>
*** User 2024-03-21 08:00:22.370 ***🔗
alice_unnamed_3167@localhost/res1 out
</stream:stream>
*** User 2024-03-21 08:00:22.370 ***🔗
alice_unnamed_3167@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-21 08:00:22
=== successfully completed test case
=== === Returned value: ok