=== Test case: bind2_SUITE:stream_resumption_overrides_bind_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.stream_resumption_overrides_bind_request.14210.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.141 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_104.html

*** User 2024-04-22 14:50:02.161 ***🔗
alicE_stream_resumption_overrides_bind_request_394@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.164 ***🔗
alicE_stream_resumption_overrides_bind_request_394@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9177e4340028d3eb' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-22 14:50:02.164 ***🔗
alicE_stream_resumption_overrides_bind_request_394@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.164 ***🔗
alicE_stream_resumption_overrides_bind_request_394@domain.example.com out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N0cmVhbV9yZXN1bXB0aW9uX292ZXJyaWRlc19iaW5kX3JlcXVlc3RfMzk0AG1hdHlncnlzYQ==</auth>



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



*** User 2024-04-22 14:50:02.166 ***🔗
alicE_stream_resumption_overrides_bind_request_394@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.210 ***🔗
alicE_stream_resumption_overrides_bind_request_394@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ccf373cb969650b8' from='domain.example.com' version='1.0' xml:lang='en' to='alice_stream_resumption_overrides_bind_request_394@domain.example.com'>

*** User 2024-04-22 14:50:02.210 ***🔗
alicE_stream_resumption_overrides_bind_request_394@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.210 ***🔗
alicE_stream_resumption_overrides_bind_request_394@domain.example.com out
<iq type='set' id='a5773c40558e5f04f51a2995559873cf'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



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



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



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



*** User 2024-04-22 14:50:02.212 ***🔗
alice_stream_resumption_overrides_bind_request_394@domain.example.com/escalus-default-resource out
<enable xmlns='urn:xmpp:sm:3' resume='true'/>



*** User 2024-04-22 14:50:02.213 ***🔗
alice_stream_resumption_overrides_bind_request_394@domain.example.com/escalus-default-resource in
<enabled xmlns='urn:xmpp:sm:3' id='TnMnVaixUA4k4KMRniWvlvo6IFlx' resume='true'/>



*** User 2024-04-22 14:50:02.213 ***🔗
alice_stream_resumption_overrides_bind_request_394@domain.example.com/escalus-default-resource out
<presence/>



*** User 2024-04-22 14:50:02.215 ***🔗
alice_stream_resumption_overrides_bind_request_394@domain.example.com/escalus-default-resource in
<presence from='alice_stream_resumption_overrides_bind_request_394@domain.example.com/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_394@domain.example.com/escalus-default-resource'/>



*** User 2024-04-22 14:50:02.221 ***🔗
bOb_stream_resumption_overrides_bind_request_407@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.222 ***🔗
bOb_stream_resumption_overrides_bind_request_407@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1355d402e909865e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-22 14:50:02.222 ***🔗
bOb_stream_resumption_overrides_bind_request_407@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.223 ***🔗
bOb_stream_resumption_overrides_bind_request_407@domain.example.com out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdHJlYW1fcmVzdW1wdGlvbl9vdmVycmlkZXNfYmluZF9yZXF1ZXN0XzQwNwBtYWtyb2xpa2E=</auth>



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



*** User 2024-04-22 14:50:02.224 ***🔗
bOb_stream_resumption_overrides_bind_request_407@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.224 ***🔗
bOb_stream_resumption_overrides_bind_request_407@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1d28e56841a346ca' from='domain.example.com' version='1.0' xml:lang='en' to='bob_stream_resumption_overrides_bind_request_407@domain.example.com'>

*** User 2024-04-22 14:50:02.224 ***🔗
bOb_stream_resumption_overrides_bind_request_407@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.224 ***🔗
bOb_stream_resumption_overrides_bind_request_407@domain.example.com out
<iq type='set' id='c140bf50ee56ae4d0035a17c88a2f8fe'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



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



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



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



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



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



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



*** User 2024-04-22 14:50:02.227 ***🔗
alice_stream_resumption_overrides_bind_request_394@domain.example.com/escalus-default-resource in
<message from='bob_stream_resumption_overrides_bind_request_407@domain.example.com/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_394@domain.example.com/escalus-default-resource' type='chat'>
	<body>1</body>
</message>



*** User 2024-04-22 14:50:02.227 ***🔗
alice_stream_resumption_overrides_bind_request_394@domain.example.com/escalus-default-resource in
<message from='bob_stream_resumption_overrides_bind_request_407@domain.example.com/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_394@domain.example.com/escalus-default-resource' type='chat'>
	<body>2</body>
</message>



*** User 2024-04-22 14:50:02.227 ***🔗
alice_stream_resumption_overrides_bind_request_394@domain.example.com/escalus-default-resource in
<message from='bob_stream_resumption_overrides_bind_request_407@domain.example.com/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_394@domain.example.com/escalus-default-resource' type='chat'>
	<body>3</body>
</message>



*** User 2024-04-22 14:50:02.228 ***🔗
waiting for get_c2s_state_name is done in 0 miliseconds

*** User 2024-04-22 14:50:02.233 ***🔗
alicE_stream_resumption_overrides_bind_request_394@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.234 ***🔗
alicE_stream_resumption_overrides_bind_request_394@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='855666d23ed49cd6' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-22 14:50:02.234 ***🔗
alicE_stream_resumption_overrides_bind_request_394@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.234 ***🔗
alicE_stream_resumption_overrides_bind_request_394@domain.example.com out
<authenticate xmlns='urn:xmpp:sasl:2' mechanism='PLAIN'>
	<initial-response>AGFsaWNFX3N0cmVhbV9yZXN1bXB0aW9uX292ZXJyaWRlc19iaW5kX3JlcXVlc3RfMzk0AG1hdHlncnlzYQ==</initial-response>
	<bind xmlns='urn:xmpp:bind:0'>
		<tag>da6c83eb-03d3-4e56-99e7-61ceb7d77d1e</tag>
	</bind>
	<resume xmlns='urn:xmpp:sm:3' previd='TnMnVaixUA4k4KMRniWvlvo6IFlx' h='1'/>
</authenticate>



*** User 2024-04-22 14:50:02.236 ***🔗
alicE_stream_resumption_overrides_bind_request_394@domain.example.com in
<success xmlns='urn:xmpp:sasl:2'>
	<authorization-identifier>alice_stream_resumption_overrides_bind_request_394@domain.example.com/escalus-default-resource</authorization-identifier>
	<resumed xmlns='urn:xmpp:sm:3' previd='TnMnVaixUA4k4KMRniWvlvo6IFlx' h='1'/>
</success>



*** User 2024-04-22 14:50:02.236 ***🔗
alicE_stream_resumption_overrides_bind_request_394@domain.example.com in
<message from='bob_stream_resumption_overrides_bind_request_407@domain.example.com/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_394@domain.example.com/escalus-default-resource' type='chat'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-22T14:50:02.226427Z' from='domain.example.com'>SM Storage</delay>
	<body>1</body>
</message>



*** User 2024-04-22 14:50:02.236 ***🔗
alicE_stream_resumption_overrides_bind_request_394@domain.example.com in
<message from='bob_stream_resumption_overrides_bind_request_407@domain.example.com/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_394@domain.example.com/escalus-default-resource' type='chat'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-22T14:50:02.226576Z' from='domain.example.com'>SM Storage</delay>
	<body>2</body>
</message>



*** User 2024-04-22 14:50:02.236 ***🔗
alicE_stream_resumption_overrides_bind_request_394@domain.example.com in
<message from='bob_stream_resumption_overrides_bind_request_407@domain.example.com/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_394@domain.example.com/escalus-default-resource' type='chat'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-22T14:50:02.226923Z' from='domain.example.com'>SM Storage</delay>
	<body>3</body>
</message>



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

*** User 2024-04-22 14:50:02.237 ***🔗
alicE_stream_resumption_overrides_bind_request_394@domain.example.com in
</stream:stream>
*** CT 2024-04-22 14:50:02.239 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_104.html



=== Ended at 2024-04-22 14:50:02
=== successfully completed test case
=== === Returned value: ok