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

=== Config value:

    [{watchdog,<0.11197.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",
                           ciphers => "TLSv1.2:TLSv1.3",
                           dhfile => "priv/ssl/fake_dh_server.pem",
                           mode => starttls,module => fast_tls,
                           protocol_options =>
                               ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"],
                           verify_mode => none},
                     zlib => 10000}},
     {escalus_user_db,{module,escalus_ejabberd,[]}},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/connect_SUITE_data"},
     {preset,"riak_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.connect_SUITE.logs/run.2022-06-22_08.45.57/connect_suite.replaced_session_cannot_terminate.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@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.connect_SUITE.logs/run.2022-06-22_08.45.57/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@838f153dfbc9.2022-06-22_08.43.58"

=== Started at 2022-06-22 08:45:57


*** CT 2022-06-22 08:45:57.465 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_210.html
*** CT 2022-06-22 08:45:57.466 *** View log from node ejabberd2@localhost when started🔗 ejabberd2@localhost_390.html

*** User 2022-06-22 08:45:57.467 ***🔗
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-06-22 08:45:57.468 ***🔗
alicE@localhost/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b3b705c7b6dd9119' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:45:57.468 ***🔗
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-06-22 08:45:57.468 ***🔗
alicE@localhost/conflict out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-06-22 08:45:57.470 ***🔗
alicE@localhost/conflict in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 08:45:57.470 ***🔗
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-06-22 08:45:57.470 ***🔗
alicE@localhost/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9ac4402399a400fc' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:45:57.471 ***🔗
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-06-22 08:45:57.471 ***🔗
alicE@localhost/conflict out
<iq type='set' id='56bfd067f4605697d1f0f9920a67522c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>conflict</resource>
	</bind>
</iq>



*** User 2022-06-22 08:45:57.471 ***🔗
alicE@localhost/conflict in
<iq id='56bfd067f4605697d1f0f9920a67522c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@localhost/conflict</jid>
	</bind>
</iq>



*** User 2022-06-22 08:45:57.471 ***🔗
alice@localhost/conflict out
<iq type='set' id='41ca9a1f34b410e74722eb776e58f5b8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:45:57.471 ***🔗
alice@localhost/conflict in
<iq type='result' id='41ca9a1f34b410e74722eb776e58f5b8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:45:57.475 ***🔗
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-06-22 08:45:57.475 ***🔗
alicE@localhost/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ef518ebdf9723f19' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:45:57.475 ***🔗
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-06-22 08:45:57.475 ***🔗
alicE@localhost/conflict out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-06-22 08:45:57.477 ***🔗
alicE@localhost/conflict in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 08:45:57.477 ***🔗
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-06-22 08:45:57.477 ***🔗
alicE@localhost/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='892824b2e22ab496' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:45:57.477 ***🔗
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-06-22 08:45:57.478 ***🔗
alicE@localhost/conflict out
<iq type='set' id='57fba7553a9d63acb1a99a6b69488eb9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>conflict</resource>
	</bind>
</iq>



*** User 2022-06-22 08:45:57.478 ***🔗
alicE@localhost/conflict in
<iq id='57fba7553a9d63acb1a99a6b69488eb9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@localhost/conflict</jid>
	</bind>
</iq>



*** User 2022-06-22 08:45:57.478 ***🔗
alice@localhost/conflict out
<iq type='set' id='0965b8ee7e5656688fd5cb94c5871a8d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:45:57.478 ***🔗
alice@localhost/conflict in
<iq type='result' id='0965b8ee7e5656688fd5cb94c5871a8d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:45:57.580 ***🔗
alice@localhost/conflict out
</stream:stream>

*** User 2022-06-22 08:45:57.580 ***🔗
alice@localhost/conflict in
</stream:stream>
*** CT 2022-06-22 08:45:57.582 *** View log from node ejabberd2@localhost when finished🔗 ejabberd2@localhost_390.html
*** CT 2022-06-22 08:45:57.582 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_210.html



=== Ended at 2022-06-22 08:45:57
=== successfully completed test case
=== === Returned value: already_stopped


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