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

=== Config value:

    [{watchdog,<0.75758.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@1e90cefa3403.2024-04-26_13.09.53/big_tests.tests.push_SUITE.logs/run.2024-04-26_13.22.57/push_suite.muclight_no_msg_notifications_if_user_online.102660.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@1e90cefa3403.2024-04-26_13.09.53/big_tests.tests.push_SUITE.logs/run.2024-04-26_13.22.57/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_sic => #{iqdisc => one_queue},
        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_amp => #{},mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],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@1e90cefa3403.2024-04-26_13.09.53"

=== Started at 2024-04-26 13:23:03


*** CT 2024-04-26 13:23:03.132 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4473.html

*** User 2024-04-26 13:23:03.144 ***🔗
alicE_unnamed_2844@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-26 13:23:03.145 ***🔗
alicE_unnamed_2844@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a344974fbfa25ab3' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 13:23:03.145 ***🔗
alicE_unnamed_2844@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-26 13:23:03.145 ***🔗
alicE_unnamed_2844@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMjg0NABtYXR5Z3J5c2E=</auth>



*** User 2024-04-26 13:23:03.146 ***🔗
alicE_unnamed_2844@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 13:23:03.146 ***🔗
alicE_unnamed_2844@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-26 13:23:03.147 ***🔗
alicE_unnamed_2844@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0b610590b34aa447' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_2844@localhost'>

*** User 2024-04-26 13:23:03.147 ***🔗
alicE_unnamed_2844@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-26 13:23:03.147 ***🔗
alicE_unnamed_2844@localhost/res1 out
<iq type='set' id='4582b6068183819228f7b0d8cec8daf4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 13:23:03.147 ***🔗
alicE_unnamed_2844@localhost/res1 in
<iq id='4582b6068183819228f7b0d8cec8daf4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unnamed_2844@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 13:23:03.147 ***🔗
alice_unnamed_2844@localhost/res1 out
<iq type='set' id='a220afb18518e0b1750a1e71fea0774e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:23:03.148 ***🔗
alice_unnamed_2844@localhost/res1 in
<iq from='localhost' to='alice_unnamed_2844@localhost/res1' id='a220afb18518e0b1750a1e71fea0774e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:23:03.148 ***🔗
alice_unnamed_2844@localhost/res1 out
<presence/>



*** User 2024-04-26 13:23:03.170 ***🔗
alice_unnamed_2844@localhost/res1 in
<presence from='alice_unnamed_2844@localhost/res1' to='alice_unnamed_2844@localhost/res1'/>



*** User 2024-04-26 13:23:03.171 ***🔗
bOb_unnamed_2844@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-26 13:23:03.172 ***🔗
bOb_unnamed_2844@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='569352124dbe8b58' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 13:23:03.172 ***🔗
bOb_unnamed_2844@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-26 13:23:03.172 ***🔗
bOb_unnamed_2844@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzI4NDQAbWFrcm9saWth</auth>



*** User 2024-04-26 13:23:03.174 ***🔗
bOb_unnamed_2844@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 13:23:03.174 ***🔗
bOb_unnamed_2844@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-26 13:23:03.175 ***🔗
bOb_unnamed_2844@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='483de3372abece85' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_2844@localhost'>

*** User 2024-04-26 13:23:03.175 ***🔗
bOb_unnamed_2844@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-26 13:23:03.175 ***🔗
bOb_unnamed_2844@localhost/res1 out
<iq type='set' id='b813437c3d10418ea04c306daf56b490'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 13:23:03.175 ***🔗
bOb_unnamed_2844@localhost/res1 in
<iq id='b813437c3d10418ea04c306daf56b490' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unnamed_2844@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 13:23:03.175 ***🔗
bob_unnamed_2844@localhost/res1 out
<iq type='set' id='c7751ef660a771032193ae7169a8ef68'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:23:03.176 ***🔗
bob_unnamed_2844@localhost/res1 in
<iq from='localhost' to='bob_unnamed_2844@localhost/res1' id='c7751ef660a771032193ae7169a8ef68' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:23:03.176 ***🔗
bob_unnamed_2844@localhost/res1 out
<presence/>



*** User 2024-04-26 13:23:03.178 ***🔗
bob_unnamed_2844@localhost/res1 in
<presence from='bob_unnamed_2844@localhost/res1' to='bob_unnamed_2844@localhost/res1'/>



*** User 2024-04-26 13:23:03.179 ***🔗
kate_unnamed_2844@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-26 13:23:03.181 ***🔗
kate_unnamed_2844@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='23611630ce34c757' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 13:23:03.181 ***🔗
kate_unnamed_2844@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-26 13:23:03.181 ***🔗
kate_unnamed_2844@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdW5uYW1lZF8yODQ0AG1ha3Jvd2U7cA==</auth>



*** User 2024-04-26 13:23:03.182 ***🔗
kate_unnamed_2844@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 13:23:03.182 ***🔗
kate_unnamed_2844@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-26 13:23:03.182 ***🔗
kate_unnamed_2844@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='201df5b73c1ee1c6' from='localhost' version='1.0' xml:lang='en' to='kate_unnamed_2844@localhost'>

*** User 2024-04-26 13:23:03.183 ***🔗
kate_unnamed_2844@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-26 13:23:03.183 ***🔗
kate_unnamed_2844@localhost/res1 out
<iq type='set' id='af5f86b9e7ec5515369a54d1a39fe343'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 13:23:03.183 ***🔗
kate_unnamed_2844@localhost/res1 in
<iq id='af5f86b9e7ec5515369a54d1a39fe343' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_unnamed_2844@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 13:23:03.183 ***🔗
kate_unnamed_2844@localhost/res1 out
<iq type='set' id='adb8fd7965371b10602c4a1abad1b1b4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:23:03.184 ***🔗
kate_unnamed_2844@localhost/res1 in
<iq from='localhost' to='kate_unnamed_2844@localhost/res1' id='adb8fd7965371b10602c4a1abad1b1b4' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 13:23:03.184 ***🔗
kate_unnamed_2844@localhost/res1 out
<presence/>



*** User 2024-04-26 13:23:03.185 ***🔗
kate_unnamed_2844@localhost/res1 in
<presence from='kate_unnamed_2844@localhost/res1' to='kate_unnamed_2844@localhost/res1'/>



*** User 2024-04-26 13:23:03.192 ***🔗
alice_unnamed_2844@localhost/res1 out
<iq type='set' id='46d96f9c7e591ff2e3310bb74e58deb2'>
	<enable xmlns='urn:xmpp:push:0' jid='pub-sub@muclight_no_msg_notifications_if_user_online_83.141542' node='NodeId'/>
</iq>



*** User 2024-04-26 13:23:03.195 ***🔗
alice_unnamed_2844@localhost/res1 in
<iq from='alice_unnamed_2844@localhost' to='alice_unnamed_2844@localhost/res1' id='46d96f9c7e591ff2e3310bb74e58deb2' type='result'/>



*** User 2024-04-26 13:23:03.195 ***🔗
kate_unnamed_2844@localhost/res1 out
<presence type='unavailable'/>



*** User 2024-04-26 13:23:03.196 ***🔗
waiting for wait_for_user_offline is done in 0 miliseconds

*** User 2024-04-26 13:23:03.196 ***🔗
bob_unnamed_2844@localhost/res1 out
<message type='groupchat' to='room_muclight_no_msg_notifications_if_user_online@muclight.localhost'>
	<body>Heyah!</body>
</message>



*** User 2024-04-26 13:23:08.197 ***🔗
#{result => nomatch,
  msg_inbox =>
      {messages,
          [{stanza,<0.75799.0>,
               {xmlel,<<"message">>,
                   [{<<"from">>,
                     <<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_2844@localhost">>},
                    {<<"to">>,<<"alice_unnamed_2844@localhost">>},
                    {<<"id">>,<<"1714-137783-197573">>},
                    {<<"type">>,<<"groupchat">>}],
                   [{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
               #{recv_timestamp => 1714137783200463}},
           {stanza,<0.75809.0>,
               {xmlel,<<"message">>,
                   [{<<"from">>,
                     <<"room_muclight_no_msg_notifications_if_user_online@muclight.localhost/bob_unnamed_2844@localhost">>},
                    {<<"to">>,<<"bob_unnamed_2844@localhost">>},
                    {<<"id">>,<<"1714-137783-197573">>},
                    {<<"type">>,<<"groupchat">>}],
                   [{xmlel,<<"body">>,[],[{xmlcdata,<<"Heyah!">>}]}]},
               #{recv_timestamp => 1714137783201873}}]}}

*** User 2024-04-26 13:23:08.197 ***🔗
kate_unnamed_2844@localhost/res1 out
</stream:stream>

*** User 2024-04-26 13:23:08.197 ***🔗
kate_unnamed_2844@localhost/res1 in
</stream:stream>

*** User 2024-04-26 13:23:08.197 ***🔗
bob_unnamed_2844@localhost/res1 out
</stream:stream>

*** User 2024-04-26 13:23:08.198 ***🔗
bob_unnamed_2844@localhost/res1 in
</stream:stream>

*** User 2024-04-26 13:23:08.198 ***🔗
alice_unnamed_2844@localhost/res1 out
</stream:stream>

*** User 2024-04-26 13:23:08.198 ***🔗
alice_unnamed_2844@localhost/res1 in
</stream:stream>
*** CT 2024-04-26 13:23:08.201 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4473.html



=== Ended at 2024-04-26 13:23:08
=== successfully completed test case
=== === Returned value: ok