=== Test case: s2s_SUITE:connections_info/1 (click for source code) === Config value: [{watchdog,<0.91628.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 => #{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",ip_version => 4, ip_tuple => {0,0,0,0}, proto => tcp,shaper => s2s_shaper,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}, 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 => #{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",ip_version => 4, ip_tuple => {0,0,0,0}, proto => tcp,shaper => s2s_shaper,proxy_protocol => false, max_stanza_size => 131072,connection_type => s2s}}}, {escalus_user_db,xmpp}, {preset,"mysql_redis"}, {mim_data_dir,"/home/circleci/project/big_tests/tests/s2s_SUITE_data"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@712f6a561549.2024-04-22_14.41.30/big_tests.tests.s2s_SUITE.logs/run.2024-04-22_14.58.36/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@712f6a561549.2024-04-22_14.41.30/big_tests.tests.s2s_SUITE.logs/run.2024-04-22_14.58.36/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@712f6a561549.2024-04-22_14.41.30" === Started at 2024-04-22 14:58:36
*** User 2024-04-22 14:58:36.427 ***🔗 alice_connections_info_3282@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-22 14:58:36.428 ***🔗 alice_connections_info_3282@fed1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a677597c9d25e52b' from='fed1' version='1.0' xml:lang='en'>
*** User 2024-04-22 14:58:36.428 ***🔗 alice_connections_info_3282@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-22 14:58:36.428 ***🔗 alice_connections_info_3282@fed1 out <iq type='get' id='76ada98ad3f8490fd3c8b32c7b46c212'> <query xmlns='jabber:iq:register'/> </iq>
*** User 2024-04-22 14:58:36.429 ***🔗 alice_connections_info_3282@fed1 in <iq from='fed1' to='fed1' id='76ada98ad3f8490fd3c8b32c7b46c212' 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-22 14:58:36.429 ***🔗 alice_connections_info_3282@fed1 out <iq type='set' id='18430074bfc8cad88094f22044bb89c5'> <query xmlns='jabber:iq:register'> <username>alice_connections_info_3282</username> <password>makota2</password> </query> </iq>
*** User 2024-04-22 14:58:36.449 ***🔗 alice_connections_info_3282@fed1 in <iq from='fed1' to='fed1' id='18430074bfc8cad88094f22044bb89c5' type='result'> <query xmlns='jabber:iq:register'> <username>alice_connections_info_3282</username> <password>makota2</password> </query> </iq>
*** User 2024-04-22 14:58:36.449 ***🔗 alice_connections_info_3282@fed1 out </stream:stream>
*** User 2024-04-22 14:58:36.449 ***🔗 alice_connections_info_3282@fed1 in </stream:stream>
*** User 2024-04-22 14:58:36.450 ***🔗 alicE_connections_info_3282@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-22 14:58:36.450 ***🔗 alicE_connections_info_3282@localhost in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='368de155134de1b2' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 14:58:36.451 ***🔗 alicE_connections_info_3282@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-04-22 14:58:36.451 ***🔗 alicE_connections_info_3282@localhost out <iq type='get' id='4f08d046cf420acc86ed7736778222c4'> <query xmlns='jabber:iq:register'/> </iq>
*** User 2024-04-22 14:58:36.451 ***🔗 alicE_connections_info_3282@localhost in <iq from='localhost' to='localhost' id='4f08d046cf420acc86ed7736778222c4' 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-22 14:58:36.451 ***🔗 alicE_connections_info_3282@localhost out <iq type='set' id='8b405e89a4ec8be845e0bbaf50ce7bfc'> <query xmlns='jabber:iq:register'> <username>alicE_connections_info_3282</username> <password>matygrysa</password> </query> </iq>
*** User 2024-04-22 14:58:36.454 ***🔗 alicE_connections_info_3282@localhost in <iq from='localhost' to='localhost' id='8b405e89a4ec8be845e0bbaf50ce7bfc' type='result'> <query xmlns='jabber:iq:register'> <username>alicE_connections_info_3282</username> <password>matygrysa</password> </query> </iq>
*** User 2024-04-22 14:58:36.454 ***🔗 alicE_connections_info_3282@localhost out </stream:stream>
*** User 2024-04-22 14:58:36.455 ***🔗 alicE_connections_info_3282@localhost in </stream:stream>
*** User 2024-04-22 14:58:36.456 ***🔗 alice_connections_info_3282@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-22 14:58:36.456 ***🔗 alice_connections_info_3282@fed1/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6099be8e56812a89' from='fed1' version='1.0' xml:lang='en'>
*** User 2024-04-22 14:58:36.457 ***🔗 alice_connections_info_3282@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-22 14:58:36.457 ***🔗 alice_connections_info_3282@fed1/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNlX2Nvbm5lY3Rpb25zX2luZm9fMzI4MgBtYWtvdGEy</auth>
*** User 2024-04-22 14:58:36.459 ***🔗 alice_connections_info_3282@fed1/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 14:58:36.459 ***🔗 alice_connections_info_3282@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-22 14:58:36.460 ***🔗 alice_connections_info_3282@fed1/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d81e68d3c22d34b8' from='fed1' version='1.0' xml:lang='en' to='alice_connections_info_3282@fed1'>
*** User 2024-04-22 14:58:36.460 ***🔗 alice_connections_info_3282@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-22 14:58:36.460 ***🔗 alice_connections_info_3282@fed1/res1 out <iq type='set' id='7fc4ab81e34a71c629477650cecb9495'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-04-22 14:58:36.460 ***🔗 alice_connections_info_3282@fed1/res1 in <iq id='7fc4ab81e34a71c629477650cecb9495' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_connections_info_3282@fed1/res1</jid> </bind> </iq>
*** User 2024-04-22 14:58:36.460 ***🔗 alice_connections_info_3282@fed1/res1 out <iq type='set' id='2ba7a5fb827e27f90b1c2711a4f96330'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-22 14:58:36.461 ***🔗 alice_connections_info_3282@fed1/res1 in <iq from='fed1' to='alice_connections_info_3282@fed1/res1' id='2ba7a5fb827e27f90b1c2711a4f96330' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-22 14:58:36.461 ***🔗 alice_connections_info_3282@fed1/res1 out <presence/>
*** User 2024-04-22 14:58:36.462 ***🔗 alice_connections_info_3282@fed1/res1 in <presence from='alice_connections_info_3282@fed1/res1' to='alice_connections_info_3282@fed1/res1'/>
*** User 2024-04-22 14:58:36.462 ***🔗 alicE_connections_info_3282@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-22 14:58:36.463 ***🔗 alicE_connections_info_3282@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='05d9d3439153b9ec' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-22 14:58:36.463 ***🔗 alicE_connections_info_3282@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-04-22 14:58:36.463 ***🔗 alicE_connections_info_3282@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Nvbm5lY3Rpb25zX2luZm9fMzI4MgBtYXR5Z3J5c2E=</auth>
*** User 2024-04-22 14:58:36.464 ***🔗 alicE_connections_info_3282@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-22 14:58:36.465 ***🔗 alicE_connections_info_3282@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-22 14:58:36.465 ***🔗 alicE_connections_info_3282@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9148c99b3d226b50' from='localhost' version='1.0' xml:lang='en' to='alice_connections_info_3282@localhost'>
*** User 2024-04-22 14:58:36.465 ***🔗 alicE_connections_info_3282@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-22 14:58:36.465 ***🔗 alicE_connections_info_3282@localhost/res1 out <iq type='set' id='e295b79e5bdf1e566a970f9ea7efce78'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-04-22 14:58:36.466 ***🔗 alicE_connections_info_3282@localhost/res1 in <iq id='e295b79e5bdf1e566a970f9ea7efce78' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_connections_info_3282@localhost/res1</jid> </bind> </iq>
*** User 2024-04-22 14:58:36.466 ***🔗 alice_connections_info_3282@localhost/res1 out <iq type='set' id='835594777bdb1760540f4271c6053f10'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-22 14:58:36.467 ***🔗 alice_connections_info_3282@localhost/res1 in <iq from='localhost' to='alice_connections_info_3282@localhost/res1' id='835594777bdb1760540f4271c6053f10' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-22 14:58:36.467 ***🔗 alice_connections_info_3282@localhost/res1 out <presence/>
*** User 2024-04-22 14:58:36.469 ***🔗 alice_connections_info_3282@localhost/res1 in <presence from='alice_connections_info_3282@localhost/res1' to='alice_connections_info_3282@localhost/res1'/>
*** User 2024-04-22 14:58:36.469 ***🔗 alice_connections_info_3282@localhost/res1 out <message type='chat' to='alice_connections_info_3282@fed1/res1'> <body>Hi, foreign Alice!</body> </message>
*** User 2024-04-22 14:58:36.474 ***🔗 alice_connections_info_3282@fed1/res1 in <message from='alice_connections_info_3282@localhost/res1' to='alice_connections_info_3282@fed1/res1' type='chat'> <body>Hi, foreign Alice!</body> </message>
*** User 2024-04-22 14:58:36.474 ***🔗 alice_connections_info_3282@fed1/res1 out <message type='chat' to='alice_connections_info_3282@localhost/res1'> <body>Nice to meet you!</body> </message>
*** User 2024-04-22 14:58:36.475 ***🔗 alice_connections_info_3282@localhost/res1 in <message from='alice_connections_info_3282@fed1/res1' to='alice_connections_info_3282@localhost/res1' type='chat'> <body>Nice to meet you!</body> </message>
*** User 2024-04-22 14:58:36.475 ***🔗 alice_connections_info_3282@localhost/res1 out </stream:stream>
*** User 2024-04-22 14:58:36.476 ***🔗 alice_connections_info_3282@localhost/res1 in </stream:stream>
*** User 2024-04-22 14:58:36.476 ***🔗 alice_connections_info_3282@fed1/res1 out </stream:stream>
*** User 2024-04-22 14:58:36.476 ***🔗 alice_connections_info_3282@fed1/res1 in </stream:stream>
*** User 2024-04-22 14:58:36.477 ***🔗 Node = mongooseim@localhost, ConnectionType = in, Domain = fed1 DomainS2SConnections(1): [#{pid => <10242.109175.0>,port => 55182, addr => {127,0,0,1}, 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 => false,direction => in,shaper => s2s_shaper, statename => stream_established, domains => [<<"fed1">>], streamid => <<"4ec82c86803eaa78">>, authenticated => false,tls_enabled => false}]
*** User 2024-04-22 14:58:36.477 ***🔗 Node = mongooseim@localhost, ConnectionType = out, Domain = fed1 DomainS2SConnections(2): [#{pid => <10242.109172.0>,port => 36084, addr => {127,0,0,1}, verify => false,server => <<"fed1">>, tls_options => #{verify_mode => peer, ciphers => "TLSv1.2:TLSv1.3"}, tls => false,direction => out, statename => stream_established, myname => <<"localhost">>, streamid => <<"25dd31d5dd4810e5">>, authenticated => false,use_v10 => false, tls_required => false,tls_enabled => false, dialback_enabled => true,try_auth => true, delay_to_retry => undefined}, #{pid => <10242.109176.0>,port => 36092, addr => {127,0,0,1}, verify => {<10242.109175.0>, <<"471e70dc24a0fcdfa81f75d32c1ce8516eb9ba896d2836960f28d2ca707bfc6d">>, <<"4ec82c86803eaa78">>}, server => <<"fed1">>, tls_options => #{verify_mode => peer, ciphers => "TLSv1.2:TLSv1.3"}, tls => false,direction => out, statename => wait_for_validation, myname => <<"localhost">>, streamid => <<"890bb8613db0fb07">>, authenticated => false,use_v10 => false, tls_required => false,tls_enabled => false, dialback_enabled => true,try_auth => true, delay_to_retry => undefined}]
=== Ended at 2024-04-22 14:58:36 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result