=== Test case: carboncopy_SUITE:dropped_client_doesnt_create_duplicate_carbons/1 (click for source code)

=== Config value:

    [{watchdog,<0.10497.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@f53478984827.2024-04-24_13.07.56/big_tests.tests.carboncopy_SUITE.logs/run.2024-04-24_13.08.45/carboncopy_suite.dropped_client_doesnt_create_duplicate_carbons.18946.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@f53478984827.2024-04-24_13.07.56/big_tests.tests.carboncopy_SUITE.logs/run.2024-04-24_13.08.45/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@f53478984827.2024-04-24_13.07.56"

=== Started at 2024-04-24 13:08:45


*** CT 2024-04-24 13:08:45.809 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_106.html

*** User 2024-04-24 13:08:45.832 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-24 13:08:45.832 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a86aa91b0896ad73' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-24 13:08:45.833 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_596@localhost/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 2024-04-24 13:08:45.833 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Ryb3BwZWRfY2xpZW50X2RvZXNudF9jcmVhdGVfZHVwbGljYXRlX2NhcmJvbnNfNTk2AG1hdHlncnlzYQ==</auth>



*** User 2024-04-24 13:08:45.835 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-24 13:08:45.835 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-24 13:08:45.836 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e6c5e573e13cb5ce' from='localhost' version='1.0' xml:lang='en' to='alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost'>

*** User 2024-04-24 13:08:45.836 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_596@localhost/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 2024-04-24 13:08:45.836 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 out
<iq type='set' id='b61416054051c87a3baa572b1ece0fdc'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-24 13:08:45.837 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 in
<iq id='b61416054051c87a3baa572b1ece0fdc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-24 13:08:45.837 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 out
<iq type='set' id='a0414f85eda15d6172bcc8310370dcf2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:08:45.838 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 in
<iq from='localhost' to='alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1' id='a0414f85eda15d6172bcc8310370dcf2' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:08:45.838 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 out
<presence/>



*** User 2024-04-24 13:08:45.843 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 in
<presence from='alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1' to='alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1'/>



*** User 2024-04-24 13:08:45.843 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-24 13:08:45.845 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c2c8ed690dea3407' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-24 13:08:45.845 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_596@localhost/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 2024-04-24 13:08:45.845 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2Ryb3BwZWRfY2xpZW50X2RvZXNudF9jcmVhdGVfZHVwbGljYXRlX2NhcmJvbnNfNTk2AG1hdHlncnlzYQ==</auth>



*** User 2024-04-24 13:08:45.865 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-24 13:08:45.865 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-24 13:08:45.866 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7eea9306374daf87' from='localhost' version='1.0' xml:lang='en' to='alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost'>

*** User 2024-04-24 13:08:45.866 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_596@localhost/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 2024-04-24 13:08:45.866 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2 out
<iq type='set' id='f11862ee12d128405454308e636e935c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res2</resource>
	</bind>
</iq>



*** User 2024-04-24 13:08:45.867 ***🔗
alicE_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2 in
<iq id='f11862ee12d128405454308e636e935c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2</jid>
	</bind>
</iq>



*** User 2024-04-24 13:08:45.867 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2 out
<iq type='set' id='e14ee0d717b02bcbdad5ac9008ed820a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:08:45.869 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2 in
<iq from='localhost' to='alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2' id='e14ee0d717b02bcbdad5ac9008ed820a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:08:45.869 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2 out
<presence/>



*** User 2024-04-24 13:08:45.873 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2 in
<presence from='alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2' to='alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2'/>



*** User 2024-04-24 13:08:45.873 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2 in
<presence from='alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1' to='alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2'>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-24T13:08:45.842164Z' from='alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1'/>
</presence>



*** User 2024-04-24 13:08:45.873 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 in
<presence from='alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2' to='alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1'/>



*** User 2024-04-24 13:08:45.874 ***🔗
bOb_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-24 13:08:45.875 ***🔗
bOb_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='02eb3ea33165bbbd' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-24 13:08:45.875 ***🔗
bOb_dropped_client_doesnt_create_duplicate_carbons_596@localhost/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 2024-04-24 13:08:45.875 ***🔗
bOb_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kcm9wcGVkX2NsaWVudF9kb2VzbnRfY3JlYXRlX2R1cGxpY2F0ZV9jYXJib25zXzU5NgBtYWtyb2xpa2E=</auth>



*** User 2024-04-24 13:08:45.877 ***🔗
bOb_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-24 13:08:45.877 ***🔗
bOb_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-24 13:08:45.878 ***🔗
bOb_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7e6182662635689c' from='localhost' version='1.0' xml:lang='en' to='bob_dropped_client_doesnt_create_duplicate_carbons_596@localhost'>

*** User 2024-04-24 13:08:45.878 ***🔗
bOb_dropped_client_doesnt_create_duplicate_carbons_596@localhost/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 2024-04-24 13:08:45.878 ***🔗
bOb_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 out
<iq type='set' id='970e61f5d9deb49bd79bbc3d87b68cec'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-24 13:08:45.878 ***🔗
bOb_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 in
<iq id='970e61f5d9deb49bd79bbc3d87b68cec' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-24 13:08:45.879 ***🔗
bob_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 out
<iq type='set' id='8edd46fb0a2c489669a4b777ca39feae'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:08:45.880 ***🔗
bob_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 in
<iq from='localhost' to='bob_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1' id='8edd46fb0a2c489669a4b777ca39feae' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:08:45.880 ***🔗
bob_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 out
<presence/>



*** User 2024-04-24 13:08:45.884 ***🔗
bob_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 in
<presence from='bob_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1' to='bob_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1'/>



*** User 2024-04-24 13:08:45.884 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 out
<iq xmlns='jabber:client' type='set' id='bf3fa0dae1f0195908252755743be3d8'>
	<enable xmlns='urn:xmpp:carbons:2'/>
</iq>



*** User 2024-04-24 13:08:45.885 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 in
<iq from='alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost' to='alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1' id='bf3fa0dae1f0195908252755743be3d8' type='result'/>



*** User 2024-04-24 13:08:45.885 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2 out
<iq xmlns='jabber:client' type='set' id='ffdb14892853cba4f6d7cf98465c5ae0'>
	<enable xmlns='urn:xmpp:carbons:2'/>
</iq>



*** User 2024-04-24 13:08:45.887 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2 in
<iq from='alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost' to='alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2' id='ffdb14892853cba4f6d7cf98465c5ae0' type='result'/>



*** User 2024-04-24 13:08:45.887 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2 out
</stream:stream>

*** User 2024-04-24 13:08:45.887 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2 in
</stream:stream>

*** User 2024-04-24 13:08:45.888 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 in
<presence from='alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res2' to='alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1' type='unavailable'>
	<status>Shutdown by reason: stream_end</status>
</presence>



*** User 2024-04-24 13:08:45.888 ***🔗
alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 out
<message type='chat' to='bob_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1'>
	<body>And pious action</body>
</message>



*** User 2024-04-24 13:08:45.890 ***🔗
bob_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1 in
<message from='alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1' to='bob_dropped_client_doesnt_create_duplicate_carbons_596@localhost/res1' type='chat'>
	<body>And pious action</body>
</message>


*** CT 2024-04-24 13:08:45.893 *** Stanza Log:🔗 dropped_client_doesnt_create_duplicate_carbons.xml

*** CT Error Notification 2024-04-24 13:08:45.894 ***🔗
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
*** CT 2024-04-24 13:08:45.896 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_107.html



=== Ended at 2024-04-24 13:08:46
=== 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_596@localhost">>},
                    {<<"to">>,
                     <<"alice_dropped_client_doesnt_create_duplicate_carbons_596@localhost/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_596@localhost/res1">>},
                          {<<"type">>,<<"chat">>},
                          {<<"to">>,
                           <<"bob_dropped_client_doesnt_create_duplicate_carbons_596@localhost/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)