=== Test case: connect_SUITE:should_pass_with_tlsv1_2/1 (click for source code)

=== Config value:

    [{watchdog,<0.12844.0>},
     {tls_module,fast_tls},
     {c2s_listener,#{access => c2s,ip_address => "0",
                     ip_tuple => {0,0,0,0},
                     ip_version => 4,max_stanza_size => 65536,
                     module => ejabberd_c2s,port => 5222,proto => tcp,
                     shaper => c2s_shaper,
                     tls =>
                         [{certfile,"priv/ssl/fake_server.pem"},
                          {dhfile,"priv/ssl/fake_dh_server.pem"},
                          starttls],
                     zlib => 10000}},
     {escalus_user_db,{module,escalus_ejabberd,[]}},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/connect_SUITE_data"},
     {preset,"mysql_redis"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.connect_SUITE.logs/run.2022-03-07_15.58.45/connect_suite.should_pass_with_tlsv1_2.html"},
     {tc_group_properties,[{name,starttls},{repeat_until_all_ok,3}]},
     {tc_group_path,[[{name,fast_tls},{repeat_until_all_ok,3}]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/connect_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.connect_SUITE.logs/run.2022-03-07_15.58.45/log_private/"},
     {escalus_users,[{secure_joe,[{username,<<"secure_joe">>},
                                  {server,<<"localhost">>},
                                  {password,<<"break_me">>},
                                  {compression,<<"zlib">>},
                                  {starttls,required}]},
                     {alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55"

=== Started at 2022-03-07 15:58:51


*** CT 2022-03-07 15:58:51.460 *** View log from node mongooseim@localhost when started mongooseim@localhost_109.html
*** CT 2022-03-07 15:58:51.461 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_109.html

*** User 2022-03-07 15:58:51.474 ***
secure_joe_should_pass_with_tlsv1_2_607@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 15:58:51.475 ***
secure_joe_should_pass_with_tlsv1_2_607@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ca36da6061de1ddd' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 15:58:51.475 ***
secure_joe_should_pass_with_tlsv1_2_607@localhost in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'>
		<required/>
	</starttls>
</stream:features>



*** User 2022-03-07 15:58:51.475 ***
secure_joe_should_pass_with_tlsv1_2_607@localhost out
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>



*** User 2022-03-07 15:58:51.475 ***
secure_joe_should_pass_with_tlsv1_2_607@localhost in
<proceed xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>



*** System report during connect_SUITE:should_pass_with_tlsv1_2/1 in starttls 2022-03-07 15:58:51.475 ***
=WARNING REPORT==== 7-Mar-2022::15:58:51.475893 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-03-07 15:58:51.486 ***
secure_joe_should_pass_with_tlsv1_2_607@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 15:58:51.486 ***
secure_joe_should_pass_with_tlsv1_2_607@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b2c7ee06322f789c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 15:58:51.486 ***
secure_joe_should_pass_with_tlsv1_2_607@localhost in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256-PLUS</mechanism>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 15:58:51.486 ***
secure_joe_should_pass_with_tlsv1_2_607@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AHNlY3VyZV9qb2Vfc2hvdWxkX3Bhc3Nfd2l0aF90bHN2MV8yXzYwNwBicmVha19tZQ==</auth>



*** User 2022-03-07 15:58:51.487 ***
secure_joe_should_pass_with_tlsv1_2_607@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-07 15:58:51.487 ***
secure_joe_should_pass_with_tlsv1_2_607@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 15:58:51.488 ***
secure_joe_should_pass_with_tlsv1_2_607@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1934d54d94038ad0' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 15:58:51.488 ***
secure_joe_should_pass_with_tlsv1_2_607@localhost in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 15:58:51.488 ***
secure_joe_should_pass_with_tlsv1_2_607@localhost out
<compress xmlns='http://jabber.org/protocol/compress'>
	<method>zlib</method>
</compress>



*** User 2022-03-07 15:58:51.491 ***
secure_joe_should_pass_with_tlsv1_2_607@localhost in
<compressed xmlns='http://jabber.org/protocol/compress'/>



*** User 2022-03-07 15:58:51.491 ***
secure_joe_should_pass_with_tlsv1_2_607@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-07 15:58:51.491 ***
secure_joe_should_pass_with_tlsv1_2_607@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2f295b8e5679acf4' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-07 15:58:51.492 ***
secure_joe_should_pass_with_tlsv1_2_607@localhost in
<stream:features>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-07 15:58:51.492 ***
secure_joe_should_pass_with_tlsv1_2_607@localhost out
<iq type='set' id='3d9d4725987eb7ebb0bd2c97156bde87'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2022-03-07 15:58:51.492 ***
secure_joe_should_pass_with_tlsv1_2_607@localhost in
<iq id='3d9d4725987eb7ebb0bd2c97156bde87' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>secure_joe_should_pass_with_tlsv1_2_607@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2022-03-07 15:58:51.492 ***
secure_joe_should_pass_with_tlsv1_2_607@localhost/escalus-default-resource out
<iq type='set' id='92f9aa4d8175d3a857d753ae18043efe'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-07 15:58:51.492 ***
secure_joe_should_pass_with_tlsv1_2_607@localhost/escalus-default-resource in
<iq type='result' id='92f9aa4d8175d3a857d753ae18043efe'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>


*** CT 2022-03-07 15:58:51.494 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_109.html
*** CT 2022-03-07 15:58:51.494 *** View log from node mongooseim@localhost when finished mongooseim@localhost_109.html



=== Ended at 2022-03-07 15:58:51
=== successfully completed test case
=== === Returned value: ok


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