=== Test case: sasl2_SUITE:sm_failure_missing_previd_does_not_stop_sasl2/1 (click for source code)

=== Config value:

    [{watchdog,<0.87381.0>},
     {preset,"pgsql_cets"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/sasl2_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.sasl2_SUITE.logs/run.2023-11-17_15.25.13/sasl2_suite.sm_failure_missing_previd_does_not_stop_sasl2.114820.html"},
     {tc_group_properties,[{name,stream_management},parallel]},
     {tc_group_path,[[{name,all_tests},parallel]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/sasl2_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.sasl2_SUITE.logs/run.2023-11-17_15.25.13/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_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_sic => #{iqdisc => one_queue},
        mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => cets,
              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 => cets,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@1c2ae12cdb1a.2023-11-17_15.10.15"

=== Started at 2023-11-17 15:25:13


*** CT 2023-11-17 15:25:13.532 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4743.html

*** User 2023-11-17 15:25:13.540 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:25:13.540 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8a27983d82ad8163' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:25:13.540 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_3033@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 2023-11-17 15:25:13.540 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NtX2ZhaWx1cmVfbWlzc2luZ19wcmV2aWRfZG9lc19ub3Rfc3RvcF9zYXNsMl8zMDMzAG1hdHlncnlzYQ==</auth>



*** User 2023-11-17 15:25:13.541 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:25:13.541 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:25:13.541 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4877b23f43439f03' from='localhost' version='1.0' xml:lang='en' to='alice_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost'>

*** User 2023-11-17 15:25:13.541 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_3033@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 2023-11-17 15:25:13.542 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost out
<iq type='set' id='20338464dd3221726366b168a59df788'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2023-11-17 15:25:13.542 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost in
<iq id='20338464dd3221726366b168a59df788' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2023-11-17 15:25:13.542 ***🔗
alice_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost/escalus-default-resource out
<iq type='set' id='87c859cd73a32b78f089063578cd5c33'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:25:13.542 ***🔗
alice_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost/escalus-default-resource in
<iq from='localhost' to='alice_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost/escalus-default-resource' id='87c859cd73a32b78f089063578cd5c33' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:25:13.543 ***🔗
alice_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost/escalus-default-resource out
<enable xmlns='urn:xmpp:sm:3' resume='true'/>



*** User 2023-11-17 15:25:13.543 ***🔗
alice_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost/escalus-default-resource in
<enabled xmlns='urn:xmpp:sm:3' id='Gwp1n/peSTp34HTlnQolR/MGNaNA' resume='true'/>



*** User 2023-11-17 15:25:13.543 ***🔗
alice_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost/escalus-default-resource out
<presence/>



*** User 2023-11-17 15:25:13.544 ***🔗
alice_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost/escalus-default-resource in
<presence from='alice_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost/escalus-default-resource' to='alice_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost/escalus-default-resource'/>



*** User 2023-11-17 15:25:13.547 ***🔗
bOb_sm_failure_missing_previd_does_not_stop_sasl2_3038@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:25:13.548 ***🔗
bOb_sm_failure_missing_previd_does_not_stop_sasl2_3038@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5f3ab9ce04751a0b' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:25:13.548 ***🔗
bOb_sm_failure_missing_previd_does_not_stop_sasl2_3038@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 2023-11-17 15:25:13.548 ***🔗
bOb_sm_failure_missing_previd_does_not_stop_sasl2_3038@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zbV9mYWlsdXJlX21pc3NpbmdfcHJldmlkX2RvZXNfbm90X3N0b3Bfc2FzbDJfMzAzOABtYWtyb2xpa2E=</auth>



*** User 2023-11-17 15:25:13.548 ***🔗
bOb_sm_failure_missing_previd_does_not_stop_sasl2_3038@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:25:13.549 ***🔗
bOb_sm_failure_missing_previd_does_not_stop_sasl2_3038@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:25:13.549 ***🔗
bOb_sm_failure_missing_previd_does_not_stop_sasl2_3038@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e35da523592cad5d' from='localhost' version='1.0' xml:lang='en' to='bob_sm_failure_missing_previd_does_not_stop_sasl2_3038@localhost'>

*** User 2023-11-17 15:25:13.549 ***🔗
bOb_sm_failure_missing_previd_does_not_stop_sasl2_3038@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 2023-11-17 15:25:13.549 ***🔗
bOb_sm_failure_missing_previd_does_not_stop_sasl2_3038@localhost out
<iq type='set' id='b3f4b4590d23a21b586639554cfc5be2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2023-11-17 15:25:13.549 ***🔗
bOb_sm_failure_missing_previd_does_not_stop_sasl2_3038@localhost in
<iq id='b3f4b4590d23a21b586639554cfc5be2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_sm_failure_missing_previd_does_not_stop_sasl2_3038@localhost/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2023-11-17 15:25:13.549 ***🔗
bob_sm_failure_missing_previd_does_not_stop_sasl2_3038@localhost/escalus-default-resource out
<iq type='set' id='f707a7bca0b59e4a7ea76bb39f5015b6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:25:13.550 ***🔗
bob_sm_failure_missing_previd_does_not_stop_sasl2_3038@localhost/escalus-default-resource in
<iq from='localhost' to='bob_sm_failure_missing_previd_does_not_stop_sasl2_3038@localhost/escalus-default-resource' id='f707a7bca0b59e4a7ea76bb39f5015b6' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:25:13.550 ***🔗
bob_sm_failure_missing_previd_does_not_stop_sasl2_3038@localhost/escalus-default-resource out
<message type='chat' to='alice_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost/escalus-default-resource'>
	<body>1</body>
</message>



*** User 2023-11-17 15:25:13.550 ***🔗
bob_sm_failure_missing_previd_does_not_stop_sasl2_3038@localhost/escalus-default-resource out
<message type='chat' to='alice_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost/escalus-default-resource'>
	<body>2</body>
</message>



*** User 2023-11-17 15:25:13.550 ***🔗
bob_sm_failure_missing_previd_does_not_stop_sasl2_3038@localhost/escalus-default-resource out
<message type='chat' to='alice_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost/escalus-default-resource'>
	<body>3</body>
</message>



*** User 2023-11-17 15:25:13.551 ***🔗
alice_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost/escalus-default-resource in
<message from='bob_sm_failure_missing_previd_does_not_stop_sasl2_3038@localhost/escalus-default-resource' to='alice_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost/escalus-default-resource' type='chat'>
	<body>1</body>
</message>



*** User 2023-11-17 15:25:13.551 ***🔗
alice_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost/escalus-default-resource in
<message from='bob_sm_failure_missing_previd_does_not_stop_sasl2_3038@localhost/escalus-default-resource' to='alice_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost/escalus-default-resource' type='chat'>
	<body>2</body>
</message>



*** User 2023-11-17 15:25:13.551 ***🔗
alice_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost/escalus-default-resource in
<message from='bob_sm_failure_missing_previd_does_not_stop_sasl2_3038@localhost/escalus-default-resource' to='alice_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost/escalus-default-resource' type='chat'>
	<body>3</body>
</message>



*** User 2023-11-17 15:25:13.552 ***🔗
waiting for get_c2s_state_name is done in 0 miliseconds

*** User 2023-11-17 15:25:13.555 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:25:13.556 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e973fc754afabb29' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:25:13.556 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_3033@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 2023-11-17 15:25:13.556 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost out
<authenticate xmlns='urn:xmpp:sasl:2' mechanism='PLAIN'>
	<initial-response>AGFsaWNFX3NtX2ZhaWx1cmVfbWlzc2luZ19wcmV2aWRfZG9lc19ub3Rfc3RvcF9zYXNsMl8zMDMzAG1hdHlncnlzYQ==</initial-response>
	<resume xmlns='urn:xmpp:sm:3' h='aaa'/>
</authenticate>



*** User 2023-11-17 15:25:13.557 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost in
<success xmlns='urn:xmpp:sasl:2'>
	<authorization-identifier>alice_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost</authorization-identifier>
	<failed xmlns='urn:xmpp:sm:3'>
		<bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</failed>
</success>



*** User 2023-11-17 15:25:13.558 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_3033@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 2023-11-17 15:25:13.558 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost out
</stream:stream>

*** User 2023-11-17 15:25:13.558 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_3033@localhost in
</stream:stream>
*** CT 2023-11-17 15:25:13.566 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4743.html



=== Ended at 2023-11-17 15:25:13
=== successfully completed test case
=== === Returned value: ok