=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.78144.0>},
{preset,"odbc_mssql_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f41cbf1d623b.2024-04-15_16.46.00/big_tests.tests.presence_SUITE.logs/run.2024-04-15_17.02.11/presence_suite.subscribe_relog.212610.html"},
{tc_group_properties,[{name,subscribe_group},parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/presence_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@f41cbf1d623b.2024-04-15_16.46.00/big_tests.tests.presence_SUITE.logs/run.2024-04-15_17.02.11/log_private/"},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"localhost">>},
{password,<<"makrolika">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@f41cbf1d623b.2024-04-15_16.46.00"
=== Started at 2024-04-15 17:02:13
*** User 2024-04-15 17:02:13.623 ***🔗
alicE_subscribe_relog_3055@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-15 17:02:13.625 ***🔗
alicE_subscribe_relog_3055@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d0599094dda33620' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-15 17:02:13.625 ***🔗
alicE_subscribe_relog_3055@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-15 17:02:13.625 ***🔗
alicE_subscribe_relog_3055@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18zMDU1AG1hdHlncnlzYQ==</auth>
*** User 2024-04-15 17:02:13.633 ***🔗
alicE_subscribe_relog_3055@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 17:02:13.634 ***🔗
alicE_subscribe_relog_3055@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-15 17:02:13.634 ***🔗
alicE_subscribe_relog_3055@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2f253e37c34d0edf' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_relog_3055@localhost'>
*** User 2024-04-15 17:02:13.634 ***🔗
alicE_subscribe_relog_3055@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-15 17:02:13.634 ***🔗
alicE_subscribe_relog_3055@localhost/res1 out
<iq type='set' id='a1f90c9df549938e4a529fcdbdd00a89'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-15 17:02:13.635 ***🔗
alicE_subscribe_relog_3055@localhost/res1 in
<iq id='a1f90c9df549938e4a529fcdbdd00a89' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_3055@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-15 17:02:13.635 ***🔗
alice_subscribe_relog_3055@localhost/res1 out
<iq type='set' id='cb9212de92468a3eb0389c2bee29f003'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 17:02:13.635 ***🔗
alice_subscribe_relog_3055@localhost/res1 in
<iq from='localhost' to='alice_subscribe_relog_3055@localhost/res1' id='cb9212de92468a3eb0389c2bee29f003' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 17:02:13.636 ***🔗
alice_subscribe_relog_3055@localhost/res1 out
<presence/>
*** User 2024-04-15 17:02:13.638 ***🔗
alice_subscribe_relog_3055@localhost/res1 in
<presence from='alice_subscribe_relog_3055@localhost/res1' to='alice_subscribe_relog_3055@localhost/res1'/>
*** User 2024-04-15 17:02:13.639 ***🔗
bOb_subscribe_relog_3055@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-15 17:02:13.644 ***🔗
bOb_subscribe_relog_3055@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1b13a3716d309c38' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-15 17:02:13.644 ***🔗
bOb_subscribe_relog_3055@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-15 17:02:13.644 ***🔗
bOb_subscribe_relog_3055@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMzA1NQBtYWtyb2xpa2E=</auth>
*** User 2024-04-15 17:02:13.645 ***🔗
bOb_subscribe_relog_3055@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 17:02:13.646 ***🔗
bOb_subscribe_relog_3055@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-15 17:02:13.646 ***🔗
bOb_subscribe_relog_3055@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cfc1e05b4035f5e9' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_3055@localhost'>
*** User 2024-04-15 17:02:13.646 ***🔗
bOb_subscribe_relog_3055@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-15 17:02:13.646 ***🔗
bOb_subscribe_relog_3055@localhost/res1 out
<iq type='set' id='fc74f533a517d86dc9f34e822cd13ffd'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-15 17:02:13.647 ***🔗
bOb_subscribe_relog_3055@localhost/res1 in
<iq id='fc74f533a517d86dc9f34e822cd13ffd' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_3055@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-15 17:02:13.647 ***🔗
bob_subscribe_relog_3055@localhost/res1 out
<iq type='set' id='8ef78850a1a8543bb154a4c32da97c1c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 17:02:13.647 ***🔗
bob_subscribe_relog_3055@localhost/res1 in
<iq from='localhost' to='bob_subscribe_relog_3055@localhost/res1' id='8ef78850a1a8543bb154a4c32da97c1c' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 17:02:13.647 ***🔗
bob_subscribe_relog_3055@localhost/res1 out
<presence/>
*** User 2024-04-15 17:02:13.650 ***🔗
bob_subscribe_relog_3055@localhost/res1 in
<presence from='bob_subscribe_relog_3055@localhost/res1' to='bob_subscribe_relog_3055@localhost/res1'/>
*** User 2024-04-15 17:02:13.650 ***🔗
alice_subscribe_relog_3055@localhost/res1 out
<iq type='set' id='35b5d1b6faa19124990c771c6c1c1eb0'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_3055@localhost' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-15 17:02:13.670 ***🔗
alice_subscribe_relog_3055@localhost/res1 in
<iq from='alice_subscribe_relog_3055@localhost' to='alice_subscribe_relog_3055@localhost/res1' id='pushf57240e0c2ded748' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' jid='bob_subscribe_relog_3055@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-15 17:02:13.670 ***🔗
alice_subscribe_relog_3055@localhost/res1 in
<iq from='alice_subscribe_relog_3055@localhost' to='alice_subscribe_relog_3055@localhost/res1' id='35b5d1b6faa19124990c771c6c1c1eb0' type='result'/>
*** User 2024-04-15 17:02:13.670 ***🔗
alice_subscribe_relog_3055@localhost/res1 out
<iq to='alice_subscribe_relog_3055@localhost' id='pushf57240e0c2ded748' type='result'/>
*** User 2024-04-15 17:02:13.670 ***🔗
alice_subscribe_relog_3055@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_relog_3055@localhost'/>
*** User 2024-04-15 17:02:13.682 ***🔗
alice_subscribe_relog_3055@localhost/res1 in
<iq from='alice_subscribe_relog_3055@localhost' to='alice_subscribe_relog_3055@localhost/res1' id='push3767f649075a11b0' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobby' ask='subscribe' jid='bob_subscribe_relog_3055@localhost' subscription='none'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-04-15 17:02:13.682 ***🔗
alice_subscribe_relog_3055@localhost/res1 out
<iq to='alice_subscribe_relog_3055@localhost' id='push3767f649075a11b0' type='result'/>
*** User 2024-04-15 17:02:13.682 ***🔗
bob_subscribe_relog_3055@localhost/res1 in
<presence from='alice_subscribe_relog_3055@localhost' to='bob_subscribe_relog_3055@localhost/res1' type='subscribe'/>
*** User 2024-04-15 17:02:13.683 ***🔗
bOb_subscribe_relog_3055@localhost/newbob out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-15 17:02:13.683 ***🔗
bOb_subscribe_relog_3055@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='12e90ecfc1c9fd2c' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-15 17:02:13.684 ***🔗
bOb_subscribe_relog_3055@localhost/newbob 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-15 17:02:13.684 ***🔗
bOb_subscribe_relog_3055@localhost/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMzA1NQBtYWtyb2xpa2E=</auth>
*** User 2024-04-15 17:02:13.685 ***🔗
bOb_subscribe_relog_3055@localhost/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 17:02:13.685 ***🔗
bOb_subscribe_relog_3055@localhost/newbob out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-15 17:02:13.685 ***🔗
bOb_subscribe_relog_3055@localhost/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cbd9293f0dcc0750' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_relog_3055@localhost'>
*** User 2024-04-15 17:02:13.686 ***🔗
bOb_subscribe_relog_3055@localhost/newbob 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-15 17:02:13.686 ***🔗
bOb_subscribe_relog_3055@localhost/newbob out
<iq type='set' id='9752e692a9ee27c646ecef737b402949'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-04-15 17:02:13.686 ***🔗
bOb_subscribe_relog_3055@localhost/newbob in
<iq id='9752e692a9ee27c646ecef737b402949' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_3055@localhost/newbob</jid>
</bind>
</iq>
*** User 2024-04-15 17:02:13.686 ***🔗
bob_subscribe_relog_3055@localhost/newbob out
<iq type='set' id='53e32b8338ce409602ef91d7605a7aa0'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 17:02:13.687 ***🔗
bob_subscribe_relog_3055@localhost/newbob in
<iq from='localhost' to='bob_subscribe_relog_3055@localhost/newbob' id='53e32b8338ce409602ef91d7605a7aa0' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 17:02:13.687 ***🔗
bob_subscribe_relog_3055@localhost/newbob out
<presence/>
*** User 2024-04-15 17:02:13.688 ***🔗
bob_subscribe_relog_3055@localhost/res1 in
<presence from='bob_subscribe_relog_3055@localhost/newbob' to='bob_subscribe_relog_3055@localhost/res1'/>
*** User 2024-04-15 17:02:13.688 ***🔗
bob_subscribe_relog_3055@localhost/newbob in
<presence from='alice_subscribe_relog_3055@localhost' to='bob_subscribe_relog_3055@localhost/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-04-15 17:02:13.688 ***🔗
bob_subscribe_relog_3055@localhost/newbob in
<presence from='bob_subscribe_relog_3055@localhost/newbob' to='bob_subscribe_relog_3055@localhost/newbob'/>
*** User 2024-04-15 17:02:13.688 ***🔗
bob_subscribe_relog_3055@localhost/newbob in
<presence from='bob_subscribe_relog_3055@localhost/res1' to='bob_subscribe_relog_3055@localhost/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-04-15T17:02:13.650062Z' from='bob_subscribe_relog_3055@localhost/res1'/>
</presence>
*** User 2024-04-15 17:02:13.688 ***🔗
bob_subscribe_relog_3055@localhost/newbob out
</stream:stream>
*** User 2024-04-15 17:02:13.688 ***🔗
bob_subscribe_relog_3055@localhost/newbob in
</stream:stream>
*** User 2024-04-15 17:02:13.689 ***🔗
bob_subscribe_relog_3055@localhost/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_3055@localhost'/>
*** User 2024-04-15 17:02:13.689 ***🔗
bob_subscribe_relog_3055@localhost/res1 out
</stream:stream>
*** User 2024-04-15 17:02:13.744 ***🔗
bob_subscribe_relog_3055@localhost/res1 in
</stream:stream>
*** User 2024-04-15 17:02:13.744 ***🔗
alice_subscribe_relog_3055@localhost/res1 out
</stream:stream>
*** User 2024-04-15 17:02:13.745 ***🔗
alice_subscribe_relog_3055@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-15 17:02:13
=== successfully completed test case
=== === Returned value: ok