=== Test case: bind2_SUITE:stream_resumption_failing_does_bind_and_contains_sm_status/1 (click for source code)
=== Config value:
[{watchdog,<0.6745.0>},
{preset,"pgsql_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@a458c4eb991a.2024-03-07_11.00.02/big_tests.tests.bind2_SUITE.logs/run.2024-03-07_11.00.28/bind2_suite.stream_resumption_failing_does_bind_and_contains_sm_status.14722.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@a458c4eb991a.2024-03-07_11.00.02/big_tests.tests.bind2_SUITE.logs/run.2024-03-07_11.00.28/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_amp => #{},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{number_of_segments => 5,strategy => fifo,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue},
mod_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
users_can_see_hidden_services => false},
mod_presence => #{},
mod_register =>
#{access => register,
ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
iqdisc => one_queue,password_strength => 0,
registration_watchers => []},
mod_roster =>
#{backend => rdbms,iqdisc => one_queue,store_current_id => false,
versioning => false},
mod_sic => #{iqdisc => one_queue},
mod_stream_management =>
#{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
buffer_max => 100,resume_timeout => 600,
stale_h =>
#{enabled => false,geriatric => 3600,repeat_after => 1800}},
mod_vcard =>
#{backend => rdbms,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,matches => 30,search => true}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a458c4eb991a.2024-03-07_11.00.02"
=== Started at 2024-03-07 11:00:28
*** User 2024-03-07 11:00:28.565 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_392@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-03-07 11:00:28.565 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ed9d4b78069d98a2' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-07 11:00:28.571 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_392@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-03-07 11:00:28.576 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N0cmVhbV9yZXN1bXB0aW9uX2ZhaWxpbmdfZG9lc19iaW5kX2FuZF9jb250YWluc19zbV9zdGF0dXNfMzkyAG1hdHlncnlzYQ==</auth>
*** User 2024-03-07 11:00:28.578 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-07 11:00:28.578 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_392@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-03-07 11:00:28.578 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5bbec3fccce57e73' from='domain.example.com' version='1.0' xml:lang='en' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com'>
*** User 2024-03-07 11:00:28.578 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_392@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-03-07 11:00:28.579 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com out
<iq type='set' id='0e93dc327a4e6a36c1310fb0c1495074'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>escalus-default-resource</resource>
</bind>
</iq>
*** User 2024-03-07 11:00:28.579 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com in
<iq id='0e93dc327a4e6a36c1310fb0c1495074' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com/escalus-default-resource</jid>
</bind>
</iq>
*** User 2024-03-07 11:00:28.579 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com/escalus-default-resource out
<iq type='set' id='bcb51ce0dd92951f0988ba277c98b42a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-07 11:00:28.580 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com/escalus-default-resource in
<iq from='domain.example.com' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com/escalus-default-resource' id='bcb51ce0dd92951f0988ba277c98b42a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-07 11:00:28.580 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com/escalus-default-resource out
<enable xmlns='urn:xmpp:sm:3' resume='true'/>
*** User 2024-03-07 11:00:28.580 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com/escalus-default-resource in
<enabled xmlns='urn:xmpp:sm:3' id='PbMycUHxmi66+cfsCzMnMrY3dr+U' resume='true'/>
*** User 2024-03-07 11:00:28.581 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com/escalus-default-resource out
<presence/>
*** User 2024-03-07 11:00:28.582 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com/escalus-default-resource in
<presence from='alice_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com/escalus-default-resource' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com/escalus-default-resource'/>
*** User 2024-03-07 11:00:28.588 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_404@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-03-07 11:00:28.589 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_404@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e0ba8cee9529aa31' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-07 11:00:28.589 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_404@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-03-07 11:00:28.589 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_404@domain.example.com out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdHJlYW1fcmVzdW1wdGlvbl9mYWlsaW5nX2RvZXNfYmluZF9hbmRfY29udGFpbnNfc21fc3RhdHVzXzQwNABtYWtyb2xpa2E=</auth>
*** User 2024-03-07 11:00:28.591 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_404@domain.example.com in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-07 11:00:28.591 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_404@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-03-07 11:00:28.591 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_404@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c6ce383ce1a6c1cf' from='domain.example.com' version='1.0' xml:lang='en' to='bob_stream_resumption_failing_does_bind_and_contains_sm_status_404@domain.example.com'>
*** User 2024-03-07 11:00:28.591 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_404@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-03-07 11:00:28.591 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_404@domain.example.com out
<iq type='set' id='352402ebc904f6763bb9df3de871ed74'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>escalus-default-resource</resource>
</bind>
</iq>
*** User 2024-03-07 11:00:28.591 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_404@domain.example.com in
<iq id='352402ebc904f6763bb9df3de871ed74' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_stream_resumption_failing_does_bind_and_contains_sm_status_404@domain.example.com/escalus-default-resource</jid>
</bind>
</iq>
*** User 2024-03-07 11:00:28.591 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_404@domain.example.com/escalus-default-resource out
<iq type='set' id='c2a669b182294ba7f6c3198dfd899d89'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-07 11:00:28.592 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_404@domain.example.com/escalus-default-resource in
<iq from='domain.example.com' to='bob_stream_resumption_failing_does_bind_and_contains_sm_status_404@domain.example.com/escalus-default-resource' id='c2a669b182294ba7f6c3198dfd899d89' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-07 11:00:28.592 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_404@domain.example.com/escalus-default-resource out
<message to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com/escalus-default-resource' type='chat'>
<body>1</body>
</message>
*** User 2024-03-07 11:00:28.592 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_404@domain.example.com/escalus-default-resource out
<message to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com/escalus-default-resource' type='chat'>
<body>2</body>
</message>
*** User 2024-03-07 11:00:28.592 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_404@domain.example.com/escalus-default-resource out
<message to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com/escalus-default-resource' type='chat'>
<body>3</body>
</message>
*** User 2024-03-07 11:00:28.593 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com/escalus-default-resource in
<message from='bob_stream_resumption_failing_does_bind_and_contains_sm_status_404@domain.example.com/escalus-default-resource' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com/escalus-default-resource' type='chat'>
<body>1</body>
</message>
*** User 2024-03-07 11:00:28.593 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com/escalus-default-resource in
<message from='bob_stream_resumption_failing_does_bind_and_contains_sm_status_404@domain.example.com/escalus-default-resource' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com/escalus-default-resource' type='chat'>
<body>2</body>
</message>
*** User 2024-03-07 11:00:28.593 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com/escalus-default-resource in
<message from='bob_stream_resumption_failing_does_bind_and_contains_sm_status_404@domain.example.com/escalus-default-resource' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com/escalus-default-resource' type='chat'>
<body>3</body>
</message>
*** User 2024-03-07 11:00:28.599 ***🔗
waiting for get_c2s_state_name is done in 0 miliseconds
*** User 2024-03-07 11:00:28.603 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_392@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-03-07 11:00:28.603 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ed7e7b99623b9e45' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-07 11:00:28.603 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_392@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-03-07 11:00:28.604 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com out
<authenticate xmlns='urn:xmpp:sasl:2' mechanism='PLAIN'>
<initial-response>AGFsaWNFX3N0cmVhbV9yZXN1bXB0aW9uX2ZhaWxpbmdfZG9lc19iaW5kX2FuZF9jb250YWluc19zbV9zdGF0dXNfMzkyAG1hdHlncnlzYQ==</initial-response>
<bind xmlns='urn:xmpp:bind:0'>
<tag>cd0ffafd-42c5-4875-a42e-0409d45f40a8</tag>
</bind>
<resume xmlns='urn:xmpp:sm:3' previd='123456' h='1'/>
</authenticate>
*** User 2024-03-07 11:00:28.606 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com in
<success xmlns='urn:xmpp:sasl:2'>
<authorization-identifier>alice_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com/cd0ffafd-42c5-4875-a42e-0409d45f40a8/1709-809228-606390-5ce7d67b18c28071</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-03-07 11:00:28.606 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_392@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-03-07 11:00:28.606 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com out
</stream:stream>
*** User 2024-03-07 11:00:28.607 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_392@domain.example.com in
</stream:stream>
=== Ended at 2024-03-07 11:00:28
=== successfully completed test case
=== === Returned value: ok