=== Test case: bind2_SUITE:stream_resumption_failing_does_bind_and_contains_sm_status/1 (click for source code)
=== Config value:
[{watchdog,<0.5267.0>},
{preset,"ldap_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@19371561ec7c.2024-04-15_16.44.55/big_tests.tests.bind2_SUITE.logs/run.2024-04-15_16.45.21/bind2_suite.stream_resumption_failing_does_bind_and_contains_sm_status.13826.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@19371561ec7c.2024-04-15_16.44.55/big_tests.tests.bind2_SUITE.logs/run.2024-04-15_16.45.21/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{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 => mnesia,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 => ldap,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,
ldap =>
#{base => <<"ou=Users,dc=esl,dc=com">>,
binary_search_fields => [],deref => never,
filter => <<"(objectClass=inetOrgPerson)">>,
pool_tag => default,
search_fields =>
[{<<"User">>,<<"%u">>},
{<<"Full Name">>,<<"displayName">>},
{<<"Given Name">>,<<"givenName">>},
{<<"Middle Name">>,<<"initials">>},
{<<"Family Name">>,<<"sn">>},
{<<"Nickname">>,<<"%u">>},
{<<"Birthday">>,<<"birthDay">>},
{<<"Country">>,<<"c">>},
{<<"City">>,<<"l">>},
{<<"Email">>,<<"mail">>},
{<<"Organization Name">>,<<"o">>},
{<<"Organization Unit">>,<<"ou">>}],
search_operator => 'and',
search_reported =>
[{<<"Full Name">>,<<"FN">>},
{<<"Given Name">>,<<"FIRST">>},
{<<"Middle Name">>,<<"MIDDLE">>},
{<<"Family Name">>,<<"LAST">>},
{<<"Nickname">>,<<"NICK">>},
{<<"Birthday">>,<<"BDAY">>},
{<<"Country">>,<<"CTRY">>},
{<<"City">>,<<"LOCALITY">>},
{<<"Email">>,<<"EMAIL">>},
{<<"Organization Name">>,<<"ORGNAME">>},
{<<"Organization Unit">>,<<"ORGUNIT">>}],
uids => [{<<"uid">>,<<"%u">>}],
vcard_map =>
[{<<"NICKNAME">>,<<"%u">>,[]},
{<<"FN">>,<<"%s">>,[<<"displayName">>]},
{<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
{<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
{<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
{<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
{<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
{<<"CTRY">>,<<"%s">>,[<<"c">>]},
{<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
{<<"STREET">>,<<"%s">>,[<<"street">>]},
{<<"REGION">>,<<"%s">>,[<<"st">>]},
{<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
{<<"TITLE">>,<<"%s">>,[<<"title">>]},
{<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
{<<"DESC">>,<<"%s">>,[<<"description">>]},
{<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
{<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
{<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
{<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
{<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}]},
matches => 30,search => true}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@19371561ec7c.2024-04-15_16.44.55"
=== Started at 2024-04-15 16:45:21
*** User 2024-04-15 16:45:21.392 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-15 16:45:21.399 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5dc5ec8f9b4a4980' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-15 16:45:21.399 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_279@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>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 16:45:21.399 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N0cmVhbV9yZXN1bXB0aW9uX2ZhaWxpbmdfZG9lc19iaW5kX2FuZF9jb250YWluc19zbV9zdGF0dXNfMjc5AG1hdHlncnlzYQ==</auth>
*** User 2024-04-15 16:45:21.402 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 16:45:21.402 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-15 16:45:21.402 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='da517e60f8933e41' from='localhost' version='1.0' xml:lang='en' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost'>
*** User 2024-04-15 16:45:21.402 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_279@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 2024-04-15 16:45:21.403 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost out
<iq type='set' id='3d8fdd6ab4b6335ea9abf9757d4b4c5e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>escalus-default-resource</resource>
</bind>
</iq>
*** User 2024-04-15 16:45:21.403 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost in
<iq id='3d8fdd6ab4b6335ea9abf9757d4b4c5e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost/escalus-default-resource</jid>
</bind>
</iq>
*** User 2024-04-15 16:45:21.403 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost/escalus-default-resource out
<iq type='set' id='7853e7c4461fa9d2a64fb084b5922382'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:45:21.404 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost/escalus-default-resource in
<iq from='localhost' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost/escalus-default-resource' id='7853e7c4461fa9d2a64fb084b5922382' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:45:21.404 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost/escalus-default-resource out
<enable xmlns='urn:xmpp:sm:3' resume='true'/>
*** User 2024-04-15 16:45:21.404 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost/escalus-default-resource in
<enabled xmlns='urn:xmpp:sm:3' id='lrAMwrYfQvUK/KWJyrwHkfr7XJEP' resume='true'/>
*** User 2024-04-15 16:45:21.404 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost/escalus-default-resource out
<presence/>
*** User 2024-04-15 16:45:21.405 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost/escalus-default-resource in
<presence from='alice_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost/escalus-default-resource' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost/escalus-default-resource'/>
*** User 2024-04-15 16:45:21.463 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_288@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-15 16:45:21.463 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_288@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b05ffaf3ac8ba6e' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-15 16:45:21.463 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_288@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>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 16:45:21.463 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_288@localhost out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdHJlYW1fcmVzdW1wdGlvbl9mYWlsaW5nX2RvZXNfYmluZF9hbmRfY29udGFpbnNfc21fc3RhdHVzXzI4OABtYWtyb2xpa2E=</auth>
*** User 2024-04-15 16:45:21.465 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_288@localhost in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 16:45:21.465 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_288@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-15 16:45:21.466 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_288@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d01f3adda0c3c441' from='localhost' version='1.0' xml:lang='en' to='bob_stream_resumption_failing_does_bind_and_contains_sm_status_288@localhost'>
*** User 2024-04-15 16:45:21.466 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_288@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 2024-04-15 16:45:21.466 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_288@localhost out
<iq type='set' id='28e36ff9d3b95ebe7aeb579f6ce224f6'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>escalus-default-resource</resource>
</bind>
</iq>
*** User 2024-04-15 16:45:21.466 ***🔗
bOb_stream_resumption_failing_does_bind_and_contains_sm_status_288@localhost in
<iq id='28e36ff9d3b95ebe7aeb579f6ce224f6' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_stream_resumption_failing_does_bind_and_contains_sm_status_288@localhost/escalus-default-resource</jid>
</bind>
</iq>
*** User 2024-04-15 16:45:21.466 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_288@localhost/escalus-default-resource out
<iq type='set' id='99c55748803e56d00778bd93282196a6'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:45:21.467 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_288@localhost/escalus-default-resource in
<iq from='localhost' to='bob_stream_resumption_failing_does_bind_and_contains_sm_status_288@localhost/escalus-default-resource' id='99c55748803e56d00778bd93282196a6' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:45:21.467 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_288@localhost/escalus-default-resource out
<message to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost/escalus-default-resource' type='chat'>
<body>1</body>
</message>
*** User 2024-04-15 16:45:21.467 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_288@localhost/escalus-default-resource out
<message to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost/escalus-default-resource' type='chat'>
<body>2</body>
</message>
*** User 2024-04-15 16:45:21.467 ***🔗
bob_stream_resumption_failing_does_bind_and_contains_sm_status_288@localhost/escalus-default-resource out
<message to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost/escalus-default-resource' type='chat'>
<body>3</body>
</message>
*** User 2024-04-15 16:45:21.468 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost/escalus-default-resource in
<message from='bob_stream_resumption_failing_does_bind_and_contains_sm_status_288@localhost/escalus-default-resource' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost/escalus-default-resource' type='chat'>
<body>1</body>
</message>
*** User 2024-04-15 16:45:21.468 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost/escalus-default-resource in
<message from='bob_stream_resumption_failing_does_bind_and_contains_sm_status_288@localhost/escalus-default-resource' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost/escalus-default-resource' type='chat'>
<body>2</body>
</message>
*** User 2024-04-15 16:45:21.468 ***🔗
alice_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost/escalus-default-resource in
<message from='bob_stream_resumption_failing_does_bind_and_contains_sm_status_288@localhost/escalus-default-resource' to='alice_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost/escalus-default-resource' type='chat'>
<body>3</body>
</message>
*** User 2024-04-15 16:45:21.471 ***🔗
waiting for get_c2s_state_name is done in 0 miliseconds
*** User 2024-04-15 16:45:21.475 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-15 16:45:21.475 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8a9576774bd49179' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-15 16:45:21.475 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost in
<stream:features>
<register xmlns='http://jabber.org/features/iq-register'/>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<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>PLAIN</mechanism>
</authentication>
<sm xmlns='urn:xmpp:sm:3'/>
<csi xmlns='urn:xmpp:csi:0'/>
</stream:features>
*** User 2024-04-15 16:45:21.475 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost out
<authenticate xmlns='urn:xmpp:sasl:2' mechanism='PLAIN'>
<initial-response>AGFsaWNFX3N0cmVhbV9yZXN1bXB0aW9uX2ZhaWxpbmdfZG9lc19iaW5kX2FuZF9jb250YWluc19zbV9zdGF0dXNfMjc5AG1hdHlncnlzYQ==</initial-response>
<bind xmlns='urn:xmpp:bind:0'>
<tag>ad2244c0-1013-4434-a8f5-f40cf84a08b0</tag>
</bind>
<resume xmlns='urn:xmpp:sm:3' previd='123456' h='1'/>
</authenticate>
*** User 2024-04-15 16:45:21.479 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost in
<success xmlns='urn:xmpp:sasl:2'>
<authorization-identifier>alice_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost/ad2244c0-1013-4434-a8f5-f40cf84a08b0/1713-199521-478530-f41eebc9e4593160</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 16:45:21.479 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_279@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 2024-04-15 16:45:21.479 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost out
</stream:stream>
*** User 2024-04-15 16:45:21.479 ***🔗
alicE_stream_resumption_failing_does_bind_and_contains_sm_status_279@localhost in
</stream:stream>
=== Ended at 2024-04-15 16:45:21
=== successfully completed test case
=== === Returned value: ok