=== Test case: graphql_server_SUITE:join_successful/1 (click for source code)

=== Config value:

    [{watchdog,<0.33780.0>},
     {protocol,cli},
     {schema_endpoint,admin},
     {{ejabberd_cwd,mongooseim3@localhost},
      "/home/circleci/project/_build/mim3/rel/mongooseim"},
     {{ejabberd_cwd,mongooseim2@localhost},
      "/home/circleci/project/_build/mim2/rel/mongooseim"},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_server_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@26557528e1a5.2024-04-25_12.01.25/big_tests.tests.graphql_server_SUITE.logs/run.2024-04-25_12.08.42/graphql_server_suite.join_successful.html"},
     {tc_group_properties,[{name,clustering_tests}]},
     {tc_group_path,[[{name,admin_cli}]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_server_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@26557528e1a5.2024-04-25_12.01.25/big_tests.tests.graphql_server_SUITE.logs/run.2024-04-25_12.08.42/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{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,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        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_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue}}},
     {mongooseim@localhost_ctl,"/home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl"},
     {mongooseim2@localhost_ctl,"/home/circleci/project/_build/mim2/rel/mongooseim/bin/mongooseimctl"},
     {mongooseim3@localhost_ctl,"/home/circleci/project/_build/mim3/rel/mongooseim/bin/mongooseimctl"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@26557528e1a5.2024-04-25_12.01.25"

=== Started at 2024-04-25 12:09:29


*** CT 2024-04-25 12:09:29.731 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1943.html

*** User 2024-04-25 12:09:30.974 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  server leaveCluster
Result "{\n  \"data\" : {\n    \"server\" : {\n      \"leaveCluster\" : \"The MongooseIM node mongooseim@localhost has successfully left the cluster\\n\"\n    }\n  }\n}\n"
ExitStatus 0

*** User 2024-04-25 12:09:30.974 ***🔗
ResultString:
{
  "data" : {
    "server" : {
      "leaveCluster" : "The MongooseIM node mongooseim@localhost has successfully left the cluster\n"
    }
  }
}


*** User 2024-04-25 12:09:32.075 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  server joinCluster --node mongooseim2@localhost
Result "{\n  \"errors\" : [\n    {\n      \"path\" : [\n        \"server\",\n        \"joinCluster\"\n      ],\n      \"message\" : \"Failed to join the cluster. Reason: error:#{reason =>\\n                                             set_extra_db_nodes_failed,\\n                                            result =>\\n                                             {error,\\n                                              {merge_schema_failed,\\n                                               \\\"Incompatible schema cookies. Please, restart from old backup.mongooseim3@localhost = [{name,schema},{type,set},{ram_copies,[]},{disc_copies,[mongooseim3@localhost]},{disc_only_copies,[]},{load_order,0},{access_mode,read_write},{majority,false},{index,[]},{snmp,[]},{local_content,false},{record_name,schema},{attributes,[table,cstruct]},{user_properties,[]},{frag_properties,[]},{storage_properties,[]},{cookie,{{1714046956663679815,-576460752303415421,1},mongooseim3@localhost}},{version,{{3,0},{mongooseim3@localhost,{1714,46970,228657}}}}], mongooseim@localhost = [{name,schema},{type,set},{ram_copies,[mongooseim@localhost]},{disc_copies,[mongooseim3@localhost,mongooseim2@localhost]},{disc_only_copies,[]},{load_order,0},{access_mode,read_write},{majority,false},{index,[]},{snmp,[]},{local_content,false},{record_name,schema},{attributes,[table,cstruct]},{user_properties,[]},{frag_properties,[]},{storage_properties,[]},{cookie,{{1714046928636015133,-576460752302155518,1},mongooseim@localhost}},{version,{{13,0},{mongooseim@localhost,{1714,46971,472650}}}}]\\\\n\\\"}},\\n                                            cluster_member =>\\n                                             mongooseim2@localhost}\",\n      \"extensions\" : {\n        \"node\" : \"mongooseim2@localhost\",\n        \"code\" : \"error\"\n      }\n    }\n  ],\n  \"data\" : {\n    \"server\" : {\n      \"joinCluster\" : null\n    }\n  }\n}\n"
ExitStatus 1

*** User 2024-04-25 12:09:32.075 ***🔗
ResultString:
{
  "errors" : [
    {
      "path" : [
        "server",
        "joinCluster"
      ],
      "message" : "Failed to join the cluster. Reason: error:#{reason =>\n                                             set_extra_db_nodes_failed,\n                                            result =>\n                                             {error,\n                                              {merge_schema_failed,\n                                               \"Incompatible schema cookies. Please, restart from old backup.mongooseim3@localhost = [{name,schema},{type,set},{ram_copies,[]},{disc_copies,[mongooseim3@localhost]},{disc_only_copies,[]},{load_order,0},{access_mode,read_write},{majority,false},{index,[]},{snmp,[]},{local_content,false},{record_name,schema},{attributes,[table,cstruct]},{user_properties,[]},{frag_properties,[]},{storage_properties,[]},{cookie,{{1714046956663679815,-576460752303415421,1},mongooseim3@localhost}},{version,{{3,0},{mongooseim3@localhost,{1714,46970,228657}}}}], mongooseim@localhost = [{name,schema},{type,set},{ram_copies,[mongooseim@localhost]},{disc_copies,[mongooseim3@localhost,mongooseim2@localhost]},{disc_only_copies,[]},{load_order,0},{access_mode,read_write},{majority,false},{index,[]},{snmp,[]},{local_content,false},{record_name,schema},{attributes,[table,cstruct]},{user_properties,[]},{frag_properties,[]},{storage_properties,[]},{cookie,{{1714046928636015133,-576460752302155518,1},mongooseim@localhost}},{version,{{13,0},{mongooseim@localhost,{1714,46971,472650}}}}]\\n\"}},\n                                            cluster_member =>\n                                             mongooseim2@localhost}",
      "extensions" : {
        "node" : "mongooseim2@localhost",
        "code" : "error"
      }
    }
  ],
  "data" : {
    "server" : {
      "joinCluster" : null
    }
  }
}


*** CT Error Notification 2024-04-25 12:09:32.076 ***🔗
graphql_helper:assert_response_code failed on line 256
Reason: {#{what => invalid_response_code,expected_type => ok,
   response_code => {exit_status,1}},
 [{graphql_helper,...},{...}|...]}

Full error description and stacktrace

*** User 2024-04-25 12:09:32.738 ***🔗
waiting for verify_result is done in 0 miliseconds

*** User 2024-04-25 12:09:32.739 ***🔗
waiting for verify_mongooseim_started is done in 0 miliseconds
*** CT 2024-04-25 12:09:32.740 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1969.html



=== Ended at 2024-04-25 12:09:32
=== Location: [{graphql_helper,assert_response_code,256},
              {graphql_helper,get_ok_value,239},
              {graphql_server_SUITE,join_successful,153},
              {test_server,ts_tc,1793},
              {test_server,run_test_case_eval1,1302},
              {test_server,run_test_case_eval,1234}]
=== === Reason: #{what => invalid_response_code,expected_type => ok,
                   response_code => {exit_status,1}}
  in function  graphql_helper:assert_response_code/2 (/home/circleci/project/big_tests/tests/graphql_helper.erl, line 256)
  in call from graphql_helper:get_ok_value/2 (/home/circleci/project/big_tests/tests/graphql_helper.erl, line 239)
  in call from graphql_server_SUITE:join_successful/1 (/home/circleci/project/big_tests/tests/graphql_server_SUITE.erl, line 153)
  in call from test_server:ts_tc/3 (test_server.erl, line 1793)
  in call from test_server:run_test_case_eval1/6 (test_server.erl, line 1302)
  in call from test_server:run_test_case_eval/9 (test_server.erl, line 1234)


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