=== Test case: bind2_SUITE:csi_is_active_with_bind_inline_request/1 (click for source code)

=== Config value:

    [{watchdog,<0.6776.0>},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/bind2_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d23c82f592e5.2024-04-22_14.49.33/big_tests.tests.bind2_SUITE.logs/run.2024-04-22_14.50.01/bind2_suite.csi_is_active_with_bind_inline_request.13698.html"},
     {tc_group_properties,[{name,basic},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/bind2_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@d23c82f592e5.2024-04-22_14.49.33/big_tests.tests.bind2_SUITE.logs/run.2024-04-22_14.50.01/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        mod_sic => #{iqdisc => one_queue},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_disco =>
            #{server_info => [],iqdisc => one_queue,extra_domains => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d23c82f592e5.2024-04-22_14.49.33"

=== Started at 2024-04-22 14:50:02


*** CT 2024-04-22 14:50:02.126 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_104.html

*** User 2024-04-22 14:50:02.155 ***🔗
alicE_csi_is_active_with_bind_inline_request_388@domain.example.com out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-22 14:50:02.158 ***🔗
alicE_csi_is_active_with_bind_inline_request_388@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f713633a82fe76b4' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-22 14:50:02.158 ***🔗
alicE_csi_is_active_with_bind_inline_request_388@domain.example.com in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256-PLUS</mechanism>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<authentication xmlns='urn:xmpp:sasl:2'>
		<inline>
			<sm xmlns='urn:xmpp:sm:3'/>
			<bind xmlns='urn:xmpp:bind:0'>
				<inline>
					<feature var='urn:xmpp:sm:3'/>
					<feature var='urn:xmpp:csi:0'/>
					<feature var='urn:xmpp:carbons:2'/>
				</inline>
			</bind>
		</inline>
		<mechanism>SCRAM-SHA-256-PLUS</mechanism>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</authentication>
	<sm xmlns='urn:xmpp:sm:3'/>
	<csi xmlns='urn:xmpp:csi:0'/>
</stream:features>



*** User 2024-04-22 14:50:02.211 ***🔗
bOb_csi_is_active_with_bind_inline_request_400@domain.example.com out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-22 14:50:02.212 ***🔗
bOb_csi_is_active_with_bind_inline_request_400@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3caa59dcf92afb50' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-22 14:50:02.212 ***🔗
bOb_csi_is_active_with_bind_inline_request_400@domain.example.com 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'/>
	<csi xmlns='urn:xmpp:csi:0'/>
</stream:features>



*** User 2024-04-22 14:50:02.212 ***🔗
bOb_csi_is_active_with_bind_inline_request_400@domain.example.com out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jc2lfaXNfYWN0aXZlX3dpdGhfYmluZF9pbmxpbmVfcmVxdWVzdF80MDAAbWFrcm9saWth</auth>



*** User 2024-04-22 14:50:02.214 ***🔗
bOb_csi_is_active_with_bind_inline_request_400@domain.example.com in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 14:50:02.215 ***🔗
bOb_csi_is_active_with_bind_inline_request_400@domain.example.com out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-22 14:50:02.215 ***🔗
bOb_csi_is_active_with_bind_inline_request_400@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b0797bdf21d923d' from='domain.example.com' version='1.0' xml:lang='en' to='bob_csi_is_active_with_bind_inline_request_400@domain.example.com'>

*** User 2024-04-22 14:50:02.215 ***🔗
bOb_csi_is_active_with_bind_inline_request_400@domain.example.com 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'/>
	<csi xmlns='urn:xmpp:csi:0'/>
</stream:features>



*** User 2024-04-22 14:50:02.215 ***🔗
bOb_csi_is_active_with_bind_inline_request_400@domain.example.com out
<iq type='set' id='1bebb62ac455b68ebb59790702e055e6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2024-04-22 14:50:02.216 ***🔗
bOb_csi_is_active_with_bind_inline_request_400@domain.example.com in
<iq id='1bebb62ac455b68ebb59790702e055e6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_csi_is_active_with_bind_inline_request_400@domain.example.com/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2024-04-22 14:50:02.216 ***🔗
bob_csi_is_active_with_bind_inline_request_400@domain.example.com/escalus-default-resource out
<iq type='set' id='20969db63ff2c5e2acc234200b98c39e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:50:02.217 ***🔗
bob_csi_is_active_with_bind_inline_request_400@domain.example.com/escalus-default-resource in
<iq from='domain.example.com' to='bob_csi_is_active_with_bind_inline_request_400@domain.example.com/escalus-default-resource' id='20969db63ff2c5e2acc234200b98c39e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:50:02.222 ***🔗
alicE_csi_is_active_with_bind_inline_request_388@domain.example.com out
<authenticate xmlns='urn:xmpp:sasl:2' mechanism='PLAIN'>
	<initial-response>AGFsaWNFX2NzaV9pc19hY3RpdmVfd2l0aF9iaW5kX2lubGluZV9yZXF1ZXN0XzM4OABtYXR5Z3J5c2E=</initial-response>
	<bind xmlns='urn:xmpp:bind:0'>
		<active xmlns='urn:xmpp:csi:0'/>
	</bind>
</authenticate>



*** User 2024-04-22 14:50:02.225 ***🔗
alicE_csi_is_active_with_bind_inline_request_388@domain.example.com in
<success xmlns='urn:xmpp:sasl:2'>
	<authorization-identifier>alice_csi_is_active_with_bind_inline_request_388@domain.example.com/1713-797402-225432-d879df68b93f51de</authorization-identifier>
	<bound xmlns='urn:xmpp:bind:0'/>
</success>



*** User 2024-04-22 14:50:02.225 ***🔗
alicE_csi_is_active_with_bind_inline_request_388@domain.example.com 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'/>
	<csi xmlns='urn:xmpp:csi:0'/>
</stream:features>



*** User 2024-04-22 14:50:02.226 ***🔗
bob_csi_is_active_with_bind_inline_request_400@domain.example.com/escalus-default-resource out
<message type='chat' to='alicE_csi_is_active_with_bind_inline_request_388@domain.example.com'>
	<body>hello 1</body>
</message>



*** User 2024-04-22 14:50:02.226 ***🔗
alicE_csi_is_active_with_bind_inline_request_388@domain.example.com in
<message from='bob_csi_is_active_with_bind_inline_request_400@domain.example.com/escalus-default-resource' to='alice_csi_is_active_with_bind_inline_request_388@domain.example.com' type='chat'>
	<body>hello 1</body>
</message>



*** User 2024-04-22 14:50:02.226 ***🔗
alicE_csi_is_active_with_bind_inline_request_388@domain.example.com out
<inactive xmlns='urn:xmpp:csi:0'/>



*** User 2024-04-22 14:50:02.327 ***🔗
bob_csi_is_active_with_bind_inline_request_400@domain.example.com/escalus-default-resource out
<message type='chat' to='alicE_csi_is_active_with_bind_inline_request_388@domain.example.com'>
	<body>Hi, Alice: 1</body>
</message>



*** User 2024-04-22 14:50:02.428 ***🔗
alicE_csi_is_active_with_bind_inline_request_388@domain.example.com out
</stream:stream>

*** User 2024-04-22 14:50:02.429 ***🔗
alicE_csi_is_active_with_bind_inline_request_388@domain.example.com in
</stream:stream>
*** CT 2024-04-22 14:50:02.430 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_105.html



=== Ended at 2024-04-22 14:50:02
=== successfully completed test case
=== === Returned value: #{peer =>
                       {client,
                        <<"bob_csi_is_active_with_bind_inline_request_400@domain.example.com/escalus-default-resource">>,
                        escalus_tcp,<0.6943.0>,undefined,
                        [{username,
                          <<"bob_csi_is_active_with_bind_inline_request_400">>},
                         {server,<<"domain.example.com">>},
                         {host,<<"localhost">>},
                         {password,<<"makrolika">>},
                         {stream_id,<<"5b0797bdf21d923d">>},
                         {resource,<<"escalus-default-resource">>}]},
                      spec =>
                       [{port,5223},
                        {tls_module,ssl},
                        {ssl,true},
                        {ssl_opts,[{verify,verify_none}]},
                        {username,
                         <<"alicE_csi_is_active_with_bind_inline_request_388">>},
                        {server,<<"domain.example.com">>},
                        {host,<<"localhost">>},
                        {password,<<"matygrysa">>}],
                      features =>
                       {xmlel,<<"stream:features">>,[],
                        [{xmlel,<<"session">>,
                          [{<<"xmlns">>,
                            <<"urn:ietf:params:xml:ns:xmpp-session">>}],
                          []},
                         {xmlel,<<"bind">>,
                          [{<<"xmlns">>,
                            <<"urn:ietf:params:xml:ns:xmpp-bind">>}],
                          []},
                         {xmlel,<<"register">>,
                          [{<<"xmlns">>,
                            <<"http://jabber.org/features/iq-register">>}],
                          []},
                         {xmlel,<<"amp">>,
                          [{<<"xmlns">>,<<"http://jabber.org/feature/amp">>}],
                          []},
                         {xmlel,<<"sm">>,
                          [{<<"xmlns">>,<<"urn:xmpp:sm:3">>}],
                          []},
                         {xmlel,<<"csi">>,
                          [{<<"xmlns">>,<<"urn:xmpp:csi:0">>}],
                          []}]},
                      answer =>
                       {xmlel,<<"success">>,
                        [{<<"xmlns">>,<<"urn:xmpp:sasl:2">>}],
                        [{xmlel,<<"authorization-identifier">>,[],
                          [{xmlcdata,
                            <<"alice_csi_is_active_with_bind_inline_request_388@domain.example.com/1713-797402-225432-d879df68b93f51de">>}]},
                         {xmlel,<<"bound">>,
                          [{<<"xmlns">>,<<"urn:xmpp:bind:0">>}],
                          []}]},
                      client_1_jid =>
                       <<"alice_csi_is_active_with_bind_inline_request_388@domain.example.com/1713-797402-225432-d879df68b93f51de">>,
                      bind2_resource =>
                       <<"1713-797402-225432-d879df68b93f51de">>}