=== Test case: muc_SUITE:send_private_groupchat/1 (click for source code)
=== Config value:
[{watchdog,<0.72567.0>},
{preset,"mysql_redis"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@2c59d25d4e46.2024-03-27_14.32.37/big_tests.tests.muc_SUITE.logs/run.2024-03-27_14.44.44/muc_suite.send_private_groupchat.113156.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@2c59d25d4e46.2024-03-27_14.32.37/big_tests.tests.muc_SUITE.logs/run.2024-03-27_14.44.44/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,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_presence => #{},
mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
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_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_carboncopy => #{iqdisc => no_queue},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false}}},
{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@2c59d25d4e46.2024-03-27_14.32.37"
=== Started at 2024-03-27 14:44:58
*** User 2024-03-27 14:44:58.298 ***🔗
alicE_send_private_groupchat_2686@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-27 14:44:58.299 ***🔗
alicE_send_private_groupchat_2686@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8e6536d0fbebcdfd' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-27 14:44:58.300 ***🔗
alicE_send_private_groupchat_2686@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-27 14:44:58.300 ***🔗
alicE_send_private_groupchat_2686@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NlbmRfcHJpdmF0ZV9ncm91cGNoYXRfMjY4NgBtYXR5Z3J5c2E=</auth>
*** User 2024-03-27 14:44:58.303 ***🔗
alicE_send_private_groupchat_2686@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-27 14:44:58.303 ***🔗
alicE_send_private_groupchat_2686@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-27 14:44:58.304 ***🔗
alicE_send_private_groupchat_2686@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='53ccb90ff18cf528' from='localhost' version='1.0' xml:lang='en' to='alice_send_private_groupchat_2686@localhost'>
*** User 2024-03-27 14:44:58.304 ***🔗
alicE_send_private_groupchat_2686@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-27 14:44:58.304 ***🔗
alicE_send_private_groupchat_2686@localhost/res1 out
<iq type='set' id='8ef2aa53437acbf82c2097b5041dbb13'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-27 14:44:58.304 ***🔗
alicE_send_private_groupchat_2686@localhost/res1 in
<iq id='8ef2aa53437acbf82c2097b5041dbb13' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_send_private_groupchat_2686@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-27 14:44:58.304 ***🔗
alice_send_private_groupchat_2686@localhost/res1 out
<iq type='set' id='df1b477840694bdce041391e6f361e9a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-27 14:44:58.306 ***🔗
alice_send_private_groupchat_2686@localhost/res1 in
<iq from='localhost' to='alice_send_private_groupchat_2686@localhost/res1' id='df1b477840694bdce041391e6f361e9a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-27 14:44:58.306 ***🔗
alice_send_private_groupchat_2686@localhost/res1 out
<presence/>
*** User 2024-03-27 14:44:58.376 ***🔗
alice_send_private_groupchat_2686@localhost/res1 in
<presence from='alice_send_private_groupchat_2686@localhost/res1' to='alice_send_private_groupchat_2686@localhost/res1'/>
*** User 2024-03-27 14:44:58.377 ***🔗
bOb_send_private_groupchat_2686@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-27 14:44:58.378 ***🔗
bOb_send_private_groupchat_2686@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5990ae51251b788a' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-27 14:44:58.378 ***🔗
bOb_send_private_groupchat_2686@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-27 14:44:58.378 ***🔗
bOb_send_private_groupchat_2686@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zZW5kX3ByaXZhdGVfZ3JvdXBjaGF0XzI2ODYAbWFrcm9saWth</auth>
*** User 2024-03-27 14:44:58.383 ***🔗
bOb_send_private_groupchat_2686@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-27 14:44:58.383 ***🔗
bOb_send_private_groupchat_2686@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-27 14:44:58.384 ***🔗
bOb_send_private_groupchat_2686@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c26314bd100c8b12' from='localhost' version='1.0' xml:lang='en' to='bob_send_private_groupchat_2686@localhost'>
*** User 2024-03-27 14:44:58.384 ***🔗
bOb_send_private_groupchat_2686@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-27 14:44:58.384 ***🔗
bOb_send_private_groupchat_2686@localhost/res1 out
<iq type='set' id='087e386927baa37cc29ae25a810805c4'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-27 14:44:58.384 ***🔗
bOb_send_private_groupchat_2686@localhost/res1 in
<iq id='087e386927baa37cc29ae25a810805c4' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_send_private_groupchat_2686@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-27 14:44:58.385 ***🔗
bob_send_private_groupchat_2686@localhost/res1 out
<iq type='set' id='560c996599be76d4fdd3a55f0e44cdc0'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-27 14:44:58.386 ***🔗
bob_send_private_groupchat_2686@localhost/res1 in
<iq from='localhost' to='bob_send_private_groupchat_2686@localhost/res1' id='560c996599be76d4fdd3a55f0e44cdc0' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-27 14:44:58.386 ***🔗
bob_send_private_groupchat_2686@localhost/res1 out
<presence/>
*** User 2024-03-27 14:44:58.391 ***🔗
bob_send_private_groupchat_2686@localhost/res1 in
<presence from='bob_send_private_groupchat_2686@localhost/res1' to='bob_send_private_groupchat_2686@localhost/res1'/>
*** User 2024-03-27 14:44:58.392 ***🔗
kate_send_private_groupchat_2686@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-27 14:44:58.393 ***🔗
kate_send_private_groupchat_2686@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1c2423688c7a0b08' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-27 14:44:58.394 ***🔗
kate_send_private_groupchat_2686@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-27 14:44:58.394 ***🔗
kate_send_private_groupchat_2686@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfc2VuZF9wcml2YXRlX2dyb3VwY2hhdF8yNjg2AG1ha3Jvd2U7cA==</auth>
*** User 2024-03-27 14:44:58.398 ***🔗
kate_send_private_groupchat_2686@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-27 14:44:58.398 ***🔗
kate_send_private_groupchat_2686@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-27 14:44:58.398 ***🔗
kate_send_private_groupchat_2686@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fea3772c6539ae6c' from='localhost' version='1.0' xml:lang='en' to='kate_send_private_groupchat_2686@localhost'>
*** User 2024-03-27 14:44:58.399 ***🔗
kate_send_private_groupchat_2686@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-27 14:44:58.399 ***🔗
kate_send_private_groupchat_2686@localhost/res1 out
<iq type='set' id='eba332d5a87c91cf887c4c907c263d16'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-27 14:44:58.399 ***🔗
kate_send_private_groupchat_2686@localhost/res1 in
<iq id='eba332d5a87c91cf887c4c907c263d16' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_send_private_groupchat_2686@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-27 14:44:58.399 ***🔗
kate_send_private_groupchat_2686@localhost/res1 out
<iq type='set' id='c7c1052c1381f2512f9f9011d054f28e'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-27 14:44:58.403 ***🔗
kate_send_private_groupchat_2686@localhost/res1 in
<iq from='localhost' to='kate_send_private_groupchat_2686@localhost/res1' id='c7c1052c1381f2512f9f9011d054f28e' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-27 14:44:58.404 ***🔗
kate_send_private_groupchat_2686@localhost/res1 out
<presence/>
*** User 2024-03-27 14:44:58.406 ***🔗
kate_send_private_groupchat_2686@localhost/res1 in
<presence from='kate_send_private_groupchat_2686@localhost/res1' to='kate_send_private_groupchat_2686@localhost/res1'/>
*** User 2024-03-27 14:44:58.406 ***🔗
bob_send_private_groupchat_2686@localhost/res1 out
<presence to='room-alice_send_private_groupchat_2686@muc.localhost/bob_send_private_groupchat_2686'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-03-27 14:44:58.409 ***🔗
bob_send_private_groupchat_2686@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2686@muc.localhost/bob_send_private_groupchat_2686' to='bob_send_private_groupchat_2686@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-27 14:44:58.409 ***🔗
bob_send_private_groupchat_2686@localhost/res1 in
<message from='room-alice_send_private_groupchat_2686@muc.localhost' to='bob_send_private_groupchat_2686@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2024-03-27 14:44:58.409 ***🔗
kate_send_private_groupchat_2686@localhost/res1 out
<presence to='room-alice_send_private_groupchat_2686@muc.localhost/kate_send_private_groupchat_2686'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-03-27 14:44:58.473 ***🔗
bob_send_private_groupchat_2686@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2686@muc.localhost/kate_send_private_groupchat_2686' to='bob_send_private_groupchat_2686@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2024-03-27 14:44:58.473 ***🔗
kate_send_private_groupchat_2686@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2686@muc.localhost/bob_send_private_groupchat_2686' to='kate_send_private_groupchat_2686@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2024-03-27 14:44:58.474 ***🔗
kate_send_private_groupchat_2686@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2686@muc.localhost/kate_send_private_groupchat_2686' to='kate_send_private_groupchat_2686@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
<status code='110'/>
</x>
</presence>
*** User 2024-03-27 14:44:58.474 ***🔗
kate_send_private_groupchat_2686@localhost/res1 in
<message from='room-alice_send_private_groupchat_2686@muc.localhost' to='kate_send_private_groupchat_2686@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2024-03-27 14:44:58.475 ***🔗
bob_send_private_groupchat_2686@localhost/res1 out
<message type='groupchat' to='room-alice_send_private_groupchat_2686@muc.localhost/kate_send_private_groupchat_2686'>
<body>chat message</body>
</message>
*** User 2024-03-27 14:44:58.476 ***🔗
bob_send_private_groupchat_2686@localhost/res1 in
<message from='room-alice_send_private_groupchat_2686@muc.localhost/kate_send_private_groupchat_2686' to='bob_send_private_groupchat_2686@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-27 14:44:58.476 ***🔗
bob_send_private_groupchat_2686@localhost/res1 out
<message type='chat' to='room-alice_send_private_groupchat_2686@muc.localhost/non-existent'>
<body>chat message</body>
</message>
*** User 2024-03-27 14:44:58.478 ***🔗
bob_send_private_groupchat_2686@localhost/res1 in
<message from='room-alice_send_private_groupchat_2686@muc.localhost/non-existent' to='bob_send_private_groupchat_2686@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-27 14:44:58.478 ***🔗
alice_send_private_groupchat_2686@localhost/res1 out
<message type='chat' to='room-alice_send_private_groupchat_2686@muc.localhost/bob_send_private_groupchat_2686'>
<body>chat message</body>
</message>
*** User 2024-03-27 14:44:58.479 ***🔗
alice_send_private_groupchat_2686@localhost/res1 in
<message from='room-alice_send_private_groupchat_2686@muc.localhost/bob_send_private_groupchat_2686' to='alice_send_private_groupchat_2686@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-27 14:44:58.480 ***🔗
kate_send_private_groupchat_2686@localhost/res1 out
</stream:stream>
*** User 2024-03-27 14:44:58.480 ***🔗
kate_send_private_groupchat_2686@localhost/res1 in
</stream:stream>
*** User 2024-03-27 14:44:58.480 ***🔗
bob_send_private_groupchat_2686@localhost/res1 out
</stream:stream>
*** User 2024-03-27 14:44:58.481 ***🔗
bob_send_private_groupchat_2686@localhost/res1 in
</stream:stream>
*** User 2024-03-27 14:44:58.481 ***🔗
alice_send_private_groupchat_2686@localhost/res1 out
</stream:stream>
*** User 2024-03-27 14:44:58.481 ***🔗
alice_send_private_groupchat_2686@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-27 14:44:58
=== successfully completed test case
=== === Returned value: ok