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

=== Config value:

    [{watchdog,<0.81996.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@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.160259.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@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:09:50


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

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

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



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



*** User 2024-03-18 13:09:50.353 ***🔗
alicE_unnamed_3284@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:09:50.373 ***🔗
alicE_unnamed_3284@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4093e9ea5c995ade' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_3284@localhost'>

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



*** User 2024-03-18 13:09:50.373 ***🔗
alicE_unnamed_3284@localhost/res1 in
<iq id='a14a8d9d1f299ecee273cf881b75e4b1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unnamed_3284@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-18 13:09:50.374 ***🔗
alice_unnamed_3284@localhost/res1 out
<iq type='set' id='0fb6179e3ae9d488558151c15edebc0f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-18 13:09:50.374 ***🔗
alice_unnamed_3284@localhost/res1 in
<iq from='localhost' to='alice_unnamed_3284@localhost/res1' id='0fb6179e3ae9d488558151c15edebc0f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-18 13:09:50.375 ***🔗
alice_unnamed_3284@localhost/res1 out
<presence/>



*** User 2024-03-18 13:09:50.376 ***🔗
alice_unnamed_3284@localhost/res1 in
<presence from='alice_unnamed_3284@localhost/res1' to='alice_unnamed_3284@localhost/res1'/>



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

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



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



*** User 2024-03-18 13:09:50.380 ***🔗
bOb_unnamed_3284@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:09:50.380 ***🔗
bOb_unnamed_3284@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a3168c6e49d46d98' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_3284@localhost'>

*** User 2024-03-18 13:09:50.380 ***🔗
bOb_unnamed_3284@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:09:50.381 ***🔗
bOb_unnamed_3284@localhost/res1 out
<iq type='set' id='692882ff63e0c97ff1d5865171033096'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-18 13:09:50.381 ***🔗
bOb_unnamed_3284@localhost/res1 in
<iq id='692882ff63e0c97ff1d5865171033096' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unnamed_3284@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-18 13:09:50.381 ***🔗
bob_unnamed_3284@localhost/res1 out
<iq type='set' id='582ace20bb124fa7611cc59cb47762a8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-18 13:09:50.382 ***🔗
bob_unnamed_3284@localhost/res1 in
<iq from='localhost' to='bob_unnamed_3284@localhost/res1' id='582ace20bb124fa7611cc59cb47762a8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-18 13:09:50.382 ***🔗
bob_unnamed_3284@localhost/res1 out
<presence/>



*** User 2024-03-18 13:09:50.386 ***🔗
bob_unnamed_3284@localhost/res1 in
<presence from='bob_unnamed_3284@localhost/res1' to='bob_unnamed_3284@localhost/res1'/>



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

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



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



*** User 2024-03-18 13:09:50.389 ***🔗
kate_unnamed_3284@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:09:50.390 ***🔗
kate_unnamed_3284@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='79fd14e6de77afc9' from='localhost' version='1.0' xml:lang='en' to='kate_unnamed_3284@localhost'>

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



*** User 2024-03-18 13:09:50.390 ***🔗
kate_unnamed_3284@localhost/res1 in
<iq id='edb88431b43bc5a14b625e43ecc2b0cc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_unnamed_3284@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-18 13:09:50.390 ***🔗
kate_unnamed_3284@localhost/res1 out
<iq type='set' id='65a37e7627bc9f8fd1ed0b6b616e7a0e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-18 13:09:50.391 ***🔗
kate_unnamed_3284@localhost/res1 in
<iq from='localhost' to='kate_unnamed_3284@localhost/res1' id='65a37e7627bc9f8fd1ed0b6b616e7a0e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-18 13:09:50.391 ***🔗
kate_unnamed_3284@localhost/res1 out
<presence/>



*** User 2024-03-18 13:09:50.392 ***🔗
kate_unnamed_3284@localhost/res1 in
<presence from='kate_unnamed_3284@localhost/res1' to='kate_unnamed_3284@localhost/res1'/>



*** User 2024-03-18 13:09:50.400 ***🔗
alice_unnamed_3284@localhost/res1 out
<iq type='set' id='741e3b5de182eed3c0d8d41c6c263cbc'>
	<enable xmlns='urn:xmpp:push:0' jid='pub-sub@muclight_no_msg_notifications_if_user_online_90.345379' node='NodeId'/>
</iq>



*** User 2024-03-18 13:09:50.416 ***🔗
alice_unnamed_3284@localhost/res1 in
<iq from='alice_unnamed_3284@localhost' to='alice_unnamed_3284@localhost/res1' id='741e3b5de182eed3c0d8d41c6c263cbc' type='result'/>



*** User 2024-03-18 13:09:50.416 ***🔗
kate_unnamed_3284@localhost/res1 out
<presence type='unavailable'/>



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

*** User 2024-03-18 13:09:50.417 ***🔗
bob_unnamed_3284@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:09:55.418 ***🔗
#{result => nomatch,
  msg_inbox =>
      {messages,
          [{stanza,<0.82037.0>,
               {xmlel,<<"message">>,
                   [{<<"from">>,
                     <<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_3284@localhost">>},
                    {<<"to">>,<<"alice_unnamed_3284@localhost">>},
                    {<<"id">>,<<"1710-767390-419348">>},
                    {<<"type">>,<<"groupchat">>}],
                   [{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
               #{recv_timestamp => 1710767390422556}},
           {stanza,<0.82045.0>,
               {xmlel,<<"message">>,
                   [{<<"from">>,
                     <<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_3284@localhost">>},
                    {<<"to">>,<<"bob_unnamed_3284@localhost">>},
                    {<<"id">>,<<"1710-767390-419348">>},
                    {<<"type">>,<<"groupchat">>}],
                   [{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
               #{recv_timestamp => 1710767390425337}}]}}

*** User 2024-03-18 13:09:55.418 ***🔗
kate_unnamed_3284@localhost/res1 out
</stream:stream>

*** User 2024-03-18 13:09:55.418 ***🔗
kate_unnamed_3284@localhost/res1 in
</stream:stream>

*** User 2024-03-18 13:09:55.418 ***🔗
bob_unnamed_3284@localhost/res1 out
</stream:stream>

*** User 2024-03-18 13:09:55.419 ***🔗
bob_unnamed_3284@localhost/res1 in
</stream:stream>

*** User 2024-03-18 13:09:55.419 ***🔗
alice_unnamed_3284@localhost/res1 out
</stream:stream>

*** User 2024-03-18 13:09:55.419 ***🔗
alice_unnamed_3284@localhost/res1 in
</stream:stream>
*** CT 2024-03-18 13:09:55.423 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4770.html



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