=== Test case: presence_SUITE:subscribe_relog/1 (click for source code)
=== Config value:
[{watchdog,<0.69642.0>},
{preset,"pgsql_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@d081adacb998.2024-01-14_19.39.56/big_tests.tests.presence_SUITE.logs/run.2024-01-14_19.53.15/presence_suite.subscribe_relog.103684.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@d081adacb998.2024-01-14_19.39.56/big_tests.tests.presence_SUITE.logs/run.2024-01-14_19.53.15/log_private/"},
{escalus_users,[{alice,[{username,<<"alicE">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"matygrysa">>}]},
{bob,[{username,<<"bOb">>},
{server,<<"domain.example.com">>},
{host,<<"localhost">>},
{password,<<"makrolika">>}]}]}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d081adacb998.2024-01-14_19.39.56"
=== Started at 2024-01-14 19:53:17
*** User 2024-01-14 19:53:17.284 ***🔗
alicE_subscribe_relog_2698@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-01-14 19:53:17.285 ***🔗
alicE_subscribe_relog_2698@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0c6f349398c91e94' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-01-14 19:53:17.285 ***🔗
alicE_subscribe_relog_2698@domain.example.com/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-01-14 19:53:17.285 ***🔗
alicE_subscribe_relog_2698@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9yZWxvZ18yNjk4AG1hdHlncnlzYQ==</auth>
*** User 2024-01-14 19:53:17.286 ***🔗
alicE_subscribe_relog_2698@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-01-14 19:53:17.286 ***🔗
alicE_subscribe_relog_2698@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-01-14 19:53:17.287 ***🔗
alicE_subscribe_relog_2698@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dd1e31aa5950f67e' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_relog_2698@domain.example.com'>
*** User 2024-01-14 19:53:17.287 ***🔗
alicE_subscribe_relog_2698@domain.example.com/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-01-14 19:53:17.287 ***🔗
alicE_subscribe_relog_2698@domain.example.com/res1 out
<iq type='set' id='8c4a8ccdf7253c260c5c2eb6e0c9d286'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-01-14 19:53:17.287 ***🔗
alicE_subscribe_relog_2698@domain.example.com/res1 in
<iq id='8c4a8ccdf7253c260c5c2eb6e0c9d286' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_subscribe_relog_2698@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-01-14 19:53:17.287 ***🔗
alice_subscribe_relog_2698@domain.example.com/res1 out
<iq type='set' id='d9ffc1e4cb54e398fa51aa2982e01bf9'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-01-14 19:53:17.288 ***🔗
alice_subscribe_relog_2698@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_relog_2698@domain.example.com/res1' id='d9ffc1e4cb54e398fa51aa2982e01bf9' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-01-14 19:53:17.288 ***🔗
alice_subscribe_relog_2698@domain.example.com/res1 out
<presence/>
*** User 2024-01-14 19:53:17.289 ***🔗
alice_subscribe_relog_2698@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2698@domain.example.com/res1' to='alice_subscribe_relog_2698@domain.example.com/res1'/>
*** User 2024-01-14 19:53:17.290 ***🔗
bOb_subscribe_relog_2698@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-01-14 19:53:17.294 ***🔗
bOb_subscribe_relog_2698@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f60367edd547fa9e' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-01-14 19:53:17.294 ***🔗
bOb_subscribe_relog_2698@domain.example.com/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-01-14 19:53:17.294 ***🔗
bOb_subscribe_relog_2698@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjY5OABtYWtyb2xpa2E=</auth>
*** User 2024-01-14 19:53:17.295 ***🔗
bOb_subscribe_relog_2698@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-01-14 19:53:17.296 ***🔗
bOb_subscribe_relog_2698@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-01-14 19:53:17.296 ***🔗
bOb_subscribe_relog_2698@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ec7d4c96ef8c946c' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2698@domain.example.com'>
*** User 2024-01-14 19:53:17.296 ***🔗
bOb_subscribe_relog_2698@domain.example.com/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-01-14 19:53:17.296 ***🔗
bOb_subscribe_relog_2698@domain.example.com/res1 out
<iq type='set' id='b58eb5832c5de0421483d9b8b94f575f'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-01-14 19:53:17.296 ***🔗
bOb_subscribe_relog_2698@domain.example.com/res1 in
<iq id='b58eb5832c5de0421483d9b8b94f575f' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2698@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-01-14 19:53:17.297 ***🔗
bob_subscribe_relog_2698@domain.example.com/res1 out
<iq type='set' id='2dc05f7ae7f0b6fcaa31695b26ecba38'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-01-14 19:53:17.297 ***🔗
bob_subscribe_relog_2698@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_relog_2698@domain.example.com/res1' id='2dc05f7ae7f0b6fcaa31695b26ecba38' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-01-14 19:53:17.297 ***🔗
bob_subscribe_relog_2698@domain.example.com/res1 out
<presence/>
*** User 2024-01-14 19:53:17.299 ***🔗
bob_subscribe_relog_2698@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2698@domain.example.com/res1' to='bob_subscribe_relog_2698@domain.example.com/res1'/>
*** User 2024-01-14 19:53:17.299 ***🔗
alice_subscribe_relog_2698@domain.example.com/res1 out
<iq type='set' id='68ac5cc9dabf0a2e6d7bcfec43e4dba8'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_subscribe_relog_2698@domain.example.com' name='Bobby'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-01-14 19:53:17.312 ***🔗
alice_subscribe_relog_2698@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2698@domain.example.com' to='alice_subscribe_relog_2698@domain.example.com/res1' id='pushe6c99a47fad362ab' type='set'>
<query xmlns='jabber:iq:roster'>
<item subscription='none' name='Bobby' jid='bob_subscribe_relog_2698@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-01-14 19:53:17.312 ***🔗
alice_subscribe_relog_2698@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2698@domain.example.com' to='alice_subscribe_relog_2698@domain.example.com/res1' id='68ac5cc9dabf0a2e6d7bcfec43e4dba8' type='result'/>
*** User 2024-01-14 19:53:17.312 ***🔗
alice_subscribe_relog_2698@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2698@domain.example.com' id='pushe6c99a47fad362ab' type='result'/>
*** User 2024-01-14 19:53:17.312 ***🔗
alice_subscribe_relog_2698@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_relog_2698@domain.example.com'/>
*** User 2024-01-14 19:53:17.332 ***🔗
alice_subscribe_relog_2698@domain.example.com/res1 in
<iq from='alice_subscribe_relog_2698@domain.example.com' to='alice_subscribe_relog_2698@domain.example.com/res1' id='pushfc6791ed5343e460' type='set'>
<query xmlns='jabber:iq:roster'>
<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_relog_2698@domain.example.com'>
<group>friends</group>
</item>
</query>
</iq>
*** User 2024-01-14 19:53:17.332 ***🔗
alice_subscribe_relog_2698@domain.example.com/res1 out
<iq to='alice_subscribe_relog_2698@domain.example.com' id='pushfc6791ed5343e460' type='result'/>
*** User 2024-01-14 19:53:17.332 ***🔗
bob_subscribe_relog_2698@domain.example.com/res1 in
<presence from='alice_subscribe_relog_2698@domain.example.com' to='bob_subscribe_relog_2698@domain.example.com/res1' type='subscribe'/>
*** User 2024-01-14 19:53:17.333 ***🔗
bOb_subscribe_relog_2698@domain.example.com/newbob out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-01-14 19:53:17.333 ***🔗
bOb_subscribe_relog_2698@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='05bf1cce893fa578' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-01-14 19:53:17.333 ***🔗
bOb_subscribe_relog_2698@domain.example.com/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-01-14 19:53:17.333 ***🔗
bOb_subscribe_relog_2698@domain.example.com/newbob out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcmVsb2dfMjY5OABtYWtyb2xpa2E=</auth>
*** User 2024-01-14 19:53:17.336 ***🔗
bOb_subscribe_relog_2698@domain.example.com/newbob in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-01-14 19:53:17.336 ***🔗
bOb_subscribe_relog_2698@domain.example.com/newbob out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-01-14 19:53:17.337 ***🔗
bOb_subscribe_relog_2698@domain.example.com/newbob in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3a4248a57fd04bfd' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_relog_2698@domain.example.com'>
*** User 2024-01-14 19:53:17.337 ***🔗
bOb_subscribe_relog_2698@domain.example.com/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-01-14 19:53:17.337 ***🔗
bOb_subscribe_relog_2698@domain.example.com/newbob out
<iq type='set' id='77295cf53fb3189100196aab4c532efc'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>newbob</resource>
</bind>
</iq>
*** User 2024-01-14 19:53:17.338 ***🔗
bOb_subscribe_relog_2698@domain.example.com/newbob in
<iq id='77295cf53fb3189100196aab4c532efc' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_subscribe_relog_2698@domain.example.com/newbob</jid>
</bind>
</iq>
*** User 2024-01-14 19:53:17.338 ***🔗
bob_subscribe_relog_2698@domain.example.com/newbob out
<iq type='set' id='fbe787c32b27d840e251371edf2a68db'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-01-14 19:53:17.338 ***🔗
bob_subscribe_relog_2698@domain.example.com/newbob in
<iq from='domain.example.com' to='bob_subscribe_relog_2698@domain.example.com/newbob' id='fbe787c32b27d840e251371edf2a68db' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-01-14 19:53:17.338 ***🔗
bob_subscribe_relog_2698@domain.example.com/newbob out
<presence/>
*** User 2024-01-14 19:53:17.339 ***🔗
bob_subscribe_relog_2698@domain.example.com/res1 in
<presence from='bob_subscribe_relog_2698@domain.example.com/newbob' to='bob_subscribe_relog_2698@domain.example.com/res1'/>
*** User 2024-01-14 19:53:17.339 ***🔗
bob_subscribe_relog_2698@domain.example.com/newbob in
<presence from='alice_subscribe_relog_2698@domain.example.com' to='bob_subscribe_relog_2698@domain.example.com/newbob' type='subscribe'>
<status/>
</presence>
*** User 2024-01-14 19:53:17.339 ***🔗
bob_subscribe_relog_2698@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2698@domain.example.com/newbob' to='bob_subscribe_relog_2698@domain.example.com/newbob'/>
*** User 2024-01-14 19:53:17.339 ***🔗
bob_subscribe_relog_2698@domain.example.com/newbob in
<presence from='bob_subscribe_relog_2698@domain.example.com/res1' to='bob_subscribe_relog_2698@domain.example.com/newbob'>
<delay xmlns='urn:xmpp:delay' stamp='2024-01-14T19:53:17.298512Z' from='bob_subscribe_relog_2698@domain.example.com/res1'/>
</presence>
*** User 2024-01-14 19:53:17.340 ***🔗
bob_subscribe_relog_2698@domain.example.com/newbob out
</stream:stream>
*** User 2024-01-14 19:53:17.340 ***🔗
bob_subscribe_relog_2698@domain.example.com/newbob in
</stream:stream>
*** User 2024-01-14 19:53:17.340 ***🔗
bob_subscribe_relog_2698@domain.example.com/res1 out
<presence type='unsubscribed' to='alice_subscribe_relog_2698@domain.example.com'/>
*** User 2024-01-14 19:53:17.340 ***🔗
bob_subscribe_relog_2698@domain.example.com/res1 out
</stream:stream>
*** User 2024-01-14 19:53:17.349 ***🔗
bob_subscribe_relog_2698@domain.example.com/res1 in
</stream:stream>
*** User 2024-01-14 19:53:17.349 ***🔗
alice_subscribe_relog_2698@domain.example.com/res1 out
</stream:stream>
*** User 2024-01-14 19:53:17.350 ***🔗
alice_subscribe_relog_2698@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-01-14 19:53:17
=== successfully completed test case
=== === Returned value: ok