=== Test case: push_SUITE:muclight_no_msg_notifications_if_user_online/1 (click for source code)

=== Config value:

    [{watchdog,<0.82175.0>},
     {pubsub_host,virtual},
     {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@d44e762df881.2024-03-18_12.53.29/big_tests.tests.push_SUITE.logs/run.2024-03-18_13.09.44/push_suite.muclight_no_msg_notifications_if_user_online.53637.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@d44e762df881.2024-03-18_12.53.29/big_tests.tests.push_SUITE.logs/run.2024-03-18_13.09.44/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_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,buffer_max => 100,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              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@d44e762df881.2024-03-18_12.53.29"

=== Started at 2024-03-18 13:10:01


*** CT 2024-03-18 13:10:01.125 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4770.html

*** User 2024-03-18 13:10:01.141 ***🔗
alicE_unnamed_3294@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-18 13:10:01.142 ***🔗
alicE_unnamed_3294@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4410edab6a134afa' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-18 13:10:01.142 ***🔗
alicE_unnamed_3294@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-18 13:10:01.142 ***🔗
alicE_unnamed_3294@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMzI5NABtYXR5Z3J5c2E=</auth>



*** User 2024-03-18 13:10:01.143 ***🔗
alicE_unnamed_3294@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-18 13:10:01.144 ***🔗
alicE_unnamed_3294@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-18 13:10:01.144 ***🔗
alicE_unnamed_3294@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='53bc5242f3d0cb9f' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_3294@localhost'>

*** User 2024-03-18 13:10:01.144 ***🔗
alicE_unnamed_3294@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-18 13:10:01.144 ***🔗
alicE_unnamed_3294@localhost/res1 out
<iq type='set' id='13b18e868e30f9e7eaaeb45f95b4d53c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-18 13:10:01.145 ***🔗
alicE_unnamed_3294@localhost/res1 in
<iq id='13b18e868e30f9e7eaaeb45f95b4d53c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unnamed_3294@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-18 13:10:01.145 ***🔗
alice_unnamed_3294@localhost/res1 out
<iq type='set' id='d7ffcc03815dbdbbfb80e7337cd79dc3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-18 13:10:01.145 ***🔗
alice_unnamed_3294@localhost/res1 in
<iq from='localhost' to='alice_unnamed_3294@localhost/res1' id='d7ffcc03815dbdbbfb80e7337cd79dc3' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-18 13:10:01.145 ***🔗
alice_unnamed_3294@localhost/res1 out
<presence/>



*** User 2024-03-18 13:10:01.175 ***🔗
alice_unnamed_3294@localhost/res1 in
<presence from='alice_unnamed_3294@localhost/res1' to='alice_unnamed_3294@localhost/res1'/>



*** User 2024-03-18 13:10:01.176 ***🔗
bOb_unnamed_3294@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-18 13:10:01.177 ***🔗
bOb_unnamed_3294@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='68651432828ffdfd' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-18 13:10:01.177 ***🔗
bOb_unnamed_3294@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-18 13:10:01.177 ***🔗
bOb_unnamed_3294@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzMyOTQAbWFrcm9saWth</auth>



*** User 2024-03-18 13:10:01.178 ***🔗
bOb_unnamed_3294@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-18 13:10:01.178 ***🔗
bOb_unnamed_3294@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-18 13:10:01.178 ***🔗
bOb_unnamed_3294@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='45fdbffd1f383075' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_3294@localhost'>

*** User 2024-03-18 13:10:01.179 ***🔗
bOb_unnamed_3294@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-18 13:10:01.179 ***🔗
bOb_unnamed_3294@localhost/res1 out
<iq type='set' id='a786195d17b28c963d44c8f50d409ae0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-18 13:10:01.179 ***🔗
bOb_unnamed_3294@localhost/res1 in
<iq id='a786195d17b28c963d44c8f50d409ae0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unnamed_3294@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-18 13:10:01.179 ***🔗
bob_unnamed_3294@localhost/res1 out
<iq type='set' id='dd82f91276b811535be1f260d1c952f0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-18 13:10:01.180 ***🔗
bob_unnamed_3294@localhost/res1 in
<iq from='localhost' to='bob_unnamed_3294@localhost/res1' id='dd82f91276b811535be1f260d1c952f0' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-18 13:10:01.180 ***🔗
bob_unnamed_3294@localhost/res1 out
<presence/>



*** User 2024-03-18 13:10:01.182 ***🔗
bob_unnamed_3294@localhost/res1 in
<presence from='bob_unnamed_3294@localhost/res1' to='bob_unnamed_3294@localhost/res1'/>



*** User 2024-03-18 13:10:01.183 ***🔗
kate_unnamed_3294@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-18 13:10:01.183 ***🔗
kate_unnamed_3294@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b7656200de7ee9c9' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-18 13:10:01.183 ***🔗
kate_unnamed_3294@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-18 13:10:01.184 ***🔗
kate_unnamed_3294@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5uYW1lZF8zMjk0AG1ha3Jvd2U7cA==</auth>



*** User 2024-03-18 13:10:01.185 ***🔗
kate_unnamed_3294@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-18 13:10:01.185 ***🔗
kate_unnamed_3294@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-18 13:10:01.186 ***🔗
kate_unnamed_3294@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='614fe100b4cebbe5' from='localhost' version='1.0' xml:lang='en' to='kate_unnamed_3294@localhost'>

*** User 2024-03-18 13:10:01.186 ***🔗
kate_unnamed_3294@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-18 13:10:01.186 ***🔗
kate_unnamed_3294@localhost/res1 out
<iq type='set' id='b34384d51c767ea11b81da7620fb42e6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-18 13:10:01.186 ***🔗
kate_unnamed_3294@localhost/res1 in
<iq id='b34384d51c767ea11b81da7620fb42e6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_unnamed_3294@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-18 13:10:01.186 ***🔗
kate_unnamed_3294@localhost/res1 out
<iq type='set' id='96e0e395a524a80b4367b15971025b6f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-18 13:10:01.187 ***🔗
kate_unnamed_3294@localhost/res1 in
<iq from='localhost' to='kate_unnamed_3294@localhost/res1' id='96e0e395a524a80b4367b15971025b6f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-18 13:10:01.187 ***🔗
kate_unnamed_3294@localhost/res1 out
<presence/>



*** User 2024-03-18 13:10:01.189 ***🔗
kate_unnamed_3294@localhost/res1 in
<presence from='kate_unnamed_3294@localhost/res1' to='kate_unnamed_3294@localhost/res1'/>



*** User 2024-03-18 13:10:01.194 ***🔗
alice_unnamed_3294@localhost/res1 out
<iq type='set' id='b76090556a0f3dab15fc30800e5ca263'>
	<enable xmlns='urn:xmpp:push:0' jid='muclight_no_msg_notifications_if_user_online_1.138623@virtual.domain' node='NodeId'/>
</iq>



*** User 2024-03-18 13:10:01.201 ***🔗
alice_unnamed_3294@localhost/res1 in
<iq from='alice_unnamed_3294@localhost' to='alice_unnamed_3294@localhost/res1' id='b76090556a0f3dab15fc30800e5ca263' type='result'/>



*** User 2024-03-18 13:10:01.201 ***🔗
kate_unnamed_3294@localhost/res1 out
<presence type='unavailable'/>



*** User 2024-03-18 13:10:01.201 ***🔗
waiting for wait_for_user_offline is done in 0 miliseconds

*** User 2024-03-18 13:10:01.201 ***🔗
bob_unnamed_3294@localhost/res1 out
<message type='groupchat' to='room_muclight_no_msg_notifications_if_user_online@muclight.localhost'>
	<body>Heyah!</body>
</message>



*** User 2024-03-18 13:10:06.203 ***🔗
#{result => nomatch,
  msg_inbox =>
      {messages,
          [{stanza,<0.82213.0>,
               {xmlel,<<"message">>,
                   [{<<"from">>,
                     <<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_3294@localhost">>},
                    {<<"to">>,<<"alice_unnamed_3294@localhost">>},
                    {<<"id">>,<<"1710-767401-203405">>},
                    {<<"type">>,<<"groupchat">>}],
                   [{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
               #{recv_timestamp => 1710767401206850}},
           {stanza,<0.82219.0>,
               {xmlel,<<"message">>,
                   [{<<"from">>,
                     <<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_3294@localhost">>},
                    {<<"to">>,<<"bob_unnamed_3294@localhost">>},
                    {<<"id">>,<<"1710-767401-203405">>},
                    {<<"type">>,<<"groupchat">>}],
                   [{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
               #{recv_timestamp => 1710767401209924}}]}}

*** User 2024-03-18 13:10:06.203 ***🔗
kate_unnamed_3294@localhost/res1 out
</stream:stream>

*** User 2024-03-18 13:10:06.203 ***🔗
kate_unnamed_3294@localhost/res1 in
</stream:stream>

*** User 2024-03-18 13:10:06.203 ***🔗
bob_unnamed_3294@localhost/res1 out
</stream:stream>

*** User 2024-03-18 13:10:06.204 ***🔗
bob_unnamed_3294@localhost/res1 in
</stream:stream>

*** User 2024-03-18 13:10:06.204 ***🔗
alice_unnamed_3294@localhost/res1 out
</stream:stream>

*** User 2024-03-18 13:10:06.204 ***🔗
alice_unnamed_3294@localhost/res1 in
</stream:stream>
*** CT 2024-03-18 13:10:06.210 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4770.html



=== Ended at 2024-03-18 13:10:06
=== successfully completed test case
=== === Returned value: ok