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

=== Config value:

    [{watchdog,<0.56865.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},
              certfile => "priv/ssl/fake_server.pem",
              ciphers => "TLSv1.2:TLSv1.3",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 =>
                  #{dhfile => "priv/ssl/fake_dh_server.pem",
                    ciphers => "TLSv1.2:TLSv1.3",verify_mode => peer,
                    protocol_options =>
                        ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"]},
              proto => tcp,shaper => s2s_shaper,max_stanza_size => 131072,
              ip_address => "0",proxy_protocol => false,
              ip_tuple => {0,0,0,0},
              ip_version => 4,connection_type => s2s}}},
     {{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},
              certfile => "priv/ssl/fake_server.pem",
              ciphers => "TLSv1.2:TLSv1.3",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 =>
                  #{dhfile => "priv/ssl/fake_dh_server.pem",
                    ciphers => "TLSv1.2:TLSv1.3",verify_mode => peer,
                    protocol_options =>
                        ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"]},
              proto => tcp,shaper => s2s_shaper,max_stanza_size => 131072,
              ip_address => "0",proxy_protocol => false,
              ip_tuple => {0,0,0,0},
              ip_version => 4,connection_type => s2s}}},
     {escalus_user_db,xmpp},
     {preset,"internal_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@48dc9ee754e1.2024-02-28_16.01.52/big_tests.tests.s2s_SUITE.logs/run.2024-02-28_16.15.40/s2s_suite.connections_info.html"},
     {tc_group_properties,[{name,both_plain},sequence]},
     {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@48dc9ee754e1.2024-02-28_16.01.52/big_tests.tests.s2s_SUITE.logs/run.2024-02-28_16.15.40/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@48dc9ee754e1.2024-02-28_16.01.52"

=== Started at 2024-02-28 16:15:40


*** CT 2024-02-28 16:15:40.889 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4694.html

*** User 2024-02-28 16:15:40.892 ***🔗
alice_connections_info_1827@fed1 out
<stream:stream to='fed1' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-28 16:15:40.892 ***🔗
alice_connections_info_1827@fed1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c274294570b14e26' from='fed1' version='1.0' xml:lang='en'>

*** User 2024-02-28 16:15:40.893 ***🔗
alice_connections_info_1827@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-02-28 16:15:40.893 ***🔗
alice_connections_info_1827@fed1 out
<iq type='get' id='f30e96dbbf1095e40e14047a3f8ff2fb'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2024-02-28 16:15:40.893 ***🔗
alice_connections_info_1827@fed1 in
<iq from='fed1' to='fed1' id='f30e96dbbf1095e40e14047a3f8ff2fb' 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-02-28 16:15:40.893 ***🔗
alice_connections_info_1827@fed1 out
<iq type='set' id='081eb1fec1755cd450f8d7d6e4d540fa'>
	<query xmlns='jabber:iq:register'>
		<username>alice_connections_info_1827</username>
		<password>makota2</password>
	</query>
</iq>



*** User 2024-02-28 16:15:40.922 ***🔗
alice_connections_info_1827@fed1 in
<iq from='fed1' to='fed1' id='081eb1fec1755cd450f8d7d6e4d540fa' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alice_connections_info_1827</username>
		<password>makota2</password>
	</query>
</iq>



*** User 2024-02-28 16:15:40.922 ***🔗
alice_connections_info_1827@fed1 out
</stream:stream>

*** User 2024-02-28 16:15:40.923 ***🔗
alice_connections_info_1827@fed1 in
</stream:stream>

*** User 2024-02-28 16:15:40.923 ***🔗
alicE_connections_info_1827@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-28 16:15:40.924 ***🔗
alicE_connections_info_1827@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d06a448d8eb4c314' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-28 16:15:40.924 ***🔗
alicE_connections_info_1827@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>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-02-28 16:15:40.924 ***🔗
alicE_connections_info_1827@localhost out
<iq type='get' id='d1fd75ef2f3c3c84180edc94a8447768'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2024-02-28 16:15:40.924 ***🔗
alicE_connections_info_1827@localhost in
<iq from='localhost' to='localhost' id='d1fd75ef2f3c3c84180edc94a8447768' 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-02-28 16:15:40.924 ***🔗
alicE_connections_info_1827@localhost out
<iq type='set' id='4e596b9a792a5a1ad06e5d83c20a5d6f'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_connections_info_1827</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2024-02-28 16:15:40.925 ***🔗
alicE_connections_info_1827@localhost in
<iq from='localhost' to='localhost' id='4e596b9a792a5a1ad06e5d83c20a5d6f' type='result'>
	<query xmlns='jabber:iq:register'>
		<username>alicE_connections_info_1827</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2024-02-28 16:15:40.925 ***🔗
alicE_connections_info_1827@localhost out
</stream:stream>

*** User 2024-02-28 16:15:40.925 ***🔗
alicE_connections_info_1827@localhost in
</stream:stream>

*** User 2024-02-28 16:15:40.927 ***🔗
alice_connections_info_1827@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-02-28 16:15:40.928 ***🔗
alice_connections_info_1827@fed1/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3408441ba3c72949' from='fed1' version='1.0' xml:lang='en'>

*** User 2024-02-28 16:15:40.928 ***🔗
alice_connections_info_1827@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-02-28 16:15:40.928 ***🔗
alice_connections_info_1827@fed1/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNlX2Nvbm5lY3Rpb25zX2luZm9fMTgyNwBtYWtvdGEy</auth>



*** User 2024-02-28 16:15:40.931 ***🔗
alice_connections_info_1827@fed1/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-28 16:15:40.931 ***🔗
alice_connections_info_1827@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-02-28 16:15:40.932 ***🔗
alice_connections_info_1827@fed1/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1ef83e96c6e17f3e' from='fed1' version='1.0' xml:lang='en' to='alice_connections_info_1827@fed1'>

*** User 2024-02-28 16:15:40.932 ***🔗
alice_connections_info_1827@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-02-28 16:15:40.932 ***🔗
alice_connections_info_1827@fed1/res1 out
<iq type='set' id='af7759fbc4e2aa9bba60467c4ddc8e6b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-28 16:15:40.932 ***🔗
alice_connections_info_1827@fed1/res1 in
<iq id='af7759fbc4e2aa9bba60467c4ddc8e6b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_connections_info_1827@fed1/res1</jid>
	</bind>
</iq>



*** User 2024-02-28 16:15:40.932 ***🔗
alice_connections_info_1827@fed1/res1 out
<iq type='set' id='e3486ba9d6586cc2b9370800dba08225'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-28 16:15:40.933 ***🔗
alice_connections_info_1827@fed1/res1 in
<iq from='fed1' to='alice_connections_info_1827@fed1/res1' id='e3486ba9d6586cc2b9370800dba08225' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-28 16:15:40.933 ***🔗
alice_connections_info_1827@fed1/res1 out
<presence/>



*** User 2024-02-28 16:15:40.933 ***🔗
alice_connections_info_1827@fed1/res1 in
<presence from='alice_connections_info_1827@fed1/res1' to='alice_connections_info_1827@fed1/res1'/>



*** User 2024-02-28 16:15:40.934 ***🔗
alicE_connections_info_1827@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-02-28 16:15:40.934 ***🔗
alicE_connections_info_1827@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8d8bca291979c443' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-28 16:15:40.934 ***🔗
alicE_connections_info_1827@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>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-02-28 16:15:40.934 ***🔗
alicE_connections_info_1827@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Nvbm5lY3Rpb25zX2luZm9fMTgyNwBtYXR5Z3J5c2E=</auth>



*** User 2024-02-28 16:15:40.935 ***🔗
alicE_connections_info_1827@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-28 16:15:40.935 ***🔗
alicE_connections_info_1827@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-02-28 16:15:40.935 ***🔗
alicE_connections_info_1827@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6125cada44c25496' from='localhost' version='1.0' xml:lang='en' to='alice_connections_info_1827@localhost'>

*** User 2024-02-28 16:15:40.935 ***🔗
alicE_connections_info_1827@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-02-28 16:15:40.936 ***🔗
alicE_connections_info_1827@localhost/res1 out
<iq type='set' id='b26f498006d2437c7aed43c09f88b1b6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-28 16:15:40.936 ***🔗
alicE_connections_info_1827@localhost/res1 in
<iq id='b26f498006d2437c7aed43c09f88b1b6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_connections_info_1827@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-28 16:15:40.936 ***🔗
alice_connections_info_1827@localhost/res1 out
<iq type='set' id='7436b9184db9203831b98ebebe4878ce'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-28 16:15:40.936 ***🔗
alice_connections_info_1827@localhost/res1 in
<iq from='localhost' to='alice_connections_info_1827@localhost/res1' id='7436b9184db9203831b98ebebe4878ce' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-28 16:15:40.936 ***🔗
alice_connections_info_1827@localhost/res1 out
<presence/>



*** User 2024-02-28 16:15:40.937 ***🔗
alice_connections_info_1827@localhost/res1 in
<presence from='alice_connections_info_1827@localhost/res1' to='alice_connections_info_1827@localhost/res1'/>



*** User 2024-02-28 16:15:40.937 ***🔗
alice_connections_info_1827@localhost/res1 out
<message type='chat' to='alice_connections_info_1827@fed1/res1'>
	<body>Hi, foreign Alice!</body>
</message>



*** User 2024-02-28 16:15:40.940 ***🔗
alice_connections_info_1827@fed1/res1 in
<message from='alice_connections_info_1827@localhost/res1' to='alice_connections_info_1827@fed1/res1' type='chat'>
	<body>Hi, foreign Alice!</body>
</message>



*** User 2024-02-28 16:15:40.941 ***🔗
alice_connections_info_1827@fed1/res1 out
<message type='chat' to='alice_connections_info_1827@localhost/res1'>
	<body>Nice to meet you!</body>
</message>



*** User 2024-02-28 16:15:40.941 ***🔗
alice_connections_info_1827@localhost/res1 in
<message from='alice_connections_info_1827@fed1/res1' to='alice_connections_info_1827@localhost/res1' type='chat'>
	<body>Nice to meet you!</body>
</message>



*** User 2024-02-28 16:15:40.942 ***🔗
alice_connections_info_1827@localhost/res1 out
</stream:stream>

*** User 2024-02-28 16:15:40.943 ***🔗
alice_connections_info_1827@localhost/res1 in
</stream:stream>

*** User 2024-02-28 16:15:40.943 ***🔗
alice_connections_info_1827@fed1/res1 out
</stream:stream>

*** User 2024-02-28 16:15:40.943 ***🔗
alice_connections_info_1827@fed1/res1 in
</stream:stream>

*** User 2024-02-28 16:15:40.944 ***🔗
Node = mongooseim@localhost,  ConnectionType = in, Domain = fed1
DomainS2SConnections(1): [#{pid => <10712.95982.0>,port => 49216,
                            addr => {127,0,0,1},
                            tls => false,statename => stream_established,
                            direction => in,shaper => s2s_shaper,
                            tls_options =>
                                #{dhfile => "priv/ssl/fake_dh_server.pem",
                                  ciphers => "TLSv1.2:TLSv1.3",
                                  verify_mode => peer,
                                  protocol_options =>
                                      ["no_sslv2","no_sslv3","no_tlsv1",
                                       "no_tlsv1_1"]},
                            streamid => <<"948ffe4832635564">>,
                            authenticated => false,tls_enabled => false,
                            domains => [<<"fed1">>]}]

*** User 2024-02-28 16:15:40.945 ***🔗
Node = mongooseim@localhost,  ConnectionType = out, Domain = fed1
DomainS2SConnections(2): [#{pid => <10712.95979.0>,port => 44288,
                            addr => {127,0,0,1},
                            verify => false,server => <<"fed1">>,tls => false,
                            statename => stream_established,direction => out,
                            tls_options =>
                                #{ciphers => "TLSv1.2:TLSv1.3",
                                  verify_mode => peer},
                            streamid => <<"df4a0ab55dea18ba">>,
                            authenticated => false,tls_enabled => false,
                            tls_required => false,use_v10 => false,
                            dialback_enabled => true,try_auth => true,
                            myname => <<"localhost">>,
                            delay_to_retry => undefined},
                          #{pid => <10712.95983.0>,port => 44304,
                            addr => {127,0,0,1},
                            verify =>
                                {<10712.95982.0>,
                                 <<"bc0af45ca11df6dace2cda046cfc8574c35ed479fc50627f7102e2cc99db2741">>,
                                 <<"948ffe4832635564">>},
                            server => <<"fed1">>,tls => false,
                            statename => wait_for_validation,direction => out,
                            tls_options =>
                                #{ciphers => "TLSv1.2:TLSv1.3",
                                  verify_mode => peer},
                            streamid => <<"3c6b23b955d06070">>,
                            authenticated => false,tls_enabled => false,
                            tls_required => false,use_v10 => false,
                            dialback_enabled => true,try_auth => true,
                            myname => <<"localhost">>,
                            delay_to_retry => undefined}]
*** CT 2024-02-28 16:15:40.947 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4695.html



=== Ended at 2024-02-28 16:15:40
=== successfully completed test case
=== === Returned value: ok


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