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

=== Config value:

    [{watchdog,<0.6752.0>},
     {preset,"odbc_mssql_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@a21fc9dcd843.2024-02-27_10.07.42/big_tests.tests.bind2_SUITE.logs/run.2024-02-27_10.08.10/bind2_suite.stream_resumption_failing_does_bind_and_contains_sm_status.10755.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@a21fc9dcd843.2024-02-27_10.07.42/big_tests.tests.bind2_SUITE.logs/run.2024-02-27_10.08.10/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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_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_sic => #{iqdisc => one_queue},
        mod_amp => #{},mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => 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_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@a21fc9dcd843.2024-02-27_10.07.42"

=== Started at 2024-02-27 10:08:10


*** CT 2024-02-27 10:08:10.890 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_93.html

*** User 2024-02-27 10:08:10.954 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_391@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-02-27 10:08:10.957 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='95f0b1e7881678f6' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-27 10:08:10.957 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_391@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-02-27 10:08:10.957 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N0cmVhbV9yZXN1bXB0aW9uX2ZhaWxpbmdfZG9lc19iaW5kX2FuZF9jb250YWluc19zbV9zdGF0dXNfMzkxAG1hdHlncnlzYQ==</auth>



*** User 2024-02-27 10:08:10.959 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-27 10:08:10.959 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_391@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-02-27 10:08:10.959 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='42b7fbef060ea991' from='domain.example.com' version='1.0' xml:lang='en' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com'>

*** User 2024-02-27 10:08:10.959 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_391@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-02-27 10:08:10.960 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com out
<iq type='set' id='448f5d543daac31c837ce898bcfacc8c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2024-02-27 10:08:10.960 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com in
<iq id='448f5d543daac31c837ce898bcfacc8c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2024-02-27 10:08:10.960 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com/escalus-default-resource out
<iq type='set' id='51b5b21e0e11bf749c08e17224d2bd76'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-27 10:08:10.961 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com/escalus-default-resource in
<iq from='domain.example.com' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com/escalus-default-resource' id='51b5b21e0e11bf749c08e17224d2bd76' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-27 10:08:10.961 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com/escalus-default-resource out
<enable xmlns='urn:xmpp:sm:3' resume='true'/>



*** User 2024-02-27 10:08:10.961 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com/escalus-default-resource in
<enabled xmlns='urn:xmpp:sm:3' id='7aXjVd7VW4w3Q7CYYGyVi+ra4btt' resume='true'/>



*** User 2024-02-27 10:08:10.961 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com/escalus-default-resource out
<presence/>



*** User 2024-02-27 10:08:10.964 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com/escalus-default-resource in
<presence from='alice_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com/escalus-default-resource' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com/escalus-default-resource'/>



*** User 2024-02-27 10:08:10.978 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_403@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-02-27 10:08:10.979 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_403@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c40298b86295c20b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-27 10:08:10.979 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_403@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-02-27 10:08:10.979 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_403@domain.example.com out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdHJlYW1fcmVzdW1wdGlvbl9mYWlsaW5nX2RvZXNfYmluZF9hbmRfY29udGFpbnNfc21fc3RhdHVzXzQwMwBtYWtyb2xpa2E=</auth>



*** User 2024-02-27 10:08:10.980 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_403@domain.example.com in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-27 10:08:10.980 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_403@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-02-27 10:08:10.981 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_403@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1eea03dc4168f336' from='domain.example.com' version='1.0' xml:lang='en' to='bob_stream_resumption_failing_does_bind_and_contains_sm_status_403@domain.example.com'>

*** User 2024-02-27 10:08:10.981 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_403@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-02-27 10:08:10.981 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_403@domain.example.com out
<iq type='set' id='7c95d3588b8ba32d3b277ebf8285c037'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2024-02-27 10:08:10.981 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_403@domain.example.com in
<iq id='7c95d3588b8ba32d3b277ebf8285c037' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_stream_resumption_failing_does_bind_and_contains_sm_status_403@domain.example.com/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2024-02-27 10:08:10.981 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_403@domain.example.com/escalus-default-resource out
<iq type='set' id='078c634d124fd8e5ab8f10278725f869'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-27 10:08:10.982 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_403@domain.example.com/escalus-default-resource in
<iq from='domain.example.com' to='bob_stream_resumption_failing_does_bind_and_contains_sm_status_403@domain.example.com/escalus-default-resource' id='078c634d124fd8e5ab8f10278725f869' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-27 10:08:10.982 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_403@domain.example.com/escalus-default-resource out
<message type='chat' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com/escalus-default-resource'>
	<body>1</body>
</message>



*** User 2024-02-27 10:08:10.982 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_403@domain.example.com/escalus-default-resource out
<message type='chat' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com/escalus-default-resource'>
	<body>2</body>
</message>



*** User 2024-02-27 10:08:10.982 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_403@domain.example.com/escalus-default-resource out
<message type='chat' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com/escalus-default-resource'>
	<body>3</body>
</message>



*** User 2024-02-27 10:08:10.982 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com/escalus-default-resource in
<message from='bob_stream_resumption_failing_does_bind_and_contains_sm_status_403@domain.example.com/escalus-default-resource' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com/escalus-default-resource' type='chat'>
	<body>1</body>
</message>



*** User 2024-02-27 10:08:10.983 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com/escalus-default-resource in
<message from='bob_stream_resumption_failing_does_bind_and_contains_sm_status_403@domain.example.com/escalus-default-resource' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com/escalus-default-resource' type='chat'>
	<body>2</body>
</message>



*** User 2024-02-27 10:08:10.983 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com/escalus-default-resource in
<message from='bob_stream_resumption_failing_does_bind_and_contains_sm_status_403@domain.example.com/escalus-default-resource' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com/escalus-default-resource' type='chat'>
	<body>3</body>
</message>



*** User 2024-02-27 10:08:10.988 ***🔗
waiting for get_c2s_state_name is done in 0 miliseconds

*** User 2024-02-27 10:08:10.992 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_391@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-02-27 10:08:10.992 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='18c043f3f83d4212' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-27 10:08:10.992 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_391@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-02-27 10:08:10.992 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com out
<authenticate xmlns='urn:xmpp:sasl:2' mechanism='PLAIN'>
	<initial-response>AGFsaWNFX3N0cmVhbV9yZXN1bXB0aW9uX2ZhaWxpbmdfZG9lc19iaW5kX2FuZF9jb250YWluc19zbV9zdGF0dXNfMzkxAG1hdHlncnlzYQ==</initial-response>
	<bind xmlns='urn:xmpp:bind:0'>
		<tag>826e949c-1549-42aa-afd8-c2aee2484609</tag>
	</bind>
	<resume xmlns='urn:xmpp:sm:3' previd='123456' h='1'/>
</authenticate>



*** User 2024-02-27 10:08:10.994 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com in
<success xmlns='urn:xmpp:sasl:2'>
	<authorization-identifier>alice_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com/826e949c-1549-42aa-afd8-c2aee2484609/1709-28490-994343-288f9ecc365a1049</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-02-27 10:08:10.994 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_391@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-02-27 10:08:10.994 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com out
</stream:stream>

*** User 2024-02-27 10:08:10.995 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_391@domain.example.com in
</stream:stream>
*** CT 2024-02-27 10:08:10.996 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_93.html



=== Ended at 2024-02-27 10:08:11
=== successfully completed test case
=== === Returned value: ok