=== Test case: muc_SUITE:admin_ban/1 (click for source code)
=== Config value:
[{watchdog,<0.20502.1>},
{mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
{preset,"pgsql_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.muc_SUITE.logs/run.2022-03-18_10.56.17/muc_suite.admin_ban.94851.html"},
{tc_group_properties,[{name,admin},{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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.muc_SUITE.logs/run.2022-03-18_10.56.17/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_amp => [],
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users =>
#{number_of_segments => 5,strategy => fifo,time_to_live => 2},
mod_carboncopy => [],mod_commands => [],
mod_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
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 =>
#{backend => rdbms,iqdisc => one_queue,store_current_id => false,
versioning => false},
mod_sic => #{iqdisc => one_queue},
mod_stream_management =>
#{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
buffer_max => 100,resume_timeout => 600,
stale_h =>
#{enabled => false,geriatric => 3600,repeat_after => 1800}},
mod_vcard =>
#{backend => rdbms,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,matches => 30,search => true}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a072b68d2bee.2022-03-18_10.50.04"
=== Started at 2022-03-18 10:56:24
*** User 2022-03-18 10:56:24.103 ***
alicE_admin_ban_1768@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-18 10:56:24.104 ***
alicE_admin_ban_1768@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='effb8c5f9ddc6a05' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:56:24.104 ***
alicE_admin_ban_1768@domain.example.com/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>SCRAM-SHA-256</mechanism>
<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-18 10:56:24.104 ***
alicE_admin_ban_1768@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkbWluX2Jhbl8xNzY4AG1hdHlncnlzYQ==</auth>
*** User 2022-03-18 10:56:24.106 ***
alicE_admin_ban_1768@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-18 10:56:24.106 ***
alicE_admin_ban_1768@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-18 10:56:24.106 ***
alicE_admin_ban_1768@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2657768ab8398426' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:56:24.106 ***
alicE_admin_ban_1768@domain.example.com/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-18 10:56:24.106 ***
alicE_admin_ban_1768@domain.example.com/res1 out
<iq type='set' id='22ee781ee2407e6e991b27c2b8feb9e7'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-18 10:56:24.107 ***
alicE_admin_ban_1768@domain.example.com/res1 in
<iq id='22ee781ee2407e6e991b27c2b8feb9e7' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_admin_ban_1768@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-03-18 10:56:24.107 ***
alicE_admin_ban_1768@domain.example.com/res1 out
<iq type='set' id='5de7e9b94b210404f039477381e0bf4a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:56:24.107 ***
alicE_admin_ban_1768@domain.example.com/res1 in
<iq type='result' id='5de7e9b94b210404f039477381e0bf4a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:56:24.107 ***
alicE_admin_ban_1768@domain.example.com/res1 out
<presence/>
*** User 2022-03-18 10:56:24.109 ***
alicE_admin_ban_1768@domain.example.com/res1 in
<presence from='alicE_admin_ban_1768@domain.example.com/res1' to='alice_admin_ban_1768@domain.example.com/res1' xml:lang='en'/>
*** User 2022-03-18 10:56:24.109 ***
bOb_admin_ban_1768@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-18 10:56:24.110 ***
bOb_admin_ban_1768@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5658605933b99cbf' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:56:24.110 ***
bOb_admin_ban_1768@domain.example.com/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>SCRAM-SHA-256</mechanism>
<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-18 10:56:24.110 ***
bOb_admin_ban_1768@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZG1pbl9iYW5fMTc2OABtYWtyb2xpa2E=</auth>
*** User 2022-03-18 10:56:24.111 ***
bOb_admin_ban_1768@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-18 10:56:24.111 ***
bOb_admin_ban_1768@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-18 10:56:24.112 ***
bOb_admin_ban_1768@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e107170c11c3f2ee' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:56:24.112 ***
bOb_admin_ban_1768@domain.example.com/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-18 10:56:24.112 ***
bOb_admin_ban_1768@domain.example.com/res1 out
<iq type='set' id='690af8eaac100163d26a530913c2616a'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-18 10:56:24.112 ***
bOb_admin_ban_1768@domain.example.com/res1 in
<iq id='690af8eaac100163d26a530913c2616a' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_admin_ban_1768@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-03-18 10:56:24.112 ***
bOb_admin_ban_1768@domain.example.com/res1 out
<iq type='set' id='f572567cc0bb5272a86b4ff955158868'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:56:24.112 ***
bOb_admin_ban_1768@domain.example.com/res1 in
<iq type='result' id='f572567cc0bb5272a86b4ff955158868'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:56:24.112 ***
bOb_admin_ban_1768@domain.example.com/res1 out
<presence/>
*** User 2022-03-18 10:56:24.114 ***
bOb_admin_ban_1768@domain.example.com/res1 in
<presence from='bOb_admin_ban_1768@domain.example.com/res1' to='bob_admin_ban_1768@domain.example.com/res1' xml:lang='en'/>
*** User 2022-03-18 10:56:24.114 ***
kate_admin_ban_1768@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-18 10:56:24.115 ***
kate_admin_ban_1768@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5cea0d2a7a259e1c' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:56:24.115 ***
kate_admin_ban_1768@domain.example.com/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>SCRAM-SHA-256</mechanism>
<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-18 10:56:24.115 ***
kate_admin_ban_1768@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRtaW5fYmFuXzE3NjgAbWFrcm93ZTtw</auth>
*** User 2022-03-18 10:56:24.116 ***
kate_admin_ban_1768@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-18 10:56:24.116 ***
kate_admin_ban_1768@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-18 10:56:24.116 ***
kate_admin_ban_1768@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5575a4050f479cfd' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-18 10:56:24.116 ***
kate_admin_ban_1768@domain.example.com/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-18 10:56:24.116 ***
kate_admin_ban_1768@domain.example.com/res1 out
<iq type='set' id='1037fa995cbb1b12ba10c25ca89ed1e5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-18 10:56:24.117 ***
kate_admin_ban_1768@domain.example.com/res1 in
<iq id='1037fa995cbb1b12ba10c25ca89ed1e5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_admin_ban_1768@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2022-03-18 10:56:24.117 ***
kate_admin_ban_1768@domain.example.com/res1 out
<iq type='set' id='c625dc7bacf94a6b6d5952ea9fa6f129'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:56:24.117 ***
kate_admin_ban_1768@domain.example.com/res1 in
<iq type='result' id='c625dc7bacf94a6b6d5952ea9fa6f129'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-18 10:56:24.117 ***
kate_admin_ban_1768@domain.example.com/res1 out
<presence/>
*** User 2022-03-18 10:56:24.119 ***
kate_admin_ban_1768@domain.example.com/res1 in
<presence from='kate_admin_ban_1768@domain.example.com/res1' to='kate_admin_ban_1768@domain.example.com/res1' xml:lang='en'/>
*** User 2022-03-18 10:56:24.119 ***
bOb_admin_ban_1768@domain.example.com/res1 out
<presence to='room-alice_admin_ban_1768@groupchats.domain.example.com/bob'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-03-18 10:56:24.120 ***
bOb_admin_ban_1768@domain.example.com/res1 in
<presence from='room-alice_admin_ban_1768@groupchats.domain.example.com/bob' to='bOb_admin_ban_1768@domain.example.com/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-18 10:56:24.120 ***
bOb_admin_ban_1768@domain.example.com/res1 in
<message from='room-alice_admin_ban_1768@groupchats.domain.example.com' to='bOb_admin_ban_1768@domain.example.com/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-03-18 10:56:24.120 ***
kate_admin_ban_1768@domain.example.com/res1 out
<presence to='room-alice_admin_ban_1768@groupchats.domain.example.com/kate'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
*** User 2022-03-18 10:56:24.121 ***
kate_admin_ban_1768@domain.example.com/res1 in
<presence from='room-alice_admin_ban_1768@groupchats.domain.example.com/bob' to='kate_admin_ban_1768@domain.example.com/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2022-03-18 10:56:24.121 ***
kate_admin_ban_1768@domain.example.com/res1 in
<presence from='room-alice_admin_ban_1768@groupchats.domain.example.com/kate' to='kate_admin_ban_1768@domain.example.com/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
<status code='110'/>
</x>
</presence>
*** User 2022-03-18 10:56:24.121 ***
kate_admin_ban_1768@domain.example.com/res1 in
<message from='room-alice_admin_ban_1768@groupchats.domain.example.com' to='kate_admin_ban_1768@domain.example.com/res1' type='groupchat'>
<subject/>
<body/>
</message>
*** User 2022-03-18 10:56:24.122 ***
bOb_admin_ban_1768@domain.example.com/res1 in
<presence from='room-alice_admin_ban_1768@groupchats.domain.example.com/kate' to='bOb_admin_ban_1768@domain.example.com/res1' xml:lang='en'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='none' role='participant'/>
</x>
</presence>
*** User 2022-03-18 10:56:24.122 ***
alicE_admin_ban_1768@domain.example.com/res1 out
<iq type='set' id='2f27bf48270c14084a0d276abb80250f' to='room-alice_admin_ban_1768@groupchats.domain.example.com'>
<query xmlns='http://jabber.org/protocol/muc#admin'>
<item jid='bOb_admin_ban_1768@domain.example.com' affiliation='outcast'/>
</query>
</iq>
*** User 2022-03-18 10:56:24.126 ***
alicE_admin_ban_1768@domain.example.com/res1 in
<iq from='room-alice_admin_ban_1768@groupchats.domain.example.com' to='alicE_admin_ban_1768@domain.example.com/res1' id='2f27bf48270c14084a0d276abb80250f' type='result'>
<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>
*** User 2022-03-18 10:56:24.126 ***
bOb_admin_ban_1768@domain.example.com/res1 in
<presence from='room-alice_admin_ban_1768@groupchats.domain.example.com/bob' to='bOb_admin_ban_1768@domain.example.com/res1' type='unavailable'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='outcast' role='none'/>
<status code='301'/>
</x>
</presence>
*** User 2022-03-18 10:56:24.127 ***
kate_admin_ban_1768@domain.example.com/res1 in
<presence from='room-alice_admin_ban_1768@groupchats.domain.example.com/bob' to='kate_admin_ban_1768@domain.example.com/res1' type='unavailable'>
<x xmlns='http://jabber.org/protocol/muc#user'>
<item affiliation='outcast' role='none'/>
<status code='301'/>
</x>
</presence>
*** User 2022-03-18 10:56:24.127 ***
kate_admin_ban_1768@domain.example.com/res1 out
</stream:stream>
*** User 2022-03-18 10:56:24.127 ***
kate_admin_ban_1768@domain.example.com/res1 in
</stream:stream>
*** User 2022-03-18 10:56:24.128 ***
bOb_admin_ban_1768@domain.example.com/res1 out
</stream:stream>
*** User 2022-03-18 10:56:24.128 ***
bOb_admin_ban_1768@domain.example.com/res1 in
</stream:stream>
*** User 2022-03-18 10:56:24.128 ***
alicE_admin_ban_1768@domain.example.com/res1 out
</stream:stream>
*** User 2022-03-18 10:56:24.129 ***
alicE_admin_ban_1768@domain.example.com/res1 in
</stream:stream>
=== Ended at 2022-03-18 10:56:24
=== successfully completed test case
=== === Returned value: ok