=== Test case: connect_SUITE:clean_close_of_replaced_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.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@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.270 *** View log from node mongooseim@localhost when started mongooseim@localhost_224.html
*** CT 2022-03-04 11:17:52.271 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_490.html

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

*** User 2022-03-04 11:17:52.273 ***
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.273 ***
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.274 ***
alicE@domain.example.com/conflict in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



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

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



*** User 2022-03-04 11:17:52.275 ***
alicE@domain.example.com/conflict in
<iq id='c71bb7490b151bc8e98ff6e03e5f5ee1' 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.275 ***
alicE@domain.example.com/conflict out
<iq type='set' id='8c623861c6fb8d7a159d0cf84161696c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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

*** User 2022-03-04 11:17:52.276 ***
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.276 ***
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.277 ***
alicE@domain.example.com/conflict in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



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

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



*** User 2022-03-04 11:17:52.278 ***
alicE@domain.example.com/conflict in
<iq id='5ade1cd4d2f908b44a4cdb59ed7a1151' 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.278 ***
alicE@domain.example.com/conflict out
<iq type='set' id='80cc253f6b43ea2326eae0c7b858df3d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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

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



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


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