=== Test case: s2s_SUITE:connections_info/1 (click for source code) === Config value: [{watchdog,<0.85900.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,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"]}, proto => tcp,ip_address => "0",proxy_protocol => false, max_stanza_size => 131072, 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,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"]}, proto => tcp,ip_address => "0",proxy_protocol => false, max_stanza_size => 131072, ip_tuple => {0,0,0,0}, ip_version => 4,connection_type => s2s}}}, {escalus_user_db,xmpp}, {preset,"pgsql_cets"}, {mim_data_dir,"/home/circleci/project/big_tests/tests/s2s_SUITE_data"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@e5832022abeb.2023-11-13_18.57.12/big_tests.tests.s2s_SUITE.logs/run.2023-11-13_19.11.15/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@e5832022abeb.2023-11-13_18.57.12/big_tests.tests.s2s_SUITE.logs/run.2023-11-13_19.11.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@e5832022abeb.2023-11-13_18.57.12" === Started at 2023-11-13 19:11:15
*** User 2023-11-13 19:11:15.683 ***🔗 alice_connections_info_3035@fed1 out <stream:stream to='fed1' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-13 19:11:15.684 ***🔗 alice_connections_info_3035@fed1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='87cc70f03b5fead9' from='fed1' version='1.0' xml:lang='en'>
*** User 2023-11-13 19:11:15.684 ***🔗 alice_connections_info_3035@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 2023-11-13 19:11:15.684 ***🔗 alice_connections_info_3035@fed1 out <iq type='get' id='212fb8bb20fd7631ca79f04f3a903da0'> <query xmlns='jabber:iq:register'/> </iq>
*** User 2023-11-13 19:11:15.684 ***🔗 alice_connections_info_3035@fed1 in <iq from='fed1' to='fed1' id='212fb8bb20fd7631ca79f04f3a903da0' type='result'> <query xmlns='jabber:iq:register'> <instructions>Choose a username and password to register with this server</instructions> <username/> <password/> </query> </iq>
*** User 2023-11-13 19:11:15.684 ***🔗 alice_connections_info_3035@fed1 out <iq type='set' id='673bc31dd1711cc43c855c09259950d9'> <query xmlns='jabber:iq:register'> <username>alice_connections_info_3035</username> <password>makota2</password> </query> </iq>
*** User 2023-11-13 19:11:15.703 ***🔗 alice_connections_info_3035@fed1 in <iq from='fed1' to='fed1' id='673bc31dd1711cc43c855c09259950d9' type='result'> <query xmlns='jabber:iq:register'> <username>alice_connections_info_3035</username> <password>makota2</password> </query> </iq>
*** User 2023-11-13 19:11:15.703 ***🔗 alice_connections_info_3035@fed1 out </stream:stream>
*** User 2023-11-13 19:11:15.704 ***🔗 alice_connections_info_3035@fed1 in </stream:stream>
*** User 2023-11-13 19:11:15.704 ***🔗 alicE_connections_info_3035@localhost out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-13 19:11:15.705 ***🔗 alicE_connections_info_3035@localhost in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1bfc846ba5187551' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-13 19:11:15.705 ***🔗 alicE_connections_info_3035@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 2023-11-13 19:11:15.705 ***🔗 alicE_connections_info_3035@localhost out <iq type='get' id='7a57ed8124f35c7912bfa2166787777b'> <query xmlns='jabber:iq:register'/> </iq>
*** User 2023-11-13 19:11:15.705 ***🔗 alicE_connections_info_3035@localhost in <iq from='localhost' to='localhost' id='7a57ed8124f35c7912bfa2166787777b' type='result'> <query xmlns='jabber:iq:register'> <instructions>Choose a username and password to register with this server</instructions> <username/> <password/> </query> </iq>
*** User 2023-11-13 19:11:15.705 ***🔗 alicE_connections_info_3035@localhost out <iq type='set' id='911a7285f44855f98b88d91d0d5b794a'> <query xmlns='jabber:iq:register'> <username>alicE_connections_info_3035</username> <password>matygrysa</password> </query> </iq>
*** User 2023-11-13 19:11:15.707 ***🔗 alicE_connections_info_3035@localhost in <iq from='localhost' to='localhost' id='911a7285f44855f98b88d91d0d5b794a' type='result'> <query xmlns='jabber:iq:register'> <username>alicE_connections_info_3035</username> <password>matygrysa</password> </query> </iq>
*** User 2023-11-13 19:11:15.707 ***🔗 alicE_connections_info_3035@localhost out </stream:stream>
*** User 2023-11-13 19:11:15.707 ***🔗 alicE_connections_info_3035@localhost in </stream:stream>
*** User 2023-11-13 19:11:15.708 ***🔗 alice_connections_info_3035@fed1/res1 out <stream:stream to='fed1' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-13 19:11:15.709 ***🔗 alice_connections_info_3035@fed1/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a91aeb641251a3fc' from='fed1' version='1.0' xml:lang='en'>
*** User 2023-11-13 19:11:15.709 ***🔗 alice_connections_info_3035@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 2023-11-13 19:11:15.709 ***🔗 alice_connections_info_3035@fed1/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNlX2Nvbm5lY3Rpb25zX2luZm9fMzAzNQBtYWtvdGEy</auth>
*** User 2023-11-13 19:11:15.711 ***🔗 alice_connections_info_3035@fed1/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-13 19:11:15.711 ***🔗 alice_connections_info_3035@fed1/res1 out <stream:stream to='fed1' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-13 19:11:15.712 ***🔗 alice_connections_info_3035@fed1/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d981691e37641a99' from='fed1' version='1.0' xml:lang='en' to='alice_connections_info_3035@fed1'>
*** User 2023-11-13 19:11:15.712 ***🔗 alice_connections_info_3035@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 2023-11-13 19:11:15.712 ***🔗 alice_connections_info_3035@fed1/res1 out <iq type='set' id='5b2e23ccfef6a190cd8b0f03a4607aaa'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2023-11-13 19:11:15.712 ***🔗 alice_connections_info_3035@fed1/res1 in <iq id='5b2e23ccfef6a190cd8b0f03a4607aaa' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_connections_info_3035@fed1/res1</jid> </bind> </iq>
*** User 2023-11-13 19:11:15.712 ***🔗 alice_connections_info_3035@fed1/res1 out <iq type='set' id='7a70ac5eb67c0c3d5bb53623d808cef9'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2023-11-13 19:11:15.713 ***🔗 alice_connections_info_3035@fed1/res1 in <iq from='fed1' to='alice_connections_info_3035@fed1/res1' id='7a70ac5eb67c0c3d5bb53623d808cef9' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2023-11-13 19:11:15.713 ***🔗 alice_connections_info_3035@fed1/res1 out <presence/>
*** User 2023-11-13 19:11:15.713 ***🔗 alice_connections_info_3035@fed1/res1 in <presence from='alice_connections_info_3035@fed1/res1' to='alice_connections_info_3035@fed1/res1'/>
*** User 2023-11-13 19:11:15.713 ***🔗 alicE_connections_info_3035@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-13 19:11:15.714 ***🔗 alicE_connections_info_3035@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='83f4e137bc61d0cd' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-13 19:11:15.714 ***🔗 alicE_connections_info_3035@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 2023-11-13 19:11:15.714 ***🔗 alicE_connections_info_3035@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Nvbm5lY3Rpb25zX2luZm9fMzAzNQBtYXR5Z3J5c2E=</auth>
*** User 2023-11-13 19:11:15.715 ***🔗 alicE_connections_info_3035@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-13 19:11:15.715 ***🔗 alicE_connections_info_3035@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-11-13 19:11:15.715 ***🔗 alicE_connections_info_3035@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eb41591cfe18025e' from='localhost' version='1.0' xml:lang='en' to='alice_connections_info_3035@localhost'>
*** User 2023-11-13 19:11:15.715 ***🔗 alicE_connections_info_3035@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 2023-11-13 19:11:15.715 ***🔗 alicE_connections_info_3035@localhost/res1 out <iq type='set' id='24a447766f4cd86afbdede991c154936'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2023-11-13 19:11:15.715 ***🔗 alicE_connections_info_3035@localhost/res1 in <iq id='24a447766f4cd86afbdede991c154936' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_connections_info_3035@localhost/res1</jid> </bind> </iq>
*** User 2023-11-13 19:11:15.716 ***🔗 alice_connections_info_3035@localhost/res1 out <iq type='set' id='296defda8de310bfed2c08be721bc807'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2023-11-13 19:11:15.716 ***🔗 alice_connections_info_3035@localhost/res1 in <iq from='localhost' to='alice_connections_info_3035@localhost/res1' id='296defda8de310bfed2c08be721bc807' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2023-11-13 19:11:15.716 ***🔗 alice_connections_info_3035@localhost/res1 out <presence/>
*** User 2023-11-13 19:11:15.717 ***🔗 alice_connections_info_3035@localhost/res1 in <presence from='alice_connections_info_3035@localhost/res1' to='alice_connections_info_3035@localhost/res1'/>
*** User 2023-11-13 19:11:15.717 ***🔗 alice_connections_info_3035@localhost/res1 out <message type='chat' to='alice_connections_info_3035@fed1/res1'> <body>Hi, foreign Alice!</body> </message>
*** User 2023-11-13 19:11:15.720 ***🔗 alice_connections_info_3035@fed1/res1 in <message from='alice_connections_info_3035@localhost/res1' to='alice_connections_info_3035@fed1/res1' type='chat'> <body>Hi, foreign Alice!</body> </message>
*** User 2023-11-13 19:11:15.720 ***🔗 alice_connections_info_3035@fed1/res1 out <message type='chat' to='alice_connections_info_3035@localhost/res1'> <body>Nice to meet you!</body> </message>
*** User 2023-11-13 19:11:15.721 ***🔗 alice_connections_info_3035@localhost/res1 in <message from='alice_connections_info_3035@fed1/res1' to='alice_connections_info_3035@localhost/res1' type='chat'> <body>Nice to meet you!</body> </message>
*** User 2023-11-13 19:11:15.721 ***🔗 alice_connections_info_3035@localhost/res1 out </stream:stream>
*** User 2023-11-13 19:11:15.722 ***🔗 alice_connections_info_3035@localhost/res1 in </stream:stream>
*** User 2023-11-13 19:11:15.722 ***🔗 alice_connections_info_3035@fed1/res1 out </stream:stream>
*** User 2023-11-13 19:11:15.722 ***🔗 alice_connections_info_3035@fed1/res1 in </stream:stream>
*** User 2023-11-13 19:11:15.722 ***🔗 Node = mongooseim@localhost, ConnectionType = in, Domain = fed1 DomainS2SConnections(1): [#{pid => <10240.101786.0>,port => 42252, addr => {127,0,0,1}, shaper => s2s_shaper,tls => false,direction => in, authenticated => false, statename => stream_established, streamid => <<"50035243c32c2fc4">>, 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"]}, tls_enabled => false, domains => [<<"fed1">>]}]
*** User 2023-11-13 19:11:15.723 ***🔗 Node = mongooseim@localhost, ConnectionType = out, Domain = fed1 DomainS2SConnections(2): [#{pid => <10240.101783.0>,port => 38340, addr => {127,0,0,1}, verify => false,server => <<"fed1">>,tls => false, direction => out,authenticated => false, statename => stream_established, streamid => <<"c216a7bf209ebbd8">>, tls_options => #{verify_mode => peer, ciphers => "TLSv1.2:TLSv1.3"}, use_v10 => false,tls_required => false, tls_enabled => false,dialback_enabled => true, try_auth => true,myname => <<"localhost">>, delay_to_retry => undefined}, #{pid => <10240.101787.0>,port => 38344, addr => {127,0,0,1}, verify => {<10240.101786.0>, <<"87b3a679a8facc3ebc367376fb9630f8829f3cdd1cec21d920be2eb45f99faed">>, <<"50035243c32c2fc4">>}, server => <<"fed1">>,tls => false, direction => out,authenticated => false, statename => wait_for_validation, streamid => <<"79f0320ef931752b">>, tls_options => #{verify_mode => peer, ciphers => "TLSv1.2:TLSv1.3"}, use_v10 => false,tls_required => false, tls_enabled => false,dialback_enabled => true, try_auth => true,myname => <<"localhost">>, delay_to_retry => undefined}]
=== Ended at 2023-11-13 19:11:15 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result