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

=== Config value:

    [{watchdog,<0.11133.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,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.connect_SUITE.logs/run.2022-03-18_10.51.16/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@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.connect_SUITE.logs/run.2022-03-18_10.51.16/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@fbe05ecb9552.2022-03-18_10.50.03"

=== Started at 2022-03-18 10:51:16


*** CT 2022-03-18 10:51:16.339 *** View log from node mongooseim@localhost when started mongooseim@localhost_210.html
*** CT 2022-03-18 10:51:16.339 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_396.html

*** User 2022-03-18 10:51:16.340 ***
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-03-18 10:51:16.341 ***
alicE@localhost/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='35ec75c41ab9b7b5' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:51:16.341 ***
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>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-18 10:51:16.341 ***
alicE@localhost/conflict out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-03-18 10:51:16.342 ***
alicE@localhost/conflict in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:51:16.342 ***
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-03-18 10:51:16.342 ***
alicE@localhost/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b436b8cff136576c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:51:16.342 ***
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-03-18 10:51:16.343 ***
alicE@localhost/conflict out
<iq type='set' id='b77f86ab49d7014f23bd01fe2c398254'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>conflict</resource>
	</bind>
</iq>



*** User 2022-03-18 10:51:16.343 ***
alicE@localhost/conflict in
<iq id='b77f86ab49d7014f23bd01fe2c398254' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/conflict</jid>
	</bind>
</iq>



*** User 2022-03-18 10:51:16.343 ***
alicE@localhost/conflict out
<iq type='set' id='17f6500cb9237b97c1ecaaa74bfb55b8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:51:16.343 ***
alicE@localhost/conflict in
<iq type='result' id='17f6500cb9237b97c1ecaaa74bfb55b8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:51:16.343 ***
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-03-18 10:51:16.344 ***
alicE@localhost/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='149308d6db5ea3fe' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:51:16.344 ***
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>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-18 10:51:16.344 ***
alicE@localhost/conflict out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-03-18 10:51:16.345 ***
alicE@localhost/conflict in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:51:16.345 ***
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-03-18 10:51:16.345 ***
alicE@localhost/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='49027c5fa56f1012' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:51:16.345 ***
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-03-18 10:51:16.345 ***
alicE@localhost/conflict out
<iq type='set' id='1cf362af7a52b2f44a008c8c72ca502c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>conflict</resource>
	</bind>
</iq>



*** User 2022-03-18 10:51:16.346 ***
alicE@localhost/conflict in
<iq id='1cf362af7a52b2f44a008c8c72ca502c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/conflict</jid>
	</bind>
</iq>



*** User 2022-03-18 10:51:16.346 ***
alicE@localhost/conflict out
<iq type='set' id='270fa63c508d96035099c6ec3ec95e4a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:51:16.346 ***
alicE@localhost/conflict in
<iq type='result' id='270fa63c508d96035099c6ec3ec95e4a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:51:16.346 ***
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-03-18 10:51:16.346 ***
alicE@localhost/conflict out
</stream:stream>

*** User 2022-03-18 10:51:16.347 ***
alicE@localhost/conflict in
</stream:stream>
*** CT 2022-03-18 10:51:16.348 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_396.html
*** CT 2022-03-18 10:51:16.350 *** View log from node mongooseim@localhost when finished mongooseim@localhost_210.html



=== Ended at 2022-03-18 10:51:16
=== successfully completed test case
=== === Returned value: []


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