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

=== Config value:

    [{watchdog,<0.12774.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,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.connect_SUITE.logs/run.2022-05-25_09.04.37/connect_suite.clean_close_of_replaced_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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.connect_SUITE.logs/run.2022-05-25_09.04.37/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@f0b09cc3aef4.2022-05-25_09.03.38"

=== Started at 2022-05-25 09:04:37


*** CT 2022-05-25 09:04:37.472 *** View log from node mongooseim@localhost when started mongooseim@localhost_182.html
*** CT 2022-05-25 09:04:37.472 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_392.html

*** User 2022-05-25 09:04:37.473 ***
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-05-25 09:04:37.474 ***
alicE@domain.example.com/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a0676579d62b9f4e' from='domain.example.com' version='1.0' xml:lang='en'>

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



*** User 2022-05-25 09:04:37.475 ***
alicE@domain.example.com/conflict in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:04:37.475 ***
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-05-25 09:04:37.475 ***
alicE@domain.example.com/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f7d399b23d4d83f8' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:04:37.475 ***
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-05-25 09:04:37.475 ***
alicE@domain.example.com/conflict out
<iq type='set' id='d79caf01d332381fe0d499cf23aa8f56'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>conflict</resource>
	</bind>
</iq>



*** User 2022-05-25 09:04:37.475 ***
alicE@domain.example.com/conflict in
<iq id='d79caf01d332381fe0d499cf23aa8f56' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@domain.example.com/conflict</jid>
	</bind>
</iq>



*** User 2022-05-25 09:04:37.475 ***
alice@domain.example.com/conflict out
<iq type='set' id='2defd00ac1d59209e992ccc480bfff77'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:04:37.476 ***
alice@domain.example.com/conflict in
<iq type='result' id='2defd00ac1d59209e992ccc480bfff77'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:04:37.476 ***
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-05-25 09:04:37.476 ***
alicE@domain.example.com/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8ac30f959951c2ba' from='domain.example.com' version='1.0' xml:lang='en'>

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



*** User 2022-05-25 09:04:37.477 ***
alicE@domain.example.com/conflict in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:04:37.477 ***
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-05-25 09:04:37.477 ***
alicE@domain.example.com/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b1c42d3699eda34d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:04:37.477 ***
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-05-25 09:04:37.477 ***
alicE@domain.example.com/conflict out
<iq type='set' id='75d29172a33a8d9bfb4453c3b8dfbfb8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>conflict</resource>
	</bind>
</iq>



*** User 2022-05-25 09:04:37.478 ***
alicE@domain.example.com/conflict in
<iq id='75d29172a33a8d9bfb4453c3b8dfbfb8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@domain.example.com/conflict</jid>
	</bind>
</iq>



*** User 2022-05-25 09:04:37.478 ***
alice@domain.example.com/conflict out
<iq type='set' id='8f5a2a1cb29694be7b8e8874246d776b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:04:37.478 ***
alice@domain.example.com/conflict in
<iq type='result' id='8f5a2a1cb29694be7b8e8874246d776b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:04:37.479 ***
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-05-25 09:04:37.479 ***
alice@domain.example.com/conflict out
</stream:stream>

*** User 2022-05-25 09:04:37.479 ***
alice@domain.example.com/conflict in
</stream:stream>
*** CT 2022-05-25 09:04:37.480 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_392.html
*** CT 2022-05-25 09:04:37.480 *** View log from node mongooseim@localhost when finished mongooseim@localhost_183.html



=== Ended at 2022-05-25 09:04:37
=== successfully completed test case
=== === Returned value: []


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