=== Test case: muc_SUITE:configure_anonymous/1 (click for source code)
=== Config value:
[{watchdog,<0.73056.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@17a96e781220.2024-03-21_22.20.25/big_tests.tests.muc_SUITE.logs/run.2024-03-21_22.31.14/muc_suite.configure_anonymous.153091.html"},
{tc_group_properties,[{name,owner},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@17a96e781220.2024-03-21_22.20.25/big_tests.tests.muc_SUITE.logs/run.2024-03-21_22.31.14/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_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_presence => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
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_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@17a96e781220.2024-03-21_22.20.25"
=== Started at 2024-03-21 22:31:29
*** User 2024-03-21 22:31:30.096 ***🔗
alicE_configure_anonymous_2694@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-21 22:31:30.096 ***🔗
alicE_configure_anonymous_2694@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5cac8e2512945a7b' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-21 22:31:30.097 ***🔗
alicE_configure_anonymous_2694@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-21 22:31:30.097 ***🔗
alicE_configure_anonymous_2694@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NvbmZpZ3VyZV9hbm9ueW1vdXNfMjY5NABtYXR5Z3J5c2E=</auth>
*** User 2024-03-21 22:31:30.098 ***🔗
alicE_configure_anonymous_2694@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-21 22:31:30.098 ***🔗
alicE_configure_anonymous_2694@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-21 22:31:30.099 ***🔗
alicE_configure_anonymous_2694@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bb5f74e609d98b73' from='localhost' version='1.0' xml:lang='en' to='alice_configure_anonymous_2694@localhost'>
*** User 2024-03-21 22:31:30.099 ***🔗
alicE_configure_anonymous_2694@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-21 22:31:30.099 ***🔗
alicE_configure_anonymous_2694@localhost/res1 out
<iq type='set' id='2f2128fce7db62e4ef3583478afc9fda'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-21 22:31:30.100 ***🔗
alicE_configure_anonymous_2694@localhost/res1 in
<iq id='2f2128fce7db62e4ef3583478afc9fda' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_configure_anonymous_2694@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-21 22:31:30.100 ***🔗
alice_configure_anonymous_2694@localhost/res1 out
<iq type='set' id='2a12e4e138e4abf8b44462367dc0893c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 22:31:30.101 ***🔗
alice_configure_anonymous_2694@localhost/res1 in
<iq from='localhost' to='alice_configure_anonymous_2694@localhost/res1' id='2a12e4e138e4abf8b44462367dc0893c' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 22:31:30.101 ***🔗
alice_configure_anonymous_2694@localhost/res1 out
<presence/>
*** User 2024-03-21 22:31:30.103 ***🔗
alice_configure_anonymous_2694@localhost/res1 in
<presence from='alice_configure_anonymous_2694@localhost/res1' to='alice_configure_anonymous_2694@localhost/res1'/>
*** User 2024-03-21 22:31:30.104 ***🔗
bOb_configure_anonymous_2694@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-21 22:31:30.104 ***🔗
bOb_configure_anonymous_2694@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6003f2f5ac590358' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-21 22:31:30.104 ***🔗
bOb_configure_anonymous_2694@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-21 22:31:30.104 ***🔗
bOb_configure_anonymous_2694@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jb25maWd1cmVfYW5vbnltb3VzXzI2OTQAbWFrcm9saWth</auth>
*** User 2024-03-21 22:31:30.106 ***🔗
bOb_configure_anonymous_2694@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-21 22:31:30.106 ***🔗
bOb_configure_anonymous_2694@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-21 22:31:30.106 ***🔗
bOb_configure_anonymous_2694@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='709a3fa31599b510' from='localhost' version='1.0' xml:lang='en' to='bob_configure_anonymous_2694@localhost'>
*** User 2024-03-21 22:31:30.106 ***🔗
bOb_configure_anonymous_2694@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-21 22:31:30.106 ***🔗
bOb_configure_anonymous_2694@localhost/res1 out
<iq type='set' id='aa984c720b791a828b5296404df1842e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-21 22:31:30.107 ***🔗
bOb_configure_anonymous_2694@localhost/res1 in
<iq id='aa984c720b791a828b5296404df1842e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_configure_anonymous_2694@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-21 22:31:30.107 ***🔗
bob_configure_anonymous_2694@localhost/res1 out
<iq type='set' id='a8a15009ca8cb90458983bfa0389ae01'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 22:31:30.108 ***🔗
bob_configure_anonymous_2694@localhost/res1 in
<iq from='localhost' to='bob_configure_anonymous_2694@localhost/res1' id='a8a15009ca8cb90458983bfa0389ae01' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 22:31:30.108 ***🔗
bob_configure_anonymous_2694@localhost/res1 out
<presence/>
*** User 2024-03-21 22:31:30.110 ***🔗
bob_configure_anonymous_2694@localhost/res1 in
<presence from='bob_configure_anonymous_2694@localhost/res1' to='bob_configure_anonymous_2694@localhost/res1'/>
*** User 2024-03-21 22:31:30.110 ***🔗
bob_configure_anonymous_2694@localhost/res1 out
<presence to='room-alice_configure_anonymous_2694@muc.localhost/bob'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2024-03-21 22:31:30.112 ***🔗
bob_configure_anonymous_2694@localhost/res1 in
<presence from='room-alice_configure_anonymous_2694@muc.localhost/bob' to='bob_configure_anonymous_2694@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-21 22:31:30.112 ***🔗
bob_configure_anonymous_2694@localhost/res1 in
<message from='room-alice_configure_anonymous_2694@muc.localhost' to='bob_configure_anonymous_2694@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2024-03-21 22:31:30.112 ***🔗
alice_configure_anonymous_2694@localhost/res1 out
<iq type='get' id='8d4c85b5bf17fe2b1c9b1cd6e96881ba' to='room-alice_configure_anonymous_2694@muc.localhost'>
<query xmlns='http://jabber.org/protocol/muc#owner'/>
</iq>
*** User 2024-03-21 22:31:30.113 ***🔗
alice_configure_anonymous_2694@localhost/res1 in
<iq from='room-alice_configure_anonymous_2694@muc.localhost' to='alice_configure_anonymous_2694@localhost/res1' id='8d4c85b5bf17fe2b1c9b1cd6e96881ba' type='result'>
<query xmlns='http://jabber.org/protocol/muc#owner'>
<instructions>You need an x:data capable client to configure room</instructions>
<x xmlns='jabber:x:data' type='form'>
<title>Configuration of room room-alice_configure_anonymous_2694@muc.localhost</title>
<field type='hidden' var='FORM_TYPE'>
<value>http://jabber.org/protocol/muc#roomconfig</value>
</field>
<field label='Room title' type='text-single' var='muc#roomconfig_roomname'>
<value/>
</field>
<field label='Room description' type='text-single' var='muc#roomconfig_roomdesc'>
<value/>
</field>
<field label='Make room persistent' type='boolean' var='muc#roomconfig_persistentroom'>
<value>1</value>
</field>
<field label='Make room public searchable' type='boolean' var='muc#roomconfig_publicroom'>
<value>1</value>
</field>
<field label='Make participants list public' type='boolean' var='public_list'>
<value>1</value>
</field>
<field label='Make room password protected' type='boolean' var='muc#roomconfig_passwordprotectedroom'>
<value>0</value>
</field>
<field label='Password' type='text-private' var='muc#roomconfig_roomsecret'>
<value/>
</field>
<field label='Roles and affiliations that may retrieve member list' type='list-multi' var='muc#roomconfig_getmemberlist'>
<value>moderator</value>
<value>participant</value>
<value>visitor</value>
<option label='moderator'>
<value>moderator</value>
</option>
<option label='participant'>
<value>participant</value>
</option>
<option label='visitor'>
<value>visitor</value>
</option>
</field>
<field label='Maximum Number of Occupants' type='list-single' var='muc#roomconfig_maxusers'>
<value>200</value>
<option label='5'>
<value>5</value>
</option>
<option label='10'>
<value>10</value>
</option>
<option label='20'>
<value>20</value>
</option>
<option label='30'>
<value>30</value>
</option>
<option label='50'>
<value>50</value>
</option>
<option label='100'>
<value>100</value>
</option>
<option label='200'>
<value>200</value>
</option>
</field>
<field label='moderators only' type='list-single' var='muc#roomconfig_whois'>
<value>moderators</value>
<option label='moderators only'>
<value>moderators</value>
</option>
<option label='anyone'>
<value>anyone</value>
</option>
</field>
<field label='Make room members-only' type='boolean' var='muc#roomconfig_membersonly'>
<value>0</value>
</field>
<field label='Make room moderated' type='boolean' var='muc#roomconfig_moderatedroom'>
<value>1</value>
</field>
<field label='Default users as participants' type='boolean' var='members_by_default'>
<value>1</value>
</field>
<field label='Allow users to change the subject' type='boolean' var='muc#roomconfig_changesubject'>
<value>1</value>
</field>
<field label='Allow users to send private messages' type='boolean' var='allow_private_messages'>
<value>1</value>
</field>
<field label='Allow users to query other users' type='boolean' var='allow_query_users'>
<value>1</value>
</field>
<field label='Allow users to send invites' type='boolean' var='muc#roomconfig_allowinvites'>
<value>0</value>
</field>
<field label='Allow users to enter room with multiple sessions' type='boolean' var='muc#roomconfig_allowmultisessions'>
<value>0</value>
</field>
<field label='Allow visitors to send status text in presence updates' type='boolean' var='muc#roomconfig_allowvisitorstatus'>
<value>1</value>
</field>
<field label='Allow visitors to change nickname' type='boolean' var='muc#roomconfig_allowvisitornickchange'>
<value>1</value>
</field>
<field label='Enable logging' type='boolean' var='muc#roomconfig_enablelogging'>
<value>0</value>
</field>
</x>
</query>
</iq>
*** User 2024-03-21 22:31:30.113 ***🔗
alice_configure_anonymous_2694@localhost/res1 out
<iq type='set' id='b73179b2863a9bf3d022758b710f7753' to='room-alice_configure_anonymous_2694@muc.localhost'>
<query xmlns='http://jabber.org/protocol/muc#owner'>
<x xmlns='jabber:x:data' type='submit'>
<field type='hidden' var='FORM_TYPE'>
<value>http://jabber.org/protocol/muc#roomconfig</value>
</field>
<field type='list-single' var='muc#roomconfig_whois'>
<value>anyone</value>
</field>
</x>
</query>
</iq>
*** User 2024-03-21 22:31:30.117 ***🔗
alice_configure_anonymous_2694@localhost/res1 in
<iq from='room-alice_configure_anonymous_2694@muc.localhost' to='alice_configure_anonymous_2694@localhost/res1' id='b73179b2863a9bf3d022758b710f7753' type='result'>
<query xmlns='http://jabber.org/protocol/muc#owner'/>
</iq>
*** User 2024-03-21 22:31:30.117 ***🔗
bob_configure_anonymous_2694@localhost/res1 in
<message from='room-alice_configure_anonymous_2694@muc.localhost' to='bob_configure_anonymous_2694@localhost/res1' type='groupchat'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<status code='172'/>
</x>
</message>
*** User 2024-03-21 22:31:30.117 ***🔗
alice_configure_anonymous_2694@localhost/res1 out
<iq type='get' id='2d0ffdc5b4378b8f68c38afa9b9757d0' to='room-alice_configure_anonymous_2694@muc.localhost'>
<query xmlns='http://jabber.org/protocol/muc#owner'/>
</iq>
*** User 2024-03-21 22:31:30.119 ***🔗
alice_configure_anonymous_2694@localhost/res1 in
<iq from='room-alice_configure_anonymous_2694@muc.localhost' to='alice_configure_anonymous_2694@localhost/res1' id='2d0ffdc5b4378b8f68c38afa9b9757d0' type='result'>
<query xmlns='http://jabber.org/protocol/muc#owner'>
<instructions>You need an x:data capable client to configure room</instructions>
<x xmlns='jabber:x:data' type='form'>
<title>Configuration of room room-alice_configure_anonymous_2694@muc.localhost</title>
<field type='hidden' var='FORM_TYPE'>
<value>http://jabber.org/protocol/muc#roomconfig</value>
</field>
<field label='Room title' type='text-single' var='muc#roomconfig_roomname'>
<value/>
</field>
<field label='Room description' type='text-single' var='muc#roomconfig_roomdesc'>
<value/>
</field>
<field label='Make room persistent' type='boolean' var='muc#roomconfig_persistentroom'>
<value>1</value>
</field>
<field label='Make room public searchable' type='boolean' var='muc#roomconfig_publicroom'>
<value>1</value>
</field>
<field label='Make participants list public' type='boolean' var='public_list'>
<value>1</value>
</field>
<field label='Make room password protected' type='boolean' var='muc#roomconfig_passwordprotectedroom'>
<value>0</value>
</field>
<field label='Password' type='text-private' var='muc#roomconfig_roomsecret'>
<value/>
</field>
<field label='Roles and affiliations that may retrieve member list' type='list-multi' var='muc#roomconfig_getmemberlist'>
<value>moderator</value>
<value>participant</value>
<value>visitor</value>
<option label='moderator'>
<value>moderator</value>
</option>
<option label='participant'>
<value>participant</value>
</option>
<option label='visitor'>
<value>visitor</value>
</option>
</field>
<field label='Maximum Number of Occupants' type='list-single' var='muc#roomconfig_maxusers'>
<value>200</value>
<option label='5'>
<value>5</value>
</option>
<option label='10'>
<value>10</value>
</option>
<option label='20'>
<value>20</value>
</option>
<option label='30'>
<value>30</value>
</option>
<option label='50'>
<value>50</value>
</option>
<option label='100'>
<value>100</value>
</option>
<option label='200'>
<value>200</value>
</option>
</field>
<field label='moderators only' type='list-single' var='muc#roomconfig_whois'>
<value>anyone</value>
<option label='moderators only'>
<value>moderators</value>
</option>
<option label='anyone'>
<value>anyone</value>
</option>
</field>
<field label='Make room members-only' type='boolean' var='muc#roomconfig_membersonly'>
<value>0</value>
</field>
<field label='Make room moderated' type='boolean' var='muc#roomconfig_moderatedroom'>
<value>1</value>
</field>
<field label='Default users as participants' type='boolean' var='members_by_default'>
<value>1</value>
</field>
<field label='Allow users to change the subject' type='boolean' var='muc#roomconfig_changesubject'>
<value>1</value>
</field>
<field label='Allow users to send private messages' type='boolean' var='allow_private_messages'>
<value>1</value>
</field>
<field label='Allow users to query other users' type='boolean' var='allow_query_users'>
<value>1</value>
</field>
<field label='Allow users to send invites' type='boolean' var='muc#roomconfig_allowinvites'>
<value>0</value>
</field>
<field label='Allow users to enter room with multiple sessions' type='boolean' var='muc#roomconfig_allowmultisessions'>
<value>0</value>
</field>
<field label='Allow visitors to send status text in presence updates' type='boolean' var='muc#roomconfig_allowvisitorstatus'>
<value>1</value>
</field>
<field label='Allow visitors to change nickname' type='boolean' var='muc#roomconfig_allowvisitornickchange'>
<value>1</value>
</field>
<field label='Enable logging' type='boolean' var='muc#roomconfig_enablelogging'>
<value>0</value>
</field>
</x>
</query>
</iq>
*** User 2024-03-21 22:31:30.119 ***🔗
alice_configure_anonymous_2694@localhost/res1 out
<iq type='set' id='67682de25be4045a432f2234287d438a' to='room-alice_configure_anonymous_2694@muc.localhost'>
<query xmlns='http://jabber.org/protocol/muc#owner'>
<x xmlns='jabber:x:data' type='submit'>
<field type='hidden' var='FORM_TYPE'>
<value>http://jabber.org/protocol/muc#roomconfig</value>
</field>
<field type='list-single' var='muc#roomconfig_whois'>
<value>moderators</value>
</field>
</x>
</query>
</iq>
*** User 2024-03-21 22:31:30.181 ***🔗
alice_configure_anonymous_2694@localhost/res1 in
<iq from='room-alice_configure_anonymous_2694@muc.localhost' to='alice_configure_anonymous_2694@localhost/res1' id='67682de25be4045a432f2234287d438a' type='result'>
<query xmlns='http://jabber.org/protocol/muc#owner'/>
</iq>
*** User 2024-03-21 22:31:30.181 ***🔗
bob_configure_anonymous_2694@localhost/res1 in
<message from='room-alice_configure_anonymous_2694@muc.localhost' to='bob_configure_anonymous_2694@localhost/res1' type='groupchat'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<status code='173'/>
</x>
</message>
*** User 2024-03-21 22:31:30.181 ***🔗
bob_configure_anonymous_2694@localhost/res1 out
</stream:stream>
*** User 2024-03-21 22:31:30.181 ***🔗
bob_configure_anonymous_2694@localhost/res1 in
</stream:stream>
*** User 2024-03-21 22:31:30.181 ***🔗
alice_configure_anonymous_2694@localhost/res1 out
</stream:stream>
*** User 2024-03-21 22:31:30.182 ***🔗
alice_configure_anonymous_2694@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-21 22:31:30
=== successfully completed test case
=== === Returned value: ok