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

=== Config value:

    [{watchdog,<0.79545.0>},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/sasl2_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@9d860654bb8d.2024-04-22_14.32.29/big_tests.tests.sasl2_SUITE.logs/run.2024-04-22_14.46.22/sasl2_suite.sm_is_bound_at_sasl2_success.227330.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@9d860654bb8d.2024-04-22_14.32.29/big_tests.tests.sasl2_SUITE.logs/run.2024-04-22_14.46.22/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_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,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        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@9d860654bb8d.2024-04-22_14.32.29"

=== Started at 2024-04-22 14:46:22


*** CT 2024-04-22 14:46:22.689 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_3451.html

*** User 2024-04-22 14:46:22.757 ***🔗
alicE_sm_is_bound_at_sasl2_success_2901@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-04-22 14:46:22.757 ***🔗
alicE_sm_is_bound_at_sasl2_success_2901@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e374cfbbd3f93820' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-22 14:46:22.757 ***🔗
alicE_sm_is_bound_at_sasl2_success_2901@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-04-22 14:46:22.757 ***🔗
alicE_sm_is_bound_at_sasl2_success_2901@domain.example.com out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NtX2lzX2JvdW5kX2F0X3Nhc2wyX3N1Y2Nlc3NfMjkwMQBtYXR5Z3J5c2E=</auth>



*** User 2024-04-22 14:46:22.760 ***🔗
alicE_sm_is_bound_at_sasl2_success_2901@domain.example.com in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 14:46:22.760 ***🔗
alicE_sm_is_bound_at_sasl2_success_2901@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-04-22 14:46:22.760 ***🔗
alicE_sm_is_bound_at_sasl2_success_2901@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a610ac103f74dccb' from='domain.example.com' version='1.0' xml:lang='en' to='alice_sm_is_bound_at_sasl2_success_2901@domain.example.com'>

*** User 2024-04-22 14:46:22.760 ***🔗
alicE_sm_is_bound_at_sasl2_success_2901@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-04-22 14:46:22.760 ***🔗
alicE_sm_is_bound_at_sasl2_success_2901@domain.example.com out
<iq type='set' id='f5af8c9c7e21e10a3c52596ef8afc9b3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2024-04-22 14:46:22.760 ***🔗
alicE_sm_is_bound_at_sasl2_success_2901@domain.example.com in
<iq id='f5af8c9c7e21e10a3c52596ef8afc9b3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2024-04-22 14:46:22.761 ***🔗
alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource out
<iq type='set' id='8825a4ff350edd0be9698632ed73b4e1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:46:22.761 ***🔗
alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource in
<iq from='domain.example.com' to='alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource' id='8825a4ff350edd0be9698632ed73b4e1' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:46:22.761 ***🔗
alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource out
<enable xmlns='urn:xmpp:sm:3' resume='true'/>



*** User 2024-04-22 14:46:22.762 ***🔗
alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource in
<enabled xmlns='urn:xmpp:sm:3' id='FtgkBtEFbHH+8pEkmUWO47r8W+no' resume='true'/>



*** User 2024-04-22 14:46:22.762 ***🔗
alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource out
<presence/>



*** User 2024-04-22 14:46:22.763 ***🔗
alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource in
<presence from='alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource' to='alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource'/>



*** User 2024-04-22 14:46:22.768 ***🔗
bOb_sm_is_bound_at_sasl2_success_2906@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-04-22 14:46:22.769 ***🔗
bOb_sm_is_bound_at_sasl2_success_2906@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1a140442bbad9355' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-22 14:46:22.769 ***🔗
bOb_sm_is_bound_at_sasl2_success_2906@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-04-22 14:46:22.769 ***🔗
bOb_sm_is_bound_at_sasl2_success_2906@domain.example.com out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zbV9pc19ib3VuZF9hdF9zYXNsMl9zdWNjZXNzXzI5MDYAbWFrcm9saWth</auth>



*** User 2024-04-22 14:46:22.770 ***🔗
bOb_sm_is_bound_at_sasl2_success_2906@domain.example.com in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 14:46:22.770 ***🔗
bOb_sm_is_bound_at_sasl2_success_2906@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-04-22 14:46:22.770 ***🔗
bOb_sm_is_bound_at_sasl2_success_2906@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='90a3ad9d05967dd3' from='domain.example.com' version='1.0' xml:lang='en' to='bob_sm_is_bound_at_sasl2_success_2906@domain.example.com'>

*** User 2024-04-22 14:46:22.771 ***🔗
bOb_sm_is_bound_at_sasl2_success_2906@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-04-22 14:46:22.771 ***🔗
bOb_sm_is_bound_at_sasl2_success_2906@domain.example.com out
<iq type='set' id='7214339207e7f1d38d3dd75bf53f2c16'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>escalus-default-resource</resource>
	</bind>
</iq>



*** User 2024-04-22 14:46:22.771 ***🔗
bOb_sm_is_bound_at_sasl2_success_2906@domain.example.com in
<iq id='7214339207e7f1d38d3dd75bf53f2c16' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_sm_is_bound_at_sasl2_success_2906@domain.example.com/escalus-default-resource</jid>
	</bind>
</iq>



*** User 2024-04-22 14:46:22.772 ***🔗
bob_sm_is_bound_at_sasl2_success_2906@domain.example.com/escalus-default-resource out
<iq type='set' id='4bc34a0c77e3fc428111e3c7c4270e0f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:46:22.773 ***🔗
bob_sm_is_bound_at_sasl2_success_2906@domain.example.com/escalus-default-resource in
<iq from='domain.example.com' to='bob_sm_is_bound_at_sasl2_success_2906@domain.example.com/escalus-default-resource' id='4bc34a0c77e3fc428111e3c7c4270e0f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 14:46:22.773 ***🔗
bob_sm_is_bound_at_sasl2_success_2906@domain.example.com/escalus-default-resource out
<message type='chat' to='alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource'>
	<body>1</body>
</message>



*** User 2024-04-22 14:46:22.773 ***🔗
bob_sm_is_bound_at_sasl2_success_2906@domain.example.com/escalus-default-resource out
<message type='chat' to='alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource'>
	<body>2</body>
</message>



*** User 2024-04-22 14:46:22.773 ***🔗
bob_sm_is_bound_at_sasl2_success_2906@domain.example.com/escalus-default-resource out
<message type='chat' to='alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource'>
	<body>3</body>
</message>



*** User 2024-04-22 14:46:22.774 ***🔗
alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource in
<message from='bob_sm_is_bound_at_sasl2_success_2906@domain.example.com/escalus-default-resource' to='alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource' type='chat'>
	<body>1</body>
</message>



*** User 2024-04-22 14:46:22.774 ***🔗
alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource in
<message from='bob_sm_is_bound_at_sasl2_success_2906@domain.example.com/escalus-default-resource' to='alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource' type='chat'>
	<body>2</body>
</message>



*** User 2024-04-22 14:46:22.774 ***🔗
alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource in
<message from='bob_sm_is_bound_at_sasl2_success_2906@domain.example.com/escalus-default-resource' to='alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource' type='chat'>
	<body>3</body>
</message>



*** User 2024-04-22 14:46:22.774 ***🔗
waiting for get_c2s_state_name is done in 0 miliseconds

*** User 2024-04-22 14:46:22.779 ***🔗
alicE_sm_is_bound_at_sasl2_success_2901@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-04-22 14:46:22.779 ***🔗
alicE_sm_is_bound_at_sasl2_success_2901@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e12f420c61459573' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-22 14:46:22.779 ***🔗
alicE_sm_is_bound_at_sasl2_success_2901@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-04-22 14:46:22.779 ***🔗
alicE_sm_is_bound_at_sasl2_success_2901@domain.example.com out
<authenticate xmlns='urn:xmpp:sasl:2' mechanism='PLAIN'>
	<initial-response>AGFsaWNFX3NtX2lzX2JvdW5kX2F0X3Nhc2wyX3N1Y2Nlc3NfMjkwMQBtYXR5Z3J5c2E=</initial-response>
	<resume xmlns='urn:xmpp:sm:3' previd='FtgkBtEFbHH+8pEkmUWO47r8W+no' h='1'/>
</authenticate>



*** User 2024-04-22 14:46:22.781 ***🔗
alicE_sm_is_bound_at_sasl2_success_2901@domain.example.com in
<success xmlns='urn:xmpp:sasl:2'>
	<authorization-identifier>alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource</authorization-identifier>
	<resumed xmlns='urn:xmpp:sm:3' previd='FtgkBtEFbHH+8pEkmUWO47r8W+no' h='1'/>
</success>



*** User 2024-04-22 14:46:22.781 ***🔗
alicE_sm_is_bound_at_sasl2_success_2901@domain.example.com in
<message from='bob_sm_is_bound_at_sasl2_success_2906@domain.example.com/escalus-default-resource' to='alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource' type='chat'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-22T14:46:22.773304Z' from='domain.example.com'>SM Storage</delay>
	<body>1</body>
</message>



*** User 2024-04-22 14:46:22.781 ***🔗
alicE_sm_is_bound_at_sasl2_success_2901@domain.example.com in
<message from='bob_sm_is_bound_at_sasl2_success_2906@domain.example.com/escalus-default-resource' to='alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource' type='chat'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-22T14:46:22.773603Z' from='domain.example.com'>SM Storage</delay>
	<body>2</body>
</message>



*** User 2024-04-22 14:46:22.781 ***🔗
alicE_sm_is_bound_at_sasl2_success_2901@domain.example.com in
<message from='bob_sm_is_bound_at_sasl2_success_2906@domain.example.com/escalus-default-resource' to='alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource' type='chat'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-22T14:46:22.773851Z' from='domain.example.com'>SM Storage</delay>
	<body>3</body>
</message>



*** User 2024-04-22 14:46:22.781 ***🔗
bob_sm_is_bound_at_sasl2_success_2906@domain.example.com/escalus-default-resource out
<message type='chat' to='alicE_sm_is_bound_at_sasl2_success_2901@domain.example.com'>
	<body>hello</body>
</message>



*** User 2024-04-22 14:46:22.782 ***🔗
alicE_sm_is_bound_at_sasl2_success_2901@domain.example.com in
<message from='bob_sm_is_bound_at_sasl2_success_2906@domain.example.com/escalus-default-resource' to='alice_sm_is_bound_at_sasl2_success_2901@domain.example.com' type='chat'>
	<body>hello</body>
</message>



*** User 2024-04-22 14:46:22.782 ***🔗
alicE_sm_is_bound_at_sasl2_success_2901@domain.example.com out
<message type='chat' to='bob_sm_is_bound_at_sasl2_success_2906@domain.example.com/escalus-default-resource'>
	<body>hello</body>
</message>



*** User 2024-04-22 14:46:22.783 ***🔗
bob_sm_is_bound_at_sasl2_success_2906@domain.example.com/escalus-default-resource in
<message from='alice_sm_is_bound_at_sasl2_success_2901@domain.example.com/escalus-default-resource' to='bob_sm_is_bound_at_sasl2_success_2906@domain.example.com/escalus-default-resource' type='chat'>
	<body>hello</body>
</message>



*** User 2024-04-22 14:46:22.783 ***🔗
alicE_sm_is_bound_at_sasl2_success_2901@domain.example.com out
</stream:stream>

*** User 2024-04-22 14:46:22.783 ***🔗
alicE_sm_is_bound_at_sasl2_success_2901@domain.example.com in
</stream:stream>
*** CT 2024-04-22 14:46:22.785 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_3451.html



=== Ended at 2024-04-22 14:46:22
=== successfully completed test case
=== === Returned value: ok