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

=== Config value:

    [{watchdog,<0.6809.0>},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/bind2_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@68af4b791741.2024-04-16_10.12.32/big_tests.tests.bind2_SUITE.logs/run.2024-04-16_10.13.02/bind2_suite.stream_resumption_overrides_bind_request.13954.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@68af4b791741.2024-04-16_10.12.32/big_tests.tests.bind2_SUITE.logs/run.2024-04-16_10.13.02/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_sic => #{iqdisc => one_queue},
        mod_amp => #{},
        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_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
              ack_freq => 1,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              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@68af4b791741.2024-04-16_10.12.32"

=== Started at 2024-04-16 10:13:02


*** CT 2024-04-16 10:13:02.843 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_93.html

*** User 2024-04-16 10:13:02.862 ***🔗
alicE_stream_resumption_overrides_bind_request_390@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-16 10:13:02.862 ***🔗
alicE_stream_resumption_overrides_bind_request_390@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='df37564186dc5ce6' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:13:02.862 ***🔗
alicE_stream_resumption_overrides_bind_request_390@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'/>
	<csi xmlns='urn:xmpp:csi:0'/>
</stream:features>



*** User 2024-04-16 10:13:02.862 ***🔗
alicE_stream_resumption_overrides_bind_request_390@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N0cmVhbV9yZXN1bXB0aW9uX292ZXJyaWRlc19iaW5kX3JlcXVlc3RfMzkwAG1hdHlncnlzYQ==</auth>



*** User 2024-04-16 10:13:02.901 ***🔗
alicE_stream_resumption_overrides_bind_request_390@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 10:13:02.901 ***🔗
alicE_stream_resumption_overrides_bind_request_390@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-16 10:13:02.902 ***🔗
alicE_stream_resumption_overrides_bind_request_390@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f6d38d819b5d8a82' from='localhost' version='1.0' xml:lang='en' to='alice_stream_resumption_overrides_bind_request_390@localhost'>

*** User 2024-04-16 10:13:02.903 ***🔗
alicE_stream_resumption_overrides_bind_request_390@localhost 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-16 10:13:02.903 ***🔗
alicE_stream_resumption_overrides_bind_request_390@localhost out
<iq type='set' id='9264ce26ef6a81f25e5d832c8e55190f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2024-04-16 10:13:02.904 ***🔗
alicE_stream_resumption_overrides_bind_request_390@localhost in
<iq id='9264ce26ef6a81f25e5d832c8e55190f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_stream_resumption_overrides_bind_request_390@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2024-04-16 10:13:02.904 ***🔗
alice_stream_resumption_overrides_bind_request_390@localhost/escalus-default-resource out
<iq type='set' id='91d839d673e73621d13610ac2cb0ffd1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:13:02.909 ***🔗
alice_stream_resumption_overrides_bind_request_390@localhost/escalus-default-resource in
<iq from='localhost' to='alice_stream_resumption_overrides_bind_request_390@localhost/escalus-default-resource' id='91d839d673e73621d13610ac2cb0ffd1' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:13:02.909 ***🔗
alice_stream_resumption_overrides_bind_request_390@localhost/escalus-default-resource out
<enable xmlns='urn:xmpp:sm:3' resume='true'/>



*** User 2024-04-16 10:13:02.912 ***🔗
alice_stream_resumption_overrides_bind_request_390@localhost/escalus-default-resource in
<enabled xmlns='urn:xmpp:sm:3' id='q+JUcbM/ZohKux5+b7M/avMZa7VU' resume='true'/>



*** User 2024-04-16 10:13:02.912 ***🔗
alice_stream_resumption_overrides_bind_request_390@localhost/escalus-default-resource out
<presence/>



*** User 2024-04-16 10:13:02.916 ***🔗
alice_stream_resumption_overrides_bind_request_390@localhost/escalus-default-resource in
<presence from='alice_stream_resumption_overrides_bind_request_390@localhost/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_390@localhost/escalus-default-resource'/>



*** User 2024-04-16 10:13:02.929 ***🔗
bOb_stream_resumption_overrides_bind_request_400@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-16 10:13:02.930 ***🔗
bOb_stream_resumption_overrides_bind_request_400@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1f28eaf191f18f34' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:13:02.930 ***🔗
bOb_stream_resumption_overrides_bind_request_400@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'/>
	<csi xmlns='urn:xmpp:csi:0'/>
</stream:features>



*** User 2024-04-16 10:13:02.930 ***🔗
bOb_stream_resumption_overrides_bind_request_400@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdHJlYW1fcmVzdW1wdGlvbl9vdmVycmlkZXNfYmluZF9yZXF1ZXN0XzQwMABtYWtyb2xpa2E=</auth>



*** User 2024-04-16 10:13:02.931 ***🔗
bOb_stream_resumption_overrides_bind_request_400@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 10:13:02.931 ***🔗
bOb_stream_resumption_overrides_bind_request_400@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-16 10:13:02.932 ***🔗
bOb_stream_resumption_overrides_bind_request_400@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a3f8c6cd5099c2e3' from='localhost' version='1.0' xml:lang='en' to='bob_stream_resumption_overrides_bind_request_400@localhost'>

*** User 2024-04-16 10:13:02.932 ***🔗
bOb_stream_resumption_overrides_bind_request_400@localhost 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-16 10:13:02.932 ***🔗
bOb_stream_resumption_overrides_bind_request_400@localhost out
<iq type='set' id='fd36f8f8f0d660b376baf2580f8ebbd4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2024-04-16 10:13:02.932 ***🔗
bOb_stream_resumption_overrides_bind_request_400@localhost in
<iq id='fd36f8f8f0d660b376baf2580f8ebbd4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_stream_resumption_overrides_bind_request_400@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2024-04-16 10:13:02.932 ***🔗
bob_stream_resumption_overrides_bind_request_400@localhost/escalus-default-resource out
<iq type='set' id='0435ab81562be64a512cd0684d1b10ac'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:13:02.933 ***🔗
bob_stream_resumption_overrides_bind_request_400@localhost/escalus-default-resource in
<iq from='localhost' to='bob_stream_resumption_overrides_bind_request_400@localhost/escalus-default-resource' id='0435ab81562be64a512cd0684d1b10ac' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:13:02.933 ***🔗
bob_stream_resumption_overrides_bind_request_400@localhost/escalus-default-resource out
<message type='chat' to='alice_stream_resumption_overrides_bind_request_390@localhost/escalus-default-resource'>
	<body>1</body>
</message>



*** User 2024-04-16 10:13:02.933 ***🔗
bob_stream_resumption_overrides_bind_request_400@localhost/escalus-default-resource out
<message type='chat' to='alice_stream_resumption_overrides_bind_request_390@localhost/escalus-default-resource'>
	<body>2</body>
</message>



*** User 2024-04-16 10:13:02.933 ***🔗
bob_stream_resumption_overrides_bind_request_400@localhost/escalus-default-resource out
<message type='chat' to='alice_stream_resumption_overrides_bind_request_390@localhost/escalus-default-resource'>
	<body>3</body>
</message>



*** User 2024-04-16 10:13:02.934 ***🔗
alice_stream_resumption_overrides_bind_request_390@localhost/escalus-default-resource in
<message from='bob_stream_resumption_overrides_bind_request_400@localhost/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_390@localhost/escalus-default-resource' type='chat'>
	<body>1</body>
</message>



*** User 2024-04-16 10:13:02.935 ***🔗
alice_stream_resumption_overrides_bind_request_390@localhost/escalus-default-resource in
<message from='bob_stream_resumption_overrides_bind_request_400@localhost/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_390@localhost/escalus-default-resource' type='chat'>
	<body>2</body>
</message>



*** User 2024-04-16 10:13:02.936 ***🔗
alice_stream_resumption_overrides_bind_request_390@localhost/escalus-default-resource in
<message from='bob_stream_resumption_overrides_bind_request_400@localhost/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_390@localhost/escalus-default-resource' type='chat'>
	<body>3</body>
</message>



*** User 2024-04-16 10:13:02.937 ***🔗
waiting for get_c2s_state_name is done in 0 miliseconds

*** User 2024-04-16 10:13:02.940 ***🔗
alicE_stream_resumption_overrides_bind_request_390@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-16 10:13:02.941 ***🔗
alicE_stream_resumption_overrides_bind_request_390@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f3b279b00b923454' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:13:02.941 ***🔗
alicE_stream_resumption_overrides_bind_request_390@localhost 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-16 10:13:02.941 ***🔗
alicE_stream_resumption_overrides_bind_request_390@localhost out
<authenticate xmlns='urn:xmpp:sasl:2' mechanism='PLAIN'>
	<initial-response>AGFsaWNFX3N0cmVhbV9yZXN1bXB0aW9uX292ZXJyaWRlc19iaW5kX3JlcXVlc3RfMzkwAG1hdHlncnlzYQ==</initial-response>
	<bind xmlns='urn:xmpp:bind:0'>
		<tag>e507f7a1-5151-4ff2-a3ca-44cca516da28</tag>
	</bind>
	<resume xmlns='urn:xmpp:sm:3' previd='q+JUcbM/ZohKux5+b7M/avMZa7VU' h='1'/>
</authenticate>



*** User 2024-04-16 10:13:02.944 ***🔗
alicE_stream_resumption_overrides_bind_request_390@localhost in
<success xmlns='urn:xmpp:sasl:2'>
	<authorization-identifier>alice_stream_resumption_overrides_bind_request_390@localhost/escalus-default-resource</authorization-identifier>
	<resumed xmlns='urn:xmpp:sm:3' previd='q+JUcbM/ZohKux5+b7M/avMZa7VU' h='1'/>
</success>



*** User 2024-04-16 10:13:02.944 ***🔗
alicE_stream_resumption_overrides_bind_request_390@localhost in
<message from='bob_stream_resumption_overrides_bind_request_400@localhost/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_390@localhost/escalus-default-resource' type='chat'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-16T10:13:02.933585Z' from='localhost'>SM Storage</delay>
	<body>1</body>
</message>



*** User 2024-04-16 10:13:02.944 ***🔗
alicE_stream_resumption_overrides_bind_request_390@localhost in
<message from='bob_stream_resumption_overrides_bind_request_400@localhost/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_390@localhost/escalus-default-resource' type='chat'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-16T10:13:02.934202Z' from='localhost'>SM Storage</delay>
	<body>2</body>
</message>



*** User 2024-04-16 10:13:02.944 ***🔗
alicE_stream_resumption_overrides_bind_request_390@localhost in
<message from='bob_stream_resumption_overrides_bind_request_400@localhost/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_390@localhost/escalus-default-resource' type='chat'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-16T10:13:02.935170Z' from='localhost'>SM Storage</delay>
	<body>3</body>
</message>



*** User 2024-04-16 10:13:02.944 ***🔗
alicE_stream_resumption_overrides_bind_request_390@localhost out
</stream:stream>

*** User 2024-04-16 10:13:02.945 ***🔗
alicE_stream_resumption_overrides_bind_request_390@localhost in
</stream:stream>
*** CT 2024-04-16 10:13:02.994 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_94.html



=== Ended at 2024-04-16 10:13:03
=== successfully completed test case
=== === Returned value: ok