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

=== Config value:

    [{watchdog,<0.6819.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@f2e0a288de76.2024-03-21_07.46.09/big_tests.tests.bind2_SUITE.logs/run.2024-03-21_07.46.43/bind2_suite.stream_resumption_failing_does_bind_and_contains_sm_status.12674.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@f2e0a288de76.2024-03-21_07.46.09/big_tests.tests.bind2_SUITE.logs/run.2024-03-21_07.46.43/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{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 =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,buffer_max => 100,ack_freq => 1,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              resume_timeout => 600,backend => mnesia},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@f2e0a288de76.2024-03-21_07.46.09"

=== Started at 2024-03-21 07:46:43


*** CT 2024-03-21 07:46:43.379 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_97.html

*** User 2024-03-21 07:46:43.434 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-21 07:46:43.437 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e5d2e35db940c5a5' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:46:43.438 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_425@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-03-21 07:46:43.438 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N0cmVhbV9yZXN1bXB0aW9uX2ZhaWxpbmdfZG9lc19iaW5kX2FuZF9jb250YWluc19zbV9zdGF0dXNfNDI1AG1hdHlncnlzYQ==</auth>



*** User 2024-03-21 07:46:43.442 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:46:43.442 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-21 07:46:43.445 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='45e10aa2d3ee7672' from='localhost' version='1.0' xml:lang='en' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost'>

*** User 2024-03-21 07:46:43.446 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_425@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-03-21 07:46:43.446 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost out
<iq type='set' id='c19d841c9940ff7a8c89aad12d25d67f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2024-03-21 07:46:43.446 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost in
<iq id='c19d841c9940ff7a8c89aad12d25d67f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2024-03-21 07:46:43.446 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost/escalus-default-resource out
<iq type='set' id='eac5e43b8686e0cadb9f9c702261c3e3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:46:43.449 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost/escalus-default-resource in
<iq from='localhost' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost/escalus-default-resource' id='eac5e43b8686e0cadb9f9c702261c3e3' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:46:43.449 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost/escalus-default-resource out
<enable xmlns='urn:xmpp:sm:3' resume='true'/>



*** User 2024-03-21 07:46:43.450 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost/escalus-default-resource in
<enabled xmlns='urn:xmpp:sm:3' id='ToiwkoqERBTFM7OQ6IOQf6XEO8Wf' resume='true'/>



*** User 2024-03-21 07:46:43.450 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost/escalus-default-resource out
<presence/>



*** User 2024-03-21 07:46:43.457 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost/escalus-default-resource in
<presence from='alice_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost/escalus-default-resource' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost/escalus-default-resource'/>



*** User 2024-03-21 07:46:43.469 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_436@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-21 07:46:43.470 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_436@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c2159d0765446988' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:46:43.470 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_436@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-03-21 07:46:43.470 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_436@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdHJlYW1fcmVzdW1wdGlvbl9mYWlsaW5nX2RvZXNfYmluZF9hbmRfY29udGFpbnNfc21fc3RhdHVzXzQzNgBtYWtyb2xpa2E=</auth>



*** User 2024-03-21 07:46:43.472 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_436@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:46:43.472 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_436@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-21 07:46:43.477 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_436@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='27273fc4c3d29239' from='localhost' version='1.0' xml:lang='en' to='bob_stream_resumption_failing_does_bind_and_contains_sm_status_436@localhost'>

*** User 2024-03-21 07:46:43.477 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_436@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-03-21 07:46:43.477 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_436@localhost out
<iq type='set' id='eb950e3d3259b7a01a602480b7a995f1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2024-03-21 07:46:43.478 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_436@localhost in
<iq id='eb950e3d3259b7a01a602480b7a995f1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_stream_resumption_failing_does_bind_and_contains_sm_status_436@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2024-03-21 07:46:43.478 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_436@localhost/escalus-default-resource out
<iq type='set' id='a651baa7caa3f4e56e8cb829cda02b8f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:46:43.482 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_436@localhost/escalus-default-resource in
<iq from='localhost' to='bob_stream_resumption_failing_does_bind_and_contains_sm_status_436@localhost/escalus-default-resource' id='a651baa7caa3f4e56e8cb829cda02b8f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:46:43.482 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_436@localhost/escalus-default-resource out
<message type='chat' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost/escalus-default-resource'>
	<body>1</body>
</message>



*** User 2024-03-21 07:46:43.482 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_436@localhost/escalus-default-resource out
<message type='chat' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost/escalus-default-resource'>
	<body>2</body>
</message>



*** User 2024-03-21 07:46:43.482 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_436@localhost/escalus-default-resource out
<message type='chat' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost/escalus-default-resource'>
	<body>3</body>
</message>



*** User 2024-03-21 07:46:43.486 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost/escalus-default-resource in
<message from='bob_stream_resumption_failing_does_bind_and_contains_sm_status_436@localhost/escalus-default-resource' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost/escalus-default-resource' type='chat'>
	<body>1</body>
</message>



*** User 2024-03-21 07:46:43.486 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost/escalus-default-resource in
<message from='bob_stream_resumption_failing_does_bind_and_contains_sm_status_436@localhost/escalus-default-resource' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost/escalus-default-resource' type='chat'>
	<body>2</body>
</message>



*** User 2024-03-21 07:46:43.487 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost/escalus-default-resource in
<message from='bob_stream_resumption_failing_does_bind_and_contains_sm_status_436@localhost/escalus-default-resource' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost/escalus-default-resource' type='chat'>
	<body>3</body>
</message>



*** User 2024-03-21 07:46:43.488 ***🔗
waiting for get_c2s_state_name is done in 0 miliseconds

*** User 2024-03-21 07:46:43.517 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-21 07:46:43.518 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a9def3d302ba32b8' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:46:43.519 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_425@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-03-21 07:46:43.519 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost out
<authenticate xmlns='urn:xmpp:sasl:2' mechanism='PLAIN'>
	<initial-response>AGFsaWNFX3N0cmVhbV9yZXN1bXB0aW9uX2ZhaWxpbmdfZG9lc19iaW5kX2FuZF9jb250YWluc19zbV9zdGF0dXNfNDI1AG1hdHlncnlzYQ==</initial-response>
	<bind xmlns='urn:xmpp:bind:0'>
		<tag>e8c08d7c-0dd4-4c4e-a4b3-bcf4486b97f9</tag>
	</bind>
	<resume xmlns='urn:xmpp:sm:3' previd='123456' h='1'/>
</authenticate>



*** User 2024-03-21 07:46:43.523 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost in
<success xmlns='urn:xmpp:sasl:2'>
	<authorization-identifier>alice_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost/e8c08d7c-0dd4-4c4e-a4b3-bcf4486b97f9/1711-7203-522092-f2d7b27fe619a3c5</authorization-identifier>
	<failed xmlns='urn:xmpp:sm:3'>
		<item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</failed>
	<bound xmlns='urn:xmpp:bind:0'/>
</success>



*** User 2024-03-21 07:46:43.523 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_425@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-03-21 07:46:43.523 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost out
</stream:stream>

*** User 2024-03-21 07:46:43.524 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_425@localhost in
</stream:stream>
*** CT 2024-03-21 07:46:43.529 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_97.html



=== Ended at 2024-03-21 07:46:43
=== successfully completed test case
=== === Returned value: ok