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

=== Config value:

    [{watchdog,<0.65879.0>},
     {preset,"pgsql_cets"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@161748d34ba8.2024-03-20_18.07.19/big_tests.tests.muc_SUITE.logs/run.2024-03-20_18.18.00/muc_suite.mediated_invite.86660.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@161748d34ba8.2024-03-20_18.07.19/big_tests.tests.muc_SUITE.logs/run.2024-03-20_18.18.00/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,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_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => cets,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,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 => cets,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@161748d34ba8.2024-03-20_18.07.19"

=== Started at 2024-03-20 18:18:14


*** CT 2024-03-20 18:18:14.362 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5141.html

*** User 2024-03-20 18:18:14.479 ***🔗
alicE_mediated_invite_2519@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-20 18:18:14.479 ***🔗
alicE_mediated_invite_2519@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8fcd0131410e52a3' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-20 18:18:14.480 ***🔗
alicE_mediated_invite_2519@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-20 18:18:14.480 ***🔗
alicE_mediated_invite_2519@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21lZGlhdGVkX2ludml0ZV8yNTE5AG1hdHlncnlzYQ==</auth>



*** User 2024-03-20 18:18:14.483 ***🔗
alicE_mediated_invite_2519@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-20 18:18:14.483 ***🔗
alicE_mediated_invite_2519@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-20 18:18:14.483 ***🔗
alicE_mediated_invite_2519@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b0c52e2323fffdc8' from='localhost' version='1.0' xml:lang='en' to='alice_mediated_invite_2519@localhost'>

*** User 2024-03-20 18:18:14.484 ***🔗
alicE_mediated_invite_2519@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-20 18:18:14.484 ***🔗
alicE_mediated_invite_2519@localhost/res1 out
<iq type='set' id='b1ceee3b9e8124131e05d19175e0c454'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-20 18:18:14.485 ***🔗
alicE_mediated_invite_2519@localhost/res1 in
<iq id='b1ceee3b9e8124131e05d19175e0c454' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_mediated_invite_2519@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-20 18:18:14.485 ***🔗
alice_mediated_invite_2519@localhost/res1 out
<iq type='set' id='99aa933aa7ca532cb6a0132055dd2694'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:18:14.487 ***🔗
alice_mediated_invite_2519@localhost/res1 in
<iq from='localhost' to='alice_mediated_invite_2519@localhost/res1' id='99aa933aa7ca532cb6a0132055dd2694' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:18:14.487 ***🔗
alice_mediated_invite_2519@localhost/res1 out
<presence/>



*** User 2024-03-20 18:18:14.491 ***🔗
alice_mediated_invite_2519@localhost/res1 in
<presence from='alice_mediated_invite_2519@localhost/res1' to='alice_mediated_invite_2519@localhost/res1'/>



*** User 2024-03-20 18:18:14.554 ***🔗
bOb_mediated_invite_2519@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-20 18:18:14.556 ***🔗
bOb_mediated_invite_2519@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='af8977f31a37e004' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-20 18:18:14.556 ***🔗
bOb_mediated_invite_2519@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-20 18:18:14.556 ***🔗
bOb_mediated_invite_2519@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tZWRpYXRlZF9pbnZpdGVfMjUxOQBtYWtyb2xpa2E=</auth>



*** User 2024-03-20 18:18:14.559 ***🔗
bOb_mediated_invite_2519@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-20 18:18:14.559 ***🔗
bOb_mediated_invite_2519@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-20 18:18:14.560 ***🔗
bOb_mediated_invite_2519@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0af47cc6271282eb' from='localhost' version='1.0' xml:lang='en' to='bob_mediated_invite_2519@localhost'>

*** User 2024-03-20 18:18:14.561 ***🔗
bOb_mediated_invite_2519@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-20 18:18:14.561 ***🔗
bOb_mediated_invite_2519@localhost/res1 out
<iq type='set' id='68c6168768a14814256dc9281a2b670b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-20 18:18:14.561 ***🔗
bOb_mediated_invite_2519@localhost/res1 in
<iq id='68c6168768a14814256dc9281a2b670b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_mediated_invite_2519@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-20 18:18:14.562 ***🔗
bob_mediated_invite_2519@localhost/res1 out
<iq type='set' id='793bf83c87d06a9ae5a01bd59e4ab6bf'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:18:14.563 ***🔗
bob_mediated_invite_2519@localhost/res1 in
<iq from='localhost' to='bob_mediated_invite_2519@localhost/res1' id='793bf83c87d06a9ae5a01bd59e4ab6bf' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:18:14.563 ***🔗
bob_mediated_invite_2519@localhost/res1 out
<presence/>



*** User 2024-03-20 18:18:14.566 ***🔗
bob_mediated_invite_2519@localhost/res1 in
<presence from='bob_mediated_invite_2519@localhost/res1' to='bob_mediated_invite_2519@localhost/res1'/>



*** User 2024-03-20 18:18:14.567 ***🔗
kate_mediated_invite_2519@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-20 18:18:14.568 ***🔗
kate_mediated_invite_2519@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cf1576d184d6aa38' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-20 18:18:14.569 ***🔗
kate_mediated_invite_2519@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-20 18:18:14.569 ***🔗
kate_mediated_invite_2519@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfbWVkaWF0ZWRfaW52aXRlXzI1MTkAbWFrcm93ZTtw</auth>



*** User 2024-03-20 18:18:14.572 ***🔗
kate_mediated_invite_2519@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-20 18:18:14.572 ***🔗
kate_mediated_invite_2519@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-20 18:18:14.572 ***🔗
kate_mediated_invite_2519@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='67dbe8d7344db3d0' from='localhost' version='1.0' xml:lang='en' to='kate_mediated_invite_2519@localhost'>

*** User 2024-03-20 18:18:14.572 ***🔗
kate_mediated_invite_2519@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-20 18:18:14.572 ***🔗
kate_mediated_invite_2519@localhost/res1 out
<iq type='set' id='363fadb1214e360979af3c87f64fa769'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-20 18:18:14.573 ***🔗
kate_mediated_invite_2519@localhost/res1 in
<iq id='363fadb1214e360979af3c87f64fa769' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_mediated_invite_2519@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-20 18:18:14.573 ***🔗
kate_mediated_invite_2519@localhost/res1 out
<iq type='set' id='5c2c31a43e6e21f19131a73b58bcb77b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:18:14.575 ***🔗
kate_mediated_invite_2519@localhost/res1 in
<iq from='localhost' to='kate_mediated_invite_2519@localhost/res1' id='5c2c31a43e6e21f19131a73b58bcb77b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:18:14.575 ***🔗
kate_mediated_invite_2519@localhost/res1 out
<presence/>



*** User 2024-03-20 18:18:14.578 ***🔗
kate_mediated_invite_2519@localhost/res1 in
<presence from='kate_mediated_invite_2519@localhost/res1' to='kate_mediated_invite_2519@localhost/res1'/>



*** User 2024-03-20 18:18:14.578 ***🔗
alice_mediated_invite_2519@localhost/res1 out
<presence to='room-alice_mediated_invite_2519@muc.localhost/alice_mediated_invite_2519'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2024-03-20 18:18:14.580 ***🔗
alice_mediated_invite_2519@localhost/res1 in
<presence from='room-alice_mediated_invite_2519@muc.localhost/alice_mediated_invite_2519' to='alice_mediated_invite_2519@localhost/res1'>
	<x xmlns='http://jabber.org/protocol/muc'>
		<item jid='alice_mediated_invite_2519@localhost/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2024-03-20 18:18:14.580 ***🔗
alice_mediated_invite_2519@localhost/res1 in
<message from='room-alice_mediated_invite_2519@muc.localhost' to='alice_mediated_invite_2519@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2024-03-20 18:18:14.580 ***🔗
alice_mediated_invite_2519@localhost/res1 out
<message to='room-alice_mediated_invite_2519@muc.localhost'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<invite to='bob_mediated_invite_2519@localhost'/>
	</x>
</message>



*** User 2024-03-20 18:18:14.580 ***🔗
alice_mediated_invite_2519@localhost/res1 out
<message to='room-alice_mediated_invite_2519@muc.localhost'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<invite to='kate_mediated_invite_2519@localhost'/>
	</x>
</message>



*** User 2024-03-20 18:18:14.581 ***🔗
bob_mediated_invite_2519@localhost/res1 in
<message from='room-alice_mediated_invite_2519@muc.localhost' to='bob_mediated_invite_2519@localhost' type='normal'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<invite from='alice_mediated_invite_2519@localhost/res1'>
			<reason/>
		</invite>
	</x>
	<body>alice_mediated_invite_2519@localhost/res1 invites you to the room room-alice_mediated_invite_2519@muc.localhost</body>
</message>



*** User 2024-03-20 18:18:14.581 ***🔗
kate_mediated_invite_2519@localhost/res1 in
<message from='room-alice_mediated_invite_2519@muc.localhost' to='kate_mediated_invite_2519@localhost' type='normal'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<invite from='alice_mediated_invite_2519@localhost/res1'>
			<reason/>
		</invite>
	</x>
	<body>alice_mediated_invite_2519@localhost/res1 invites you to the room room-alice_mediated_invite_2519@muc.localhost</body>
</message>



*** User 2024-03-20 18:18:14.582 ***🔗
kate_mediated_invite_2519@localhost/res1 out
<message to='room-alice_mediated_invite_2519@muc.localhost'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<decline to='alice_mediated_invite_2519@localhost'/>
	</x>
</message>



*** User 2024-03-20 18:18:14.583 ***🔗
alice_mediated_invite_2519@localhost/res1 in
<message from='room-alice_mediated_invite_2519@muc.localhost' to='alice_mediated_invite_2519@localhost'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<decline from='kate_mediated_invite_2519@localhost/res1'/>
	</x>
</message>



*** User 2024-03-20 18:18:14.583 ***🔗
kate_mediated_invite_2519@localhost/res1 out
</stream:stream>

*** User 2024-03-20 18:18:14.583 ***🔗
kate_mediated_invite_2519@localhost/res1 in
</stream:stream>

*** User 2024-03-20 18:18:14.583 ***🔗
bob_mediated_invite_2519@localhost/res1 out
</stream:stream>

*** User 2024-03-20 18:18:14.584 ***🔗
bob_mediated_invite_2519@localhost/res1 in
</stream:stream>

*** User 2024-03-20 18:18:14.584 ***🔗
alice_mediated_invite_2519@localhost/res1 out
</stream:stream>

*** User 2024-03-20 18:18:14.584 ***🔗
alice_mediated_invite_2519@localhost/res1 in
</stream:stream>
*** CT 2024-03-20 18:18:14.660 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5261.html



=== Ended at 2024-03-20 18:18:14
=== successfully completed test case
=== === Returned value: ok