=== Test case: muc_SUITE:send_private_groupchat/1 (click for source code)

=== Config value:

    [{watchdog,<0.71855.0>},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@49784645730c.2024-04-23_11.32.27/big_tests.tests.muc_SUITE.logs/run.2024-04-23_11.44.59/muc_suite.send_private_groupchat.104324.html"},
     {tc_group_properties,[{name,occupant},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/muc_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@49784645730c.2024-04-23_11.32.27/big_tests.tests.muc_SUITE.logs/run.2024-04-23_11.44.59/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        mod_sic => #{iqdisc => one_queue},
        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_amp => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        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_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue}}},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"localhost">>},
                            {password,<<"makrowe;p">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@49784645730c.2024-04-23_11.32.27"

=== Started at 2024-04-23 11:45:13


*** CT 2024-04-23 11:45:13.454 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4524.html

*** User 2024-04-23 11:45:13.596 ***🔗
alicE_send_private_groupchat_2877@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-23 11:45:13.598 ***🔗
alicE_send_private_groupchat_2877@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1fd3bba30f9a931f' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:45:13.599 ***🔗
alicE_send_private_groupchat_2877@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-23 11:45:13.600 ***🔗
alicE_send_private_groupchat_2877@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NlbmRfcHJpdmF0ZV9ncm91cGNoYXRfMjg3NwBtYXR5Z3J5c2E=</auth>



*** User 2024-04-23 11:45:13.601 ***🔗
alicE_send_private_groupchat_2877@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:45:13.602 ***🔗
alicE_send_private_groupchat_2877@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-23 11:45:13.602 ***🔗
alicE_send_private_groupchat_2877@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='15c988612b824ef4' from='localhost' version='1.0' xml:lang='en' to='alice_send_private_groupchat_2877@localhost'>

*** User 2024-04-23 11:45:13.602 ***🔗
alicE_send_private_groupchat_2877@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-23 11:45:13.602 ***🔗
alicE_send_private_groupchat_2877@localhost/res1 out
<iq type='set' id='3f3b40badbdf0d1ec7fc69a3d45849a4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:45:13.603 ***🔗
alicE_send_private_groupchat_2877@localhost/res1 in
<iq id='3f3b40badbdf0d1ec7fc69a3d45849a4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_send_private_groupchat_2877@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:45:13.603 ***🔗
alice_send_private_groupchat_2877@localhost/res1 out
<iq type='set' id='68775968702808d46d7a6ea0849bcf7f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:45:13.605 ***🔗
alice_send_private_groupchat_2877@localhost/res1 in
<iq from='localhost' to='alice_send_private_groupchat_2877@localhost/res1' id='68775968702808d46d7a6ea0849bcf7f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:45:13.605 ***🔗
alice_send_private_groupchat_2877@localhost/res1 out
<presence/>


Could not find element wait_for_parallel_writer in Config.


*** User 2024-04-23 11:45:13.670 ***🔗
alice_send_private_groupchat_2877@localhost/res1 in
<presence from='alice_send_private_groupchat_2877@localhost/res1' to='alice_send_private_groupchat_2877@localhost/res1'/>



*** User 2024-04-23 11:45:13.672 ***🔗
bOb_send_private_groupchat_2877@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-23 11:45:13.673 ***🔗
bOb_send_private_groupchat_2877@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3e3def4987726573' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:45:13.673 ***🔗
bOb_send_private_groupchat_2877@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-23 11:45:13.673 ***🔗
bOb_send_private_groupchat_2877@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zZW5kX3ByaXZhdGVfZ3JvdXBjaGF0XzI4NzcAbWFrcm9saWth</auth>



*** User 2024-04-23 11:45:13.677 ***🔗
bOb_send_private_groupchat_2877@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:45:13.677 ***🔗
bOb_send_private_groupchat_2877@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-23 11:45:13.678 ***🔗
bOb_send_private_groupchat_2877@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2880fd8894058fb7' from='localhost' version='1.0' xml:lang='en' to='bob_send_private_groupchat_2877@localhost'>

*** User 2024-04-23 11:45:13.678 ***🔗
bOb_send_private_groupchat_2877@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-23 11:45:13.678 ***🔗
bOb_send_private_groupchat_2877@localhost/res1 out
<iq type='set' id='6d24ac085133d69f7bb39cc928942ef6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:45:13.679 ***🔗
bOb_send_private_groupchat_2877@localhost/res1 in
<iq id='6d24ac085133d69f7bb39cc928942ef6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_send_private_groupchat_2877@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:45:13.680 ***🔗
bob_send_private_groupchat_2877@localhost/res1 out
<iq type='set' id='413c7fcc61ab4cc4f12ebb0908cacd12'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:45:13.681 ***🔗
bob_send_private_groupchat_2877@localhost/res1 in
<iq from='localhost' to='bob_send_private_groupchat_2877@localhost/res1' id='413c7fcc61ab4cc4f12ebb0908cacd12' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:45:13.683 ***🔗
bob_send_private_groupchat_2877@localhost/res1 out
<presence/>



*** User 2024-04-23 11:45:13.685 ***🔗
bob_send_private_groupchat_2877@localhost/res1 in
<presence from='bob_send_private_groupchat_2877@localhost/res1' to='bob_send_private_groupchat_2877@localhost/res1'/>



*** User 2024-04-23 11:45:13.688 ***🔗
kate_send_private_groupchat_2877@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-23 11:45:13.689 ***🔗
kate_send_private_groupchat_2877@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e2887fc1b6a61af7' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:45:13.689 ***🔗
kate_send_private_groupchat_2877@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-23 11:45:13.690 ***🔗
kate_send_private_groupchat_2877@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfc2VuZF9wcml2YXRlX2dyb3VwY2hhdF8yODc3AG1ha3Jvd2U7cA==</auth>



*** User 2024-04-23 11:45:13.693 ***🔗
kate_send_private_groupchat_2877@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:45:13.694 ***🔗
kate_send_private_groupchat_2877@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-23 11:45:13.696 ***🔗
kate_send_private_groupchat_2877@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bfe94ab8c396232a' from='localhost' version='1.0' xml:lang='en' to='kate_send_private_groupchat_2877@localhost'>

*** User 2024-04-23 11:45:13.697 ***🔗
kate_send_private_groupchat_2877@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-23 11:45:13.697 ***🔗
kate_send_private_groupchat_2877@localhost/res1 out
<iq type='set' id='7627b420e506bf25e9184d33c2cefd96'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:45:13.698 ***🔗
kate_send_private_groupchat_2877@localhost/res1 in
<iq id='7627b420e506bf25e9184d33c2cefd96' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_send_private_groupchat_2877@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:45:13.698 ***🔗
kate_send_private_groupchat_2877@localhost/res1 out
<iq type='set' id='9ec42aead4d0647637f9f129d16ff79c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:45:13.699 ***🔗
kate_send_private_groupchat_2877@localhost/res1 in
<iq from='localhost' to='kate_send_private_groupchat_2877@localhost/res1' id='9ec42aead4d0647637f9f129d16ff79c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:45:13.700 ***🔗
kate_send_private_groupchat_2877@localhost/res1 out
<presence/>



*** User 2024-04-23 11:45:13.702 ***🔗
kate_send_private_groupchat_2877@localhost/res1 in
<presence from='kate_send_private_groupchat_2877@localhost/res1' to='kate_send_private_groupchat_2877@localhost/res1'/>



*** User 2024-04-23 11:45:13.702 ***🔗
bob_send_private_groupchat_2877@localhost/res1 out
<presence to='room-alice_send_private_groupchat_2877@muc.localhost/bob_send_private_groupchat_2877'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-23 11:45:13.709 ***🔗
bob_send_private_groupchat_2877@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2877@muc.localhost/bob_send_private_groupchat_2877' to='bob_send_private_groupchat_2877@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2024-04-23 11:45:13.709 ***🔗
bob_send_private_groupchat_2877@localhost/res1 in
<message from='room-alice_send_private_groupchat_2877@muc.localhost' to='bob_send_private_groupchat_2877@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-23 11:45:13.709 ***🔗
kate_send_private_groupchat_2877@localhost/res1 out
<presence to='room-alice_send_private_groupchat_2877@muc.localhost/kate_send_private_groupchat_2877'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-23 11:45:13.769 ***🔗
bob_send_private_groupchat_2877@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2877@muc.localhost/kate_send_private_groupchat_2877' to='bob_send_private_groupchat_2877@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-23 11:45:13.769 ***🔗
kate_send_private_groupchat_2877@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2877@muc.localhost/bob_send_private_groupchat_2877' to='kate_send_private_groupchat_2877@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-23 11:45:13.771 ***🔗
kate_send_private_groupchat_2877@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2877@muc.localhost/kate_send_private_groupchat_2877' to='kate_send_private_groupchat_2877@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-23 11:45:13.771 ***🔗
kate_send_private_groupchat_2877@localhost/res1 in
<message from='room-alice_send_private_groupchat_2877@muc.localhost' to='kate_send_private_groupchat_2877@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-23 11:45:13.771 ***🔗
bob_send_private_groupchat_2877@localhost/res1 out
<message type='groupchat' to='room-alice_send_private_groupchat_2877@muc.localhost/kate_send_private_groupchat_2877'>
	<body>chat message</body>
</message>



*** User 2024-04-23 11:45:13.772 ***🔗
bob_send_private_groupchat_2877@localhost/res1 in
<message from='room-alice_send_private_groupchat_2877@muc.localhost/kate_send_private_groupchat_2877' to='bob_send_private_groupchat_2877@localhost/res1' type='error'>
	<body>chat message</body>
	<error code='400' type='modify'>
		<bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
		<text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>It is not allowed to send private messages of type groupchat</text>
	</error>
</message>



*** User 2024-04-23 11:45:13.772 ***🔗
bob_send_private_groupchat_2877@localhost/res1 out
<message type='chat' to='room-alice_send_private_groupchat_2877@muc.localhost/non-existent'>
	<body>chat message</body>
</message>



*** User 2024-04-23 11:45:13.773 ***🔗
bob_send_private_groupchat_2877@localhost/res1 in
<message from='room-alice_send_private_groupchat_2877@muc.localhost/non-existent' to='bob_send_private_groupchat_2877@localhost/res1' type='error'>
	<body>chat message</body>
	<error code='404' type='cancel'>
		<item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
		<text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Recipient is not in the conference room</text>
	</error>
</message>



*** User 2024-04-23 11:45:13.774 ***🔗
alice_send_private_groupchat_2877@localhost/res1 out
<message type='chat' to='room-alice_send_private_groupchat_2877@muc.localhost/bob_send_private_groupchat_2877'>
	<body>chat message</body>
</message>



*** User 2024-04-23 11:45:13.775 ***🔗
alice_send_private_groupchat_2877@localhost/res1 in
<message from='room-alice_send_private_groupchat_2877@muc.localhost/bob_send_private_groupchat_2877' to='alice_send_private_groupchat_2877@localhost/res1' type='error'>
	<body>chat message</body>
	<error code='406' type='modify'>
		<not-acceptable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
		<text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Only occupants are allowed to send messages to the conference</text>
	</error>
</message>



*** User 2024-04-23 11:45:13.776 ***🔗
kate_send_private_groupchat_2877@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:45:13.777 ***🔗
kate_send_private_groupchat_2877@localhost/res1 in
</stream:stream>

*** User 2024-04-23 11:45:13.778 ***🔗
bob_send_private_groupchat_2877@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:45:13.778 ***🔗
bob_send_private_groupchat_2877@localhost/res1 in
</stream:stream>

*** User 2024-04-23 11:45:13.778 ***🔗
alice_send_private_groupchat_2877@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:45:13.779 ***🔗
alice_send_private_groupchat_2877@localhost/res1 in
</stream:stream>

*** User 2024-04-23 11:45:13.781 ***🔗
waiting for room_archive_size is done in 0 miliseconds
*** CT 2024-04-23 11:45:13.876 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4643.html



=== Ended at 2024-04-23 11:45:13
=== successfully completed test case
=== === Returned value: ok