=== Test case: carboncopy_SUITE:dropped_client_doesnt_create_duplicate_carbons/1 (click for source code)
=== Config value:
[{watchdog,<0.10376.0>},
{preset,"mysql_redis"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/carboncopy_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.carboncopy_SUITE.logs/run.2023-12-07_07.47.28/carboncopy_suite.dropped_client_doesnt_create_duplicate_carbons.12804.html"},
{tc_group_properties,[{name,one2one},parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/carboncopy_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.carboncopy_SUITE.logs/run.2023-12-07_07.47.28/log_private/"}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d3b7dd7159a8.2023-12-07_07.46.41"
=== Started at 2023-12-07 07:47:28
*** User 2023-12-07 07:47:28.650 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-07 07:47:28.650 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bd1c903009a481a9' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-12-07 07:47:28.650 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 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'/>
</stream:features>
*** User 2023-12-07 07:47:28.651 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Ryb3BwZWRfY2xpZW50X2RvZXNudF9jcmVhdGVfZHVwbGljYXRlX2NhcmJvbnNfNTgwAG1hdHlncnlzYQ==</auth>
*** User 2023-12-07 07:47:28.654 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-12-07 07:47:28.654 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-07 07:47:28.654 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0f31f91605f7be4e' from='domain.example.com' version='1.0' xml:lang='en' to='alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com'>
*** User 2023-12-07 07:47:28.654 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 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'/>
</stream:features>
*** User 2023-12-07 07:47:28.654 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 out
<iq type='set' id='6a17d55b3bc7233743ae213b22a1fac4'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-12-07 07:47:28.655 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 in
<iq id='6a17d55b3bc7233743ae213b22a1fac4' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-12-07 07:47:28.655 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 out
<iq type='set' id='ec82eec60ed10ae4b1601d2c4c24d44a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-07 07:47:28.656 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1' id='ec82eec60ed10ae4b1601d2c4c24d44a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-07 07:47:28.656 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 out
<presence/>
*** User 2023-12-07 07:47:28.662 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 in
<presence from='alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1' to='alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1'/>
*** User 2023-12-07 07:47:28.662 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-07 07:47:28.663 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4a3717f9c752464f' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-12-07 07:47:28.663 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2 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'/>
</stream:features>
*** User 2023-12-07 07:47:28.663 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Ryb3BwZWRfY2xpZW50X2RvZXNudF9jcmVhdGVfZHVwbGljYXRlX2NhcmJvbnNfNTgwAG1hdHlncnlzYQ==</auth>
*** User 2023-12-07 07:47:28.667 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-12-07 07:47:28.667 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-07 07:47:28.667 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3e7a1da2440c6f4a' from='domain.example.com' version='1.0' xml:lang='en' to='alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com'>
*** User 2023-12-07 07:47:28.667 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2 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'/>
</stream:features>
*** User 2023-12-07 07:47:28.667 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2 out
<iq type='set' id='7c25242761ab4a3eccf1891c2935648a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res2</resource>
</bind>
</iq>
*** User 2023-12-07 07:47:28.668 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2 in
<iq id='7c25242761ab4a3eccf1891c2935648a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2</jid>
</bind>
</iq>
*** User 2023-12-07 07:47:28.668 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2 out
<iq type='set' id='6cce1982072c78bc03cbdc3a6e7e263c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-07 07:47:28.669 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2 in
<iq from='domain.example.com' to='alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2' id='6cce1982072c78bc03cbdc3a6e7e263c' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-07 07:47:28.669 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2 out
<presence/>
*** User 2023-12-07 07:47:28.724 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2 in
<presence from='alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2' to='alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2'/>
*** User 2023-12-07 07:47:28.725 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2 in
<presence from='alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1' to='alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2'>
<delay xmlns='urn:xmpp:delay' stamp='2023-12-07T07:47:28.660312Z' from='alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1'/>
</presence>
*** User 2023-12-07 07:47:28.725 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 in
<presence from='alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2' to='alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1'/>
*** User 2023-12-07 07:47:28.726 ***🔗
bOb_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-07 07:47:28.727 ***🔗
bOb_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ebe747088d7b3e00' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2023-12-07 07:47:28.727 ***🔗
bOb_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 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'/>
</stream:features>
*** User 2023-12-07 07:47:28.727 ***🔗
bOb_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kcm9wcGVkX2NsaWVudF9kb2VzbnRfY3JlYXRlX2R1cGxpY2F0ZV9jYXJib25zXzU4MABtYWtyb2xpa2E=</auth>
*** User 2023-12-07 07:47:28.730 ***🔗
bOb_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-12-07 07:47:28.730 ***🔗
bOb_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2023-12-07 07:47:28.731 ***🔗
bOb_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9c16fcd593b8765f' from='domain.example.com' version='1.0' xml:lang='en' to='bob_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com'>
*** User 2023-12-07 07:47:28.731 ***🔗
bOb_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 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'/>
</stream:features>
*** User 2023-12-07 07:47:28.731 ***🔗
bOb_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 out
<iq type='set' id='9dc4ce261f6612d2c92b5dd53a89fdeb'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-12-07 07:47:28.731 ***🔗
bOb_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 in
<iq id='9dc4ce261f6612d2c92b5dd53a89fdeb' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2023-12-07 07:47:28.731 ***🔗
bob_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 out
<iq type='set' id='db7693ce2bd858206d997a6b054c3b48'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-07 07:47:28.733 ***🔗
bob_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1' id='db7693ce2bd858206d997a6b054c3b48' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-12-07 07:47:28.733 ***🔗
bob_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 out
<presence/>
*** User 2023-12-07 07:47:28.736 ***🔗
bob_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 in
<presence from='bob_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1' to='bob_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1'/>
*** User 2023-12-07 07:47:28.736 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 out
<iq xmlns='jabber:client' type='set' id='3ca66cc24688a0d3705267d592c3a476'>
<enable xmlns='urn:xmpp:carbons:2'/>
</iq>
*** User 2023-12-07 07:47:28.737 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 in
<iq from='alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com' to='alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1' id='3ca66cc24688a0d3705267d592c3a476' type='result'/>
*** User 2023-12-07 07:47:28.737 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2 out
<iq xmlns='jabber:client' type='set' id='7870f732bb26862b6a4da35103cd6610'>
<enable xmlns='urn:xmpp:carbons:2'/>
</iq>
*** User 2023-12-07 07:47:28.738 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2 in
<iq from='alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com' to='alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2' id='7870f732bb26862b6a4da35103cd6610' type='result'/>
*** User 2023-12-07 07:47:28.738 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2 out
</stream:stream>
*** User 2023-12-07 07:47:28.738 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2 in
</stream:stream>
*** User 2023-12-07 07:47:28.739 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 in
<presence from='alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2' to='alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1' type='unavailable'>
<status>Shutdown by reason: stream_end</status>
</presence>
*** User 2023-12-07 07:47:28.739 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 out
<message type='chat' to='bob_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1'>
<body>And pious action</body>
</message>
*** User 2023-12-07 07:47:28.742 ***🔗
bob_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1 in
<message from='alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1' to='bob_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1' type='chat'>
<body>And pious action</body>
</message>
*** CT Error Notification 2023-12-07 07:47:28.745 ***🔗
carboncopy_SUITE:'-dropped_client_doesnt_create_duplicate_carbons/1-fun-0-' failed on line 189
Reason: {badmatch,[{xmlel,<<"message">>,
[{<<"from">>,<<"ali...}
Full error description and stacktrace
=== Ended at 2023-12-07 07:47:28
=== Location: [{carboncopy_SUITE,'-dropped_client_doesnt_create_duplicate_carbons/1-fun-0-',189},
{escalus_story,story,72},
{test_server,ts_tc,1793},
{test_server,run_test_case_eval1,1302},
{test_server,run_test_case_eval,1234}]
=== === Reason: no match of right hand side value
[{xmlel,<<"message">>,
[{<<"from">>,
<<"alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com">>},
{<<"to">>,
<<"alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res2">>},
{<<"xmlns">>,<<"jabber:client">>},
{<<"type">>,<<"chat">>}],
[{xmlel,<<"sent">>,
[{<<"xmlns">>,<<"urn:xmpp:carbons:2">>}],
[{xmlel,<<"forwarded">>,
[{<<"xmlns">>,<<"urn:xmpp:forward:0">>}],
[{xmlel,<<"message">>,
[{<<"from">>,
<<"alice_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1">>},
{<<"type">>,<<"chat">>},
{<<"to">>,
<<"bob_dropped_client_doesnt_create_duplicate_carbons_580@domain.example.com/res1">>},
{<<"xmlns">>,<<"jabber:client">>}],
[{xmlel,<<"body">>,[],
[{xmlcdata,<<"And pious action">>}]}]}]}]}]}]
in function carboncopy_SUITE:'-dropped_client_doesnt_create_duplicate_carbons/1-fun-0-'/4 (/home/circleci/project/big_tests/tests/carboncopy_SUITE.erl, line 189)
in call from escalus_story:story/4 (/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl, line 72)
in call from test_server:ts_tc/3 (test_server.erl, line 1793)
in call from test_server:run_test_case_eval1/6 (test_server.erl, line 1302)
in call from test_server:run_test_case_eval/9 (test_server.erl, line 1234)