=== Test case: push_SUITE:muclight_no_msg_notifications_if_user_online/1 (click for source code)
=== Config value:
[{watchdog,<0.82795.0>},
{pubsub_host,virtual},
{preset,"mysql_redis"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/push_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@b55f3c2e567c.2024-04-10_14.23.59/big_tests.tests.push_SUITE.logs/run.2024-04-10_14.37.39/push_suite.muclight_no_msg_notifications_if_user_online.119812.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@b55f3c2e567c.2024-04-10_14.23.59/big_tests.tests.push_SUITE.logs/run.2024-04-10_14.37.39/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,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_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},
mod_carboncopy => #{iqdisc => no_queue}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@b55f3c2e567c.2024-04-10_14.23.59"
=== Started at 2024-04-10 14:37:55
*** User 2024-04-10 14:37:55.618 ***🔗
alicE_unnamed_3060@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 14:37:55.619 ***🔗
alicE_unnamed_3060@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2d75b46f7c128363' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-10 14:37:55.619 ***🔗
alicE_unnamed_3060@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 14:37:55.619 ***🔗
alicE_unnamed_3060@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMzA2MABtYXR5Z3J5c2E=</auth>
*** User 2024-04-10 14:37:55.640 ***🔗
alicE_unnamed_3060@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 14:37:55.640 ***🔗
alicE_unnamed_3060@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 14:37:55.641 ***🔗
alicE_unnamed_3060@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='35ce934cabb2a931' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_3060@localhost'>
*** User 2024-04-10 14:37:55.641 ***🔗
alicE_unnamed_3060@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 14:37:55.641 ***🔗
alicE_unnamed_3060@localhost/res1 out
<iq type='set' id='fa65bf6ab95ee92ab5b6ca3d9f58b08f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 14:37:55.642 ***🔗
alicE_unnamed_3060@localhost/res1 in
<iq id='fa65bf6ab95ee92ab5b6ca3d9f58b08f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unnamed_3060@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-10 14:37:55.642 ***🔗
alice_unnamed_3060@localhost/res1 out
<iq type='set' id='f8b4020874b7b20626460c9b8f29aa43'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 14:37:55.643 ***🔗
alice_unnamed_3060@localhost/res1 in
<iq from='localhost' to='alice_unnamed_3060@localhost/res1' id='f8b4020874b7b20626460c9b8f29aa43' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 14:37:55.644 ***🔗
alice_unnamed_3060@localhost/res1 out
<presence/>
*** User 2024-04-10 14:37:55.646 ***🔗
alice_unnamed_3060@localhost/res1 in
<presence from='alice_unnamed_3060@localhost/res1' to='alice_unnamed_3060@localhost/res1'/>
*** User 2024-04-10 14:37:55.646 ***🔗
bOb_unnamed_3060@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 14:37:55.647 ***🔗
bOb_unnamed_3060@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='38678444c9499e90' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-10 14:37:55.647 ***🔗
bOb_unnamed_3060@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 14:37:55.647 ***🔗
bOb_unnamed_3060@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzMwNjAAbWFrcm9saWth</auth>
*** User 2024-04-10 14:37:55.650 ***🔗
bOb_unnamed_3060@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 14:37:55.650 ***🔗
bOb_unnamed_3060@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 14:37:55.650 ***🔗
bOb_unnamed_3060@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='168ca647e9699b40' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_3060@localhost'>
*** User 2024-04-10 14:37:55.650 ***🔗
bOb_unnamed_3060@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 14:37:55.650 ***🔗
bOb_unnamed_3060@localhost/res1 out
<iq type='set' id='b764d3a69d65142c8aa6afc2ab520228'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 14:37:55.650 ***🔗
bOb_unnamed_3060@localhost/res1 in
<iq id='b764d3a69d65142c8aa6afc2ab520228' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unnamed_3060@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-10 14:37:55.650 ***🔗
bob_unnamed_3060@localhost/res1 out
<iq type='set' id='69bb17d3a846269abd1f7682255ec070'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 14:37:55.651 ***🔗
bob_unnamed_3060@localhost/res1 in
<iq from='localhost' to='bob_unnamed_3060@localhost/res1' id='69bb17d3a846269abd1f7682255ec070' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 14:37:55.651 ***🔗
bob_unnamed_3060@localhost/res1 out
<presence/>
*** User 2024-04-10 14:37:55.655 ***🔗
bob_unnamed_3060@localhost/res1 in
<presence from='bob_unnamed_3060@localhost/res1' to='bob_unnamed_3060@localhost/res1'/>
*** User 2024-04-10 14:37:55.656 ***🔗
kate_unnamed_3060@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 14:37:55.657 ***🔗
kate_unnamed_3060@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d05d15236df7cdff' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-10 14:37:55.657 ***🔗
kate_unnamed_3060@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 14:37:55.657 ***🔗
kate_unnamed_3060@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5uYW1lZF8zMDYwAG1ha3Jvd2U7cA==</auth>
*** User 2024-04-10 14:37:55.659 ***🔗
kate_unnamed_3060@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 14:37:55.659 ***🔗
kate_unnamed_3060@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 14:37:55.659 ***🔗
kate_unnamed_3060@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3fd283d0bf12bcda' from='localhost' version='1.0' xml:lang='en' to='kate_unnamed_3060@localhost'>
*** User 2024-04-10 14:37:55.659 ***🔗
kate_unnamed_3060@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 14:37:55.659 ***🔗
kate_unnamed_3060@localhost/res1 out
<iq type='set' id='a023c3fcd7db7779f4858c41223a01f7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 14:37:55.660 ***🔗
kate_unnamed_3060@localhost/res1 in
<iq id='a023c3fcd7db7779f4858c41223a01f7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_unnamed_3060@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-10 14:37:55.660 ***🔗
kate_unnamed_3060@localhost/res1 out
<iq type='set' id='22728267941fc2fdc441e58efbe4171d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 14:37:55.661 ***🔗
kate_unnamed_3060@localhost/res1 in
<iq from='localhost' to='kate_unnamed_3060@localhost/res1' id='22728267941fc2fdc441e58efbe4171d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 14:37:55.661 ***🔗
kate_unnamed_3060@localhost/res1 out
<presence/>
*** User 2024-04-10 14:37:55.662 ***🔗
kate_unnamed_3060@localhost/res1 in
<presence from='kate_unnamed_3060@localhost/res1' to='kate_unnamed_3060@localhost/res1'/>
*** User 2024-04-10 14:37:55.665 ***🔗
alice_unnamed_3060@localhost/res1 out
<iq type='set' id='68a11aabd01fb303949b2a7570224e04'>
<enable xmlns='urn:xmpp:push:0' jid='muclight_no_msg_notifications_if_user_online_75.615227@virtual.domain' node='NodeId'/>
</iq>
*** User 2024-04-10 14:37:55.668 ***🔗
alice_unnamed_3060@localhost/res1 in
<iq from='alice_unnamed_3060@localhost' to='alice_unnamed_3060@localhost/res1' id='68a11aabd01fb303949b2a7570224e04' type='result'/>
*** User 2024-04-10 14:37:55.668 ***🔗
kate_unnamed_3060@localhost/res1 out
<presence type='unavailable'/>
*** User 2024-04-10 14:37:55.770 ***🔗
waiting for wait_for_user_offline is done in 100 miliseconds
*** User 2024-04-10 14:37:55.770 ***🔗
bob_unnamed_3060@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 14:38:00.770 ***🔗
#{result => nomatch,
msg_inbox =>
{messages,
[{stanza,<0.82844.0>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_3060@localhost">>},
{<<"to">>,<<"alice_unnamed_3060@localhost">>},
{<<"id">>,<<"1712-759875-771234">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1712759875773538}},
{stanza,<0.82850.0>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_3060@localhost">>},
{<<"to">>,<<"bob_unnamed_3060@localhost">>},
{<<"id">>,<<"1712-759875-771234">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1712759875775813}}]}}
*** User 2024-04-10 14:38:00.770 ***🔗
kate_unnamed_3060@localhost/res1 out
</stream:stream>
*** User 2024-04-10 14:38:00.771 ***🔗
kate_unnamed_3060@localhost/res1 in
</stream:stream>
*** User 2024-04-10 14:38:00.771 ***🔗
bob_unnamed_3060@localhost/res1 out
</stream:stream>
*** User 2024-04-10 14:38:00.771 ***🔗
bob_unnamed_3060@localhost/res1 in
</stream:stream>
*** User 2024-04-10 14:38:00.771 ***🔗
alice_unnamed_3060@localhost/res1 out
</stream:stream>
*** User 2024-04-10 14:38:00.772 ***🔗
alice_unnamed_3060@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-10 14:38:00
=== successfully completed test case
=== === Returned value: ok