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

=== Config value:

    [{watchdog,<0.12626.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,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@333794cb5a72.2022-03-07_15.57.24/big_tests.tests.connect_SUITE.logs/run.2022-03-07_15.58.26/connect_suite.same_resource_replaces_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@333794cb5a72.2022-03-07_15.57.24/big_tests.tests.connect_SUITE.logs/run.2022-03-07_15.58.26/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@333794cb5a72.2022-03-07_15.57.24"

=== Started at 2022-03-07 15:58:26


*** CT 2022-03-07 15:58:26.743 *** View log from node mongooseim@localhost when started mongooseim@localhost_187.html
*** CT 2022-03-07 15:58:26.743 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_407.html

*** User 2022-03-07 15:58:26.745 ***
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-07 15:58:26.745 ***
alicE@domain.example.com/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d675327b65116381' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 15:58:26.746 ***
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-07 15:58:26.746 ***
alicE@domain.example.com/conflict out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-03-07 15:58:26.747 ***
alicE@domain.example.com/conflict in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 15:58:26.747 ***
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-07 15:58:26.747 ***
alicE@domain.example.com/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1bbdb83decd20533' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 15:58:26.747 ***
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-07 15:58:26.747 ***
alicE@domain.example.com/conflict out
<iq type='set' id='1dc8f403e8803709723079c746d07e43'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>conflict</resource>
	</bind>
</iq>



*** User 2022-03-07 15:58:26.748 ***
alicE@domain.example.com/conflict in
<iq id='1dc8f403e8803709723079c746d07e43' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/conflict</jid>
	</bind>
</iq>



*** User 2022-03-07 15:58:26.748 ***
alicE@domain.example.com/conflict out
<iq type='set' id='cd974e81fb9b8abe2aef5a452e1b2ad2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 15:58:26.748 ***
alicE@domain.example.com/conflict in
<iq type='result' id='cd974e81fb9b8abe2aef5a452e1b2ad2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 15:58:26.749 ***
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-07 15:58:26.749 ***
alicE@domain.example.com/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='47313a97102f0a70' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 15:58:26.749 ***
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-07 15:58:26.750 ***
alicE@domain.example.com/conflict out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-03-07 15:58:26.750 ***
alicE@domain.example.com/conflict in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 15:58:26.750 ***
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-07 15:58:26.751 ***
alicE@domain.example.com/conflict in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aa0021c5c9f6445b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 15:58:26.751 ***
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-07 15:58:26.751 ***
alicE@domain.example.com/conflict out
<iq type='set' id='f066773377d97b6bee0ec00b829a0d9d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>conflict</resource>
	</bind>
</iq>



*** User 2022-03-07 15:58:26.751 ***
alicE@domain.example.com/conflict in
<iq id='f066773377d97b6bee0ec00b829a0d9d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/conflict</jid>
	</bind>
</iq>



*** User 2022-03-07 15:58:26.751 ***
alicE@domain.example.com/conflict out
<iq type='set' id='1aef34c54021c5202d4355e8bc9c0450'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 15:58:26.752 ***
alicE@domain.example.com/conflict in
<iq type='result' id='1aef34c54021c5202d4355e8bc9c0450'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 15:58:26.752 ***
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-07 15:58:26.752 ***
alicE@domain.example.com/conflict out
</stream:stream>

*** User 2022-03-07 15:58:26.753 ***
alicE@domain.example.com/conflict in
</stream:stream>
*** CT 2022-03-07 15:58:26.754 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_407.html
*** CT 2022-03-07 15:58:26.754 *** View log from node mongooseim@localhost when finished mongooseim@localhost_187.html



=== Ended at 2022-03-07 15:58:26
=== successfully completed test case
=== === Returned value: already_stopped


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