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

=== Config value:

    [{watchdog,<0.77297.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@81b4ed498ac1.2024-04-23_23.21.08/big_tests.tests.push_SUITE.logs/run.2024-04-23_23.34.18/push_suite.muclight_no_msg_notifications_if_user_online.107268.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@81b4ed498ac1.2024-04-23_23.21.08/big_tests.tests.push_SUITE.logs/run.2024-04-23_23.34.18/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,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 =>
            #{server_info => [],iqdisc => one_queue,extra_domains => [],
              users_can_see_hidden_services => false},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => cets,
              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_bosh =>
            #{backend => cets,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@81b4ed498ac1.2024-04-23_23.21.08"

=== Started at 2024-04-23 23:34:23


*** CT 2024-04-23 23:34:23.862 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5481.html

*** User 2024-04-23 23:34:23.874 ***🔗
alicE_unnamed_2839@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-23 23:34:23.875 ***🔗
alicE_unnamed_2839@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e22159693a302762' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 23:34:23.875 ***🔗
alicE_unnamed_2839@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-23 23:34:23.875 ***🔗
alicE_unnamed_2839@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMjgzOQBtYXR5Z3J5c2E=</auth>



*** User 2024-04-23 23:34:23.876 ***🔗
alicE_unnamed_2839@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 23:34:23.876 ***🔗
alicE_unnamed_2839@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-23 23:34:23.876 ***🔗
alicE_unnamed_2839@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='24695a66b9f6453f' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_2839@localhost'>

*** User 2024-04-23 23:34:23.876 ***🔗
alicE_unnamed_2839@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-23 23:34:23.877 ***🔗
alicE_unnamed_2839@localhost/res1 out
<iq type='set' id='8f0981f91c19894b3124fa7f42308194'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 23:34:23.877 ***🔗
alicE_unnamed_2839@localhost/res1 in
<iq id='8f0981f91c19894b3124fa7f42308194' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unnamed_2839@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 23:34:23.877 ***🔗
alice_unnamed_2839@localhost/res1 out
<iq type='set' id='963c6dfb6b5987c667cba158413d12d6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 23:34:23.879 ***🔗
alice_unnamed_2839@localhost/res1 in
<iq from='localhost' to='alice_unnamed_2839@localhost/res1' id='963c6dfb6b5987c667cba158413d12d6' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 23:34:23.879 ***🔗
alice_unnamed_2839@localhost/res1 out
<presence/>



*** User 2024-04-23 23:34:23.880 ***🔗
alice_unnamed_2839@localhost/res1 in
<presence from='alice_unnamed_2839@localhost/res1' to='alice_unnamed_2839@localhost/res1'/>



*** User 2024-04-23 23:34:23.881 ***🔗
bOb_unnamed_2839@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-23 23:34:23.882 ***🔗
bOb_unnamed_2839@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='04b558bad79cf663' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 23:34:23.882 ***🔗
bOb_unnamed_2839@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-23 23:34:23.882 ***🔗
bOb_unnamed_2839@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzI4MzkAbWFrcm9saWth</auth>



*** User 2024-04-23 23:34:23.883 ***🔗
bOb_unnamed_2839@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 23:34:23.883 ***🔗
bOb_unnamed_2839@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-23 23:34:23.884 ***🔗
bOb_unnamed_2839@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='016f8bf5ee56d836' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_2839@localhost'>

*** User 2024-04-23 23:34:23.884 ***🔗
bOb_unnamed_2839@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-23 23:34:23.884 ***🔗
bOb_unnamed_2839@localhost/res1 out
<iq type='set' id='facfb938d6646c078e33ed303a673bbe'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 23:34:23.884 ***🔗
bOb_unnamed_2839@localhost/res1 in
<iq id='facfb938d6646c078e33ed303a673bbe' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unnamed_2839@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 23:34:23.884 ***🔗
bob_unnamed_2839@localhost/res1 out
<iq type='set' id='393ff6badea7c7b6336f518ca79027db'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 23:34:23.885 ***🔗
bob_unnamed_2839@localhost/res1 in
<iq from='localhost' to='bob_unnamed_2839@localhost/res1' id='393ff6badea7c7b6336f518ca79027db' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 23:34:23.885 ***🔗
bob_unnamed_2839@localhost/res1 out
<presence/>



*** User 2024-04-23 23:34:23.888 ***🔗
bob_unnamed_2839@localhost/res1 in
<presence from='bob_unnamed_2839@localhost/res1' to='bob_unnamed_2839@localhost/res1'/>



*** User 2024-04-23 23:34:23.888 ***🔗
kate_unnamed_2839@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-23 23:34:23.889 ***🔗
kate_unnamed_2839@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ccbde4ee55a4451e' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 23:34:23.889 ***🔗
kate_unnamed_2839@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-23 23:34:23.889 ***🔗
kate_unnamed_2839@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5uYW1lZF8yODM5AG1ha3Jvd2U7cA==</auth>



*** User 2024-04-23 23:34:23.897 ***🔗
kate_unnamed_2839@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 23:34:23.897 ***🔗
kate_unnamed_2839@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-23 23:34:23.926 ***🔗
kate_unnamed_2839@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2ebb4d6688af2039' from='localhost' version='1.0' xml:lang='en' to='kate_unnamed_2839@localhost'>

*** User 2024-04-23 23:34:23.926 ***🔗
kate_unnamed_2839@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-23 23:34:23.926 ***🔗
kate_unnamed_2839@localhost/res1 out
<iq type='set' id='562e8cd6e16a68f96cf6aa1a093669a6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 23:34:23.928 ***🔗
kate_unnamed_2839@localhost/res1 in
<iq id='562e8cd6e16a68f96cf6aa1a093669a6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_unnamed_2839@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 23:34:23.928 ***🔗
kate_unnamed_2839@localhost/res1 out
<iq type='set' id='0be7c668da9903fef6913f38ba4c00d9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 23:34:23.929 ***🔗
kate_unnamed_2839@localhost/res1 in
<iq from='localhost' to='kate_unnamed_2839@localhost/res1' id='0be7c668da9903fef6913f38ba4c00d9' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 23:34:23.929 ***🔗
kate_unnamed_2839@localhost/res1 out
<presence/>



*** User 2024-04-23 23:34:23.931 ***🔗
kate_unnamed_2839@localhost/res1 in
<presence from='kate_unnamed_2839@localhost/res1' to='kate_unnamed_2839@localhost/res1'/>



*** User 2024-04-23 23:34:23.940 ***🔗
alice_unnamed_2839@localhost/res1 out
<iq type='set' id='3155e3cfb0d631e541dab7969611ef7e'>
	<enable xmlns='urn:xmpp:push:0' jid='pub-sub@muclight_no_msg_notifications_if_user_online_63.871498' node='NodeId'/>
</iq>



*** User 2024-04-23 23:34:23.944 ***🔗
alice_unnamed_2839@localhost/res1 in
<iq from='alice_unnamed_2839@localhost' to='alice_unnamed_2839@localhost/res1' id='3155e3cfb0d631e541dab7969611ef7e' type='result'/>



*** User 2024-04-23 23:34:23.944 ***🔗
kate_unnamed_2839@localhost/res1 out
<presence type='unavailable'/>



*** User 2024-04-23 23:34:24.045 ***🔗
waiting for wait_for_user_offline is done in 100 miliseconds

*** User 2024-04-23 23:34:24.045 ***🔗
bob_unnamed_2839@localhost/res1 out
<message type='groupchat' to='room_muclight_no_msg_notifications_if_user_online@muclight.localhost'>
	<body>Heyah!</body>
</message>



*** User 2024-04-23 23:34:29.046 ***🔗
#{result => nomatch,
  msg_inbox =>
      {messages,
          [{stanza,<0.77337.0>,
               {xmlel,<<"message">>,
                   [{<<"from">>,
                     <<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_2839@localhost">>},
                    {<<"to">>,<<"alice_unnamed_2839@localhost">>},
                    {<<"id">>,<<"1713-915264-47070">>},
                    {<<"type">>,<<"groupchat">>}],
                   [{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
               #{recv_timestamp => 1713915264048882}},
           {stanza,<0.77347.0>,
               {xmlel,<<"message">>,
                   [{<<"from">>,
                     <<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_2839@localhost">>},
                    {<<"to">>,<<"bob_unnamed_2839@localhost">>},
                    {<<"id">>,<<"1713-915264-47070">>},
                    {<<"type">>,<<"groupchat">>}],
                   [{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
               #{recv_timestamp => 1713915264050562}}]}}

*** User 2024-04-23 23:34:29.046 ***🔗
kate_unnamed_2839@localhost/res1 out
</stream:stream>

*** User 2024-04-23 23:34:29.047 ***🔗
kate_unnamed_2839@localhost/res1 in
</stream:stream>

*** User 2024-04-23 23:34:29.047 ***🔗
bob_unnamed_2839@localhost/res1 out
</stream:stream>

*** User 2024-04-23 23:34:29.047 ***🔗
bob_unnamed_2839@localhost/res1 in
</stream:stream>

*** User 2024-04-23 23:34:29.047 ***🔗
alice_unnamed_2839@localhost/res1 out
</stream:stream>

*** User 2024-04-23 23:34:29.047 ***🔗
alice_unnamed_2839@localhost/res1 in
</stream:stream>
*** CT 2024-04-23 23:34:29.050 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5481.html



=== Ended at 2024-04-23 23:34:29
=== successfully completed test case
=== === Returned value: ok