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

=== Config value:

    [{watchdog,<0.71768.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@8a2dd56084c3.2024-04-16_12.56.12/big_tests.tests.muc_SUITE.logs/run.2024-04-16_13.08.40/muc_suite.send_private_groupchat.117508.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@8a2dd56084c3.2024-04-16_12.56.12/big_tests.tests.muc_SUITE.logs/run.2024-04-16_13.08.40/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_amp => #{},
        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_sic => #{iqdisc => one_queue},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        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 =>
            #{inactivity => 30,max_pause => 120,max_wait => infinity,
              server_acks => false,backend => mnesia},
        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@8a2dd56084c3.2024-04-16_12.56.12"

=== Started at 2024-04-16 13:08:54


*** CT 2024-04-16 13:08:54.508 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4512.html
Could not find element wait_for_parallel_writer in Config.


*** User 2024-04-16 13:08:54.674 ***🔗
alicE_send_private_groupchat_2861@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-16 13:08:54.676 ***🔗
alicE_send_private_groupchat_2861@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='036cd39a9748f989' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 13:08:54.676 ***🔗
alicE_send_private_groupchat_2861@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-16 13:08:54.677 ***🔗
alicE_send_private_groupchat_2861@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NlbmRfcHJpdmF0ZV9ncm91cGNoYXRfMjg2MQBtYXR5Z3J5c2E=</auth>



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



*** User 2024-04-16 13:08:54.679 ***🔗
alicE_send_private_groupchat_2861@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-16 13:08:54.681 ***🔗
alicE_send_private_groupchat_2861@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6eb0c8e85fa09f50' from='localhost' version='1.0' xml:lang='en' to='alice_send_private_groupchat_2861@localhost'>

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



*** User 2024-04-16 13:08:54.682 ***🔗
alicE_send_private_groupchat_2861@localhost/res1 in
<iq id='bcf3ebb8ae65821327f5955de9fed9b2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_send_private_groupchat_2861@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 13:08:54.682 ***🔗
alice_send_private_groupchat_2861@localhost/res1 out
<iq type='set' id='1e2337a24ad2a18bd950cd1a6b3847f9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 13:08:54.683 ***🔗
alice_send_private_groupchat_2861@localhost/res1 in
<iq from='localhost' to='alice_send_private_groupchat_2861@localhost/res1' id='1e2337a24ad2a18bd950cd1a6b3847f9' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 13:08:54.685 ***🔗
alice_send_private_groupchat_2861@localhost/res1 out
<presence/>



*** User 2024-04-16 13:08:54.688 ***🔗
alice_send_private_groupchat_2861@localhost/res1 in
<presence from='alice_send_private_groupchat_2861@localhost/res1' to='alice_send_private_groupchat_2861@localhost/res1'/>



*** User 2024-04-16 13:08:54.691 ***🔗
bOb_send_private_groupchat_2861@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-16 13:08:54.692 ***🔗
bOb_send_private_groupchat_2861@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e5d8dd8345a21df8' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 13:08:54.693 ***🔗
bOb_send_private_groupchat_2861@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-16 13:08:54.694 ***🔗
bOb_send_private_groupchat_2861@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zZW5kX3ByaXZhdGVfZ3JvdXBjaGF0XzI4NjEAbWFrcm9saWth</auth>



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



*** User 2024-04-16 13:08:54.696 ***🔗
bOb_send_private_groupchat_2861@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-16 13:08:54.697 ***🔗
bOb_send_private_groupchat_2861@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f4539187e1b03ed4' from='localhost' version='1.0' xml:lang='en' to='bob_send_private_groupchat_2861@localhost'>

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



*** User 2024-04-16 13:08:54.699 ***🔗
bOb_send_private_groupchat_2861@localhost/res1 in
<iq id='5d8e875d26453af8670e5a67f6a17c99' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_send_private_groupchat_2861@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 13:08:54.699 ***🔗
bob_send_private_groupchat_2861@localhost/res1 out
<iq type='set' id='421178b6e8dac624f4478cb7db17c653'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 13:08:54.701 ***🔗
bob_send_private_groupchat_2861@localhost/res1 in
<iq from='localhost' to='bob_send_private_groupchat_2861@localhost/res1' id='421178b6e8dac624f4478cb7db17c653' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 13:08:54.702 ***🔗
bob_send_private_groupchat_2861@localhost/res1 out
<presence/>



*** User 2024-04-16 13:08:54.704 ***🔗
bob_send_private_groupchat_2861@localhost/res1 in
<presence from='bob_send_private_groupchat_2861@localhost/res1' to='bob_send_private_groupchat_2861@localhost/res1'/>



*** User 2024-04-16 13:08:54.765 ***🔗
kate_send_private_groupchat_2861@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-16 13:08:54.767 ***🔗
kate_send_private_groupchat_2861@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9a0254f158b69fd8' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2024-04-16 13:08:54.770 ***🔗
kate_send_private_groupchat_2861@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-16 13:08:54.771 ***🔗
kate_send_private_groupchat_2861@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2a462713af2ab789' from='localhost' version='1.0' xml:lang='en' to='kate_send_private_groupchat_2861@localhost'>

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



*** User 2024-04-16 13:08:54.774 ***🔗
kate_send_private_groupchat_2861@localhost/res1 in
<iq id='3bb357835f7af398b5d5755c9282e678' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_send_private_groupchat_2861@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 13:08:54.774 ***🔗
kate_send_private_groupchat_2861@localhost/res1 out
<iq type='set' id='7e087d00b1b34546747c81136e2f5373'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 13:08:54.775 ***🔗
kate_send_private_groupchat_2861@localhost/res1 in
<iq from='localhost' to='kate_send_private_groupchat_2861@localhost/res1' id='7e087d00b1b34546747c81136e2f5373' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 13:08:54.776 ***🔗
kate_send_private_groupchat_2861@localhost/res1 out
<presence/>



*** User 2024-04-16 13:08:54.778 ***🔗
kate_send_private_groupchat_2861@localhost/res1 in
<presence from='kate_send_private_groupchat_2861@localhost/res1' to='kate_send_private_groupchat_2861@localhost/res1'/>



*** User 2024-04-16 13:08:54.779 ***🔗
bob_send_private_groupchat_2861@localhost/res1 out
<presence to='room-alice_send_private_groupchat_2861@muc.localhost/bob_send_private_groupchat_2861'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-16 13:08:54.781 ***🔗
bob_send_private_groupchat_2861@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2861@muc.localhost/bob_send_private_groupchat_2861' to='bob_send_private_groupchat_2861@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-16 13:08:54.781 ***🔗
bob_send_private_groupchat_2861@localhost/res1 in
<message from='room-alice_send_private_groupchat_2861@muc.localhost' to='bob_send_private_groupchat_2861@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-16 13:08:54.781 ***🔗
kate_send_private_groupchat_2861@localhost/res1 out
<presence to='room-alice_send_private_groupchat_2861@muc.localhost/kate_send_private_groupchat_2861'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-04-16 13:08:54.783 ***🔗
bob_send_private_groupchat_2861@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2861@muc.localhost/kate_send_private_groupchat_2861' to='bob_send_private_groupchat_2861@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-16 13:08:54.783 ***🔗
kate_send_private_groupchat_2861@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2861@muc.localhost/bob_send_private_groupchat_2861' to='kate_send_private_groupchat_2861@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-04-16 13:08:54.783 ***🔗
kate_send_private_groupchat_2861@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2861@muc.localhost/kate_send_private_groupchat_2861' to='kate_send_private_groupchat_2861@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-04-16 13:08:54.783 ***🔗
kate_send_private_groupchat_2861@localhost/res1 in
<message from='room-alice_send_private_groupchat_2861@muc.localhost' to='kate_send_private_groupchat_2861@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-04-16 13:08:54.783 ***🔗
bob_send_private_groupchat_2861@localhost/res1 out
<message type='groupchat' to='room-alice_send_private_groupchat_2861@muc.localhost/kate_send_private_groupchat_2861'>
	<body>chat message</body>
</message>



*** User 2024-04-16 13:08:54.784 ***🔗
bob_send_private_groupchat_2861@localhost/res1 in
<message from='room-alice_send_private_groupchat_2861@muc.localhost/kate_send_private_groupchat_2861' to='bob_send_private_groupchat_2861@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-16 13:08:54.784 ***🔗
bob_send_private_groupchat_2861@localhost/res1 out
<message type='chat' to='room-alice_send_private_groupchat_2861@muc.localhost/non-existent'>
	<body>chat message</body>
</message>



*** User 2024-04-16 13:08:54.785 ***🔗
bob_send_private_groupchat_2861@localhost/res1 in
<message from='room-alice_send_private_groupchat_2861@muc.localhost/non-existent' to='bob_send_private_groupchat_2861@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-16 13:08:54.785 ***🔗
alice_send_private_groupchat_2861@localhost/res1 out
<message type='chat' to='room-alice_send_private_groupchat_2861@muc.localhost/bob_send_private_groupchat_2861'>
	<body>chat message</body>
</message>



*** User 2024-04-16 13:08:54.787 ***🔗
alice_send_private_groupchat_2861@localhost/res1 in
<message from='room-alice_send_private_groupchat_2861@muc.localhost/bob_send_private_groupchat_2861' to='alice_send_private_groupchat_2861@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-16 13:08:54.788 ***🔗
kate_send_private_groupchat_2861@localhost/res1 out
</stream:stream>

*** User 2024-04-16 13:08:54.788 ***🔗
kate_send_private_groupchat_2861@localhost/res1 in
</stream:stream>

*** User 2024-04-16 13:08:54.788 ***🔗
bob_send_private_groupchat_2861@localhost/res1 out
</stream:stream>

*** User 2024-04-16 13:08:54.789 ***🔗
bob_send_private_groupchat_2861@localhost/res1 in
</stream:stream>

*** User 2024-04-16 13:08:54.789 ***🔗
alice_send_private_groupchat_2861@localhost/res1 out
</stream:stream>

*** User 2024-04-16 13:08:54.790 ***🔗
alice_send_private_groupchat_2861@localhost/res1 in
</stream:stream>

*** User 2024-04-16 13:08:54.791 ***🔗
waiting for room_archive_size is done in 0 miliseconds
*** CT 2024-04-16 13:08:54.898 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4631.html



=== Ended at 2024-04-16 13:08:54
=== successfully completed test case
=== === Returned value: ok