=== Test case: bind2_SUITE:stream_resumption_overrides_bind_request/1 (click for source code)
=== Config value:
[{watchdog,<0.6789.0>},
{preset,"pgsql_cets"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/bind2_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.bind2_SUITE.logs/run.2023-11-17_15.10.42/bind2_suite.stream_resumption_overrides_bind_request.9732.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@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.bind2_SUITE.logs/run.2023-11-17_15.10.42/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:10:42
*** User 2023-11-17 15:10:42.776 ***🔗
alicE_stream_resumption_overrides_bind_request_394@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:10:42.776 ***🔗
alicE_stream_resumption_overrides_bind_request_394@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c34fe17bb42304eb' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-17 15:10:42.776 ***🔗
alicE_stream_resumption_overrides_bind_request_394@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:10:42.776 ***🔗
alicE_stream_resumption_overrides_bind_request_394@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N0cmVhbV9yZXN1bXB0aW9uX292ZXJyaWRlc19iaW5kX3JlcXVlc3RfMzk0AG1hdHlncnlzYQ==</auth>
*** User 2023-11-17 15:10:42.777 ***🔗
alicE_stream_resumption_overrides_bind_request_394@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-17 15:10:42.777 ***🔗
alicE_stream_resumption_overrides_bind_request_394@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:10:42.778 ***🔗
alicE_stream_resumption_overrides_bind_request_394@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d07895dc50de471c' from='localhost' version='1.0' xml:lang='en' to='alice_stream_resumption_overrides_bind_request_394@localhost'>
*** User 2023-11-17 15:10:42.778 ***🔗
alicE_stream_resumption_overrides_bind_request_394@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:10:42.778 ***🔗
alicE_stream_resumption_overrides_bind_request_394@localhost out
<iq type='set' id='fa07fad04a25f57cf005b6eca15418b3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>escalus-default-resource</resource>
</bind>
</iq>
*** User 2023-11-17 15:10:42.779 ***🔗
alicE_stream_resumption_overrides_bind_request_394@localhost in
<iq id='fa07fad04a25f57cf005b6eca15418b3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_stream_resumption_overrides_bind_request_394@localhost/escalus-default-resource</jid>
</bind>
</iq>
*** User 2023-11-17 15:10:42.779 ***🔗
alice_stream_resumption_overrides_bind_request_394@localhost/escalus-default-resource out
<iq type='set' id='b7f1d337b539d72dedfb8f2558d72bc6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:10:42.779 ***🔗
alice_stream_resumption_overrides_bind_request_394@localhost/escalus-default-resource in
<iq from='localhost' to='alice_stream_resumption_overrides_bind_request_394@localhost/escalus-default-resource' id='b7f1d337b539d72dedfb8f2558d72bc6' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:10:42.780 ***🔗
alice_stream_resumption_overrides_bind_request_394@localhost/escalus-default-resource out
<enable xmlns='urn:xmpp:sm:3' resume='true'/>
*** User 2023-11-17 15:10:42.780 ***🔗
alice_stream_resumption_overrides_bind_request_394@localhost/escalus-default-resource in
<enabled xmlns='urn:xmpp:sm:3' id='a7flGeoUluIBTkMQYi/4SdZQBNwV' resume='true'/>
*** User 2023-11-17 15:10:42.780 ***🔗
alice_stream_resumption_overrides_bind_request_394@localhost/escalus-default-resource out
<presence/>
*** User 2023-11-17 15:10:42.782 ***🔗
alice_stream_resumption_overrides_bind_request_394@localhost/escalus-default-resource in
<presence from='alice_stream_resumption_overrides_bind_request_394@localhost/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_394@localhost/escalus-default-resource'/>
*** User 2023-11-17 15:10:42.786 ***🔗
bOb_stream_resumption_overrides_bind_request_405@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:10:42.786 ***🔗
bOb_stream_resumption_overrides_bind_request_405@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0afdd854d99d40dd' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-17 15:10:42.787 ***🔗
bOb_stream_resumption_overrides_bind_request_405@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:10:42.787 ***🔗
bOb_stream_resumption_overrides_bind_request_405@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdHJlYW1fcmVzdW1wdGlvbl9vdmVycmlkZXNfYmluZF9yZXF1ZXN0XzQwNQBtYWtyb2xpa2E=</auth>
*** User 2023-11-17 15:10:42.788 ***🔗
bOb_stream_resumption_overrides_bind_request_405@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-17 15:10:42.788 ***🔗
bOb_stream_resumption_overrides_bind_request_405@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:10:42.788 ***🔗
bOb_stream_resumption_overrides_bind_request_405@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8ff3cecd09dcbb9c' from='localhost' version='1.0' xml:lang='en' to='bob_stream_resumption_overrides_bind_request_405@localhost'>
*** User 2023-11-17 15:10:42.788 ***🔗
bOb_stream_resumption_overrides_bind_request_405@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:10:42.788 ***🔗
bOb_stream_resumption_overrides_bind_request_405@localhost out
<iq type='set' id='c684642b3fe88d2026ce605c45500636'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>escalus-default-resource</resource>
</bind>
</iq>
*** User 2023-11-17 15:10:42.788 ***🔗
bOb_stream_resumption_overrides_bind_request_405@localhost in
<iq id='c684642b3fe88d2026ce605c45500636' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_stream_resumption_overrides_bind_request_405@localhost/escalus-default-resource</jid>
</bind>
</iq>
*** User 2023-11-17 15:10:42.789 ***🔗
bob_stream_resumption_overrides_bind_request_405@localhost/escalus-default-resource out
<iq type='set' id='8e9ec4526b4a9ef267a3588cbe6e24cf'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:10:42.789 ***🔗
bob_stream_resumption_overrides_bind_request_405@localhost/escalus-default-resource in
<iq from='localhost' to='bob_stream_resumption_overrides_bind_request_405@localhost/escalus-default-resource' id='8e9ec4526b4a9ef267a3588cbe6e24cf' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-17 15:10:42.790 ***🔗
bob_stream_resumption_overrides_bind_request_405@localhost/escalus-default-resource out
<message type='chat' to='alice_stream_resumption_overrides_bind_request_394@localhost/escalus-default-resource'>
<body>1</body>
</message>
*** User 2023-11-17 15:10:42.790 ***🔗
bob_stream_resumption_overrides_bind_request_405@localhost/escalus-default-resource out
<message type='chat' to='alice_stream_resumption_overrides_bind_request_394@localhost/escalus-default-resource'>
<body>2</body>
</message>
*** User 2023-11-17 15:10:42.790 ***🔗
bob_stream_resumption_overrides_bind_request_405@localhost/escalus-default-resource out
<message type='chat' to='alice_stream_resumption_overrides_bind_request_394@localhost/escalus-default-resource'>
<body>3</body>
</message>
*** User 2023-11-17 15:10:42.790 ***🔗
alice_stream_resumption_overrides_bind_request_394@localhost/escalus-default-resource in
<message from='bob_stream_resumption_overrides_bind_request_405@localhost/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_394@localhost/escalus-default-resource' type='chat'>
<body>1</body>
</message>
*** User 2023-11-17 15:10:42.790 ***🔗
alice_stream_resumption_overrides_bind_request_394@localhost/escalus-default-resource in
<message from='bob_stream_resumption_overrides_bind_request_405@localhost/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_394@localhost/escalus-default-resource' type='chat'>
<body>2</body>
</message>
*** User 2023-11-17 15:10:42.790 ***🔗
alice_stream_resumption_overrides_bind_request_394@localhost/escalus-default-resource in
<message from='bob_stream_resumption_overrides_bind_request_405@localhost/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_394@localhost/escalus-default-resource' type='chat'>
<body>3</body>
</message>
*** User 2023-11-17 15:10:42.795 ***🔗
waiting for get_c2s_state_name is done in 0 miliseconds
*** User 2023-11-17 15:10:42.799 ***🔗
alicE_stream_resumption_overrides_bind_request_394@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:10:42.800 ***🔗
alicE_stream_resumption_overrides_bind_request_394@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6f792735c0c70d68' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-17 15:10:42.800 ***🔗
alicE_stream_resumption_overrides_bind_request_394@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:10:42.800 ***🔗
alicE_stream_resumption_overrides_bind_request_394@localhost out
<authenticate xmlns='urn:xmpp:sasl:2' mechanism='PLAIN'>
<initial-response>AGFsaWNFX3N0cmVhbV9yZXN1bXB0aW9uX292ZXJyaWRlc19iaW5kX3JlcXVlc3RfMzk0AG1hdHlncnlzYQ==</initial-response>
<bind xmlns='urn:xmpp:bind:0'>
<tag>fa39f2bd-246e-40a1-88c4-aca9b82be504</tag>
</bind>
<resume xmlns='urn:xmpp:sm:3' previd='a7flGeoUluIBTkMQYi/4SdZQBNwV' h='1'/>
</authenticate>
*** User 2023-11-17 15:10:42.802 ***🔗
alicE_stream_resumption_overrides_bind_request_394@localhost in
<success xmlns='urn:xmpp:sasl:2'>
<authorization-identifier>alice_stream_resumption_overrides_bind_request_394@localhost/escalus-default-resource</authorization-identifier>
<resumed xmlns='urn:xmpp:sm:3' previd='a7flGeoUluIBTkMQYi/4SdZQBNwV' h='1'/>
</success>
*** User 2023-11-17 15:10:42.802 ***🔗
alicE_stream_resumption_overrides_bind_request_394@localhost in
<message from='bob_stream_resumption_overrides_bind_request_405@localhost/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_394@localhost/escalus-default-resource' type='chat'>
<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:10:42.790218Z' from='localhost'>SM Storage</delay>
<body>1</body>
</message>
*** User 2023-11-17 15:10:42.802 ***🔗
alicE_stream_resumption_overrides_bind_request_394@localhost in
<message from='bob_stream_resumption_overrides_bind_request_405@localhost/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_394@localhost/escalus-default-resource' type='chat'>
<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:10:42.790377Z' from='localhost'>SM Storage</delay>
<body>2</body>
</message>
*** User 2023-11-17 15:10:42.802 ***🔗
alicE_stream_resumption_overrides_bind_request_394@localhost in
<message from='bob_stream_resumption_overrides_bind_request_405@localhost/escalus-default-resource' to='alice_stream_resumption_overrides_bind_request_394@localhost/escalus-default-resource' type='chat'>
<delay xmlns='urn:xmpp:delay' stamp='2023-11-17T15:10:42.790515Z' from='localhost'>SM Storage</delay>
<body>3</body>
</message>
*** User 2023-11-17 15:10:42.802 ***🔗
alicE_stream_resumption_overrides_bind_request_394@localhost out
</stream:stream>
*** User 2023-11-17 15:10:42.802 ***🔗
alicE_stream_resumption_overrides_bind_request_394@localhost in
</stream:stream>
=== Ended at 2023-11-17 15:10:42
=== successfully completed test case
=== === Returned value: ok