=== Test case: bind2_SUITE:stream_resumption_failing_does_bind_and_contains_sm_status/1 (click for source code)
=== Config value:
[{watchdog,<0.6751.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@82e417e9e7f3.2024-04-15_15.52.32/big_tests.tests.bind2_SUITE.logs/run.2024-04-15_15.52.57/bind2_suite.stream_resumption_failing_does_bind_and_contains_sm_status.16258.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@82e417e9e7f3.2024-04-15_15.52.32/big_tests.tests.bind2_SUITE.logs/run.2024-04-15_15.52.57/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{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_sic => #{iqdisc => one_queue},
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_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
mod_presence => #{},
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_carboncopy => #{iqdisc => no_queue},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@82e417e9e7f3.2024-04-15_15.52.32"
=== Started at 2024-04-15 15:52:57
*** User 2024-04-15 15:52:57.686 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_400@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-15 15:52:57.687 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='89699c9cc088b27b' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-15 15:52:57.687 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_400@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-15 15:52:57.687 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N0cmVhbV9yZXN1bXB0aW9uX2ZhaWxpbmdfZG9lc19iaW5kX2FuZF9jb250YWluc19zbV9zdGF0dXNfNDAwAG1hdHlncnlzYQ==</auth>
*** User 2024-04-15 15:52:57.689 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 15:52:57.689 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_400@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-15 15:52:57.690 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='44724706198572be' from='domain.example.com' version='1.0' xml:lang='en' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com'>
*** User 2024-04-15 15:52:57.690 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_400@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-15 15:52:57.690 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com out
<iq type='set' id='ea528e6b33d28080e3ea8dd95674ffd3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>escalus-default-resource</resource>
</bind>
</iq>
*** User 2024-04-15 15:52:57.691 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com in
<iq id='ea528e6b33d28080e3ea8dd95674ffd3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com/escalus-default-resource</jid>
</bind>
</iq>
*** User 2024-04-15 15:52:57.691 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com/escalus-default-resource out
<iq type='set' id='e94ec20e664f43c08906d3052418605b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 15:52:57.691 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com/escalus-default-resource in
<iq from='domain.example.com' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com/escalus-default-resource' id='e94ec20e664f43c08906d3052418605b' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 15:52:57.691 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com/escalus-default-resource out
<enable xmlns='urn:xmpp:sm:3' resume='true'/>
*** User 2024-04-15 15:52:57.692 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com/escalus-default-resource in
<enabled xmlns='urn:xmpp:sm:3' id='q2sT034VttWJrXd/eI4qHaygk1ry' resume='true'/>
*** User 2024-04-15 15:52:57.692 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com/escalus-default-resource out
<presence/>
*** User 2024-04-15 15:52:57.695 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com/escalus-default-resource in
<presence from='alice_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com/escalus-default-resource' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com/escalus-default-resource'/>
*** User 2024-04-15 15:52:57.699 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_411@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-15 15:52:57.699 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_411@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ca18729df8699146' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-15 15:52:57.699 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_411@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-15 15:52:57.699 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_411@domain.example.com out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdHJlYW1fcmVzdW1wdGlvbl9mYWlsaW5nX2RvZXNfYmluZF9hbmRfY29udGFpbnNfc21fc3RhdHVzXzQxMQBtYWtyb2xpa2E=</auth>
*** User 2024-04-15 15:52:57.701 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_411@domain.example.com in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 15:52:57.701 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_411@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-15 15:52:57.701 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_411@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='25c05f39e38cd4ea' from='domain.example.com' version='1.0' xml:lang='en' to='bob_stream_resumption_failing_does_bind_and_contains_sm_status_411@domain.example.com'>
*** User 2024-04-15 15:52:57.701 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_411@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-15 15:52:57.701 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_411@domain.example.com out
<iq type='set' id='d3c17b8989a7f53bddc196b22c09c30b'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>escalus-default-resource</resource>
</bind>
</iq>
*** User 2024-04-15 15:52:57.701 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_411@domain.example.com in
<iq id='d3c17b8989a7f53bddc196b22c09c30b' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_stream_resumption_failing_does_bind_and_contains_sm_status_411@domain.example.com/escalus-default-resource</jid>
</bind>
</iq>
*** User 2024-04-15 15:52:57.701 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_411@domain.example.com/escalus-default-resource out
<iq type='set' id='b6307e7063c973ef1ed28b435d41773d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 15:52:57.702 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_411@domain.example.com/escalus-default-resource in
<iq from='domain.example.com' to='bob_stream_resumption_failing_does_bind_and_contains_sm_status_411@domain.example.com/escalus-default-resource' id='b6307e7063c973ef1ed28b435d41773d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 15:52:57.702 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_411@domain.example.com/escalus-default-resource out
<message type='chat' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com/escalus-default-resource'>
<body>1</body>
</message>
*** User 2024-04-15 15:52:57.702 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_411@domain.example.com/escalus-default-resource out
<message type='chat' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com/escalus-default-resource'>
<body>2</body>
</message>
*** User 2024-04-15 15:52:57.702 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_411@domain.example.com/escalus-default-resource out
<message type='chat' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com/escalus-default-resource'>
<body>3</body>
</message>
*** User 2024-04-15 15:52:57.702 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com/escalus-default-resource in
<message from='bob_stream_resumption_failing_does_bind_and_contains_sm_status_411@domain.example.com/escalus-default-resource' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com/escalus-default-resource' type='chat'>
<body>1</body>
</message>
*** User 2024-04-15 15:52:57.702 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com/escalus-default-resource in
<message from='bob_stream_resumption_failing_does_bind_and_contains_sm_status_411@domain.example.com/escalus-default-resource' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com/escalus-default-resource' type='chat'>
<body>2</body>
</message>
*** User 2024-04-15 15:52:57.702 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com/escalus-default-resource in
<message from='bob_stream_resumption_failing_does_bind_and_contains_sm_status_411@domain.example.com/escalus-default-resource' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com/escalus-default-resource' type='chat'>
<body>3</body>
</message>
*** User 2024-04-15 15:52:57.706 ***🔗
waiting for get_c2s_state_name is done in 0 miliseconds
*** User 2024-04-15 15:52:57.710 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_400@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-15 15:52:57.710 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f8691a317f96ce92' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-15 15:52:57.710 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_400@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-15 15:52:57.710 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com out
<authenticate xmlns='urn:xmpp:sasl:2' mechanism='PLAIN'>
<initial-response>AGFsaWNFX3N0cmVhbV9yZXN1bXB0aW9uX2ZhaWxpbmdfZG9lc19iaW5kX2FuZF9jb250YWluc19zbV9zdGF0dXNfNDAwAG1hdHlncnlzYQ==</initial-response>
<bind xmlns='urn:xmpp:bind:0'>
<tag>b9553659-e3db-4e16-8ab3-bf542b0edc1c</tag>
</bind>
<resume xmlns='urn:xmpp:sm:3' previd='123456' h='1'/>
</authenticate>
*** User 2024-04-15 15:52:57.765 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com in
<success xmlns='urn:xmpp:sasl:2'>
<authorization-identifier>alice_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com/b9553659-e3db-4e16-8ab3-bf542b0edc1c/1713-196377-712839-78a1c2eaf0db0947</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-04-15 15:52:57.765 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_400@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-15 15:52:57.765 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com out
</stream:stream>
*** User 2024-04-15 15:52:57.766 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_400@domain.example.com in
</stream:stream>
=== Ended at 2024-04-15 15:52:57
=== successfully completed test case
=== === Returned value: ok