=== Test case: muc_SUITE:admin_grant_revoke_with_reason/1 (click for source code)

=== Config value:

    [{watchdog,<0.25220.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@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.muc_SUITE.logs/run.2022-05-18_10.06.04/muc_suite.admin_grant_revoke_with_reason.111747.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@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.muc_SUITE.logs/run.2022-05-18_10.06.04/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 => #{iqdisc => no_queue},
        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"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        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}}},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"makrowe;p">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a4fd8d8e9aae.2022-05-18_09.59.33"

=== Started at 2022-05-18 10:06:22


*** CT 2022-05-18 10:06:22.949 *** View log from node mongooseim@localhost when started mongooseim@localhost_2237.html
*** CT 2022-05-18 10:06:22.950 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_494.html

*** User 2022-05-18 10:06:23.069 ***
alicE_admin_grant_revoke_with_reason_1746@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-05-18 10:06:23.070 ***
alicE_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3a2dd67ab8d3a1f4' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:06:23.070 ***
alicE_admin_grant_revoke_with_reason_1746@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-05-18 10:06:23.071 ***
alicE_admin_grant_revoke_with_reason_1746@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkbWluX2dyYW50X3Jldm9rZV93aXRoX3JlYXNvbl8xNzQ2AG1hdHlncnlzYQ==</auth>



*** User 2022-05-18 10:06:23.072 ***
alicE_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:06:23.072 ***
alicE_admin_grant_revoke_with_reason_1746@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-05-18 10:06:23.072 ***
alicE_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='866c5ae389fc9726' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:06:23.072 ***
alicE_admin_grant_revoke_with_reason_1746@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-05-18 10:06:23.072 ***
alicE_admin_grant_revoke_with_reason_1746@domain.example.com/res1 out
<iq type='set' id='af058ce3186e675519f5aff568593c7c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:06:23.073 ***
alicE_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<iq id='af058ce3186e675519f5aff568593c7c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:06:23.073 ***
alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1 out
<iq type='set' id='62c5ce94c79693391c39b890fd14ed46'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:06:23.073 ***
alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<iq type='result' id='62c5ce94c79693391c39b890fd14ed46'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:06:23.074 ***
alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1 out
<presence/>



*** User 2022-05-18 10:06:23.075 ***
alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<presence from='alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1' to='alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-18 10:06:23.076 ***
bOb_admin_grant_revoke_with_reason_1746@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-05-18 10:06:23.077 ***
bOb_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eb04b987e28cbffc' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:06:23.077 ***
bOb_admin_grant_revoke_with_reason_1746@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-05-18 10:06:23.077 ***
bOb_admin_grant_revoke_with_reason_1746@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZG1pbl9ncmFudF9yZXZva2Vfd2l0aF9yZWFzb25fMTc0NgBtYWtyb2xpa2E=</auth>



*** User 2022-05-18 10:06:23.078 ***
bOb_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:06:23.078 ***
bOb_admin_grant_revoke_with_reason_1746@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-05-18 10:06:23.078 ***
bOb_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c9b469dafb4c65a5' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:06:23.078 ***
bOb_admin_grant_revoke_with_reason_1746@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-05-18 10:06:23.079 ***
bOb_admin_grant_revoke_with_reason_1746@domain.example.com/res1 out
<iq type='set' id='ad40995bcf4c1b209f829e7b22e693ae'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:06:23.079 ***
bOb_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<iq id='ad40995bcf4c1b209f829e7b22e693ae' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:06:23.079 ***
bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1 out
<iq type='set' id='785b519e3391a2112de70321bec3362c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:06:23.079 ***
bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<iq type='result' id='785b519e3391a2112de70321bec3362c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:06:23.080 ***
bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1 out
<presence/>



*** User 2022-05-18 10:06:23.081 ***
bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<presence from='bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1' to='bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-18 10:06:23.082 ***
kate_admin_grant_revoke_with_reason_1746@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-05-18 10:06:23.082 ***
kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8caf29deb74c3c53' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:06:23.082 ***
kate_admin_grant_revoke_with_reason_1746@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-05-18 10:06:23.082 ***
kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRtaW5fZ3JhbnRfcmV2b2tlX3dpdGhfcmVhc29uXzE3NDYAbWFrcm93ZTtw</auth>



*** User 2022-05-18 10:06:23.141 ***
kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:06:23.141 ***
kate_admin_grant_revoke_with_reason_1746@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-05-18 10:06:23.142 ***
kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ca29184b8ea51c67' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:06:23.142 ***
kate_admin_grant_revoke_with_reason_1746@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-05-18 10:06:23.142 ***
kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1 out
<iq type='set' id='448ee7090d844c4b1c37ce1accfd274e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:06:23.143 ***
kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<iq id='448ee7090d844c4b1c37ce1accfd274e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:06:23.143 ***
kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1 out
<iq type='set' id='dfa9ac25cf5228c131bc4521e35a5a3a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:06:23.144 ***
kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<iq type='result' id='dfa9ac25cf5228c131bc4521e35a5a3a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:06:23.144 ***
kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1 out
<presence/>



*** User 2022-05-18 10:06:23.145 ***
kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<presence from='kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1' to='kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-18 10:06:23.146 ***
alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1 out
<presence to='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com/alice'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-18 10:06:23.147 ***
alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<presence from='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com/alice' to='alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2022-05-18 10:06:23.147 ***
alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<message from='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com' to='alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-18 10:06:23.147 ***
bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1 out
<presence to='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com/bob'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-18 10:06:23.148 ***
bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<presence from='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com/alice' to='bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-05-18 10:06:23.148 ***
bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<presence from='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com/bob' to='bob_admin_grant_revoke_with_reason_1746@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-05-18 10:06:23.148 ***
bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<message from='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com' to='bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-18 10:06:23.149 ***
kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1 out
<presence to='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com/kate'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-05-18 10:06:23.150 ***
kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<presence from='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com/alice' to='kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-05-18 10:06:23.150 ***
kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<presence from='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com/bob' to='kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-18 10:06:23.150 ***
kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<presence from='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com/kate' to='kate_admin_grant_revoke_with_reason_1746@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-05-18 10:06:23.150 ***
kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<message from='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com' to='kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-05-18 10:06:23.150 ***
bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<presence from='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com/kate' to='bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-18 10:06:23.150 ***
alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<presence from='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com/bob' to='alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-18 10:06:23.150 ***
alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<presence from='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com/kate' to='alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-05-18 10:06:28.152 ***
alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1 out
<iq type='set' id='d70770df42715cc38e2cd88ef11159ce' to='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item jid='bob_admin_grant_revoke_with_reason_1746@domain.example.com' affiliation='admin'>
			<reason>He should be helpful</reason>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:06:28.153 ***
alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<presence from='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com/bob' to='alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1' affiliation='admin' role='moderator'>
			<reason>He should be helpful</reason>
		</item>
	</x>
</presence>



*** User 2022-05-18 10:06:28.155 ***
alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<iq from='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com' to='alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1' id='d70770df42715cc38e2cd88ef11159ce' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>



*** User 2022-05-18 10:06:28.156 ***
bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<presence from='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com/bob' to='bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1' affiliation='admin' role='moderator'>
			<reason>He should be helpful</reason>
		</item>
		<status code='110'/>
	</x>
</presence>



*** User 2022-05-18 10:06:28.156 ***
kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<presence from='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com/bob' to='kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='admin' role='moderator'>
			<reason>He should be helpful</reason>
		</item>
	</x>
</presence>



*** User 2022-05-18 10:06:28.156 ***
alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1 out
<iq type='set' id='613f3e25eb16501701b38a143a1795bf' to='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
		<item jid='bob_admin_grant_revoke_with_reason_1746@domain.example.com' affiliation='none'>
			<reason>Well, he wasn&apos;t</reason>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:06:28.157 ***
alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<presence from='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com/bob' to='alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1' affiliation='none' role='moderator'>
			<reason>Well, he wasn&apos;t</reason>
		</item>
	</x>
</presence>



*** User 2022-05-18 10:06:28.159 ***
alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<iq from='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com' to='alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1' id='613f3e25eb16501701b38a143a1795bf' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#admin'/>
</iq>



*** User 2022-05-18 10:06:28.159 ***
bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<presence from='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com/bob' to='bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1' affiliation='none' role='moderator'>
			<reason>Well, he wasn&apos;t</reason>
		</item>
		<status code='110'/>
	</x>
</presence>



*** User 2022-05-18 10:06:28.160 ***
kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
<presence from='room-alice_admin_grant_revoke_with_reason_1746@groupchats.domain.example.com/bob' to='kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='moderator'>
			<reason>Well, he wasn&apos;t</reason>
		</item>
	</x>
</presence>



*** User 2022-05-18 10:06:28.160 ***
kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-18 10:06:28.160 ***
kate_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-18 10:06:28.160 ***
bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-18 10:06:28.160 ***
bob_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-18 10:06:28.160 ***
alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-18 10:06:28.161 ***
alice_admin_grant_revoke_with_reason_1746@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-18 10:06:28.164 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_494.html
*** CT 2022-05-18 10:06:28.165 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2237.html



=== Ended at 2022-05-18 10:06:28
=== successfully completed test case
=== === Returned value: ok