=== Test case: graphql_muc_light_SUITE:admin_send_message_to_room_muc_light_not_configured/1 (click for source code)

=== Config value:

    [{muc_light_host,<<"NON_EXISTING">>},
     {watchdog,<0.19830.0>},
     {protocol,cli},
     {schema_endpoint,admin},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"internal_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_muc_light_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@878f9f8c6d16.2024-03-11_11.25.16/big_tests.tests.graphql_muc_light_SUITE.logs/run.2024-03-11_11.29.32/graphql_muc_light_suite.admin_send_message_to_room_muc_light_not_configured.47106.html"},
     {tc_group_properties,[{name,admin_muc_light_not_configured}]},
     {tc_group_path,[[{name,admin_cli}]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_muc_light_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@878f9f8c6d16.2024-03-11_11.25.16/big_tests.tests.graphql_muc_light_SUITE.logs/run.2024-03-11_11.29.32/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => mnesia},
        mod_roster =>
            #{iqdisc => one_queue,backend => mnesia,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        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_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              backend => mnesia,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_carboncopy => #{iqdisc => no_queue},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false}}},
     {{saved_modules,mongooseim@localhost,<<"localhost.bis">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => mnesia},
        mod_roster =>
            #{iqdisc => one_queue,backend => mnesia,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        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_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              backend => mnesia,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_carboncopy => #{iqdisc => no_queue},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@878f9f8c6d16.2024-03-11_11.25.16"

=== Started at 2024-03-11 11:30:06


*** CT 2024-03-11 11:30:06.927 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1534.html

*** User 2024-03-11 11:30:06.929 ***🔗
alicE_admin_send_message_to_room_muc_light_not_configured_978@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-11 11:30:06.930 ***🔗
alicE_admin_send_message_to_room_muc_light_not_configured_978@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5657fd4e26534518' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 11:30:06.930 ***🔗
alicE_admin_send_message_to_room_muc_light_not_configured_978@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-11 11:30:06.930 ***🔗
alicE_admin_send_message_to_room_muc_light_not_configured_978@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkbWluX3NlbmRfbWVzc2FnZV90b19yb29tX211Y19saWdodF9ub3RfY29uZmlndXJlZF85NzgAbWF0eWdyeXNh</auth>



*** User 2024-03-11 11:30:06.930 ***🔗
alicE_admin_send_message_to_room_muc_light_not_configured_978@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 11:30:06.930 ***🔗
alicE_admin_send_message_to_room_muc_light_not_configured_978@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-11 11:30:06.931 ***🔗
alicE_admin_send_message_to_room_muc_light_not_configured_978@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7d7c70efb7908803' from='localhost' version='1.0' xml:lang='en' to='alice_admin_send_message_to_room_muc_light_not_configured_978@localhost'>

*** User 2024-03-11 11:30:06.931 ***🔗
alicE_admin_send_message_to_room_muc_light_not_configured_978@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-11 11:30:06.931 ***🔗
alicE_admin_send_message_to_room_muc_light_not_configured_978@localhost/res1 out
<iq type='set' id='26a9c636487f8cbadf4ddb42908914e5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 11:30:06.931 ***🔗
alicE_admin_send_message_to_room_muc_light_not_configured_978@localhost/res1 in
<iq id='26a9c636487f8cbadf4ddb42908914e5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_admin_send_message_to_room_muc_light_not_configured_978@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 11:30:06.931 ***🔗
alice_admin_send_message_to_room_muc_light_not_configured_978@localhost/res1 out
<iq type='set' id='f713f899026f50965e4f97d9a3563417'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:30:06.932 ***🔗
alice_admin_send_message_to_room_muc_light_not_configured_978@localhost/res1 in
<iq from='localhost' to='alice_admin_send_message_to_room_muc_light_not_configured_978@localhost/res1' id='f713f899026f50965e4f97d9a3563417' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:30:06.932 ***🔗
alice_admin_send_message_to_room_muc_light_not_configured_978@localhost/res1 out
<presence/>



*** User 2024-03-11 11:30:06.932 ***🔗
alice_admin_send_message_to_room_muc_light_not_configured_978@localhost/res1 in
<presence from='alice_admin_send_message_to_room_muc_light_not_configured_978@localhost/res1' to='alice_admin_send_message_to_room_muc_light_not_configured_978@localhost/res1'/>



*** User 2024-03-11 11:30:07.428 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  muc_light sendMessageToRoom --body Hello there! --from alice_admin_send_message_to_room_muc_light_not_configured_978@localhost --room NON_EXISTING@localhost
Result "{\n  \"errors\" : [\n    {\n      \"path\" : [\n        \"muc_light\",\n        \"sendMessageToRoom\"\n      ],\n      \"message\" : \"Some of the required modules are not loaded\",\n      \"extensions\" : {\n        \"not_loaded_modules\" : [\n          \"mod_muc_light\"\n        ],\n        \"code\" : \"deps_not_loaded\"\n      }\n    }\n  ],\n  \"data\" : {\n    \"muc_light\" : {\n      \"sendMessageToRoom\" : null\n    }\n  }\n}\n"
ExitStatus 1

*** User 2024-03-11 11:30:07.429 ***🔗
ResultString:
{
  "errors" : [
    {
      "path" : [
        "muc_light",
        "sendMessageToRoom"
      ],
      "message" : "Some of the required modules are not loaded",
      "extensions" : {
        "not_loaded_modules" : [
          "mod_muc_light"
        ],
        "code" : "deps_not_loaded"
      }
    }
  ],
  "data" : {
    "muc_light" : {
      "sendMessageToRoom" : null
    }
  }
}


*** User 2024-03-11 11:30:07.429 ***🔗
alice_admin_send_message_to_room_muc_light_not_configured_978@localhost/res1 out
</stream:stream>

*** User 2024-03-11 11:30:07.429 ***🔗
alice_admin_send_message_to_room_muc_light_not_configured_978@localhost/res1 in
</stream:stream>
*** CT 2024-03-11 11:30:07.466 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1534.html



=== Ended at 2024-03-11 11:30:07
=== successfully completed test case
=== === Returned value: ok


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