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

=== Config value:

    [{watchdog,<0.6806.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@9d11dc49e72b.2024-04-23_11.31.35/big_tests.tests.bind2_SUITE.logs/run.2024-04-23_11.32.02/bind2_suite.stream_resumption_overrides_bind_request.7685.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@9d11dc49e72b.2024-04-23_11.31.35/big_tests.tests.bind2_SUITE.logs/run.2024-04-23_11.32.02/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@9d11dc49e72b.2024-04-23_11.31.35"

=== Started at 2024-04-23 11:32:02


*** CT 2024-04-23 11:32:02.667 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_92.html

*** User 2024-04-23 11:32:02.681 ***🔗
alicE_stream_resumption_overrides_bind_request_404@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-23 11:32:02.685 ***🔗
alicE_stream_resumption_overrides_bind_request_404@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='073e9cf44c3ea515' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:32:02.686 ***🔗
alicE_stream_resumption_overrides_bind_request_404@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-23 11:32:02.686 ***🔗
alicE_stream_resumption_overrides_bind_request_404@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N0cmVhbV9yZXN1bXB0aW9uX292ZXJyaWRlc19iaW5kX3JlcXVlc3RfNDA0AG1hdHlncnlzYQ==</auth>



*** User 2024-04-23 11:32:02.687 ***🔗
alicE_stream_resumption_overrides_bind_request_404@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:32:02.687 ***🔗
alicE_stream_resumption_overrides_bind_request_404@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-23 11:32:02.688 ***🔗
alicE_stream_resumption_overrides_bind_request_404@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c913c6782fd364e2' from='localhost' version='1.0' xml:lang='en' to='alice_stream_resumption_overrides_bind_request_404@localhost'>

*** User 2024-04-23 11:32:02.688 ***🔗
alicE_stream_resumption_overrides_bind_request_404@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-23 11:32:02.688 ***🔗
alicE_stream_resumption_overrides_bind_request_404@localhost out
<iq type='set' id='7b6f94d42e099ddd9410968b52f36c79'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2024-04-23 11:32:02.689 ***🔗
alicE_stream_resumption_overrides_bind_request_404@localhost in
<iq id='7b6f94d42e099ddd9410968b52f36c79' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_stream_resumption_overrides_bind_request_404@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2024-04-23 11:32:02.692 ***🔗
alice_stream_resumption_overrides_bind_request_404@localhost/escalus-default-resource out
<iq type='set' id='49315143114ccf84a36eba67a65eeba3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:32:02.693 ***🔗
alice_stream_resumption_overrides_bind_request_404@localhost/escalus-default-resource in
<iq from='localhost' to='alice_stream_resumption_overrides_bind_request_404@localhost/escalus-default-resource' id='49315143114ccf84a36eba67a65eeba3' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:32:02.693 ***🔗
alice_stream_resumption_overrides_bind_request_404@localhost/escalus-default-resource out
<enable xmlns='urn:xmpp:sm:3' resume='true'/>



*** User 2024-04-23 11:32:02.694 ***🔗
alice_stream_resumption_overrides_bind_request_404@localhost/escalus-default-resource in
<enabled xmlns='urn:xmpp:sm:3' id='/Hi2p8KvsRgsyWt0mkmU+PDsn9Qu' resume='true'/>



*** User 2024-04-23 11:32:02.694 ***🔗
alice_stream_resumption_overrides_bind_request_404@localhost/escalus-default-resource out
<presence/>



*** User 2024-04-23 11:32:02.696 ***🔗
alice_stream_resumption_overrides_bind_request_404@localhost/escalus-default-resource in
<presence from='alice_stream_resumption_overrides_bind_request_404@localhost/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_404@localhost/escalus-default-resource'/>



*** User 2024-04-23 11:32:02.704 ***🔗
bOb_stream_resumption_overrides_bind_request_415@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-23 11:32:02.705 ***🔗
bOb_stream_resumption_overrides_bind_request_415@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='79d97aee2ab2d29c' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:32:02.705 ***🔗
bOb_stream_resumption_overrides_bind_request_415@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-23 11:32:02.705 ***🔗
bOb_stream_resumption_overrides_bind_request_415@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdHJlYW1fcmVzdW1wdGlvbl9vdmVycmlkZXNfYmluZF9yZXF1ZXN0XzQxNQBtYWtyb2xpa2E=</auth>



*** User 2024-04-23 11:32:02.706 ***🔗
bOb_stream_resumption_overrides_bind_request_415@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:32:02.707 ***🔗
bOb_stream_resumption_overrides_bind_request_415@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-23 11:32:02.707 ***🔗
bOb_stream_resumption_overrides_bind_request_415@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='32d2bbc173956e6a' from='localhost' version='1.0' xml:lang='en' to='bob_stream_resumption_overrides_bind_request_415@localhost'>

*** User 2024-04-23 11:32:02.707 ***🔗
bOb_stream_resumption_overrides_bind_request_415@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-23 11:32:02.707 ***🔗
bOb_stream_resumption_overrides_bind_request_415@localhost out
<iq type='set' id='cc92fd89461aa2ed3946ee7a95ce97f5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2024-04-23 11:32:02.707 ***🔗
bOb_stream_resumption_overrides_bind_request_415@localhost in
<iq id='cc92fd89461aa2ed3946ee7a95ce97f5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_stream_resumption_overrides_bind_request_415@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2024-04-23 11:32:02.707 ***🔗
bob_stream_resumption_overrides_bind_request_415@localhost/escalus-default-resource out
<iq type='set' id='a7ef979daeb17688deeb4f4458c08712'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:32:02.708 ***🔗
bob_stream_resumption_overrides_bind_request_415@localhost/escalus-default-resource in
<iq from='localhost' to='bob_stream_resumption_overrides_bind_request_415@localhost/escalus-default-resource' id='a7ef979daeb17688deeb4f4458c08712' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:32:02.708 ***🔗
bob_stream_resumption_overrides_bind_request_415@localhost/escalus-default-resource out
<message to='alice_stream_resumption_overrides_bind_request_404@localhost/escalus-default-resource' type='chat'>
	<body>1</body>
</message>



*** User 2024-04-23 11:32:02.708 ***🔗
bob_stream_resumption_overrides_bind_request_415@localhost/escalus-default-resource out
<message to='alice_stream_resumption_overrides_bind_request_404@localhost/escalus-default-resource' type='chat'>
	<body>2</body>
</message>



*** User 2024-04-23 11:32:02.708 ***🔗
bob_stream_resumption_overrides_bind_request_415@localhost/escalus-default-resource out
<message to='alice_stream_resumption_overrides_bind_request_404@localhost/escalus-default-resource' type='chat'>
	<body>3</body>
</message>



*** User 2024-04-23 11:32:02.709 ***🔗
alice_stream_resumption_overrides_bind_request_404@localhost/escalus-default-resource in
<message from='bob_stream_resumption_overrides_bind_request_415@localhost/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_404@localhost/escalus-default-resource' type='chat'>
	<body>1</body>
</message>



*** User 2024-04-23 11:32:02.709 ***🔗
alice_stream_resumption_overrides_bind_request_404@localhost/escalus-default-resource in
<message from='bob_stream_resumption_overrides_bind_request_415@localhost/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_404@localhost/escalus-default-resource' type='chat'>
	<body>2</body>
</message>



*** User 2024-04-23 11:32:02.709 ***🔗
alice_stream_resumption_overrides_bind_request_404@localhost/escalus-default-resource in
<message from='bob_stream_resumption_overrides_bind_request_415@localhost/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_404@localhost/escalus-default-resource' type='chat'>
	<body>3</body>
</message>



*** User 2024-04-23 11:32:02.760 ***🔗
waiting for get_c2s_state_name is done in 0 miliseconds

*** User 2024-04-23 11:32:02.763 ***🔗
alicE_stream_resumption_overrides_bind_request_404@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-23 11:32:02.764 ***🔗
alicE_stream_resumption_overrides_bind_request_404@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1b593e56fc74a850' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:32:02.764 ***🔗
alicE_stream_resumption_overrides_bind_request_404@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-23 11:32:02.764 ***🔗
alicE_stream_resumption_overrides_bind_request_404@localhost out
<authenticate xmlns='urn:xmpp:sasl:2' mechanism='PLAIN'>
	<initial-response>AGFsaWNFX3N0cmVhbV9yZXN1bXB0aW9uX292ZXJyaWRlc19iaW5kX3JlcXVlc3RfNDA0AG1hdHlncnlzYQ==</initial-response>
	<bind xmlns='urn:xmpp:bind:0'>
		<tag>c4bb38f6-5dfb-4d44-ad63-fdb1e4aead4c</tag>
	</bind>
	<resume xmlns='urn:xmpp:sm:3' previd='/Hi2p8KvsRgsyWt0mkmU+PDsn9Qu' h='1'/>
</authenticate>



*** User 2024-04-23 11:32:02.765 ***🔗
alicE_stream_resumption_overrides_bind_request_404@localhost in
<success xmlns='urn:xmpp:sasl:2'>
	<authorization-identifier>alice_stream_resumption_overrides_bind_request_404@localhost/escalus-default-resource</authorization-identifier>
	<resumed xmlns='urn:xmpp:sm:3' previd='/Hi2p8KvsRgsyWt0mkmU+PDsn9Qu' h='1'/>
</success>



*** User 2024-04-23 11:32:02.766 ***🔗
alicE_stream_resumption_overrides_bind_request_404@localhost in
<message from='bob_stream_resumption_overrides_bind_request_415@localhost/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_404@localhost/escalus-default-resource' type='chat'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-23T11:32:02.708572Z' from='localhost'>SM Storage</delay>
	<body>1</body>
</message>



*** User 2024-04-23 11:32:02.766 ***🔗
alicE_stream_resumption_overrides_bind_request_404@localhost in
<message from='bob_stream_resumption_overrides_bind_request_415@localhost/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_404@localhost/escalus-default-resource' type='chat'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-23T11:32:02.708776Z' from='localhost'>SM Storage</delay>
	<body>2</body>
</message>



*** User 2024-04-23 11:32:02.766 ***🔗
alicE_stream_resumption_overrides_bind_request_404@localhost in
<message from='bob_stream_resumption_overrides_bind_request_415@localhost/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_404@localhost/escalus-default-resource' type='chat'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-23T11:32:02.708884Z' from='localhost'>SM Storage</delay>
	<body>3</body>
</message>



*** User 2024-04-23 11:32:02.766 ***🔗
alicE_stream_resumption_overrides_bind_request_404@localhost out
</stream:stream>

*** User 2024-04-23 11:32:02.766 ***🔗
alicE_stream_resumption_overrides_bind_request_404@localhost in
</stream:stream>
*** CT 2024-04-23 11:32:02.767 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_93.html



=== Ended at 2024-04-23 11:32:02
=== successfully completed test case
=== === Returned value: ok