=== Test case: push_SUITE:muclight_no_msg_notifications_if_user_online/1 (click for source code)
=== Config value:
[{watchdog,<0.81592.0>},
{pubsub_host,real},
{preset,"odbc_mssql_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@b4ad729f7f38.2024-03-11_11.28.48/big_tests.tests.push_SUITE.logs/run.2024-03-11_11.45.05/push_suite.muclight_no_msg_notifications_if_user_online.200578.html"},
{tc_group_properties,[{name,muclight_msg_notifications},parallel]},
{tc_group_path,[[{name,pubsub_ful}]]},
{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@b4ad729f7f38.2024-03-11_11.28.48/big_tests.tests.push_SUITE.logs/run.2024-03-11_11.45.05/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_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_amp => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
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@b4ad729f7f38.2024-03-11_11.28.48"
=== Started at 2024-03-11 11:45:11
*** User 2024-03-11 11:45:11.432 ***🔗
alicE_unnamed_3155@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-11 11:45:11.433 ***🔗
alicE_unnamed_3155@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='51f040ccdc058a1c' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:45:11.433 ***🔗
alicE_unnamed_3155@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-11 11:45:11.433 ***🔗
alicE_unnamed_3155@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMzE1NQBtYXR5Z3J5c2E=</auth>
*** User 2024-03-11 11:45:11.434 ***🔗
alicE_unnamed_3155@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:45:11.434 ***🔗
alicE_unnamed_3155@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-11 11:45:11.434 ***🔗
alicE_unnamed_3155@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='27e07883acc2f0df' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_3155@localhost'>
*** User 2024-03-11 11:45:11.435 ***🔗
alicE_unnamed_3155@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-11 11:45:11.435 ***🔗
alicE_unnamed_3155@localhost/res1 out
<iq type='set' id='f11880679f60d80987aa3a0dc5b2eaec'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 11:45:11.435 ***🔗
alicE_unnamed_3155@localhost/res1 in
<iq id='f11880679f60d80987aa3a0dc5b2eaec' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unnamed_3155@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 11:45:11.435 ***🔗
alice_unnamed_3155@localhost/res1 out
<iq type='set' id='2f281ddc24fd334466b58423d0354188'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:45:11.435 ***🔗
alice_unnamed_3155@localhost/res1 in
<iq from='localhost' to='alice_unnamed_3155@localhost/res1' id='2f281ddc24fd334466b58423d0354188' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:45:11.436 ***🔗
alice_unnamed_3155@localhost/res1 out
<presence/>
*** User 2024-03-11 11:45:11.436 ***🔗
alice_unnamed_3155@localhost/res1 in
<presence from='alice_unnamed_3155@localhost/res1' to='alice_unnamed_3155@localhost/res1'/>
*** User 2024-03-11 11:45:11.437 ***🔗
bOb_unnamed_3155@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-11 11:45:11.437 ***🔗
bOb_unnamed_3155@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1b04877165762751' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:45:11.437 ***🔗
bOb_unnamed_3155@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-11 11:45:11.437 ***🔗
bOb_unnamed_3155@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzMxNTUAbWFrcm9saWth</auth>
*** User 2024-03-11 11:45:11.438 ***🔗
bOb_unnamed_3155@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:45:11.438 ***🔗
bOb_unnamed_3155@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-11 11:45:11.439 ***🔗
bOb_unnamed_3155@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='33fd3edb9f2c1c0f' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_3155@localhost'>
*** User 2024-03-11 11:45:11.439 ***🔗
bOb_unnamed_3155@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-11 11:45:11.439 ***🔗
bOb_unnamed_3155@localhost/res1 out
<iq type='set' id='0088d26e5561ed73448a6efefff78ec0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 11:45:11.439 ***🔗
bOb_unnamed_3155@localhost/res1 in
<iq id='0088d26e5561ed73448a6efefff78ec0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unnamed_3155@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 11:45:11.439 ***🔗
bob_unnamed_3155@localhost/res1 out
<iq type='set' id='42f42041ccdd630f59b6c5b14384c7a4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:45:11.439 ***🔗
bob_unnamed_3155@localhost/res1 in
<iq from='localhost' to='bob_unnamed_3155@localhost/res1' id='42f42041ccdd630f59b6c5b14384c7a4' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:45:11.440 ***🔗
bob_unnamed_3155@localhost/res1 out
<presence/>
*** User 2024-03-11 11:45:11.442 ***🔗
bob_unnamed_3155@localhost/res1 in
<presence from='bob_unnamed_3155@localhost/res1' to='bob_unnamed_3155@localhost/res1'/>
*** User 2024-03-11 11:45:11.442 ***🔗
kate_unnamed_3155@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-11 11:45:11.443 ***🔗
kate_unnamed_3155@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='71eb9f9d4d05f57f' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:45:11.443 ***🔗
kate_unnamed_3155@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-11 11:45:11.443 ***🔗
kate_unnamed_3155@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5uYW1lZF8zMTU1AG1ha3Jvd2U7cA==</auth>
*** User 2024-03-11 11:45:11.444 ***🔗
kate_unnamed_3155@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:45:11.444 ***🔗
kate_unnamed_3155@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-11 11:45:11.444 ***🔗
kate_unnamed_3155@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='541d4d4bc374b2e3' from='localhost' version='1.0' xml:lang='en' to='kate_unnamed_3155@localhost'>
*** User 2024-03-11 11:45:11.444 ***🔗
kate_unnamed_3155@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-11 11:45:11.444 ***🔗
kate_unnamed_3155@localhost/res1 out
<iq type='set' id='d733d292103d1d73ae06a9e7fad0c629'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 11:45:11.444 ***🔗
kate_unnamed_3155@localhost/res1 in
<iq id='d733d292103d1d73ae06a9e7fad0c629' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_unnamed_3155@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-11 11:45:11.445 ***🔗
kate_unnamed_3155@localhost/res1 out
<iq type='set' id='643c3a417b4e858bbad3141b670f6b06'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:45:11.445 ***🔗
kate_unnamed_3155@localhost/res1 in
<iq from='localhost' to='kate_unnamed_3155@localhost/res1' id='643c3a417b4e858bbad3141b670f6b06' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:45:11.445 ***🔗
kate_unnamed_3155@localhost/res1 out
<presence/>
*** User 2024-03-11 11:45:11.476 ***🔗
kate_unnamed_3155@localhost/res1 in
<presence from='kate_unnamed_3155@localhost/res1' to='kate_unnamed_3155@localhost/res1'/>
*** User 2024-03-11 11:45:11.487 ***🔗
alice_unnamed_3155@localhost/res1 out
<iq type='set' id='d34a1a58df766610f2c9e592756721c1'>
<enable xmlns='urn:xmpp:push:0' jid='pub-sub@muclight_no_msg_notifications_if_user_online_11.428215' node='NodeId'/>
</iq>
*** User 2024-03-11 11:45:11.489 ***🔗
alice_unnamed_3155@localhost/res1 in
<iq from='alice_unnamed_3155@localhost' to='alice_unnamed_3155@localhost/res1' id='d34a1a58df766610f2c9e592756721c1' type='result'/>
*** User 2024-03-11 11:45:11.489 ***🔗
kate_unnamed_3155@localhost/res1 out
<presence type='unavailable'/>
*** User 2024-03-11 11:45:11.489 ***🔗
waiting for wait_for_user_offline is done in 0 miliseconds
*** User 2024-03-11 11:45:11.489 ***🔗
bob_unnamed_3155@localhost/res1 out
<message type='groupchat' to='room_muclight_no_msg_notifications_if_user_online@muclight.localhost'>
<body>Heyah!</body>
</message>
*** User 2024-03-11 11:45:16.490 ***🔗
#{result => nomatch,
msg_inbox =>
{messages,
[{stanza,<0.81633.0>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_3155@localhost">>},
{<<"to">>,<<"alice_unnamed_3155@localhost">>},
{<<"id">>,<<"1710-157511-491088">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1710157511497043}},
{stanza,<0.81634.0>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_3155@localhost">>},
{<<"to">>,<<"bob_unnamed_3155@localhost">>},
{<<"id">>,<<"1710-157511-491088">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1710157511499625}}]}}
*** User 2024-03-11 11:45:16.490 ***🔗
kate_unnamed_3155@localhost/res1 out
</stream:stream>
*** User 2024-03-11 11:45:16.491 ***🔗
kate_unnamed_3155@localhost/res1 in
</stream:stream>
*** User 2024-03-11 11:45:16.491 ***🔗
bob_unnamed_3155@localhost/res1 out
</stream:stream>
*** User 2024-03-11 11:45:16.491 ***🔗
bob_unnamed_3155@localhost/res1 in
</stream:stream>
*** User 2024-03-11 11:45:16.491 ***🔗
alice_unnamed_3155@localhost/res1 out
</stream:stream>
*** User 2024-03-11 11:45:16.491 ***🔗
alice_unnamed_3155@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-11 11:45:16
=== successfully completed test case
=== === Returned value: ok