=== Test case: muc_SUITE:send_private_groupchat/1 (click for source code)
=== Config value:
[{watchdog,<0.72566.0>},
{preset,"odbc_mssql_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@31d0bc574ce3.2024-04-23_06.27.08/big_tests.tests.muc_SUITE.logs/run.2024-04-23_06.41.18/muc_suite.send_private_groupchat.200578.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@31d0bc574ce3.2024-04-23_06.27.08/big_tests.tests.muc_SUITE.logs/run.2024-04-23_06.41.18/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_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_amp => #{},mod_presence => #{},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => 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_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@31d0bc574ce3.2024-04-23_06.27.08"
=== Started at 2024-04-23 06:41:32
*** User 2024-04-23 06:41:32.399 ***🔗
alicE_send_private_groupchat_2947@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 06:41:32.399 ***🔗
alicE_send_private_groupchat_2947@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c6118a7464d07b6c' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 06:41:32.400 ***🔗
alicE_send_private_groupchat_2947@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 06:41:32.400 ***🔗
alicE_send_private_groupchat_2947@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NlbmRfcHJpdmF0ZV9ncm91cGNoYXRfMjk0NwBtYXR5Z3J5c2E=</auth>
*** User 2024-04-23 06:41:32.402 ***🔗
alicE_send_private_groupchat_2947@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 06:41:32.402 ***🔗
alicE_send_private_groupchat_2947@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 06:41:32.403 ***🔗
alicE_send_private_groupchat_2947@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a5df433a830e80e9' from='localhost' version='1.0' xml:lang='en' to='alice_send_private_groupchat_2947@localhost'>
*** User 2024-04-23 06:41:32.403 ***🔗
alicE_send_private_groupchat_2947@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 06:41:32.403 ***🔗
alicE_send_private_groupchat_2947@localhost/res1 out
<iq type='set' id='5402808f978476d06d67b42f67ce7e99'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 06:41:32.404 ***🔗
alicE_send_private_groupchat_2947@localhost/res1 in
<iq id='5402808f978476d06d67b42f67ce7e99' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_send_private_groupchat_2947@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 06:41:32.405 ***🔗
alice_send_private_groupchat_2947@localhost/res1 out
<iq type='set' id='fd94fc4089eb30ebaa6672e46c2ddce4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 06:41:32.406 ***🔗
alice_send_private_groupchat_2947@localhost/res1 in
<iq from='localhost' to='alice_send_private_groupchat_2947@localhost/res1' id='fd94fc4089eb30ebaa6672e46c2ddce4' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 06:41:32.407 ***🔗
alice_send_private_groupchat_2947@localhost/res1 out
<presence/>
*** User 2024-04-23 06:41:32.411 ***🔗
alice_send_private_groupchat_2947@localhost/res1 in
<presence from='alice_send_private_groupchat_2947@localhost/res1' to='alice_send_private_groupchat_2947@localhost/res1'/>
*** User 2024-04-23 06:41:32.412 ***🔗
bOb_send_private_groupchat_2947@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 06:41:32.413 ***🔗
bOb_send_private_groupchat_2947@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e7e98cbdb68305b8' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 06:41:32.414 ***🔗
bOb_send_private_groupchat_2947@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 06:41:32.414 ***🔗
bOb_send_private_groupchat_2947@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zZW5kX3ByaXZhdGVfZ3JvdXBjaGF0XzI5NDcAbWFrcm9saWth</auth>
*** User 2024-04-23 06:41:32.416 ***🔗
bOb_send_private_groupchat_2947@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 06:41:32.416 ***🔗
bOb_send_private_groupchat_2947@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 06:41:32.417 ***🔗
bOb_send_private_groupchat_2947@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='835d56e000e5f450' from='localhost' version='1.0' xml:lang='en' to='bob_send_private_groupchat_2947@localhost'>
*** User 2024-04-23 06:41:32.417 ***🔗
bOb_send_private_groupchat_2947@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 06:41:32.418 ***🔗
bOb_send_private_groupchat_2947@localhost/res1 out
<iq type='set' id='80db39822e143d7f02be78c4575ecaf3'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 06:41:32.418 ***🔗
bOb_send_private_groupchat_2947@localhost/res1 in
<iq id='80db39822e143d7f02be78c4575ecaf3' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_send_private_groupchat_2947@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 06:41:32.419 ***🔗
bob_send_private_groupchat_2947@localhost/res1 out
<iq type='set' id='a1fec44a9ccddef51f7c227c90eddf45'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 06:41:32.420 ***🔗
bob_send_private_groupchat_2947@localhost/res1 in
<iq from='localhost' to='bob_send_private_groupchat_2947@localhost/res1' id='a1fec44a9ccddef51f7c227c90eddf45' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 06:41:32.421 ***🔗
bob_send_private_groupchat_2947@localhost/res1 out
<presence/>
*** User 2024-04-23 06:41:32.425 ***🔗
bob_send_private_groupchat_2947@localhost/res1 in
<presence from='bob_send_private_groupchat_2947@localhost/res1' to='bob_send_private_groupchat_2947@localhost/res1'/>
*** User 2024-04-23 06:41:32.490 ***🔗
kate_send_private_groupchat_2947@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 06:41:32.492 ***🔗
kate_send_private_groupchat_2947@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6aa7301f00d1635e' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 06:41:32.493 ***🔗
kate_send_private_groupchat_2947@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 06:41:32.493 ***🔗
kate_send_private_groupchat_2947@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfc2VuZF9wcml2YXRlX2dyb3VwY2hhdF8yOTQ3AG1ha3Jvd2U7cA==</auth>
*** User 2024-04-23 06:41:32.497 ***🔗
kate_send_private_groupchat_2947@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 06:41:32.497 ***🔗
kate_send_private_groupchat_2947@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 06:41:32.498 ***🔗
kate_send_private_groupchat_2947@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6a81dd512ea7c409' from='localhost' version='1.0' xml:lang='en' to='kate_send_private_groupchat_2947@localhost'>
*** User 2024-04-23 06:41:32.498 ***🔗
kate_send_private_groupchat_2947@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 06:41:32.499 ***🔗
kate_send_private_groupchat_2947@localhost/res1 out
<iq type='set' id='8cdcda9c80bf5c3f92c6d2a03730693d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 06:41:32.499 ***🔗
kate_send_private_groupchat_2947@localhost/res1 in
<iq id='8cdcda9c80bf5c3f92c6d2a03730693d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_send_private_groupchat_2947@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 06:41:32.500 ***🔗
kate_send_private_groupchat_2947@localhost/res1 out
<iq type='set' id='fa7e3cf161133f054eb3a69499d0274a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 06:41:32.501 ***🔗
kate_send_private_groupchat_2947@localhost/res1 in
<iq from='localhost' to='kate_send_private_groupchat_2947@localhost/res1' id='fa7e3cf161133f054eb3a69499d0274a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 06:41:32.502 ***🔗
kate_send_private_groupchat_2947@localhost/res1 out
<presence/>
*** User 2024-04-23 06:41:32.504 ***🔗
kate_send_private_groupchat_2947@localhost/res1 in
<presence from='kate_send_private_groupchat_2947@localhost/res1' to='kate_send_private_groupchat_2947@localhost/res1'/>
*** User 2024-04-23 06:41:32.504 ***🔗
bob_send_private_groupchat_2947@localhost/res1 out
<presence to='room-alice_send_private_groupchat_2947@muc.localhost/bob_send_private_groupchat_2947'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-04-23 06:41:32.507 ***🔗
bob_send_private_groupchat_2947@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2947@muc.localhost/bob_send_private_groupchat_2947' to='bob_send_private_groupchat_2947@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 06:41:32.507 ***🔗
bob_send_private_groupchat_2947@localhost/res1 in
<message from='room-alice_send_private_groupchat_2947@muc.localhost' to='bob_send_private_groupchat_2947@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2024-04-23 06:41:32.507 ***🔗
kate_send_private_groupchat_2947@localhost/res1 out
<presence to='room-alice_send_private_groupchat_2947@muc.localhost/kate_send_private_groupchat_2947'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-04-23 06:41:32.509 ***🔗
bob_send_private_groupchat_2947@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2947@muc.localhost/kate_send_private_groupchat_2947' to='bob_send_private_groupchat_2947@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2024-04-23 06:41:32.509 ***🔗
kate_send_private_groupchat_2947@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2947@muc.localhost/bob_send_private_groupchat_2947' to='kate_send_private_groupchat_2947@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2024-04-23 06:41:32.509 ***🔗
kate_send_private_groupchat_2947@localhost/res1 in
<presence from='room-alice_send_private_groupchat_2947@muc.localhost/kate_send_private_groupchat_2947' to='kate_send_private_groupchat_2947@localhost/res1'>
<x xmlns='http://jabber.org/protocol/muc'>
<item affiliation='none' role='participant'/>
<status code='110'/>
</x>
</presence>
*** User 2024-04-23 06:41:32.509 ***🔗
kate_send_private_groupchat_2947@localhost/res1 in
<message from='room-alice_send_private_groupchat_2947@muc.localhost' to='kate_send_private_groupchat_2947@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2024-04-23 06:41:32.509 ***🔗
bob_send_private_groupchat_2947@localhost/res1 out
<message type='groupchat' to='room-alice_send_private_groupchat_2947@muc.localhost/kate_send_private_groupchat_2947'>
<body>chat message</body>
</message>
*** User 2024-04-23 06:41:32.510 ***🔗
bob_send_private_groupchat_2947@localhost/res1 in
<message from='room-alice_send_private_groupchat_2947@muc.localhost/kate_send_private_groupchat_2947' to='bob_send_private_groupchat_2947@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 06:41:32.511 ***🔗
bob_send_private_groupchat_2947@localhost/res1 out
<message type='chat' to='room-alice_send_private_groupchat_2947@muc.localhost/non-existent'>
<body>chat message</body>
</message>
*** User 2024-04-23 06:41:32.512 ***🔗
bob_send_private_groupchat_2947@localhost/res1 in
<message from='room-alice_send_private_groupchat_2947@muc.localhost/non-existent' to='bob_send_private_groupchat_2947@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 06:41:32.512 ***🔗
alice_send_private_groupchat_2947@localhost/res1 out
<message type='chat' to='room-alice_send_private_groupchat_2947@muc.localhost/bob_send_private_groupchat_2947'>
<body>chat message</body>
</message>
*** User 2024-04-23 06:41:32.514 ***🔗
alice_send_private_groupchat_2947@localhost/res1 in
<message from='room-alice_send_private_groupchat_2947@muc.localhost/bob_send_private_groupchat_2947' to='alice_send_private_groupchat_2947@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 06:41:32.514 ***🔗
kate_send_private_groupchat_2947@localhost/res1 out
</stream:stream>
*** User 2024-04-23 06:41:32.515 ***🔗
kate_send_private_groupchat_2947@localhost/res1 in
</stream:stream>
*** User 2024-04-23 06:41:32.515 ***🔗
bob_send_private_groupchat_2947@localhost/res1 out
</stream:stream>
*** User 2024-04-23 06:41:32.515 ***🔗
bob_send_private_groupchat_2947@localhost/res1 in
</stream:stream>
*** User 2024-04-23 06:41:32.516 ***🔗
alice_send_private_groupchat_2947@localhost/res1 out
</stream:stream>
*** User 2024-04-23 06:41:32.516 ***🔗
alice_send_private_groupchat_2947@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-23 06:41:32
=== successfully completed test case
=== === Returned value: ok