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

=== Config value:

    [{watchdog,<0.10835.0>},
     {c2s_listener,#{access => c2s,module => mongoose_c2s_listener,
                     port => 5222,num_acceptors => 100,hibernate_after => 0,
                     backlog => 1024,
                     tls =>
                         #{module => fast_tls,mode => starttls,
                           certfile => "priv/ssl/fake_server.pem",
                           ciphers => "TLSv1.2:TLSv1.3",
                           dhfile => "priv/ssl/fake_dh_server.pem",
                           verify_mode => none,
                           protocol_options =>
                               ["no_sslv2","no_sslv3","no_tlsv1",
                                "no_tlsv1_1"]},
                     ip_version => 4,
                     ip_tuple => {0,0,0,0},
                     max_connections => infinity,reuse_port => false,
                     proto => tcp,ip_address => "0",
                     connection_type => undefined,max_stanza_size => 65536,
                     shaper => c2s_shaper,c2s_state_timeout => 5000,
                     backwards_compatible_session => true,
                     proxy_protocol => false}},
     {escalus_user_db,{module,escalus_ejabberd,[]}},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/connect_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@9442f737ceb0.2024-04-26_12.39.28/big_tests.tests.connect_SUITE.logs/run.2024-04-26_12.40.20/connect_suite.clean_close_of_replaced_session.html"},
     {tc_group_properties,[{name,session_replacement}]},
     {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@9442f737ceb0.2024-04-26_12.39.28/big_tests.tests.connect_SUITE.logs/run.2024-04-26_12.40.20/log_private/"},
     {escalus_users,[{secure_joe,[{username,<<"secure_joe">>},
                                  {server,<<"domain.example.com">>},
                                  {host,<<"localhost">>},
                                  {password,<<"break_me">>},
                                  {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@9442f737ceb0.2024-04-26_12.39.28"

=== Started at 2024-04-26 12:40:20


*** CT 2024-04-26 12:40:20.359 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_113.html

*** User 2024-04-26 12:40:20.361 ***🔗
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 2024-04-26 12:40:20.361 ***🔗
alicE@domain.example.com/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a952c1b372849cb0' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:40:20.361 ***🔗
alicE@domain.example.com/conflict in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-26 12:40:20.362 ***🔗
alicE@domain.example.com/conflict out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2024-04-26 12:40:20.363 ***🔗
alicE@domain.example.com/conflict in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:40:20.363 ***🔗
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 2024-04-26 12:40:20.363 ***🔗
alicE@domain.example.com/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8350219ab4c41c3f' from='domain.example.com' version='1.0' xml:lang='en' to='alice@domain.example.com'>

*** User 2024-04-26 12:40:20.363 ***🔗
alicE@domain.example.com/conflict in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-26 12:40:20.363 ***🔗
alicE@domain.example.com/conflict out
<iq type='set' id='7b60fb16ebcfc401d89516aecaec0888'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>conflict</resource>
	</bind>
</iq>



*** User 2024-04-26 12:40:20.363 ***🔗
alicE@domain.example.com/conflict in
<iq id='7b60fb16ebcfc401d89516aecaec0888' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@domain.example.com/conflict</jid>
	</bind>
</iq>



*** User 2024-04-26 12:40:20.363 ***🔗
alice@domain.example.com/conflict out
<iq type='set' id='f6ab5a7f77a59cdedc654ee7f8a44e4c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:40:20.364 ***🔗
alice@domain.example.com/conflict in
<iq from='domain.example.com' to='alice@domain.example.com/conflict' id='f6ab5a7f77a59cdedc654ee7f8a44e4c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:40:20.364 ***🔗
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 2024-04-26 12:40:20.365 ***🔗
alicE@domain.example.com/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='309c14113b6587c5' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:40:20.365 ***🔗
alicE@domain.example.com/conflict in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-26 12:40:20.365 ***🔗
alicE@domain.example.com/conflict out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2024-04-26 12:40:20.366 ***🔗
alicE@domain.example.com/conflict in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:40:20.366 ***🔗
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 2024-04-26 12:40:20.366 ***🔗
alicE@domain.example.com/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0df4ef3ffb462f84' from='domain.example.com' version='1.0' xml:lang='en' to='alice@domain.example.com'>

*** User 2024-04-26 12:40:20.366 ***🔗
alicE@domain.example.com/conflict in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-26 12:40:20.366 ***🔗
alicE@domain.example.com/conflict out
<iq type='set' id='53601563755976be4f5e411ec56019dc'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>conflict</resource>
	</bind>
</iq>



*** User 2024-04-26 12:40:20.367 ***🔗
alicE@domain.example.com/conflict in
<iq id='53601563755976be4f5e411ec56019dc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice@domain.example.com/conflict</jid>
	</bind>
</iq>



*** User 2024-04-26 12:40:20.367 ***🔗
alice@domain.example.com/conflict out
<iq type='set' id='7967da8f427874b151e55a9b2693985a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:40:20.368 ***🔗
alice@domain.example.com/conflict in
<iq from='domain.example.com' to='alice@domain.example.com/conflict' id='7967da8f427874b151e55a9b2693985a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:40:20.368 ***🔗
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 2024-04-26 12:40:20.368 ***🔗
waiting for timeout is done in 0 miliseconds

*** User 2024-04-26 12:40:20.368 ***🔗
alice@domain.example.com/conflict out
</stream:stream>

*** User 2024-04-26 12:40:20.368 ***🔗
alice@domain.example.com/conflict in
</stream:stream>
*** CT 2024-04-26 12:40:20.369 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_113.html



=== Ended at 2024-04-26 12:40:20
=== successfully completed test case
=== === Returned value: []


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