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

=== Config value:

    [{watchdog,<0.12703.0>},
     {c2s_listener,#{access => c2s,ip_address => "0",
                     ip_tuple => {0,0,0,0},
                     ip_version => 4,max_stanza_size => 65536,
                     module => ejabberd_c2s,port => 5222,proto => tcp,
                     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,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.connect_SUITE.logs/run.2022-03-04_11.17.52/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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.connect_SUITE.logs/run.2022-03-04_11.17.52/log_private/"},
     {escalus_users,[{secure_joe,[{username,<<"secure_joe">>},
                                  {server,<<"domain.example.com">>},
                                  {host,<<"localhost">>},
                                  {password,<<"break_me">>},
                                  {compression,<<"zlib">>},
                                  {starttls,required}]},
                     {alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52"

=== Started at 2022-03-04 11:17:52


*** CT 2022-03-04 11:17:52.236 *** View log from node mongooseim@localhost when started mongooseim@localhost_223.html
*** CT 2022-03-04 11:17:52.236 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_490.html

*** User 2022-03-04 11:17:52.237 ***
alicE@domain.example.com/conflict 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-04 11:17:52.238 ***
alicE@domain.example.com/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1819c281789c570c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:17:52.238 ***
alicE@domain.example.com/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-03-04 11:17:52.238 ***
alicE@domain.example.com/conflict out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-03-04 11:17:52.239 ***
alicE@domain.example.com/conflict in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:17:52.239 ***
alicE@domain.example.com/conflict 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-04 11:17:52.240 ***
alicE@domain.example.com/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='55a66c6cb428ae40' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:17:52.240 ***
alicE@domain.example.com/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-03-04 11:17:52.240 ***
alicE@domain.example.com/conflict out
<iq type='set' id='c4a8398e697aee8e5442fea188b76c66'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>conflict</resource>
	</bind>
</iq>



*** User 2022-03-04 11:17:52.240 ***
alicE@domain.example.com/conflict in
<iq id='c4a8398e697aee8e5442fea188b76c66' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/conflict</jid>
	</bind>
</iq>



*** User 2022-03-04 11:17:52.240 ***
alicE@domain.example.com/conflict out
<iq type='set' id='038c5b5687970e4170d47bea0eb667c5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:17:52.240 ***
alicE@domain.example.com/conflict in
<iq type='result' id='038c5b5687970e4170d47bea0eb667c5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:17:52.241 ***
alicE@domain.example.com/conflict 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-04 11:17:52.241 ***
alicE@domain.example.com/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b72530b7f7061e0c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:17:52.241 ***
alicE@domain.example.com/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-03-04 11:17:52.241 ***
alicE@domain.example.com/conflict out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-03-04 11:17:52.242 ***
alicE@domain.example.com/conflict in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:17:52.242 ***
alicE@domain.example.com/conflict 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-04 11:17:52.242 ***
alicE@domain.example.com/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='65b3d0707f8e9430' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:17:52.243 ***
alicE@domain.example.com/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-03-04 11:17:52.243 ***
alicE@domain.example.com/conflict out
<iq type='set' id='86db8280031047623eaa20aef04ea012'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>conflict</resource>
	</bind>
</iq>



*** User 2022-03-04 11:17:52.243 ***
alicE@domain.example.com/conflict in
<iq id='86db8280031047623eaa20aef04ea012' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/conflict</jid>
	</bind>
</iq>



*** User 2022-03-04 11:17:52.243 ***
alicE@domain.example.com/conflict out
<iq type='set' id='8ff7d491a4712117e06c1cc9608ab6ef'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:17:52.243 ***
alicE@domain.example.com/conflict in
<iq type='result' id='8ff7d491a4712117e06c1cc9608ab6ef'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:17:52.244 ***
alicE@domain.example.com/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-03-04 11:17:52.244 ***
alicE@domain.example.com/conflict out
</stream:stream>

*** User 2022-03-04 11:17:52.244 ***
alicE@domain.example.com/conflict in
</stream:stream>
*** CT 2022-03-04 11:17:52.245 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_490.html
*** CT 2022-03-04 11:17:52.246 *** View log from node mongooseim@localhost when finished mongooseim@localhost_223.html



=== Ended at 2022-03-04 11:17:52
=== successfully completed test case
=== === Returned value: already_stopped


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