=== Test case: graphql_muc_SUITE:admin_list_rooms/1 (click for source code)

=== Config value:

    [{watchdog,<0.21606.0>},
     {protocol,cli},
     {schema_endpoint,admin},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_muc_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@528a5a4ce401.2024-04-09_11.36.09/big_tests.tests.graphql_muc_SUITE.logs/run.2024-04-09_11.40.07/graphql_muc_suite.admin_list_rooms.24452.html"},
     {tc_group_properties,[{name,admin_muc_configured}]},
     {tc_group_path,[[{name,admin_cli}]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_muc_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@528a5a4ce401.2024-04-09_11.36.09/big_tests.tests.graphql_muc_SUITE.logs/run.2024-04-09_11.40.07/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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_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 => mnesia,
              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 => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@528a5a4ce401.2024-04-09_11.36.09"

=== Started at 2024-04-09 11:40:11


*** CT 2024-04-09 11:40:11.780 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1656.html

*** User 2024-04-09 11:40:11.786 ***🔗
alicE_admin_list_rooms_982@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 2024-04-09 11:40:11.786 ***🔗
alicE_admin_list_rooms_982@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ade9a536c201d356' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-09 11:40:11.786 ***🔗
alicE_admin_list_rooms_982@domain.example.com/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-04-09 11:40:11.786 ***🔗
alicE_admin_list_rooms_982@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkbWluX2xpc3Rfcm9vbXNfOTgyAG1hdHlncnlzYQ==</auth>



*** User 2024-04-09 11:40:11.788 ***🔗
alicE_admin_list_rooms_982@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-09 11:40:11.788 ***🔗
alicE_admin_list_rooms_982@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 2024-04-09 11:40:11.788 ***🔗
alicE_admin_list_rooms_982@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='de39efa49d09d6ed' from='domain.example.com' version='1.0' xml:lang='en' to='alice_admin_list_rooms_982@domain.example.com'>

*** User 2024-04-09 11:40:11.788 ***🔗
alicE_admin_list_rooms_982@domain.example.com/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-04-09 11:40:11.788 ***🔗
alicE_admin_list_rooms_982@domain.example.com/res1 out
<iq type='set' id='1b2e3a8e315903f5d5cf9026391531ec'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-09 11:40:11.789 ***🔗
alicE_admin_list_rooms_982@domain.example.com/res1 in
<iq id='1b2e3a8e315903f5d5cf9026391531ec' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_admin_list_rooms_982@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-09 11:40:11.789 ***🔗
alice_admin_list_rooms_982@domain.example.com/res1 out
<iq type='set' id='88a817ed1cf27428e1b8625a7c07dd3c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:40:11.790 ***🔗
alice_admin_list_rooms_982@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_admin_list_rooms_982@domain.example.com/res1' id='88a817ed1cf27428e1b8625a7c07dd3c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:40:11.790 ***🔗
alice_admin_list_rooms_982@domain.example.com/res1 out
<presence/>



*** User 2024-04-09 11:40:11.791 ***🔗
alice_admin_list_rooms_982@domain.example.com/res1 in
<presence from='alice_admin_list_rooms_982@domain.example.com/res1' to='alice_admin_list_rooms_982@domain.example.com/res1'/>



*** User 2024-04-09 11:40:11.792 ***🔗
bOb_admin_list_rooms_982@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 2024-04-09 11:40:11.792 ***🔗
bOb_admin_list_rooms_982@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5f25f632d4534e66' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-09 11:40:11.792 ***🔗
bOb_admin_list_rooms_982@domain.example.com/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-04-09 11:40:11.792 ***🔗
bOb_admin_list_rooms_982@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZG1pbl9saXN0X3Jvb21zXzk4MgBtYWtyb2xpa2E=</auth>



*** User 2024-04-09 11:40:11.794 ***🔗
bOb_admin_list_rooms_982@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-09 11:40:11.794 ***🔗
bOb_admin_list_rooms_982@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 2024-04-09 11:40:11.794 ***🔗
bOb_admin_list_rooms_982@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e7c31047604d0f77' from='domain.example.com' version='1.0' xml:lang='en' to='bob_admin_list_rooms_982@domain.example.com'>

*** User 2024-04-09 11:40:11.794 ***🔗
bOb_admin_list_rooms_982@domain.example.com/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-04-09 11:40:11.794 ***🔗
bOb_admin_list_rooms_982@domain.example.com/res1 out
<iq type='set' id='0ebe10f469a04e9f15b2ef7890a1dd89'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-09 11:40:11.795 ***🔗
bOb_admin_list_rooms_982@domain.example.com/res1 in
<iq id='0ebe10f469a04e9f15b2ef7890a1dd89' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_admin_list_rooms_982@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-09 11:40:11.795 ***🔗
bob_admin_list_rooms_982@domain.example.com/res1 out
<iq type='set' id='c045bd4702cad033b64c1edb50900051'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:40:11.795 ***🔗
bob_admin_list_rooms_982@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_admin_list_rooms_982@domain.example.com/res1' id='c045bd4702cad033b64c1edb50900051' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:40:11.795 ***🔗
bob_admin_list_rooms_982@domain.example.com/res1 out
<presence/>



*** User 2024-04-09 11:40:11.797 ***🔗
bob_admin_list_rooms_982@domain.example.com/res1 in
<presence from='bob_admin_list_rooms_982@domain.example.com/res1' to='bob_admin_list_rooms_982@domain.example.com/res1'/>



*** User 2024-04-09 11:40:12.132 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  muc listRooms --from alice_admin_list_rooms_982@domain.example.com --mucDomain groupchats.domain.example.com
Result "{\n  \"data\" : {\n    \"muc\" : {\n      \"listRooms\" : {\n        \"rooms\" : [\n          \n        ],\n        \"last\" : null,\n        \"index\" : null,\n        \"first\" : null,\n        \"count\" : 0\n      }\n    }\n  }\n}\n"
ExitStatus 0

*** User 2024-04-09 11:40:12.132 ***🔗
ResultString:
{
  "data" : {
    "muc" : {
      "listRooms" : {
        "rooms" : [
          
        ],
        "last" : null,
        "index" : null,
        "first" : null,
        "count" : 0
      }
    }
  }
}


*** User 2024-04-09 11:40:12.433 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  muc listRooms --from alice_admin_list_rooms_982@domain.example.com --mucDomain groupchats.domain.example.com
Result "{\n  \"data\" : {\n    \"muc\" : {\n      \"listRooms\" : {\n        \"rooms\" : [\n          {\n            \"usersNumber\" : 0,\n            \"title\" : \"0feefdf2ac8c7493\",\n            \"private\" : false,\n            \"jid\" : \"0feefdf2ac8c7493@groupchats.domain.example.com\"\n          },\n          {\n            \"usersNumber\" : null,\n            \"title\" : \"14be2df11343fb3d\",\n            \"private\" : null,\n            \"jid\" : \"14be2df11343fb3d@groupchats.domain.example.com\"\n          }\n        ],\n        \"last\" : \"14be2df11343fb3d\",\n        \"index\" : 0,\n        \"first\" : \"0feefdf2ac8c7493\",\n        \"count\" : 2\n      }\n    }\n  }\n}\n"
ExitStatus 0

*** User 2024-04-09 11:40:12.433 ***🔗
ResultString:
{
  "data" : {
    "muc" : {
      "listRooms" : {
        "rooms" : [
          {
            "usersNumber" : 0,
            "title" : "0feefdf2ac8c7493",
            "private" : false,
            "jid" : "0feefdf2ac8c7493@groupchats.domain.example.com"
          },
          {
            "usersNumber" : null,
            "title" : "14be2df11343fb3d",
            "private" : null,
            "jid" : "14be2df11343fb3d@groupchats.domain.example.com"
          }
        ],
        "last" : "14be2df11343fb3d",
        "index" : 0,
        "first" : "0feefdf2ac8c7493",
        "count" : 2
      }
    }
  }
}


*** User 2024-04-09 11:40:12.709 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  muc listRooms --from alice_admin_list_rooms_982@domain.example.com --mucDomain Groupchats.domain.example.com
Result "{\n  \"data\" : {\n    \"muc\" : {\n      \"listRooms\" : {\n        \"rooms\" : [\n          {\n            \"usersNumber\" : 0,\n            \"title\" : \"0feefdf2ac8c7493\",\n            \"private\" : false,\n            \"jid\" : \"0feefdf2ac8c7493@groupchats.domain.example.com\"\n          },\n          {\n            \"usersNumber\" : null,\n            \"title\" : \"14be2df11343fb3d\",\n            \"private\" : null,\n            \"jid\" : \"14be2df11343fb3d@groupchats.domain.example.com\"\n          }\n        ],\n        \"last\" : \"14be2df11343fb3d\",\n        \"index\" : 0,\n        \"first\" : \"0feefdf2ac8c7493\",\n        \"count\" : 2\n      }\n    }\n  }\n}\n"
ExitStatus 0

*** User 2024-04-09 11:40:12.709 ***🔗
ResultString:
{
  "data" : {
    "muc" : {
      "listRooms" : {
        "rooms" : [
          {
            "usersNumber" : 0,
            "title" : "0feefdf2ac8c7493",
            "private" : false,
            "jid" : "0feefdf2ac8c7493@groupchats.domain.example.com"
          },
          {
            "usersNumber" : null,
            "title" : "14be2df11343fb3d",
            "private" : null,
            "jid" : "14be2df11343fb3d@groupchats.domain.example.com"
          }
        ],
        "last" : "14be2df11343fb3d",
        "index" : 0,
        "first" : "0feefdf2ac8c7493",
        "count" : 2
      }
    }
  }
}


*** User 2024-04-09 11:40:12.975 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  muc listRooms --index 1 --limit 1 --from alice_admin_list_rooms_982@domain.example.com --mucDomain groupchats.domain.example.com
Result "{\n  \"data\" : {\n    \"muc\" : {\n      \"listRooms\" : {\n        \"rooms\" : [\n          {\n            \"usersNumber\" : null,\n            \"title\" : \"14be2df11343fb3d\",\n            \"private\" : null,\n            \"jid\" : \"14be2df11343fb3d@groupchats.domain.example.com\"\n          }\n        ],\n        \"last\" : \"14be2df11343fb3d\",\n        \"index\" : 1,\n        \"first\" : \"14be2df11343fb3d\",\n        \"count\" : 2\n      }\n    }\n  }\n}\n"
ExitStatus 0

*** User 2024-04-09 11:40:12.975 ***🔗
ResultString:
{
  "data" : {
    "muc" : {
      "listRooms" : {
        "rooms" : [
          {
            "usersNumber" : null,
            "title" : "14be2df11343fb3d",
            "private" : null,
            "jid" : "14be2df11343fb3d@groupchats.domain.example.com"
          }
        ],
        "last" : "14be2df11343fb3d",
        "index" : 1,
        "first" : "14be2df11343fb3d",
        "count" : 2
      }
    }
  }
}


*** User 2024-04-09 11:40:12.975 ***🔗
bob_admin_list_rooms_982@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-09 11:40:12.975 ***🔗
bob_admin_list_rooms_982@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-09 11:40:12.976 ***🔗
alice_admin_list_rooms_982@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-09 11:40:12.976 ***🔗
alice_admin_list_rooms_982@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-09 11:40:12.977 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1657.html



=== Ended at 2024-04-09 11:40:12
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result