=== Test case: push_SUITE:muclight_no_msg_notifications_if_user_online/1 (click for source code)
=== Config value:
[{watchdog,<0.99961.0>},
{pubsub_host,real},
{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@9e4a8689b615.2024-04-16_10.12.19/big_tests.tests.push_SUITE.logs/run.2024-04-16_10.28.11/push_suite.muclight_no_msg_notifications_if_user_online.211843.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@9e4a8689b615.2024-04-16_10.12.19/big_tests.tests.push_SUITE.logs/run.2024-04-16_10.28.11/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_amp => #{},
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_presence => #{},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
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_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@9e4a8689b615.2024-04-16_10.12.19"
=== Started at 2024-04-16 10:28:16
*** User 2024-04-16 10:28:16.963 ***🔗
alicE_unnamed_3851@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-16 10:28:16.964 ***🔗
alicE_unnamed_3851@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5e442c3ad40b223b' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 10:28:16.964 ***🔗
alicE_unnamed_3851@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-16 10:28:16.965 ***🔗
alicE_unnamed_3851@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMzg1MQBtYXR5Z3J5c2E=</auth>
*** User 2024-04-16 10:28:16.967 ***🔗
alicE_unnamed_3851@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 10:28:16.967 ***🔗
alicE_unnamed_3851@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-16 10:28:16.967 ***🔗
alicE_unnamed_3851@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fe7cd07ed19ca42b' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_3851@localhost'>
*** User 2024-04-16 10:28:16.967 ***🔗
alicE_unnamed_3851@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-16 10:28:16.968 ***🔗
alicE_unnamed_3851@localhost/res1 out
<iq type='set' id='bb423cab8a934531facd6fb67acf9b94'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 10:28:16.968 ***🔗
alicE_unnamed_3851@localhost/res1 in
<iq id='bb423cab8a934531facd6fb67acf9b94' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unnamed_3851@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 10:28:16.968 ***🔗
alice_unnamed_3851@localhost/res1 out
<iq type='set' id='02c778ca127cbdd0b25c169317459b2e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:28:16.968 ***🔗
alice_unnamed_3851@localhost/res1 in
<iq from='localhost' to='alice_unnamed_3851@localhost/res1' id='02c778ca127cbdd0b25c169317459b2e' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:28:16.969 ***🔗
alice_unnamed_3851@localhost/res1 out
<presence/>
*** User 2024-04-16 10:28:16.969 ***🔗
alice_unnamed_3851@localhost/res1 in
<presence from='alice_unnamed_3851@localhost/res1' to='alice_unnamed_3851@localhost/res1'/>
*** User 2024-04-16 10:28:16.970 ***🔗
bOb_unnamed_3851@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-16 10:28:16.970 ***🔗
bOb_unnamed_3851@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='99063311474f8eeb' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 10:28:16.970 ***🔗
bOb_unnamed_3851@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-16 10:28:16.970 ***🔗
bOb_unnamed_3851@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzM4NTEAbWFrcm9saWth</auth>
*** User 2024-04-16 10:28:16.971 ***🔗
bOb_unnamed_3851@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 10:28:16.971 ***🔗
bOb_unnamed_3851@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-16 10:28:16.972 ***🔗
bOb_unnamed_3851@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1c1c07201b4dc8cb' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_3851@localhost'>
*** User 2024-04-16 10:28:16.972 ***🔗
bOb_unnamed_3851@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-16 10:28:16.972 ***🔗
bOb_unnamed_3851@localhost/res1 out
<iq type='set' id='059f6d90934aade544179df60eea367a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 10:28:16.972 ***🔗
bOb_unnamed_3851@localhost/res1 in
<iq id='059f6d90934aade544179df60eea367a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unnamed_3851@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 10:28:16.972 ***🔗
bob_unnamed_3851@localhost/res1 out
<iq type='set' id='492d22bb55b9060cf4d3d381a9a9a5ba'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:28:16.972 ***🔗
bob_unnamed_3851@localhost/res1 in
<iq from='localhost' to='bob_unnamed_3851@localhost/res1' id='492d22bb55b9060cf4d3d381a9a9a5ba' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:28:16.972 ***🔗
bob_unnamed_3851@localhost/res1 out
<presence/>
*** User 2024-04-16 10:28:16.973 ***🔗
bob_unnamed_3851@localhost/res1 in
<presence from='bob_unnamed_3851@localhost/res1' to='bob_unnamed_3851@localhost/res1'/>
*** User 2024-04-16 10:28:16.974 ***🔗
kate_unnamed_3851@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-16 10:28:16.974 ***🔗
kate_unnamed_3851@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f232effcd16f49fe' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 10:28:16.974 ***🔗
kate_unnamed_3851@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-16 10:28:16.974 ***🔗
kate_unnamed_3851@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5uYW1lZF8zODUxAG1ha3Jvd2U7cA==</auth>
*** User 2024-04-16 10:28:16.975 ***🔗
kate_unnamed_3851@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 10:28:16.975 ***🔗
kate_unnamed_3851@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-16 10:28:16.975 ***🔗
kate_unnamed_3851@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b3f5bd847d2ff20b' from='localhost' version='1.0' xml:lang='en' to='kate_unnamed_3851@localhost'>
*** User 2024-04-16 10:28:16.975 ***🔗
kate_unnamed_3851@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-16 10:28:16.975 ***🔗
kate_unnamed_3851@localhost/res1 out
<iq type='set' id='fa448acff95a50b2bd950b7ae72640df'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 10:28:16.975 ***🔗
kate_unnamed_3851@localhost/res1 in
<iq id='fa448acff95a50b2bd950b7ae72640df' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_unnamed_3851@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 10:28:16.975 ***🔗
kate_unnamed_3851@localhost/res1 out
<iq type='set' id='30585b1071c5ce662f62031745e84fbd'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:28:16.976 ***🔗
kate_unnamed_3851@localhost/res1 in
<iq from='localhost' to='kate_unnamed_3851@localhost/res1' id='30585b1071c5ce662f62031745e84fbd' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:28:16.976 ***🔗
kate_unnamed_3851@localhost/res1 out
<presence/>
*** User 2024-04-16 10:28:16.977 ***🔗
kate_unnamed_3851@localhost/res1 in
<presence from='kate_unnamed_3851@localhost/res1' to='kate_unnamed_3851@localhost/res1'/>
*** User 2024-04-16 10:28:16.981 ***🔗
alice_unnamed_3851@localhost/res1 out
<iq type='set' id='7c29a316cf724157dce00244736fec32'>
<enable xmlns='urn:xmpp:push:0' jid='pub-sub@muclight_no_msg_notifications_if_user_online_96.958189' node='NodeId'/>
</iq>
*** User 2024-04-16 10:28:16.982 ***🔗
alice_unnamed_3851@localhost/res1 in
<iq from='alice_unnamed_3851@localhost' to='alice_unnamed_3851@localhost/res1' id='7c29a316cf724157dce00244736fec32' type='result'/>
*** User 2024-04-16 10:28:16.982 ***🔗
kate_unnamed_3851@localhost/res1 out
<presence type='unavailable'/>
*** User 2024-04-16 10:28:16.982 ***🔗
waiting for wait_for_user_offline is done in 0 miliseconds
*** User 2024-04-16 10:28:16.982 ***🔗
bob_unnamed_3851@localhost/res1 out
<message type='groupchat' to='room_muclight_no_msg_notifications_if_user_online@muclight.localhost'>
<body>Heyah!</body>
</message>
*** User 2024-04-16 10:28:21.983 ***🔗
#{result => nomatch,
msg_inbox =>
{messages,
[{stanza,<0.100001.0>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_3851@localhost">>},
{<<"to">>,<<"alice_unnamed_3851@localhost">>},
{<<"id">>,<<"1713-263296-983739">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1713263296987077}},
{stanza,<0.100012.0>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_3851@localhost">>},
{<<"to">>,<<"bob_unnamed_3851@localhost">>},
{<<"id">>,<<"1713-263296-983739">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1713263296988274}}]}}
*** User 2024-04-16 10:28:21.983 ***🔗
kate_unnamed_3851@localhost/res1 out
</stream:stream>
*** User 2024-04-16 10:28:21.983 ***🔗
kate_unnamed_3851@localhost/res1 in
</stream:stream>
*** User 2024-04-16 10:28:21.984 ***🔗
bob_unnamed_3851@localhost/res1 out
</stream:stream>
*** User 2024-04-16 10:28:21.984 ***🔗
bob_unnamed_3851@localhost/res1 in
</stream:stream>
*** User 2024-04-16 10:28:21.984 ***🔗
alice_unnamed_3851@localhost/res1 out
</stream:stream>
*** User 2024-04-16 10:28:21.984 ***🔗
alice_unnamed_3851@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-16 10:28:22
=== successfully completed test case
=== === Returned value: ok