=== Test case: push_SUITE:pm_msg_notify_if_user_offline/1 (click for source code)
=== Config value:
[{watchdog,<0.83916.0>},
{pubsub_host,real},
{preset,"mysql_redis"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/push_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@461f60707eef.2024-04-22_14.32.12/big_tests.tests.push_SUITE.logs/run.2024-04-22_14.46.03/push_suite.pm_msg_notify_if_user_offline.151939.html"},
{tc_group_properties,[{name,pm_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@461f60707eef.2024-04-22_14.32.12/big_tests.tests.push_SUITE.logs/run.2024-04-22_14.46.03/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_amp => #{},
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_presence => #{},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
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_bosh =>
#{backend => mnesia,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@461f60707eef.2024-04-22_14.32.12"
=== Started at 2024-04-22 14:46:03
*** User 2024-04-22 14:46:03.963 ***🔗
bOb_unnamed_3101@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-22 14:46:03.963 ***🔗
bOb_unnamed_3101@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='26750818b856820c' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 14:46:03.964 ***🔗
bOb_unnamed_3101@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-22 14:46:03.964 ***🔗
bOb_unnamed_3101@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bm5hbWVkXzMxMDEAbWFrcm9saWth</auth>
*** User 2024-04-22 14:46:03.965 ***🔗
bOb_unnamed_3101@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 14:46:03.965 ***🔗
bOb_unnamed_3101@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-22 14:46:03.968 ***🔗
bOb_unnamed_3101@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3729737110d37162' from='localhost' version='1.0' xml:lang='en' to='bob_unnamed_3101@localhost'>
*** User 2024-04-22 14:46:03.968 ***🔗
bOb_unnamed_3101@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-22 14:46:03.968 ***🔗
bOb_unnamed_3101@localhost/res1 out
<iq type='set' id='867c476324db515cf35ad3c31296570c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 14:46:03.969 ***🔗
bOb_unnamed_3101@localhost/res1 in
<iq id='867c476324db515cf35ad3c31296570c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_unnamed_3101@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-22 14:46:03.969 ***🔗
bob_unnamed_3101@localhost/res1 out
<iq type='set' id='ccb5e3f46296abe5937dd9f032a204d9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:46:03.970 ***🔗
bob_unnamed_3101@localhost/res1 in
<iq from='localhost' to='bob_unnamed_3101@localhost/res1' id='ccb5e3f46296abe5937dd9f032a204d9' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:46:03.971 ***🔗
bob_unnamed_3101@localhost/res1 out
<presence/>
*** User 2024-04-22 14:46:03.973 ***🔗
bob_unnamed_3101@localhost/res1 in
<presence from='bob_unnamed_3101@localhost/res1' to='bob_unnamed_3101@localhost/res1'/>
*** User 2024-04-22 14:46:03.973 ***🔗
alicE_unnamed_3101@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-22 14:46:03.974 ***🔗
alicE_unnamed_3101@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9e9ae3d83396c3d0' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 14:46:03.974 ***🔗
alicE_unnamed_3101@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-22 14:46:03.974 ***🔗
alicE_unnamed_3101@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VubmFtZWRfMzEwMQBtYXR5Z3J5c2E=</auth>
*** User 2024-04-22 14:46:03.975 ***🔗
alicE_unnamed_3101@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 14:46:03.975 ***🔗
alicE_unnamed_3101@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-22 14:46:03.975 ***🔗
alicE_unnamed_3101@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a15a3a7ac7e1746a' from='localhost' version='1.0' xml:lang='en' to='alice_unnamed_3101@localhost'>
*** User 2024-04-22 14:46:03.975 ***🔗
alicE_unnamed_3101@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-22 14:46:03.976 ***🔗
alicE_unnamed_3101@localhost/res1 out
<iq type='set' id='016aec9f72aaceb72cb90849527c9bc5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-22 14:46:03.976 ***🔗
alicE_unnamed_3101@localhost/res1 in
<iq id='016aec9f72aaceb72cb90849527c9bc5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_unnamed_3101@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-22 14:46:03.976 ***🔗
alice_unnamed_3101@localhost/res1 out
<iq type='set' id='4a69f4c96458bbc48f41b4b0b808e70b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:46:03.977 ***🔗
alice_unnamed_3101@localhost/res1 in
<iq from='localhost' to='alice_unnamed_3101@localhost/res1' id='4a69f4c96458bbc48f41b4b0b808e70b' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-22 14:46:03.977 ***🔗
alice_unnamed_3101@localhost/res1 out
<presence/>
*** User 2024-04-22 14:46:03.979 ***🔗
alice_unnamed_3101@localhost/res1 in
<presence from='alice_unnamed_3101@localhost/res1' to='alice_unnamed_3101@localhost/res1'/>
*** User 2024-04-22 14:46:03.979 ***🔗
bob_unnamed_3101@localhost/res1 out
<iq type='set' id='d298aeef4a0eb73d91a995ade871078a'>
<enable xmlns='urn:xmpp:push:0' jid='pub-sub@pm_msg_notify_if_user_offline_63.959682' node='NodeId'/>
</iq>
*** User 2024-04-22 14:46:03.986 ***🔗
bob_unnamed_3101@localhost/res1 in
<iq from='bob_unnamed_3101@localhost' to='bob_unnamed_3101@localhost/res1' id='d298aeef4a0eb73d91a995ade871078a' type='result'/>
*** User 2024-04-22 14:46:03.986 ***🔗
bob_unnamed_3101@localhost/res1 out
<presence type='unavailable'/>
*** User 2024-04-22 14:46:04.088 ***🔗
waiting for wait_for_user_offline is done in 100 miliseconds
*** User 2024-04-22 14:46:04.088 ***🔗
alice_unnamed_3101@localhost/res1 out
<message type='chat' to='bob_unnamed_3101@localhost/res1'>
<body>OH, HAI!</body>
</message>
*** User 2024-04-22 14:46:04.091 ***🔗
alice_unnamed_3101@localhost/res1 out
</stream:stream>
*** User 2024-04-22 14:46:04.092 ***🔗
alice_unnamed_3101@localhost/res1 in
</stream:stream>
*** User 2024-04-22 14:46:04.092 ***🔗
bob_unnamed_3101@localhost/res1 out
</stream:stream>
*** User 2024-04-22 14:46:04.092 ***🔗
bob_unnamed_3101@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-22 14:46:04
=== successfully completed test case
=== === Returned value: ok