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

=== Config value:

    [{watchdog,<0.75442.0>},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/sasl2_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d081adacb998.2024-01-14_19.39.56/big_tests.tests.sasl2_SUITE.logs/run.2024-01-14_19.53.51/sasl2_suite.sm_failure_missing_previd_does_not_stop_sasl2.213378.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@d081adacb998.2024-01-14_19.39.56/big_tests.tests.sasl2_SUITE.logs/run.2024-01-14_19.53.51/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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_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_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              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_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@d081adacb998.2024-01-14_19.39.56"

=== Started at 2024-01-14 19:53:52


*** CT 2024-01-14 19:53:52.280 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2713.html

*** User 2024-01-14 19:53:52.292 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_2851@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-01-14 19:53:52.292 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0a727c657db616e9' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-01-14 19:53:52.292 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_2851@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-01-14 19:53:52.292 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NtX2ZhaWx1cmVfbWlzc2luZ19wcmV2aWRfZG9lc19ub3Rfc3RvcF9zYXNsMl8yODUxAG1hdHlncnlzYQ==</auth>



*** User 2024-01-14 19:53:52.293 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-01-14 19:53:52.293 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_2851@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-01-14 19:53:52.294 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2140ddf4e00cca54' from='domain.example.com' version='1.0' xml:lang='en' to='alice_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com'>

*** User 2024-01-14 19:53:52.294 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_2851@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-01-14 19:53:52.294 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com out
<iq type='set' id='e0529a81cc342d6232c90b3d79aa573b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2024-01-14 19:53:52.294 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com in
<iq id='e0529a81cc342d6232c90b3d79aa573b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2024-01-14 19:53:52.295 ***🔗
alice_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com/escalus-default-resource out
<iq type='set' id='5b9fc47755ea8585e1c432fd17f02234'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:53:52.295 ***🔗
alice_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com/escalus-default-resource in
<iq from='domain.example.com' to='alice_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com/escalus-default-resource' id='5b9fc47755ea8585e1c432fd17f02234' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:53:52.295 ***🔗
alice_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com/escalus-default-resource out
<enable xmlns='urn:xmpp:sm:3' resume='true'/>



*** User 2024-01-14 19:53:52.295 ***🔗
alice_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com/escalus-default-resource in
<enabled xmlns='urn:xmpp:sm:3' id='gkUHrNAzBpL2T0eswd5nH6Ktm2vB' resume='true'/>



*** User 2024-01-14 19:53:52.295 ***🔗
alice_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com/escalus-default-resource out
<presence/>



*** User 2024-01-14 19:53:52.296 ***🔗
alice_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com/escalus-default-resource in
<presence from='alice_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com/escalus-default-resource' to='alice_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com/escalus-default-resource'/>



*** User 2024-01-14 19:53:52.299 ***🔗
bOb_sm_failure_missing_previd_does_not_stop_sasl2_2857@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-01-14 19:53:52.299 ***🔗
bOb_sm_failure_missing_previd_does_not_stop_sasl2_2857@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a1ea6446b768a616' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-01-14 19:53:52.299 ***🔗
bOb_sm_failure_missing_previd_does_not_stop_sasl2_2857@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-01-14 19:53:52.299 ***🔗
bOb_sm_failure_missing_previd_does_not_stop_sasl2_2857@domain.example.com out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zbV9mYWlsdXJlX21pc3NpbmdfcHJldmlkX2RvZXNfbm90X3N0b3Bfc2FzbDJfMjg1NwBtYWtyb2xpa2E=</auth>



*** User 2024-01-14 19:53:52.300 ***🔗
bOb_sm_failure_missing_previd_does_not_stop_sasl2_2857@domain.example.com in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-01-14 19:53:52.300 ***🔗
bOb_sm_failure_missing_previd_does_not_stop_sasl2_2857@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-01-14 19:53:52.301 ***🔗
bOb_sm_failure_missing_previd_does_not_stop_sasl2_2857@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bd7abd0bea21dbb6' from='domain.example.com' version='1.0' xml:lang='en' to='bob_sm_failure_missing_previd_does_not_stop_sasl2_2857@domain.example.com'>

*** User 2024-01-14 19:53:52.301 ***🔗
bOb_sm_failure_missing_previd_does_not_stop_sasl2_2857@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-01-14 19:53:52.301 ***🔗
bOb_sm_failure_missing_previd_does_not_stop_sasl2_2857@domain.example.com out
<iq type='set' id='e04bc04601a774c6192052f55d7a8022'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2024-01-14 19:53:52.301 ***🔗
bOb_sm_failure_missing_previd_does_not_stop_sasl2_2857@domain.example.com in
<iq id='e04bc04601a774c6192052f55d7a8022' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_sm_failure_missing_previd_does_not_stop_sasl2_2857@domain.example.com/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2024-01-14 19:53:52.301 ***🔗
bob_sm_failure_missing_previd_does_not_stop_sasl2_2857@domain.example.com/escalus-default-resource out
<iq type='set' id='212c61b515696c18768096b7e0f941a8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:53:52.302 ***🔗
bob_sm_failure_missing_previd_does_not_stop_sasl2_2857@domain.example.com/escalus-default-resource in
<iq from='domain.example.com' to='bob_sm_failure_missing_previd_does_not_stop_sasl2_2857@domain.example.com/escalus-default-resource' id='212c61b515696c18768096b7e0f941a8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:53:52.302 ***🔗
bob_sm_failure_missing_previd_does_not_stop_sasl2_2857@domain.example.com/escalus-default-resource out
<message type='chat' to='alice_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com/escalus-default-resource'>
	<body>1</body>
</message>



*** User 2024-01-14 19:53:52.302 ***🔗
bob_sm_failure_missing_previd_does_not_stop_sasl2_2857@domain.example.com/escalus-default-resource out
<message type='chat' to='alice_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com/escalus-default-resource'>
	<body>2</body>
</message>



*** User 2024-01-14 19:53:52.302 ***🔗
bob_sm_failure_missing_previd_does_not_stop_sasl2_2857@domain.example.com/escalus-default-resource out
<message type='chat' to='alice_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com/escalus-default-resource'>
	<body>3</body>
</message>



*** User 2024-01-14 19:53:52.302 ***🔗
alice_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com/escalus-default-resource in
<message from='bob_sm_failure_missing_previd_does_not_stop_sasl2_2857@domain.example.com/escalus-default-resource' to='alice_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com/escalus-default-resource' type='chat'>
	<body>1</body>
</message>



*** User 2024-01-14 19:53:52.302 ***🔗
alice_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com/escalus-default-resource in
<message from='bob_sm_failure_missing_previd_does_not_stop_sasl2_2857@domain.example.com/escalus-default-resource' to='alice_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com/escalus-default-resource' type='chat'>
	<body>2</body>
</message>



*** User 2024-01-14 19:53:52.302 ***🔗
alice_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com/escalus-default-resource in
<message from='bob_sm_failure_missing_previd_does_not_stop_sasl2_2857@domain.example.com/escalus-default-resource' to='alice_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com/escalus-default-resource' type='chat'>
	<body>3</body>
</message>



*** User 2024-01-14 19:53:52.303 ***🔗
waiting for get_c2s_state_name is done in 0 miliseconds

*** User 2024-01-14 19:53:52.308 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_2851@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-01-14 19:53:52.309 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e110786ded5ff247' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-01-14 19:53:52.309 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_2851@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-01-14 19:53:52.309 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com out
<authenticate xmlns='urn:xmpp:sasl:2' mechanism='PLAIN'>
	<initial-response>AGFsaWNFX3NtX2ZhaWx1cmVfbWlzc2luZ19wcmV2aWRfZG9lc19ub3Rfc3RvcF9zYXNsMl8yODUxAG1hdHlncnlzYQ==</initial-response>
	<resume xmlns='urn:xmpp:sm:3' h='aaa'/>
</authenticate>



*** User 2024-01-14 19:53:52.310 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com in
<success xmlns='urn:xmpp:sasl:2'>
	<authorization-identifier>alice_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com</authorization-identifier>
	<failed xmlns='urn:xmpp:sm:3'>
		<bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</failed>
</success>



*** User 2024-01-14 19:53:52.310 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_2851@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-01-14 19:53:52.310 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com out
</stream:stream>

*** User 2024-01-14 19:53:52.311 ***🔗
alicE_sm_failure_missing_previd_does_not_stop_sasl2_2851@domain.example.com in
</stream:stream>
*** CT 2024-01-14 19:53:52.315 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2713.html



=== Ended at 2024-01-14 19:53:52
=== successfully completed test case
=== === Returned value: ok