=== Test case: s2s_SUITE:connections_info/1 (click for source code) === Config value: [{watchdog,<0.87837.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}, use_starttls => optional,certfile => "priv/ssl/fake_server.pem", ciphers => "TLSv1.2:TLSv1.3",max_retry_delay => 300, default_policy => allow}, listener => #{module => ejabberd_s2s_in,port => 5269,num_acceptors => 100, hibernate_after => 0,backlog => 1024,shaper => s2s_shaper, tls => #{verify_mode => peer,ciphers => "TLSv1.2:TLSv1.3", dhfile => "priv/ssl/fake_dh_server.pem", protocol_options => ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"]}, ip_address => "0",proto => tcp, ip_tuple => {0,0,0,0}, ip_version => 4,proxy_protocol => false, max_stanza_size => 131072,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}, use_starttls => optional,certfile => "priv/ssl/fake_server.pem", ciphers => "TLSv1.2:TLSv1.3",max_retry_delay => 300, default_policy => allow}, listener => #{module => ejabberd_s2s_in,port => 5299,num_acceptors => 100, hibernate_after => 0,backlog => 1024,shaper => s2s_shaper, tls => #{verify_mode => peer,ciphers => "TLSv1.2:TLSv1.3", dhfile => "priv/ssl/fake_dh_server.pem", protocol_options => ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"]}, ip_address => "0",proto => tcp, ip_tuple => {0,0,0,0}, ip_version => 4,proxy_protocol => false, max_stanza_size => 131072,connection_type => s2s}}}, {escalus_user_db,xmpp}, {preset,"odbc_mssql_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@fb43d4252d17.2024-02-22_12.37.44/big_tests.tests.s2s_SUITE.logs/run.2024-02-22_12.56.04/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@fb43d4252d17.2024-02-22_12.37.44/big_tests.tests.s2s_SUITE.logs/run.2024-02-22_12.56.04/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@fb43d4252d17.2024-02-22_12.37.44" === Started at 2024-02-22 12:56:05
*** User 2024-02-22 12:56:05.237 ***🔗 alice_connections_info_3311@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-22 12:56:05.238 ***🔗 alice_connections_info_3311@fed1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='59588a7fc2d3fbe6' from='fed1' version='1.0' xml:lang='en'>
*** User 2024-02-22 12:56:05.238 ***🔗 alice_connections_info_3311@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-22 12:56:05.238 ***🔗 alice_connections_info_3311@fed1 out <iq type='get' id='f532c022d4e524523ab934d916558a68'> <query xmlns='jabber:iq:register'/> </iq>
*** User 2024-02-22 12:56:05.238 ***🔗 alice_connections_info_3311@fed1 in <iq from='fed1' to='fed1' id='f532c022d4e524523ab934d916558a68' 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-22 12:56:05.239 ***🔗 alice_connections_info_3311@fed1 out <iq type='set' id='cedd14c858e5f47c35352fb177637dc2'> <query xmlns='jabber:iq:register'> <username>alice_connections_info_3311</username> <password>makota2</password> </query> </iq>
*** User 2024-02-22 12:56:05.260 ***🔗 alice_connections_info_3311@fed1 in <iq from='fed1' to='fed1' id='cedd14c858e5f47c35352fb177637dc2' type='result'> <query xmlns='jabber:iq:register'> <username>alice_connections_info_3311</username> <password>makota2</password> </query> </iq>
*** User 2024-02-22 12:56:05.260 ***🔗 alice_connections_info_3311@fed1 out </stream:stream>
*** User 2024-02-22 12:56:05.261 ***🔗 alice_connections_info_3311@fed1 in </stream:stream>
*** User 2024-02-22 12:56:05.261 ***🔗 alicE_connections_info_3311@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-22 12:56:05.262 ***🔗 alicE_connections_info_3311@localhost in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6d9bc050bb41ff6a' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-22 12:56:05.262 ***🔗 alicE_connections_info_3311@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-22 12:56:05.262 ***🔗 alicE_connections_info_3311@localhost out <iq type='get' id='69a980e6036a00f89875766909aca77d'> <query xmlns='jabber:iq:register'/> </iq>
*** User 2024-02-22 12:56:05.263 ***🔗 alicE_connections_info_3311@localhost in <iq from='localhost' to='localhost' id='69a980e6036a00f89875766909aca77d' 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-22 12:56:05.263 ***🔗 alicE_connections_info_3311@localhost out <iq type='set' id='4278864c87941968fad2ea6cdbf4a2e0'> <query xmlns='jabber:iq:register'> <username>alicE_connections_info_3311</username> <password>matygrysa</password> </query> </iq>
*** User 2024-02-22 12:56:05.267 ***🔗 alicE_connections_info_3311@localhost in <iq from='localhost' to='localhost' id='4278864c87941968fad2ea6cdbf4a2e0' type='result'> <query xmlns='jabber:iq:register'> <username>alicE_connections_info_3311</username> <password>matygrysa</password> </query> </iq>
*** User 2024-02-22 12:56:05.267 ***🔗 alicE_connections_info_3311@localhost out </stream:stream>
*** User 2024-02-22 12:56:05.267 ***🔗 alicE_connections_info_3311@localhost in </stream:stream>
*** User 2024-02-22 12:56:05.269 ***🔗 alice_connections_info_3311@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-22 12:56:05.269 ***🔗 alice_connections_info_3311@fed1/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4efbcb958defc284' from='fed1' version='1.0' xml:lang='en'>
*** User 2024-02-22 12:56:05.269 ***🔗 alice_connections_info_3311@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-22 12:56:05.270 ***🔗 alice_connections_info_3311@fed1/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNlX2Nvbm5lY3Rpb25zX2luZm9fMzMxMQBtYWtvdGEy</auth>
*** User 2024-02-22 12:56:05.273 ***🔗 alice_connections_info_3311@fed1/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-22 12:56:05.273 ***🔗 alice_connections_info_3311@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-22 12:56:05.274 ***🔗 alice_connections_info_3311@fed1/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a956832777943f26' from='fed1' version='1.0' xml:lang='en' to='alice_connections_info_3311@fed1'>
*** User 2024-02-22 12:56:05.274 ***🔗 alice_connections_info_3311@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-22 12:56:05.274 ***🔗 alice_connections_info_3311@fed1/res1 out <iq type='set' id='7129b8ea2cc8d057b77ba4aa09be3acd'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-02-22 12:56:05.274 ***🔗 alice_connections_info_3311@fed1/res1 in <iq id='7129b8ea2cc8d057b77ba4aa09be3acd' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_connections_info_3311@fed1/res1</jid> </bind> </iq>
*** User 2024-02-22 12:56:05.275 ***🔗 alice_connections_info_3311@fed1/res1 out <iq type='set' id='1a6a79aa3f924cd494d1c306f413a312'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-02-22 12:56:05.275 ***🔗 alice_connections_info_3311@fed1/res1 in <iq from='fed1' to='alice_connections_info_3311@fed1/res1' id='1a6a79aa3f924cd494d1c306f413a312' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-02-22 12:56:05.275 ***🔗 alice_connections_info_3311@fed1/res1 out <presence/>
*** User 2024-02-22 12:56:05.276 ***🔗 alice_connections_info_3311@fed1/res1 in <presence from='alice_connections_info_3311@fed1/res1' to='alice_connections_info_3311@fed1/res1'/>
*** User 2024-02-22 12:56:05.277 ***🔗 alicE_connections_info_3311@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-22 12:56:05.278 ***🔗 alicE_connections_info_3311@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3a0073bbf537e349' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-02-22 12:56:05.278 ***🔗 alicE_connections_info_3311@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-22 12:56:05.278 ***🔗 alicE_connections_info_3311@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Nvbm5lY3Rpb25zX2luZm9fMzMxMQBtYXR5Z3J5c2E=</auth>
*** User 2024-02-22 12:56:05.280 ***🔗 alicE_connections_info_3311@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-02-22 12:56:05.280 ***🔗 alicE_connections_info_3311@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-22 12:56:05.280 ***🔗 alicE_connections_info_3311@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a5d799f02038e09a' from='localhost' version='1.0' xml:lang='en' to='alice_connections_info_3311@localhost'>
*** User 2024-02-22 12:56:05.281 ***🔗 alicE_connections_info_3311@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-22 12:56:05.281 ***🔗 alicE_connections_info_3311@localhost/res1 out <iq type='set' id='c3934f1069edd73929f53828ddd3d711'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-02-22 12:56:05.281 ***🔗 alicE_connections_info_3311@localhost/res1 in <iq id='c3934f1069edd73929f53828ddd3d711' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_connections_info_3311@localhost/res1</jid> </bind> </iq>
*** User 2024-02-22 12:56:05.281 ***🔗 alice_connections_info_3311@localhost/res1 out <iq type='set' id='fe920f5f7a247d4e74909546634b3419'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-02-22 12:56:05.282 ***🔗 alice_connections_info_3311@localhost/res1 in <iq from='localhost' to='alice_connections_info_3311@localhost/res1' id='fe920f5f7a247d4e74909546634b3419' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-02-22 12:56:05.282 ***🔗 alice_connections_info_3311@localhost/res1 out <presence/>
*** User 2024-02-22 12:56:05.284 ***🔗 alice_connections_info_3311@localhost/res1 in <presence from='alice_connections_info_3311@localhost/res1' to='alice_connections_info_3311@localhost/res1'/>
*** User 2024-02-22 12:56:05.284 ***🔗 alice_connections_info_3311@localhost/res1 out <message type='chat' to='alice_connections_info_3311@fed1/res1'> <body>Hi, foreign Alice!</body> </message>
*** User 2024-02-22 12:56:05.291 ***🔗 alice_connections_info_3311@fed1/res1 in <message from='alice_connections_info_3311@localhost/res1' to='alice_connections_info_3311@fed1/res1' type='chat'> <body>Hi, foreign Alice!</body> </message>
*** User 2024-02-22 12:56:05.291 ***🔗 alice_connections_info_3311@fed1/res1 out <message type='chat' to='alice_connections_info_3311@localhost/res1'> <body>Nice to meet you!</body> </message>
*** User 2024-02-22 12:56:05.292 ***🔗 alice_connections_info_3311@localhost/res1 in <message from='alice_connections_info_3311@fed1/res1' to='alice_connections_info_3311@localhost/res1' type='chat'> <body>Nice to meet you!</body> </message>
*** User 2024-02-22 12:56:05.293 ***🔗 alice_connections_info_3311@localhost/res1 out </stream:stream>
*** User 2024-02-22 12:56:05.294 ***🔗 alice_connections_info_3311@localhost/res1 in </stream:stream>
*** User 2024-02-22 12:56:05.294 ***🔗 alice_connections_info_3311@fed1/res1 out </stream:stream>
*** User 2024-02-22 12:56:05.294 ***🔗 alice_connections_info_3311@fed1/res1 in </stream:stream>
*** User 2024-02-22 12:56:05.295 ***🔗 Node = mongooseim@localhost, ConnectionType = in, Domain = fed1 DomainS2SConnections(1): [#{pid => <10240.131962.0>,port => 56474, addr => {127,0,0,1}, direction => in,shaper => s2s_shaper,tls => false, streamid => <<"295d22e1487c3f2f">>, tls_enabled => false, tls_options => #{verify_mode => peer, ciphers => "TLSv1.2:TLSv1.3", dhfile => "priv/ssl/fake_dh_server.pem", protocol_options => ["no_sslv2","no_sslv3","no_tlsv1", "no_tlsv1_1"]}, authenticated => false, statename => stream_established, domains => [<<"fed1">>]}]
*** User 2024-02-22 12:56:05.296 ***🔗 Node = mongooseim@localhost, ConnectionType = out, Domain = fed1 DomainS2SConnections(2): [#{pid => <10240.131959.0>,port => 33514, addr => {127,0,0,1}, verify => false,server => <<"fed1">>, direction => out,tls => false, streamid => <<"a755ab1ddc76a255">>, tls_enabled => false,tls_required => false, tls_options => #{verify_mode => peer, ciphers => "TLSv1.2:TLSv1.3"}, authenticated => false, statename => stream_established, myname => <<"localhost">>,use_v10 => false, dialback_enabled => true,try_auth => true, delay_to_retry => undefined}, #{pid => <10240.131963.0>,port => 33516, addr => {127,0,0,1}, verify => {<10240.131962.0>, <<"1e6de69ca2720b7f48e3f92e55dbebaf3105f008f2bed4e9b83f83237d27db0e">>, <<"295d22e1487c3f2f">>}, server => <<"fed1">>,direction => out, tls => false,streamid => <<"d94cad5f2cf5e6d4">>, tls_enabled => false,tls_required => false, tls_options => #{verify_mode => peer, ciphers => "TLSv1.2:TLSv1.3"}, authenticated => false, statename => wait_for_validation, myname => <<"localhost">>,use_v10 => false, dialback_enabled => true,try_auth => true, delay_to_retry => undefined}]
=== Ended at 2024-02-22 12:56:05 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result