=== Test case: muc_SUITE:admin_unauthorized/1 (click for source code)
=== Config value:
[{watchdog,<0.32681.0>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
{preset,"ldap_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.muc_SUITE.logs/run.2022-03-03_10.34.58/muc_suite.admin_unauthorized.32259.html"},
{tc_group_properties,[{name,owner},{repeat_until_all_ok,3},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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.muc_SUITE.logs/run.2022-03-03_10.34.58/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_adhoc => [],mod_amp => [],mod_bosh => [],
mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
mod_carboncopy => [],mod_commands => [],
mod_disco => [{users_can_see_hidden_services,false}],
mod_muc_commands => [],mod_muc_light_commands => [],
mod_register =>
[{access,register},
{ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
{welcome_message,{[],[]}}],
mod_roster => [],mod_sic => [],mod_stream_management => [],
mod_vcard =>
[{backend,ldap},
{host,{prefix,<<"vjud.">>}},
{ldap_base,"ou=Users,dc=esl,dc=com"},
{ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}},
{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@12130b74fc81.2022-03-03_10.28.39"
=== Started at 2022-03-03 10:35:15
*** User 2022-03-03 10:35:15.769 ***
alicE_admin_unauthorized_895@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:35:15.770 ***
alicE_admin_unauthorized_895@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5178ac2de6aaec42' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:35:15.770 ***
alicE_admin_unauthorized_895@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:35:15.770 ***
alicE_admin_unauthorized_895@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkbWluX3VuYXV0aG9yaXplZF84OTUAbWF0eWdyeXNh</auth>
*** User 2022-03-03 10:35:15.773 ***
alicE_admin_unauthorized_895@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:35:15.773 ***
alicE_admin_unauthorized_895@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:35:15.774 ***
alicE_admin_unauthorized_895@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6a2c88d4c577ec8c' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:35:15.774 ***
alicE_admin_unauthorized_895@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:35:15.774 ***
alicE_admin_unauthorized_895@localhost/res1 out
<iq type='set' id='c1f05a57dfb13f4ccd0d22d57311ddf2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:35:15.774 ***
alicE_admin_unauthorized_895@localhost/res1 in
<iq id='c1f05a57dfb13f4ccd0d22d57311ddf2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_admin_unauthorized_895@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:35:15.775 ***
alicE_admin_unauthorized_895@localhost/res1 out
<iq type='set' id='bdcb6419b42e9f6caee9af27d0addf63'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:35:15.776 ***
alicE_admin_unauthorized_895@localhost/res1 in
<iq type='result' id='bdcb6419b42e9f6caee9af27d0addf63'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:35:15.776 ***
alicE_admin_unauthorized_895@localhost/res1 out
<presence/>
*** User 2022-03-03 10:35:15.777 ***
alicE_admin_unauthorized_895@localhost/res1 in
<presence from='alicE_admin_unauthorized_895@localhost/res1' to='alice_admin_unauthorized_895@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:35:15.779 ***
bOb_admin_unauthorized_895@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:35:15.782 ***
bOb_admin_unauthorized_895@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='80422dbd6771096e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:35:15.782 ***
bOb_admin_unauthorized_895@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:35:15.782 ***
bOb_admin_unauthorized_895@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZG1pbl91bmF1dGhvcml6ZWRfODk1AG1ha3JvbGlrYQ==</auth>
*** User 2022-03-03 10:35:15.787 ***
bOb_admin_unauthorized_895@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:35:15.787 ***
bOb_admin_unauthorized_895@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-03 10:35:15.788 ***
bOb_admin_unauthorized_895@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f3c0c0567acac397' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:35:15.788 ***
bOb_admin_unauthorized_895@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-03 10:35:15.788 ***
bOb_admin_unauthorized_895@localhost/res1 out
<iq type='set' id='ed0129f742a0d3be53452b8a1fcb876e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:35:15.789 ***
bOb_admin_unauthorized_895@localhost/res1 in
<iq id='ed0129f742a0d3be53452b8a1fcb876e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_admin_unauthorized_895@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:35:15.789 ***
bOb_admin_unauthorized_895@localhost/res1 out
<iq type='set' id='f9decef8450c964ecd360ccf1d316a5d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:35:15.790 ***
bOb_admin_unauthorized_895@localhost/res1 in
<iq type='result' id='f9decef8450c964ecd360ccf1d316a5d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:35:15.790 ***
bOb_admin_unauthorized_895@localhost/res1 out
<presence/>
*** User 2022-03-03 10:35:15.791 ***
bOb_admin_unauthorized_895@localhost/res1 in
<presence from='bOb_admin_unauthorized_895@localhost/res1' to='bob_admin_unauthorized_895@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:35:15.791 ***
bOb_admin_unauthorized_895@localhost/res1 out
<presence to='room-alice_admin_unauthorized_895@muc.localhost/bob'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-03-03 10:35:15.792 ***
bOb_admin_unauthorized_895@localhost/res1 in
<presence from='room-alice_admin_unauthorized_895@muc.localhost/bob' to='bOb_admin_unauthorized_895@localhost/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
<status code='110'/>
<status code='201'/>
</x>
</presence>
*** User 2022-03-03 10:35:15.793 ***
bOb_admin_unauthorized_895@localhost/res1 in
<message from='room-alice_admin_unauthorized_895@muc.localhost' to='bOb_admin_unauthorized_895@localhost/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-03-03 10:35:15.793 ***
bOb_admin_unauthorized_895@localhost/res1 out
<iq type='set' id='d7854964d823bcbf7b000ca1f94e8cfc' to='room-alice_admin_unauthorized_895@muc.localhost'>
<query xmlns='http://jabber.org/protocol/muc#admin'>
<item jid='bOb_admin_unauthorized_895@localhost' affiliation='admin'/>
</query>
</iq>
*** User 2022-03-03 10:35:15.794 ***
bOb_admin_unauthorized_895@localhost/res1 in
<iq from='room-alice_admin_unauthorized_895@muc.localhost' to='bOb_admin_unauthorized_895@localhost/res1' id='d7854964d823bcbf7b000ca1f94e8cfc' type='error'>
<query xmlns='http://jabber.org/protocol/muc#admin'>
<item jid='bOb_admin_unauthorized_895@localhost' affiliation='admin'/>
</query>
<error code='403' type='auth'>
<forbidden xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</iq>
*** User 2022-03-03 10:35:15.854 ***
bOb_admin_unauthorized_895@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:35:15.854 ***
bOb_admin_unauthorized_895@localhost/res1 in
</stream:stream>
*** User 2022-03-03 10:35:15.854 ***
alicE_admin_unauthorized_895@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:35:15.855 ***
alicE_admin_unauthorized_895@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-03 10:35:15
=== successfully completed test case
=== === Returned value: ok