=== Test case: connect_SUITE:same_resource_replaces_session/1 (click for source code)

=== Config value:

    [{watchdog,<0.12380.0>},
     {c2s_listener,#{access => c2s,backlog => 100,hibernate_after => 0,
                     ip_address => "0",
                     ip_tuple => {0,0,0,0},
                     ip_version => 4,max_stanza_size => 65536,
                     module => ejabberd_c2s,num_acceptors => 100,port => 5222,
                     proto => tcp,proxy_protocol => false,
                     shaper => c2s_shaper,
                     tls =>
                         [{certfile,"priv/ssl/fake_server.pem"},
                          {dhfile,"priv/ssl/fake_dh_server.pem"},
                          starttls],
                     zlib => 10000}},
     {escalus_user_db,{module,escalus_ejabberd,[]}},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/connect_SUITE_data"},
     {preset,"mysql_redis"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f547f21cc62a.2022-05-11_08.56.42/big_tests.tests.connect_SUITE.logs/run.2022-05-11_08.57.33/connect_suite.same_resource_replaces_session.html"},
     {tc_group_properties,[{name,session_replacement},
                           {repeat_until_all_ok,3}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/connect_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@f547f21cc62a.2022-05-11_08.56.42/big_tests.tests.connect_SUITE.logs/run.2022-05-11_08.57.33/log_private/"},
     {escalus_users,[{secure_joe,[{username,<<"secure_joe">>},
                                  {server,<<"localhost">>},
                                  {password,<<"break_me">>},
                                  {compression,<<"zlib">>},
                                  {starttls,required}]},
                     {alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@f547f21cc62a.2022-05-11_08.56.42"

=== Started at 2022-05-11 08:57:33


*** CT 2022-05-11 08:57:33.181 *** View log from node mongooseim@localhost when started mongooseim@localhost_108.html
*** CT 2022-05-11 08:57:33.181 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_110.html

*** User 2022-05-11 08:57:33.182 ***
alicE@localhost/conflict out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-11 08:57:33.183 ***
alicE@localhost/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a719d3b40735feb6' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 08:57:33.183 ***
alicE@localhost/conflict 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-11 08:57:33.183 ***
alicE@localhost/conflict out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-05-11 08:57:33.184 ***
alicE@localhost/conflict in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 08:57:33.184 ***
alicE@localhost/conflict out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-11 08:57:33.184 ***
alicE@localhost/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b9271e08e24f1ee2' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 08:57:33.184 ***
alicE@localhost/conflict 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-11 08:57:33.184 ***
alicE@localhost/conflict out
<iq type='set' id='92c327281ca5f5520c40bc2cb305f46c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>conflict</resource>
	</bind>
</iq>



*** User 2022-05-11 08:57:33.184 ***
alicE@localhost/conflict in
<iq id='92c327281ca5f5520c40bc2cb305f46c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/conflict</jid>
	</bind>
</iq>



*** User 2022-05-11 08:57:33.185 ***
alicE@localhost/conflict out
<iq type='set' id='14c3eb6dc1322b930e5a04fbac3c41b6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 08:57:33.185 ***
alicE@localhost/conflict in
<iq type='result' id='14c3eb6dc1322b930e5a04fbac3c41b6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 08:57:33.185 ***
alicE@localhost/conflict out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-11 08:57:33.186 ***
alicE@localhost/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a8b6f8b9324f48ef' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 08:57:33.186 ***
alicE@localhost/conflict 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-11 08:57:33.186 ***
alicE@localhost/conflict out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-05-11 08:57:33.186 ***
alicE@localhost/conflict in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 08:57:33.186 ***
alicE@localhost/conflict out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-11 08:57:33.187 ***
alicE@localhost/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a5b4ed16c41c1a09' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 08:57:33.187 ***
alicE@localhost/conflict 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-11 08:57:33.187 ***
alicE@localhost/conflict out
<iq type='set' id='c105132a2c15f70b7da6f40b1ed21b55'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>conflict</resource>
	</bind>
</iq>



*** User 2022-05-11 08:57:33.187 ***
alicE@localhost/conflict in
<iq id='c105132a2c15f70b7da6f40b1ed21b55' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/conflict</jid>
	</bind>
</iq>



*** User 2022-05-11 08:57:33.187 ***
alicE@localhost/conflict out
<iq type='set' id='800ba8f86289edb762b17a7c459c957a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 08:57:33.187 ***
alicE@localhost/conflict in
<iq type='result' id='800ba8f86289edb762b17a7c459c957a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 08:57:33.188 ***
alicE@localhost/conflict in
<stream:error>
	<conflict xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
	<text xml:lang='en' xmlns='urn:ietf:params:xml:ns:xmpp-streams'>Replaced by new connection</text>
</stream:error>



*** User 2022-05-11 08:57:33.188 ***
alicE@localhost/conflict out
</stream:stream>

*** User 2022-05-11 08:57:33.189 ***
alicE@localhost/conflict in
</stream:stream>
*** CT 2022-05-11 08:57:33.190 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_110.html
*** CT 2022-05-11 08:57:33.190 *** View log from node mongooseim@localhost when finished mongooseim@localhost_108.html



=== Ended at 2022-05-11 08:57:33
=== successfully completed test case
=== === Returned value: already_stopped


Test run history | Top level test index | Latest test result