=== Test case: presence_SUITE:subscribe_preserves_extra_info/1 (click for source code)

=== Config value:

    [{watchdog,<0.25626.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@333794cb5a72.2022-03-07_15.57.24/big_tests.tests.presence_SUITE.logs/run.2022-03-07_16.04.59/presence_suite.subscribe_preserves_extra_info.95107.html"},
     {tc_group_properties,[{name,subscribe_group},
                           {repeat_until_all_ok,3},
                           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@333794cb5a72.2022-03-07_15.57.24/big_tests.tests.presence_SUITE.logs/run.2022-03-07_16.04.59/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@333794cb5a72.2022-03-07_15.57.24"

=== Started at 2022-03-07 16:05:00


*** CT 2022-03-07 16:05:00.789 *** View log from node mongooseim@localhost when started mongooseim@localhost_1444.html
*** CT 2022-03-07 16:05:00.789 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_533.html

*** User 2022-03-07 16:05:00.799 ***
alicE_subscribe_preserves_extra_info_1704@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 2022-03-07 16:05:00.799 ***
alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b2017c2928a19783' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:05:00.799 ***
alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 16:05:00.799 ***
alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9wcmVzZXJ2ZXNfZXh0cmFfaW5mb18xNzA0AG1hdHlncnlzYQ==</auth>



*** User 2022-03-07 16:05:00.800 ***
alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:05:00.800 ***
alicE_subscribe_preserves_extra_info_1704@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 2022-03-07 16:05:00.800 ***
alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='35a88ce88a7cad5c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:05:00.800 ***
alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 16:05:00.800 ***
alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1 out
<iq type='set' id='c6be39c94df34d244aa0f8365f1921f5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:05:00.801 ***
alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1 in
<iq id='c6be39c94df34d244aa0f8365f1921f5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:05:00.801 ***
alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1 out
<iq type='set' id='142d236c1ed52a20386b3de5ab571c94'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:05:00.801 ***
alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1 in
<iq type='result' id='142d236c1ed52a20386b3de5ab571c94'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:05:00.801 ***
alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1 out
<presence/>



*** User 2022-03-07 16:05:00.802 ***
alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1 in
<presence from='alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1' to='alice_subscribe_preserves_extra_info_1704@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-07 16:05:00.803 ***
bOb_subscribe_preserves_extra_info_1704@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 2022-03-07 16:05:00.803 ***
bOb_subscribe_preserves_extra_info_1704@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cab36b1a6e148140' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:05:00.804 ***
bOb_subscribe_preserves_extra_info_1704@domain.example.com/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 16:05:00.804 ***
bOb_subscribe_preserves_extra_info_1704@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcHJlc2VydmVzX2V4dHJhX2luZm9fMTcwNABtYWtyb2xpa2E=</auth>



*** User 2022-03-07 16:05:00.804 ***
bOb_subscribe_preserves_extra_info_1704@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 16:05:00.804 ***
bOb_subscribe_preserves_extra_info_1704@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 2022-03-07 16:05:00.805 ***
bOb_subscribe_preserves_extra_info_1704@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3b648c2aa57bc538' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 16:05:00.805 ***
bOb_subscribe_preserves_extra_info_1704@domain.example.com/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 16:05:00.805 ***
bOb_subscribe_preserves_extra_info_1704@domain.example.com/res1 out
<iq type='set' id='53c72afed8e1f05c7bb224922701f576'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-07 16:05:00.805 ***
bOb_subscribe_preserves_extra_info_1704@domain.example.com/res1 in
<iq id='53c72afed8e1f05c7bb224922701f576' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_subscribe_preserves_extra_info_1704@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-07 16:05:00.805 ***
bOb_subscribe_preserves_extra_info_1704@domain.example.com/res1 out
<iq type='set' id='3fb7510cc753933decd814e361f324b3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:05:00.805 ***
bOb_subscribe_preserves_extra_info_1704@domain.example.com/res1 in
<iq type='result' id='3fb7510cc753933decd814e361f324b3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 16:05:00.806 ***
bOb_subscribe_preserves_extra_info_1704@domain.example.com/res1 out
<presence/>



*** User 2022-03-07 16:05:00.807 ***
bOb_subscribe_preserves_extra_info_1704@domain.example.com/res1 in
<presence from='bOb_subscribe_preserves_extra_info_1704@domain.example.com/res1' to='bob_subscribe_preserves_extra_info_1704@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-07 16:05:00.807 ***
alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1 out
<iq type='set' id='94150d3c12c95301cb057e2389beef6f'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_subscribe_preserves_extra_info_1704@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 16:05:00.815 ***
alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1 in
<iq from='alicE_subscribe_preserves_extra_info_1704@domain.example.com' to='alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1' id='push0205adb373590f01' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_subscribe_preserves_extra_info_1704@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 16:05:00.815 ***
alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1 in
<iq from='alicE_subscribe_preserves_extra_info_1704@domain.example.com' to='alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1' id='94150d3c12c95301cb057e2389beef6f' type='result'/>



*** User 2022-03-07 16:05:00.815 ***
alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1 out
<iq to='alicE_subscribe_preserves_extra_info_1704@domain.example.com' id='push0205adb373590f01' type='result'/>



*** User 2022-03-07 16:05:00.815 ***
alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1 out
<presence type='subscribe' to='bOb_subscribe_preserves_extra_info_1704@domain.example.com'/>



*** User 2022-03-07 16:05:00.818 ***
alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1 in
<iq from='alicE_subscribe_preserves_extra_info_1704@domain.example.com' to='alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1' id='push56dd441c1465b511' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_preserves_extra_info_1704@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 16:05:00.818 ***
alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1 out
<iq to='alicE_subscribe_preserves_extra_info_1704@domain.example.com' id='push56dd441c1465b511' type='result'/>



*** User 2022-03-07 16:05:00.819 ***
bOb_subscribe_preserves_extra_info_1704@domain.example.com/res1 in
<presence from='alicE_subscribe_preserves_extra_info_1704@domain.example.com' to='bOb_subscribe_preserves_extra_info_1704@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-07 16:05:00.819 ***
alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1 out
<iq type='get' id='59ae6f5bdc79159e20bcd3bd4e429966'>
	<query xmlns='jabber:iq:roster'/>
</iq>



*** User 2022-03-07 16:05:00.822 ***
alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1 in
<iq from='alicE_subscribe_preserves_extra_info_1704@domain.example.com' to='alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1' id='59ae6f5bdc79159e20bcd3bd4e429966' type='result'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_preserves_extra_info_1704@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-07 16:05:00.822 ***
bOb_subscribe_preserves_extra_info_1704@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-07 16:05:00.823 ***
bOb_subscribe_preserves_extra_info_1704@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-07 16:05:00.823 ***
alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-07 16:05:00.823 ***
alicE_subscribe_preserves_extra_info_1704@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-07 16:05:00.826 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_533.html
*** CT 2022-03-07 16:05:00.827 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1444.html



=== Ended at 2022-03-07 16:05:00
=== successfully completed test case
=== === Returned value: ok