=== Test case: push_SUITE:muclight_no_msg_notifications_if_user_online/1 (click for source code)
=== Config value:
[{watchdog,<0.75827.0>},
{pubsub_host,real},
{preset,"pgsql_cets"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/push_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@e5991d55cb5f.2024-04-10_07.52.47/big_tests.tests.push_SUITE.logs/run.2024-04-10_08.05.56/push_suite.muclight_no_msg_notifications_if_user_online.188546.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@e5991d55cb5f.2024-04-10_07.52.47/big_tests.tests.push_SUITE.logs/run.2024-04-10_08.05.56/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,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
backend => cets,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_carboncopy => #{iqdisc => no_queue},
mod_bosh =>
#{backend => cets,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@e5991d55cb5f.2024-04-10_07.52.47"
=== Started at 2024-04-10 08:06:02
*** User 2024-04-10 08:06:02.448 ***🔗
alicE_unnamed_2804@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 08:06:02.449 ***🔗
alicE_unnamed_2804@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2f5204b5e6195667' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-10 08:06:02.449 ***🔗
alicE_unnamed_2804@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 08:06:02.449 ***🔗
alicE_unnamed_2804@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMjgwNABtYXR5Z3J5c2E=</auth>
*** User 2024-04-10 08:06:02.451 ***🔗
alicE_unnamed_2804@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 08:06:02.451 ***🔗
alicE_unnamed_2804@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 08:06:02.451 ***🔗
alicE_unnamed_2804@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0382f20d24d6be8c' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_2804@localhost'>
*** User 2024-04-10 08:06:02.451 ***🔗
alicE_unnamed_2804@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 08:06:02.451 ***🔗
alicE_unnamed_2804@localhost/res1 out
<iq type='set' id='52de5ae192425b015ac7daee8a80d35b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 08:06:02.452 ***🔗
alicE_unnamed_2804@localhost/res1 in
<iq id='52de5ae192425b015ac7daee8a80d35b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unnamed_2804@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-10 08:06:02.452 ***🔗
alice_unnamed_2804@localhost/res1 out
<iq type='set' id='caf47caaaa0b460ae99c7353c8966df9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 08:06:02.454 ***🔗
alice_unnamed_2804@localhost/res1 in
<iq from='localhost' to='alice_unnamed_2804@localhost/res1' id='caf47caaaa0b460ae99c7353c8966df9' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 08:06:02.454 ***🔗
alice_unnamed_2804@localhost/res1 out
<presence/>
*** User 2024-04-10 08:06:02.456 ***🔗
alice_unnamed_2804@localhost/res1 in
<presence from='alice_unnamed_2804@localhost/res1' to='alice_unnamed_2804@localhost/res1'/>
*** User 2024-04-10 08:06:02.457 ***🔗
bOb_unnamed_2804@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 08:06:02.457 ***🔗
bOb_unnamed_2804@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7ae68f970db5c15d' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-10 08:06:02.458 ***🔗
bOb_unnamed_2804@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 08:06:02.458 ***🔗
bOb_unnamed_2804@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzI4MDQAbWFrcm9saWth</auth>
*** User 2024-04-10 08:06:02.460 ***🔗
bOb_unnamed_2804@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 08:06:02.460 ***🔗
bOb_unnamed_2804@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 08:06:02.462 ***🔗
bOb_unnamed_2804@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ffbfd5d1d0c9bf5c' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_2804@localhost'>
*** User 2024-04-10 08:06:02.462 ***🔗
bOb_unnamed_2804@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 08:06:02.462 ***🔗
bOb_unnamed_2804@localhost/res1 out
<iq type='set' id='39a0bb69e45c56ab53bc10d165eca63f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 08:06:02.463 ***🔗
bOb_unnamed_2804@localhost/res1 in
<iq id='39a0bb69e45c56ab53bc10d165eca63f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unnamed_2804@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-10 08:06:02.463 ***🔗
bob_unnamed_2804@localhost/res1 out
<iq type='set' id='2023917d043a132705791415058ee935'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 08:06:02.464 ***🔗
bob_unnamed_2804@localhost/res1 in
<iq from='localhost' to='bob_unnamed_2804@localhost/res1' id='2023917d043a132705791415058ee935' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 08:06:02.464 ***🔗
bob_unnamed_2804@localhost/res1 out
<presence/>
*** User 2024-04-10 08:06:02.465 ***🔗
bob_unnamed_2804@localhost/res1 in
<presence from='bob_unnamed_2804@localhost/res1' to='bob_unnamed_2804@localhost/res1'/>
*** User 2024-04-10 08:06:02.466 ***🔗
kate_unnamed_2804@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 08:06:02.466 ***🔗
kate_unnamed_2804@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b085fa31dd27a19' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-10 08:06:02.466 ***🔗
kate_unnamed_2804@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 08:06:02.466 ***🔗
kate_unnamed_2804@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5uYW1lZF8yODA0AG1ha3Jvd2U7cA==</auth>
*** User 2024-04-10 08:06:02.468 ***🔗
kate_unnamed_2804@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 08:06:02.468 ***🔗
kate_unnamed_2804@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 08:06:02.468 ***🔗
kate_unnamed_2804@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1c1d48728d6081a8' from='localhost' version='1.0' xml:lang='en' to='kate_unnamed_2804@localhost'>
*** User 2024-04-10 08:06:02.468 ***🔗
kate_unnamed_2804@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 08:06:02.468 ***🔗
kate_unnamed_2804@localhost/res1 out
<iq type='set' id='31eb52efcafe0f6d5a4a3986450e85ed'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 08:06:02.469 ***🔗
kate_unnamed_2804@localhost/res1 in
<iq id='31eb52efcafe0f6d5a4a3986450e85ed' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_unnamed_2804@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-10 08:06:02.469 ***🔗
kate_unnamed_2804@localhost/res1 out
<iq type='set' id='82ace8dbc3cbfdebb0116b6658ddaf53'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 08:06:02.469 ***🔗
kate_unnamed_2804@localhost/res1 in
<iq from='localhost' to='kate_unnamed_2804@localhost/res1' id='82ace8dbc3cbfdebb0116b6658ddaf53' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 08:06:02.470 ***🔗
kate_unnamed_2804@localhost/res1 out
<presence/>
*** User 2024-04-10 08:06:02.471 ***🔗
kate_unnamed_2804@localhost/res1 in
<presence from='kate_unnamed_2804@localhost/res1' to='kate_unnamed_2804@localhost/res1'/>
*** User 2024-04-10 08:06:02.479 ***🔗
alice_unnamed_2804@localhost/res1 out
<iq type='set' id='d8a46e006ab3af8ad3741c2d7d9fff48'>
<enable xmlns='urn:xmpp:push:0' jid='pub-sub@muclight_no_msg_notifications_if_user_online_62.446333' node='NodeId'/>
</iq>
*** User 2024-04-10 08:06:02.483 ***🔗
alice_unnamed_2804@localhost/res1 in
<iq from='alice_unnamed_2804@localhost' to='alice_unnamed_2804@localhost/res1' id='d8a46e006ab3af8ad3741c2d7d9fff48' type='result'/>
*** User 2024-04-10 08:06:02.483 ***🔗
kate_unnamed_2804@localhost/res1 out
<presence type='unavailable'/>
*** User 2024-04-10 08:06:02.484 ***🔗
waiting for wait_for_user_offline is done in 0 miliseconds
*** User 2024-04-10 08:06:02.484 ***🔗
bob_unnamed_2804@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 08:06:07.485 ***🔗
#{result => nomatch,
msg_inbox =>
{messages,
[{stanza,<0.75870.0>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_2804@localhost">>},
{<<"to">>,<<"alice_unnamed_2804@localhost">>},
{<<"id">>,<<"1712-736362-485464">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1712736362488024}},
{stanza,<0.75879.0>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_2804@localhost">>},
{<<"to">>,<<"bob_unnamed_2804@localhost">>},
{<<"id">>,<<"1712-736362-485464">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1712736362495776}}]}}
*** User 2024-04-10 08:06:07.485 ***🔗
kate_unnamed_2804@localhost/res1 out
</stream:stream>
*** User 2024-04-10 08:06:07.486 ***🔗
kate_unnamed_2804@localhost/res1 in
</stream:stream>
*** User 2024-04-10 08:06:07.486 ***🔗
bob_unnamed_2804@localhost/res1 out
</stream:stream>
*** User 2024-04-10 08:06:07.486 ***🔗
bob_unnamed_2804@localhost/res1 in
</stream:stream>
*** User 2024-04-10 08:06:07.486 ***🔗
alice_unnamed_2804@localhost/res1 out
</stream:stream>
*** User 2024-04-10 08:06:07.486 ***🔗
alice_unnamed_2804@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-10 08:06:07
=== successfully completed test case
=== === Returned value: ok