=== Test case: push_SUITE:muclight_no_msg_notifications_if_user_online/1 (click for source code)
=== Config value:
[{watchdog,<0.82256.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@327be9dfa6e9.2024-03-12_09.45.11/big_tests.tests.push_SUITE.logs/run.2024-03-12_09.59.52/push_suite.muclight_no_msg_notifications_if_user_online.124932.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@327be9dfa6e9.2024-03-12_09.45.11/big_tests.tests.push_SUITE.logs/run.2024-03-12_09.59.52/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@327be9dfa6e9.2024-03-12_09.45.11"
=== Started at 2024-03-12 09:59:57
*** User 2024-03-12 09:59:57.864 ***🔗
alicE_unnamed_3166@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-12 09:59:57.865 ***🔗
alicE_unnamed_3166@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4d936549789717b0' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-12 09:59:57.865 ***🔗
alicE_unnamed_3166@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-12 09:59:57.865 ***🔗
alicE_unnamed_3166@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMzE2NgBtYXR5Z3J5c2E=</auth>
*** User 2024-03-12 09:59:57.866 ***🔗
alicE_unnamed_3166@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-12 09:59:57.866 ***🔗
alicE_unnamed_3166@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-12 09:59:57.866 ***🔗
alicE_unnamed_3166@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cf1e5dc732388580' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_3166@localhost'>
*** User 2024-03-12 09:59:57.866 ***🔗
alicE_unnamed_3166@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-12 09:59:57.866 ***🔗
alicE_unnamed_3166@localhost/res1 out
<iq type='set' id='02bd2e0fffcf50d7745c848714add269'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-12 09:59:57.867 ***🔗
alicE_unnamed_3166@localhost/res1 in
<iq id='02bd2e0fffcf50d7745c848714add269' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unnamed_3166@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-12 09:59:57.867 ***🔗
alice_unnamed_3166@localhost/res1 out
<iq type='set' id='8c4078b539b4162169e6d89feb2067fd'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-12 09:59:57.867 ***🔗
alice_unnamed_3166@localhost/res1 in
<iq from='localhost' to='alice_unnamed_3166@localhost/res1' id='8c4078b539b4162169e6d89feb2067fd' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-12 09:59:57.867 ***🔗
alice_unnamed_3166@localhost/res1 out
<presence/>
*** User 2024-03-12 09:59:57.869 ***🔗
alice_unnamed_3166@localhost/res1 in
<presence from='alice_unnamed_3166@localhost/res1' to='alice_unnamed_3166@localhost/res1'/>
*** User 2024-03-12 09:59:57.869 ***🔗
bOb_unnamed_3166@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-12 09:59:57.869 ***🔗
bOb_unnamed_3166@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a81c7a0254210066' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-12 09:59:57.870 ***🔗
bOb_unnamed_3166@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-12 09:59:57.870 ***🔗
bOb_unnamed_3166@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzMxNjYAbWFrcm9saWth</auth>
*** User 2024-03-12 09:59:57.870 ***🔗
bOb_unnamed_3166@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-12 09:59:57.870 ***🔗
bOb_unnamed_3166@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-12 09:59:57.871 ***🔗
bOb_unnamed_3166@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3895629e4b8f7a86' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_3166@localhost'>
*** User 2024-03-12 09:59:57.871 ***🔗
bOb_unnamed_3166@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-12 09:59:57.871 ***🔗
bOb_unnamed_3166@localhost/res1 out
<iq type='set' id='7fd0378bdb7b0c6989338e148ddfdd92'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-12 09:59:57.871 ***🔗
bOb_unnamed_3166@localhost/res1 in
<iq id='7fd0378bdb7b0c6989338e148ddfdd92' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unnamed_3166@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-12 09:59:57.871 ***🔗
bob_unnamed_3166@localhost/res1 out
<iq type='set' id='9bd0d8925b277be6397c3f88e4ad1112'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-12 09:59:57.872 ***🔗
bob_unnamed_3166@localhost/res1 in
<iq from='localhost' to='bob_unnamed_3166@localhost/res1' id='9bd0d8925b277be6397c3f88e4ad1112' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-12 09:59:57.872 ***🔗
bob_unnamed_3166@localhost/res1 out
<presence/>
*** User 2024-03-12 09:59:57.873 ***🔗
bob_unnamed_3166@localhost/res1 in
<presence from='bob_unnamed_3166@localhost/res1' to='bob_unnamed_3166@localhost/res1'/>
*** User 2024-03-12 09:59:57.874 ***🔗
kate_unnamed_3166@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-12 09:59:57.874 ***🔗
kate_unnamed_3166@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='759fe66d7e0bc17d' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-12 09:59:57.874 ***🔗
kate_unnamed_3166@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-12 09:59:57.874 ***🔗
kate_unnamed_3166@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5uYW1lZF8zMTY2AG1ha3Jvd2U7cA==</auth>
*** User 2024-03-12 09:59:57.875 ***🔗
kate_unnamed_3166@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-12 09:59:57.875 ***🔗
kate_unnamed_3166@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-12 09:59:57.875 ***🔗
kate_unnamed_3166@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5ca8d10882e0c652' from='localhost' version='1.0' xml:lang='en' to='kate_unnamed_3166@localhost'>
*** User 2024-03-12 09:59:57.875 ***🔗
kate_unnamed_3166@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-12 09:59:57.876 ***🔗
kate_unnamed_3166@localhost/res1 out
<iq type='set' id='c8c2388d5b83bc3d895bdce5a9445f03'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-12 09:59:57.876 ***🔗
kate_unnamed_3166@localhost/res1 in
<iq id='c8c2388d5b83bc3d895bdce5a9445f03' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_unnamed_3166@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-12 09:59:57.876 ***🔗
kate_unnamed_3166@localhost/res1 out
<iq type='set' id='aeb1f3d0278ff84e720050f20a3e44d7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-12 09:59:57.876 ***🔗
kate_unnamed_3166@localhost/res1 in
<iq from='localhost' to='kate_unnamed_3166@localhost/res1' id='aeb1f3d0278ff84e720050f20a3e44d7' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-12 09:59:57.876 ***🔗
kate_unnamed_3166@localhost/res1 out
<presence/>
*** User 2024-03-12 09:59:57.881 ***🔗
kate_unnamed_3166@localhost/res1 in
<presence from='kate_unnamed_3166@localhost/res1' to='kate_unnamed_3166@localhost/res1'/>
*** User 2024-03-12 09:59:57.886 ***🔗
alice_unnamed_3166@localhost/res1 out
<iq type='set' id='c72d407a8e8b90f9a4021d63b324a711'>
<enable xmlns='urn:xmpp:push:0' jid='pub-sub@muclight_no_msg_notifications_if_user_online_97.862545' node='NodeId'/>
</iq>
*** User 2024-03-12 09:59:57.889 ***🔗
alice_unnamed_3166@localhost/res1 in
<iq from='alice_unnamed_3166@localhost' to='alice_unnamed_3166@localhost/res1' id='c72d407a8e8b90f9a4021d63b324a711' type='result'/>
*** User 2024-03-12 09:59:57.889 ***🔗
kate_unnamed_3166@localhost/res1 out
<presence type='unavailable'/>
*** User 2024-03-12 09:59:57.889 ***🔗
waiting for wait_for_user_offline is done in 0 miliseconds
*** User 2024-03-12 09:59:57.889 ***🔗
bob_unnamed_3166@localhost/res1 out
<message type='groupchat' to='room_muclight_no_msg_notifications_if_user_online@muclight.localhost'>
<body>Heyah!</body>
</message>
*** User 2024-03-12 10:00:02.891 ***🔗
#{result => nomatch,
msg_inbox =>
{messages,
[{stanza,<0.82297.0>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_3166@localhost">>},
{<<"to">>,<<"alice_unnamed_3166@localhost">>},
{<<"id">>,<<"1710-237597-890605">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1710237597893016}},
{stanza,<0.82308.0>,
{xmlel,<<"message">>,
[{<<"from">>,
<<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_3166@localhost">>},
{<<"to">>,<<"bob_unnamed_3166@localhost">>},
{<<"id">>,<<"1710-237597-890605">>},
{<<"type">>,<<"groupchat">>}],
[{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
#{recv_timestamp => 1710237597894444}}]}}
*** User 2024-03-12 10:00:02.891 ***🔗
kate_unnamed_3166@localhost/res1 out
</stream:stream>
*** User 2024-03-12 10:00:02.891 ***🔗
kate_unnamed_3166@localhost/res1 in
</stream:stream>
*** User 2024-03-12 10:00:02.891 ***🔗
bob_unnamed_3166@localhost/res1 out
</stream:stream>
*** User 2024-03-12 10:00:02.892 ***🔗
bob_unnamed_3166@localhost/res1 in
</stream:stream>
*** User 2024-03-12 10:00:02.892 ***🔗
alice_unnamed_3166@localhost/res1 out
</stream:stream>
*** User 2024-03-12 10:00:02.892 ***🔗
alice_unnamed_3166@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-12 10:00:02
=== successfully completed test case
=== === Returned value: ok