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

=== Config value:

    [{watchdog,<0.30645.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@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.presence_SUITE.logs/run.2022-05-18_10.07.55/presence_suite.subscribe_preserves_extra_info.146050.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@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.presence_SUITE.logs/run.2022-05-18_10.07.55/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@a4fd8d8e9aae.2022-05-18_09.59.33"

=== Started at 2022-05-18 10:07:57


*** CT 2022-05-18 10:07:57.195 *** View log from node mongooseim@localhost when started mongooseim@localhost_2317.html
*** CT 2022-05-18 10:07:57.196 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_526.html

*** User 2022-05-18 10:07:57.209 ***
alicE_subscribe_preserves_extra_info_1831@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-05-18 10:07:57.209 ***
alicE_subscribe_preserves_extra_info_1831@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='96dd99cfa352dd0c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:07:57.209 ***
alicE_subscribe_preserves_extra_info_1831@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-05-18 10:07:57.210 ***
alicE_subscribe_preserves_extra_info_1831@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV9wcmVzZXJ2ZXNfZXh0cmFfaW5mb18xODMxAG1hdHlncnlzYQ==</auth>



*** User 2022-05-18 10:07:57.210 ***
alicE_subscribe_preserves_extra_info_1831@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:07:57.211 ***
alicE_subscribe_preserves_extra_info_1831@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-05-18 10:07:57.211 ***
alicE_subscribe_preserves_extra_info_1831@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='40342b0fd871053f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:07:57.211 ***
alicE_subscribe_preserves_extra_info_1831@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-05-18 10:07:57.211 ***
alicE_subscribe_preserves_extra_info_1831@domain.example.com/res1 out
<iq type='set' id='b870327df9ca49851f50932aa390fe6b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:07:57.212 ***
alicE_subscribe_preserves_extra_info_1831@domain.example.com/res1 in
<iq id='b870327df9ca49851f50932aa390fe6b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_preserves_extra_info_1831@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:07:57.212 ***
alice_subscribe_preserves_extra_info_1831@domain.example.com/res1 out
<iq type='set' id='adb98ed1c9b311d426ea816d8006d247'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:07:57.212 ***
alice_subscribe_preserves_extra_info_1831@domain.example.com/res1 in
<iq type='result' id='adb98ed1c9b311d426ea816d8006d247'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:07:57.212 ***
alice_subscribe_preserves_extra_info_1831@domain.example.com/res1 out
<presence/>



*** User 2022-05-18 10:07:57.215 ***
alice_subscribe_preserves_extra_info_1831@domain.example.com/res1 in
<presence from='alice_subscribe_preserves_extra_info_1831@domain.example.com/res1' to='alice_subscribe_preserves_extra_info_1831@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-18 10:07:57.215 ***
bOb_subscribe_preserves_extra_info_1831@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-05-18 10:07:57.216 ***
bOb_subscribe_preserves_extra_info_1831@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e4ef2877e7bcd50c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:07:57.216 ***
bOb_subscribe_preserves_extra_info_1831@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-05-18 10:07:57.216 ***
bOb_subscribe_preserves_extra_info_1831@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfcHJlc2VydmVzX2V4dHJhX2luZm9fMTgzMQBtYWtyb2xpa2E=</auth>



*** User 2022-05-18 10:07:57.218 ***
bOb_subscribe_preserves_extra_info_1831@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:07:57.218 ***
bOb_subscribe_preserves_extra_info_1831@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-05-18 10:07:57.218 ***
bOb_subscribe_preserves_extra_info_1831@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bff9bdca658d1ef9' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:07:57.219 ***
bOb_subscribe_preserves_extra_info_1831@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-05-18 10:07:57.219 ***
bOb_subscribe_preserves_extra_info_1831@domain.example.com/res1 out
<iq type='set' id='76ce2452f657c8bcf3280a864390f996'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:07:57.219 ***
bOb_subscribe_preserves_extra_info_1831@domain.example.com/res1 in
<iq id='76ce2452f657c8bcf3280a864390f996' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_preserves_extra_info_1831@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:07:57.219 ***
bob_subscribe_preserves_extra_info_1831@domain.example.com/res1 out
<iq type='set' id='69cf75e367364c68d94ca7d42519d485'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:07:57.220 ***
bob_subscribe_preserves_extra_info_1831@domain.example.com/res1 in
<iq type='result' id='69cf75e367364c68d94ca7d42519d485'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:07:57.220 ***
bob_subscribe_preserves_extra_info_1831@domain.example.com/res1 out
<presence/>



*** User 2022-05-18 10:07:57.226 ***
bob_subscribe_preserves_extra_info_1831@domain.example.com/res1 in
<presence from='bob_subscribe_preserves_extra_info_1831@domain.example.com/res1' to='bob_subscribe_preserves_extra_info_1831@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-18 10:07:57.226 ***
alice_subscribe_preserves_extra_info_1831@domain.example.com/res1 out
<iq type='set' id='56d3e53b4652f89b77237b3e7c7ef256'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_preserves_extra_info_1831@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:07:57.235 ***
alice_subscribe_preserves_extra_info_1831@domain.example.com/res1 in
<iq from='alice_subscribe_preserves_extra_info_1831@domain.example.com' to='alice_subscribe_preserves_extra_info_1831@domain.example.com/res1' id='pushed88bd6f848d1d67' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_subscribe_preserves_extra_info_1831@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:07:57.235 ***
alice_subscribe_preserves_extra_info_1831@domain.example.com/res1 in
<iq from='alice_subscribe_preserves_extra_info_1831@domain.example.com' to='alice_subscribe_preserves_extra_info_1831@domain.example.com/res1' id='56d3e53b4652f89b77237b3e7c7ef256' type='result'/>



*** User 2022-05-18 10:07:57.236 ***
alice_subscribe_preserves_extra_info_1831@domain.example.com/res1 out
<iq to='alice_subscribe_preserves_extra_info_1831@domain.example.com' id='pushed88bd6f848d1d67' type='result'/>



*** User 2022-05-18 10:07:57.236 ***
alice_subscribe_preserves_extra_info_1831@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_preserves_extra_info_1831@domain.example.com'/>



*** User 2022-05-18 10:07:57.245 ***
alice_subscribe_preserves_extra_info_1831@domain.example.com/res1 in
<iq from='alice_subscribe_preserves_extra_info_1831@domain.example.com' to='alice_subscribe_preserves_extra_info_1831@domain.example.com/res1' id='pushc0c3278b597b79fb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_preserves_extra_info_1831@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:07:57.245 ***
alice_subscribe_preserves_extra_info_1831@domain.example.com/res1 out
<iq to='alice_subscribe_preserves_extra_info_1831@domain.example.com' id='pushc0c3278b597b79fb' type='result'/>



*** User 2022-05-18 10:07:57.245 ***
bob_subscribe_preserves_extra_info_1831@domain.example.com/res1 in
<presence from='alice_subscribe_preserves_extra_info_1831@domain.example.com' to='bob_subscribe_preserves_extra_info_1831@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-05-18 10:07:57.245 ***
alice_subscribe_preserves_extra_info_1831@domain.example.com/res1 out
<iq type='get' id='d1489d162ec245045b75b48124afd2ad'>
	<query xmlns='jabber:iq:roster'/>
</iq>



*** User 2022-05-18 10:07:57.247 ***
alice_subscribe_preserves_extra_info_1831@domain.example.com/res1 in
<iq from='alice_subscribe_preserves_extra_info_1831@domain.example.com' to='alice_subscribe_preserves_extra_info_1831@domain.example.com/res1' id='d1489d162ec245045b75b48124afd2ad' type='result'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_subscribe_preserves_extra_info_1831@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:07:57.247 ***
bob_subscribe_preserves_extra_info_1831@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-18 10:07:57.247 ***
bob_subscribe_preserves_extra_info_1831@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-18 10:07:57.248 ***
alice_subscribe_preserves_extra_info_1831@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-18 10:07:57.248 ***
alice_subscribe_preserves_extra_info_1831@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-18 10:07:57.251 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_526.html
*** CT 2022-05-18 10:07:57.252 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2317.html



=== Ended at 2022-05-18 10:07:57
=== successfully completed test case
=== === Returned value: ok