=== Test case: xep_0352_csi_SUITE:alice_gets_msgs_after_activate_in_order/1 (click for source code)

=== Config value:

    [{watchdog,<0.4317.2>},
     {escalus_user_db,{module,escalus_ejabberd}},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/xep_0352_csi_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.xep_0352_csi_SUITE.logs/run.2022-02-02_15.16.46/xep_0352_csi_suite.alice_gets_msgs_after_activate_in_order.160514.html"},
     {tc_group_properties,[{shuffle,{1643,815006,513483}},
                           {name,basic},
                           parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/xep_0352_csi_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.xep_0352_csi_SUITE.logs/run.2022-02-02_15.16.46/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_adhoc => [],mod_amp => [],mod_bosh => [],
        mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
        mod_carboncopy => [],mod_commands => [],
        mod_disco => [{users_can_see_hidden_services,false}],
        mod_muc_commands => [],mod_muc_light_commands => [],
        mod_register =>
            [{access,register},
             {ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
             {welcome_message,{[],[]}}],
        mod_roster => [{backend,rdbms}],
        mod_sic => [],mod_stream_management => [],
        mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>},
                             {stream_management,true}]},
                     {alice_bis,[{username,<<"alicE">>},
                                 {server,<<"domain.example.org">>},
                                 {host,<<"localhost">>},
                                 {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {carol,[{username,<<"carol">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"jinglebells">>},
                             {transport,escalus_bosh},
                             {path,<<"/http-bind">>},
                             {port,5280}]},
                     {geralt_s,[{username,<<"geralt_s">>},
                                {server,<<"domain.example.com">>},
                                {host,<<"localhost">>},
                                {password,<<"witcher_s">>},
                                {transport,escalus_ws},
                                {ssl,true},
                                {port,5285},
                                {wspath,<<"/ws-xmpp">>}]},
                     {carol_s,[{username,<<"carol_s">>},
                               {server,<<"domain.example.com">>},
                               {host,<<"localhost">>},
                               {password,<<"jinglebells_s">>},
                               {transport,escalus_bosh},
                               {ssl,true},
                               {path,<<"/http-bind">>},
                               {port,5285}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"makrowe;p">>}]},
                     {mike,[{username,<<"mike">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"nicniema">>}]},
                     {geralt,[{username,<<"geralt">>},
                              {server,<<"domain.example.com">>},
                              {host,<<"localhost">>},
                              {password,<<"witcher">>},
                              {transport,escalus_ws},
                              {port,5280},
                              {wspath,<<"/ws-xmpp">>}]},
                     {admin,[{username,<<"admin">>},
                             {server,<<"localhost">>},
                             {password,<<"bruce_almighty">>}]},
                     {secure_joe,[{username,<<"secure_joe">>},
                                  {server,<<"domain.example.com">>},
                                  {host,<<"localhost">>},
                                  {password,<<"break_me">>},
                                  {compression,<<"zlib">>},
                                  {starttls,required}]},
                     {clusterguy,[{username,<<"clusterguy">>},
                                  {server,<<"domain.example.com">>},
                                  {host,<<"localhost">>},
                                  {password,<<"distributionftw">>},
                                  {port,5232}]},
                     {clusterbuddy,[{username,<<"clusterbuddy">>},
                                    {server,<<"domain.example.com">>},
                                    {host,<<"localhost">>},
                                    {password,<<"wasssssssup">>},
                                    {port,5232}]},
                     {alice3,[{username,<<"alice">>},
                              {server,<<"example.com">>},
                              {host,<<"localhost">>},
                              {password,<<"makota2">>}]},
                     {bob3,[{username,<<"bob">>},
                            {server,<<"example.org">>},
                            {host,<<"localhost">>},
                            {password,<<"makota3">>},
                            {port,5232}]},
                     {john,[{username,<<"john">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"cosontuma">>}]},
                     {neustradamus,[{username,<<"neustradamus">>},
                                    {server,<<"domain.example.com">>},
                                    {host,<<"localhost">>},
                                    {password,<<"scramshaplus">>},
                                    {starttls,required},
                                    {tls_module,fast_tls}]},
                     {hacker,[{username,<<"hacker">>},
                              {server,<<"domain.example.com">>},
                              {host,<<"localhost">>},
                              {password,<<"bringdowntheserver">>},
                              {compression,<<"zlib">>},
                              {port,5223}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36"

=== Started at 2022-02-02 15:16:46


*** CT 2022-02-02 15:16:46.553 *** View log from node mongooseim@localhost when started mongooseim@localhost_3023.html
*** CT 2022-02-02 15:16:46.553 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_688.html

*** User 2022-02-02 15:16:46.577 ***
alicE_alice_gets_msgs_after_activate_in_order_1720@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 2022-02-02 15:16:46.577 ***
alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='42ba69e8d323c20d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:16:46.577 ***
alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<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 2022-02-02 15:16:46.578 ***
alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FsaWNlX2dldHNfbXNnc19hZnRlcl9hY3RpdmF0ZV9pbl9vcmRlcl8xNzIwAG1hdHlncnlzYQ==</auth>



*** User 2022-02-02 15:16:46.579 ***
alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:16:46.579 ***
alicE_alice_gets_msgs_after_activate_in_order_1720@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 2022-02-02 15:16:46.580 ***
alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5e2f6e36971075c2' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:16:46.580 ***
alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<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 2022-02-02 15:16:46.580 ***
alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 out
<iq type='set' id='6511fdb7e3f202c29d0f5136f2ffdc2b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:16:46.581 ***
alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 in
<iq id='6511fdb7e3f202c29d0f5136f2ffdc2b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:16:46.581 ***
alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 out
<iq type='set' id='4c79b74c0b9ea59061a01efe8735dc8f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:16:46.581 ***
alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 in
<iq type='result' id='4c79b74c0b9ea59061a01efe8735dc8f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:16:46.581 ***
alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 out
<enable xmlns='urn:xmpp:sm:3'/>



*** User 2022-02-02 15:16:46.582 ***
alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 in
<enabled xmlns='urn:xmpp:sm:3'/>



*** User 2022-02-02 15:16:46.583 ***
alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:16:46.585 ***
alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 in
<presence from='alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1' to='alice_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:16:46.586 ***
bOb_alice_gets_msgs_after_activate_in_order_1720@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 2022-02-02 15:16:46.586 ***
bOb_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ed7e3c278af3ca37' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:16:46.586 ***
bOb_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<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 2022-02-02 15:16:46.586 ***
bOb_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hbGljZV9nZXRzX21zZ3NfYWZ0ZXJfYWN0aXZhdGVfaW5fb3JkZXJfMTcyMABtYWtyb2xpa2E=</auth>



*** User 2022-02-02 15:16:46.587 ***
bOb_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:16:46.588 ***
bOb_alice_gets_msgs_after_activate_in_order_1720@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 2022-02-02 15:16:46.588 ***
bOb_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='92923751189a1106' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:16:46.588 ***
bOb_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<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 2022-02-02 15:16:46.588 ***
bOb_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 out
<iq type='set' id='a1891ce4ebd02f60f8edeebcbe60669d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:16:46.589 ***
bOb_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 in
<iq id='a1891ce4ebd02f60f8edeebcbe60669d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:16:46.589 ***
bOb_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 out
<iq type='set' id='60d58b895884d8af9870aebfe7bbf836'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:16:46.589 ***
bOb_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 in
<iq type='result' id='60d58b895884d8af9870aebfe7bbf836'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:16:46.590 ***
bOb_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:16:46.591 ***
bOb_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 in
<presence from='bOb_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1' to='bob_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:16:46.591 ***
alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 out
<inactive xmlns='urn:xmpp:csi:0'/>



*** User 2022-02-02 15:16:47.592 ***
bOb_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 out
<message to='alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1' type='chat'>
	<body>Hi, Alice1</body>
</message>



*** User 2022-02-02 15:16:47.592 ***
bOb_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 out
<message to='alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1' type='chat'>
	<body>Hi, Alice2</body>
</message>



*** User 2022-02-02 15:16:47.592 ***
bOb_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 out
<message to='alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1' type='chat'>
	<body>Hi, Alice3</body>
</message>



*** User 2022-02-02 15:16:48.593 ***
alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 out
<active xmlns='urn:xmpp:csi:0'/>



*** User 2022-02-02 15:16:48.593 ***
alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 in
<message from='bOb_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1' to='alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1' xml:lang='en' type='chat'>
	<body>Hi, Alice1</body>
</message>



*** User 2022-02-02 15:16:48.593 ***
alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 in
<message from='bOb_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1' to='alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1' xml:lang='en' type='chat'>
	<body>Hi, Alice2</body>
</message>



*** User 2022-02-02 15:16:48.593 ***
alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 in
<message from='bOb_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1' to='alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1' xml:lang='en' type='chat'>
	<body>Hi, Alice3</body>
</message>



*** User 2022-02-02 15:16:48.593 ***
bOb_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:16:48.594 ***
bOb_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 in
</stream:stream>

*** User 2022-02-02 15:16:48.594 ***
alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:16:48.594 ***
alicE_alice_gets_msgs_after_activate_in_order_1720@domain.example.com/res1 in
</stream:stream>
*** CT 2022-02-02 15:16:48.597 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_688.html
*** CT 2022-02-02 15:16:48.598 *** View log from node mongooseim@localhost when finished mongooseim@localhost_3024.html



=== Ended at 2022-02-02 15:16:48
=== successfully completed test case
=== === Returned value: ok