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

=== Config value:

    [{watchdog,<0.40361.0>},
     {preset,"internal_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@8dadd8a9c704.2024-03-29_09.14.50/big_tests.tests.muc_SUITE.logs/run.2024-03-29_09.26.38/muc_suite.send_private_groupchat.50307.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@8dadd8a9c704.2024-03-29_09.14.50/big_tests.tests.muc_SUITE.logs/run.2024-03-29_09.26.38/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => mnesia,iqdisc => parallel},
        mod_roster =>
            #{backend => mnesia,iqdisc => one_queue,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_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
              ack_freq => 1,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              resume_timeout => 600},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        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@8dadd8a9c704.2024-03-29_09.14.50"

=== Started at 2024-03-29 09:26:51


*** CT 2024-03-29 09:26:51.795 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4202.html

*** User 2024-03-29 09:26:51.888 ***🔗
alicE_send_private_groupchat_1377@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-03-29 09:26:51.888 ***🔗
alicE_send_private_groupchat_1377@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4799bcfa06ef1dfc' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-29 09:26:51.889 ***🔗
alicE_send_private_groupchat_1377@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-03-29 09:26:51.890 ***🔗
alicE_send_private_groupchat_1377@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NlbmRfcHJpdmF0ZV9ncm91cGNoYXRfMTM3NwBtYXR5Z3J5c2E=</auth>



*** User 2024-03-29 09:26:51.891 ***🔗
alicE_send_private_groupchat_1377@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-29 09:26:51.892 ***🔗
alicE_send_private_groupchat_1377@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-03-29 09:26:51.937 ***🔗
alicE_send_private_groupchat_1377@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='61809df07757a67e' from='localhost' version='1.0' xml:lang='en' to='alice_send_private_groupchat_1377@localhost'>

*** User 2024-03-29 09:26:51.938 ***🔗
alicE_send_private_groupchat_1377@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-03-29 09:26:51.938 ***🔗
alicE_send_private_groupchat_1377@localhost/res1 out
<iq type='set' id='72c89a043078666b63b831ad82609e8a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-29 09:26:51.940 ***🔗
alicE_send_private_groupchat_1377@localhost/res1 in
<iq id='72c89a043078666b63b831ad82609e8a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_send_private_groupchat_1377@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-29 09:26:51.941 ***🔗
alice_send_private_groupchat_1377@localhost/res1 out
<iq type='set' id='86be8b369f4947749a1f8f636c6be6c4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-29 09:26:51.942 ***🔗
alice_send_private_groupchat_1377@localhost/res1 in
<iq from='localhost' to='alice_send_private_groupchat_1377@localhost/res1' id='86be8b369f4947749a1f8f636c6be6c4' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-29 09:26:51.944 ***🔗
alice_send_private_groupchat_1377@localhost/res1 out
<presence/>



*** User 2024-03-29 09:26:51.945 ***🔗
alice_send_private_groupchat_1377@localhost/res1 in
<presence from='alice_send_private_groupchat_1377@localhost/res1' to='alice_send_private_groupchat_1377@localhost/res1'/>



*** User 2024-03-29 09:26:51.948 ***🔗
bOb_send_private_groupchat_1377@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-03-29 09:26:51.950 ***🔗
bOb_send_private_groupchat_1377@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2a3df2a795b22736' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-29 09:26:51.950 ***🔗
bOb_send_private_groupchat_1377@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-03-29 09:26:51.951 ***🔗
bOb_send_private_groupchat_1377@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zZW5kX3ByaXZhdGVfZ3JvdXBjaGF0XzEzNzcAbWFrcm9saWth</auth>



*** User 2024-03-29 09:26:51.951 ***🔗
bOb_send_private_groupchat_1377@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-29 09:26:51.952 ***🔗
bOb_send_private_groupchat_1377@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-03-29 09:26:51.954 ***🔗
bOb_send_private_groupchat_1377@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e8c5133bf71feff2' from='localhost' version='1.0' xml:lang='en' to='bob_send_private_groupchat_1377@localhost'>

*** User 2024-03-29 09:26:51.954 ***🔗
bOb_send_private_groupchat_1377@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-03-29 09:26:51.954 ***🔗
bOb_send_private_groupchat_1377@localhost/res1 out
<iq type='set' id='3e953a3b9f1172f50d1d15d05e7f7bbf'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-29 09:26:51.956 ***🔗
bOb_send_private_groupchat_1377@localhost/res1 in
<iq id='3e953a3b9f1172f50d1d15d05e7f7bbf' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_send_private_groupchat_1377@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-29 09:26:51.957 ***🔗
bob_send_private_groupchat_1377@localhost/res1 out
<iq type='set' id='e6613144257ddf0a404ddd14424f0645'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-29 09:26:51.958 ***🔗
bob_send_private_groupchat_1377@localhost/res1 in
<iq from='localhost' to='bob_send_private_groupchat_1377@localhost/res1' id='e6613144257ddf0a404ddd14424f0645' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-29 09:26:51.959 ***🔗
bob_send_private_groupchat_1377@localhost/res1 out
<presence/>



*** User 2024-03-29 09:26:51.961 ***🔗
bob_send_private_groupchat_1377@localhost/res1 in
<presence from='bob_send_private_groupchat_1377@localhost/res1' to='bob_send_private_groupchat_1377@localhost/res1'/>



*** User 2024-03-29 09:26:51.966 ***🔗
kate_send_private_groupchat_1377@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-03-29 09:26:51.969 ***🔗
kate_send_private_groupchat_1377@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='af98dafa12a6e875' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-29 09:26:51.969 ***🔗
kate_send_private_groupchat_1377@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-03-29 09:26:51.969 ***🔗
kate_send_private_groupchat_1377@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfc2VuZF9wcml2YXRlX2dyb3VwY2hhdF8xMzc3AG1ha3Jvd2U7cA==</auth>



*** User 2024-03-29 09:26:51.971 ***🔗
kate_send_private_groupchat_1377@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-29 09:26:51.972 ***🔗
kate_send_private_groupchat_1377@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-03-29 09:26:51.973 ***🔗
kate_send_private_groupchat_1377@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bfda942cebc5604e' from='localhost' version='1.0' xml:lang='en' to='kate_send_private_groupchat_1377@localhost'>

*** User 2024-03-29 09:26:51.974 ***🔗
kate_send_private_groupchat_1377@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-03-29 09:26:51.975 ***🔗
kate_send_private_groupchat_1377@localhost/res1 out
<iq type='set' id='e18f47355e5527c0b9ee38df0778e284'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-29 09:26:51.976 ***🔗
kate_send_private_groupchat_1377@localhost/res1 in
<iq id='e18f47355e5527c0b9ee38df0778e284' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_send_private_groupchat_1377@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-29 09:26:51.977 ***🔗
kate_send_private_groupchat_1377@localhost/res1 out
<iq type='set' id='1229ba72f756569068a3f82e1904a0a3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-29 09:26:51.978 ***🔗
kate_send_private_groupchat_1377@localhost/res1 in
<iq from='localhost' to='kate_send_private_groupchat_1377@localhost/res1' id='1229ba72f756569068a3f82e1904a0a3' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-29 09:26:51.983 ***🔗
kate_send_private_groupchat_1377@localhost/res1 out
<presence/>



*** User 2024-03-29 09:26:51.984 ***🔗
kate_send_private_groupchat_1377@localhost/res1 in
<presence from='kate_send_private_groupchat_1377@localhost/res1' to='kate_send_private_groupchat_1377@localhost/res1'/>



*** User 2024-03-29 09:26:51.985 ***🔗
bob_send_private_groupchat_1377@localhost/res1 out
<presence to='room-alice_send_private_groupchat_1377@muc.localhost/bob_send_private_groupchat_1377'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-03-29 09:26:51.986 ***🔗
bob_send_private_groupchat_1377@localhost/res1 in
<presence from='room-alice_send_private_groupchat_1377@muc.localhost/bob_send_private_groupchat_1377' to='bob_send_private_groupchat_1377@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2024-03-29 09:26:51.986 ***🔗
bob_send_private_groupchat_1377@localhost/res1 in
<message from='room-alice_send_private_groupchat_1377@muc.localhost' to='bob_send_private_groupchat_1377@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-03-29 09:26:51.986 ***🔗
kate_send_private_groupchat_1377@localhost/res1 out
<presence to='room-alice_send_private_groupchat_1377@muc.localhost/kate_send_private_groupchat_1377'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-03-29 09:26:52.036 ***🔗
bob_send_private_groupchat_1377@localhost/res1 in
<presence from='room-alice_send_private_groupchat_1377@muc.localhost/kate_send_private_groupchat_1377' to='bob_send_private_groupchat_1377@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-03-29 09:26:52.036 ***🔗
kate_send_private_groupchat_1377@localhost/res1 in
<presence from='room-alice_send_private_groupchat_1377@muc.localhost/bob_send_private_groupchat_1377' to='kate_send_private_groupchat_1377@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2024-03-29 09:26:52.037 ***🔗
kate_send_private_groupchat_1377@localhost/res1 in
<presence from='room-alice_send_private_groupchat_1377@muc.localhost/kate_send_private_groupchat_1377' to='kate_send_private_groupchat_1377@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2024-03-29 09:26:52.037 ***🔗
kate_send_private_groupchat_1377@localhost/res1 in
<message from='room-alice_send_private_groupchat_1377@muc.localhost' to='kate_send_private_groupchat_1377@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-03-29 09:26:52.038 ***🔗
bob_send_private_groupchat_1377@localhost/res1 out
<message type='groupchat' to='room-alice_send_private_groupchat_1377@muc.localhost/kate_send_private_groupchat_1377'>
	<body>chat message</body>
</message>



*** User 2024-03-29 09:26:52.039 ***🔗
bob_send_private_groupchat_1377@localhost/res1 in
<message from='room-alice_send_private_groupchat_1377@muc.localhost/kate_send_private_groupchat_1377' to='bob_send_private_groupchat_1377@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-03-29 09:26:52.039 ***🔗
bob_send_private_groupchat_1377@localhost/res1 out
<message type='chat' to='room-alice_send_private_groupchat_1377@muc.localhost/non-existent'>
	<body>chat message</body>
</message>



*** User 2024-03-29 09:26:52.040 ***🔗
bob_send_private_groupchat_1377@localhost/res1 in
<message from='room-alice_send_private_groupchat_1377@muc.localhost/non-existent' to='bob_send_private_groupchat_1377@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-03-29 09:26:52.040 ***🔗
alice_send_private_groupchat_1377@localhost/res1 out
<message type='chat' to='room-alice_send_private_groupchat_1377@muc.localhost/bob_send_private_groupchat_1377'>
	<body>chat message</body>
</message>



*** User 2024-03-29 09:26:52.041 ***🔗
alice_send_private_groupchat_1377@localhost/res1 in
<message from='room-alice_send_private_groupchat_1377@muc.localhost/bob_send_private_groupchat_1377' to='alice_send_private_groupchat_1377@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-03-29 09:26:52.042 ***🔗
kate_send_private_groupchat_1377@localhost/res1 out
</stream:stream>

*** User 2024-03-29 09:26:52.042 ***🔗
kate_send_private_groupchat_1377@localhost/res1 in
</stream:stream>

*** User 2024-03-29 09:26:52.043 ***🔗
bob_send_private_groupchat_1377@localhost/res1 out
</stream:stream>

*** User 2024-03-29 09:26:52.044 ***🔗
bob_send_private_groupchat_1377@localhost/res1 in
</stream:stream>

*** User 2024-03-29 09:26:52.044 ***🔗
alice_send_private_groupchat_1377@localhost/res1 out
</stream:stream>

*** User 2024-03-29 09:26:52.044 ***🔗
alice_send_private_groupchat_1377@localhost/res1 in
</stream:stream>
*** CT 2024-03-29 09:26:52.101 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4322.html



=== Ended at 2024-03-29 09:26:52
=== successfully completed test case
=== === Returned value: ok