=== Test case: s2s_SUITE:timeout_waiting_for_message/1 (click for source code)

=== Config value:

    [{watchdog,<0.55023.0>},
     {{s2s,mim},
      #{opts =>
            #{address => #{<<"fed1">> => #{ip_address => "127.0.0.1"}},
              outgoing =>
                  #{port => 5299,connection_timeout => 10000,
                    ip_versions => [4,6]},
              dns => #{timeout => 10,retries => 2},
              ciphers => "TLSv1.2:TLSv1.3",
              certfile => "priv/ssl/fake_server.pem",use_starttls => optional,
              max_retry_delay => 300,default_policy => allow},
        listener =>
            #{module => ejabberd_s2s_in,port => 5269,num_acceptors => 100,
              hibernate_after => 0,backlog => 1024,
              tls =>
                  #{verify_mode => peer,ciphers => "TLSv1.2:TLSv1.3",
                    protocol_options =>
                        ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"],
                    dhfile => "priv/ssl/fake_dh_server.pem"},
              shaper => s2s_shaper,ip_address => "0",connection_type => s2s,
              ip_tuple => {0,0,0,0},
              ip_version => 4,proto => tcp,proxy_protocol => false,
              max_stanza_size => 131072}}},
     {{s2s,fed},
      #{opts =>
            #{address =>
                  #{<<"domain.example.com">> => #{ip_address => "127.0.0.1"},
                    <<"localhost">> => #{ip_address => "127.0.0.1"},
                    <<"localhost.bis">> => #{ip_address => "127.0.0.1"},
                    <<"muc.localhost">> => #{ip_address => "127.0.0.1"},
                    <<"pubsub.localhost">> => #{ip_address => "127.0.0.1"}},
              outgoing =>
                  #{port => 5269,connection_timeout => 10000,
                    ip_versions => [4,6]},
              dns => #{timeout => 10,retries => 2},
              ciphers => "TLSv1.2:TLSv1.3",
              certfile => "priv/ssl/fake_server.pem",use_starttls => optional,
              max_retry_delay => 300,default_policy => allow},
        listener =>
            #{module => ejabberd_s2s_in,port => 5299,num_acceptors => 100,
              hibernate_after => 0,backlog => 1024,
              tls =>
                  #{verify_mode => peer,ciphers => "TLSv1.2:TLSv1.3",
                    protocol_options =>
                        ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"],
                    dhfile => "priv/ssl/fake_dh_server.pem"},
              shaper => s2s_shaper,ip_address => "0",connection_type => s2s,
              ip_tuple => {0,0,0,0},
              ip_version => 4,proto => tcp,proxy_protocol => false,
              max_stanza_size => 131072}}},
     {escalus_user_db,xmpp},
     {preset,"ldap_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/s2s_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@4ffc88dbced5.2024-04-10_12.44.04/big_tests.tests.s2s_SUITE.logs/run.2024-04-10_12.56.15/s2s_suite.timeout_waiting_for_message.83203.html"},
     {tc_group_properties,[{name,node1_tls_required_node2_tls_false}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/s2s_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@4ffc88dbced5.2024-04-10_12.44.04/big_tests.tests.s2s_SUITE.logs/run.2024-04-10_12.56.15/log_private/"},
     {escalus_users,[{alice2,[{username,<<"alice">>},
                              {server,<<"fed1">>},
                              {host,<<"localhost">>},
                              {port,5242},
                              {password,<<"makota2">>}]},
                     {alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@4ffc88dbced5.2024-04-10_12.44.04"

=== Started at 2024-04-10 12:56:43


*** CT 2024-04-10 12:56:43.034 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4441.html

*** User 2024-04-10 12:56:43.037 ***🔗
alice_timeout_waiting_for_message_1770@fed1 out
<stream:stream to='fed1' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-10 12:56:43.038 ***🔗
alice_timeout_waiting_for_message_1770@fed1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f9df4925a0bfaf54' from='fed1' version='1.0' xml:lang='en'>

*** User 2024-04-10 12:56:43.038 ***🔗
alice_timeout_waiting_for_message_1770@fed1 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-512</mechanism>
		<mechanism>SCRAM-SHA-384</mechanism>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>SCRAM-SHA-224</mechanism>
		<mechanism>SCRAM-SHA-1</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-10 12:56:43.038 ***🔗
alice_timeout_waiting_for_message_1770@fed1 out
<iq type='get' id='6e678d28e98bba73d8e365ef5ca3ec83'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2024-04-10 12:56:43.038 ***🔗
alice_timeout_waiting_for_message_1770@fed1 in
<iq from='fed1' to='fed1' id='6e678d28e98bba73d8e365ef5ca3ec83' type='result'>
	<query xmlns='jabber:iq:register'>
		<instructions>Choose a username and password to register with this server</instructions>
		<username/>
		<password/>
	</query>
</iq>



*** User 2024-04-10 12:56:43.039 ***🔗
alice_timeout_waiting_for_message_1770@fed1 out
<iq type='set' id='7f50642a37d1b7ce10a608ef60f68328'>
	<query xmlns='jabber:iq:register'>
		<username>alice_timeout_waiting_for_message_1770</username>
		<password>makota2</password>
	</query>
</iq>



*** User 2024-04-10 12:56:43.060 ***🔗
alice_timeout_waiting_for_message_1770@fed1 in
<iq from='fed1' to='fed1' id='7f50642a37d1b7ce10a608ef60f68328' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alice_timeout_waiting_for_message_1770</username>
		<password>makota2</password>
	</query>
</iq>



*** User 2024-04-10 12:56:43.061 ***🔗
alice_timeout_waiting_for_message_1770@fed1 out
</stream:stream>

*** User 2024-04-10 12:56:43.061 ***🔗
alice_timeout_waiting_for_message_1770@fed1 in
</stream:stream>

*** User 2024-04-10 12:56:43.062 ***🔗
alicE_timeout_waiting_for_message_1770@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-10 12:56:43.062 ***🔗
alicE_timeout_waiting_for_message_1770@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='27cd4bcdd50b2b54' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-10 12:56:43.062 ***🔗
alicE_timeout_waiting_for_message_1770@localhost 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>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-10 12:56:43.063 ***🔗
alicE_timeout_waiting_for_message_1770@localhost out
<iq type='get' id='ea25d31568cd9f9ecdbe5db9d72cf361'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2024-04-10 12:56:43.063 ***🔗
alicE_timeout_waiting_for_message_1770@localhost in
<iq from='localhost' to='localhost' id='ea25d31568cd9f9ecdbe5db9d72cf361' type='result'>
	<query xmlns='jabber:iq:register'>
		<instructions>Choose a username and password to register with this server</instructions>
		<username/>
		<password/>
	</query>
</iq>



*** User 2024-04-10 12:56:43.063 ***🔗
alicE_timeout_waiting_for_message_1770@localhost out
<iq type='set' id='e6815e2b81a3c60f601bf4058c1c4c01'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_timeout_waiting_for_message_1770</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2024-04-10 12:56:43.066 ***🔗
alicE_timeout_waiting_for_message_1770@localhost in
<iq from='localhost' to='localhost' id='e6815e2b81a3c60f601bf4058c1c4c01' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_timeout_waiting_for_message_1770</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2024-04-10 12:56:43.066 ***🔗
alicE_timeout_waiting_for_message_1770@localhost out
</stream:stream>

*** User 2024-04-10 12:56:43.067 ***🔗
alicE_timeout_waiting_for_message_1770@localhost in
</stream:stream>

*** User 2024-04-10 12:56:43.068 ***🔗
alice_timeout_waiting_for_message_1770@fed1/res1 out
<stream:stream to='fed1' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-10 12:56:43.069 ***🔗
alice_timeout_waiting_for_message_1770@fed1/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3da5c764430d6ef8' from='fed1' version='1.0' xml:lang='en'>

*** User 2024-04-10 12:56:43.069 ***🔗
alice_timeout_waiting_for_message_1770@fed1/res1 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-512</mechanism>
		<mechanism>SCRAM-SHA-384</mechanism>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>SCRAM-SHA-224</mechanism>
		<mechanism>SCRAM-SHA-1</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-10 12:56:43.069 ***🔗
alice_timeout_waiting_for_message_1770@fed1/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNlX3RpbWVvdXRfd2FpdGluZ19mb3JfbWVzc2FnZV8xNzcwAG1ha290YTI=</auth>



*** User 2024-04-10 12:56:43.072 ***🔗
alice_timeout_waiting_for_message_1770@fed1/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 12:56:43.072 ***🔗
alice_timeout_waiting_for_message_1770@fed1/res1 out
<stream:stream to='fed1' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-10 12:56:43.072 ***🔗
alice_timeout_waiting_for_message_1770@fed1/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5c3beee778591728' from='fed1' version='1.0' xml:lang='en' to='alice_timeout_waiting_for_message_1770@fed1'>

*** User 2024-04-10 12:56:43.072 ***🔗
alice_timeout_waiting_for_message_1770@fed1/res1 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'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-10 12:56:43.072 ***🔗
alice_timeout_waiting_for_message_1770@fed1/res1 out
<iq type='set' id='6c11eca35fc34d9daf323c7d2d74ac47'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 12:56:43.073 ***🔗
alice_timeout_waiting_for_message_1770@fed1/res1 in
<iq id='6c11eca35fc34d9daf323c7d2d74ac47' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_timeout_waiting_for_message_1770@fed1/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:56:43.073 ***🔗
alice_timeout_waiting_for_message_1770@fed1/res1 out
<iq type='set' id='710c00ecd1c6285d0ca61ec324874592'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:56:43.073 ***🔗
alice_timeout_waiting_for_message_1770@fed1/res1 in
<iq from='fed1' to='alice_timeout_waiting_for_message_1770@fed1/res1' id='710c00ecd1c6285d0ca61ec324874592' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:56:43.073 ***🔗
alice_timeout_waiting_for_message_1770@fed1/res1 out
<presence/>



*** User 2024-04-10 12:56:43.074 ***🔗
alice_timeout_waiting_for_message_1770@fed1/res1 in
<presence from='alice_timeout_waiting_for_message_1770@fed1/res1' to='alice_timeout_waiting_for_message_1770@fed1/res1'/>



*** User 2024-04-10 12:56:43.075 ***🔗
alicE_timeout_waiting_for_message_1770@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-10 12:56:43.075 ***🔗
alicE_timeout_waiting_for_message_1770@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='91b8b55210b717ef' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-10 12:56:43.075 ***🔗
alicE_timeout_waiting_for_message_1770@localhost/res1 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>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-10 12:56:43.075 ***🔗
alicE_timeout_waiting_for_message_1770@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3RpbWVvdXRfd2FpdGluZ19mb3JfbWVzc2FnZV8xNzcwAG1hdHlncnlzYQ==</auth>



*** User 2024-04-10 12:56:43.077 ***🔗
alicE_timeout_waiting_for_message_1770@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 12:56:43.077 ***🔗
alicE_timeout_waiting_for_message_1770@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-10 12:56:43.078 ***🔗
alicE_timeout_waiting_for_message_1770@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7773372ddc8f68d1' from='localhost' version='1.0' xml:lang='en' to='alice_timeout_waiting_for_message_1770@localhost'>

*** User 2024-04-10 12:56:43.078 ***🔗
alicE_timeout_waiting_for_message_1770@localhost/res1 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-10 12:56:43.078 ***🔗
alicE_timeout_waiting_for_message_1770@localhost/res1 out
<iq type='set' id='0c7eedb3648d9cec8cc8d83719af7bbf'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 12:56:43.079 ***🔗
alicE_timeout_waiting_for_message_1770@localhost/res1 in
<iq id='0c7eedb3648d9cec8cc8d83719af7bbf' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_timeout_waiting_for_message_1770@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:56:43.079 ***🔗
alice_timeout_waiting_for_message_1770@localhost/res1 out
<iq type='set' id='a6dcbab9a0d65a71a082b7b3eb53c1b1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:56:43.080 ***🔗
alice_timeout_waiting_for_message_1770@localhost/res1 in
<iq from='localhost' to='alice_timeout_waiting_for_message_1770@localhost/res1' id='a6dcbab9a0d65a71a082b7b3eb53c1b1' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:56:43.080 ***🔗
alice_timeout_waiting_for_message_1770@localhost/res1 out
<presence/>



*** User 2024-04-10 12:56:43.081 ***🔗
alice_timeout_waiting_for_message_1770@localhost/res1 in
<presence from='alice_timeout_waiting_for_message_1770@localhost/res1' to='alice_timeout_waiting_for_message_1770@localhost/res1'/>



*** User 2024-04-10 12:56:43.081 ***🔗
alice_timeout_waiting_for_message_1770@localhost/res1 out
<message type='chat' to='alice_timeout_waiting_for_message_1770@fed1/res1'>
	<body>Hi, foreign Alice!</body>
</message>


*** CT 2024-04-10 12:56:53.083 *** Stanza Log:🔗 timeout_waiting_for_message.xml
*** CT 2024-04-10 12:56:53.085 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4443.html



=== Ended at 2024-04-10 12:56:53
=== successfully completed test case
=== === Returned value: ok


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