=== Test case: graphql_mnesia_SUITE:change_nodename_test/1 (click for source code)

=== Config value:

    [{protocol,cli},
     {schema_endpoint,admin},
     {watchdog,<0.31055.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_mnesia_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@de34115c687f.2024-04-10_12.44.09/big_tests.tests.graphql_mnesia_SUITE.logs/run.2024-04-10_12.49.35/graphql_mnesia_suite.change_nodename_test.html"},
     {tc_group_properties,[{name,admin_mnesia_cli},sequence]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_mnesia_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@de34115c687f.2024-04-10_12.44.09/big_tests.tests.graphql_mnesia_SUITE.logs/run.2024-04-10_12.49.35/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@de34115c687f.2024-04-10_12.44.09"

=== Started at 2024-04-10 12:49:40


*** CT 2024-04-10 12:49:40.214 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1749.html

*** User 2024-04-10 12:49:40.464 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  mnesia backup --path change_nodename_mnesia_test
Result "{\n  \"data\" : {\n    \"mnesia\" : {\n      \"backup\" : \"Mnesia backup was successfully created\"\n    }\n  }\n}\n"
ExitStatus 0

*** User 2024-04-10 12:49:40.464 ***🔗
ResultString:
{
  "data" : {
    "mnesia" : {
      "backup" : "Mnesia backup was successfully created"
    }
  }
}


*** User 2024-04-10 12:49:40.715 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  mnesia changeNodename --fromString mongooseim@localhost --source change_nodename_mnesia_test --target change_nodename2_mnesia_test --toString change_nodename_test@localhost
Result "\n * Checking table: 'muc_online_room'\n   + Checking key: 'ram_copies'\n     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'\n   + Checking key: 'disc_copies'\n   + Checking key: 'disc_only_copies'\n\n * Checking table: 'mongoose_cluster_id'\n   + Checking key: 'ram_copies'\n     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'\n   + Checking key: 'disc_copies'\n   + Checking key: 'disc_only_copies'\n\n * Checking table: 's2s_shared'\n   + Checking key: 'ram_copies'\n     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'\n   + Checking key: 'disc_copies'\n   + Checking key: 'disc_only_copies'\n\n * Checking table: 'session'\n   + Checking key: 'ram_copies'\n     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'\n   + Checking key: 'disc_copies'\n   + Checking key: 'disc_only_copies'\n\n * Checking table: 'schema'\n   + Checking key: 'ram_copies'\n   + Checking key: 'disc_copies'\n     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'\n   + Checking key: 'disc_only_copies'\n\n * Checking table: 'vcard_search'\n   + Checking key: 'ram_copies'\n   + Checking key: 'disc_copies'\n     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'\n   + Checking key: 'disc_only_copies'\n\n * Checking table: 'bosh_session'\n   + Checking key: 'ram_copies'\n     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'\n   + Checking key: 'disc_copies'\n   + Checking key: 'disc_only_copies'\n\n * Checking table: 'sm_session'\n   + Checking key: 'ram_copies'\n     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'\n   + Checking key: 'disc_copies'\n   + Checking key: 'disc_only_copies'\n\n * Checking table: 'external_component'\n   + Checking key: 'ram_copies'\n     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'\n   + Checking key: 'disc_copies'\n   + Checking key: 'disc_only_copies'\n\n * Checking table: 'vcard'\n   + Checking key: 'ram_copies'\n   + Checking key: 'disc_copies'\n     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'\n   + Checking key: 'disc_only_copies'\n\n * Checking table: 'anonymous'\n   + Checking key: 'ram_copies'\n     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'\n   + Checking key: 'disc_copies'\n   + Checking key: 'disc_only_copies'\n\n * Checking table: 's2s'\n   + Checking key: 'ram_copies'\n     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'\n   + Checking key: 'disc_copies'\n   + Checking key: 'disc_only_copies'\n\n * Checking table: 'key'\n   + Checking key: 'ram_copies'\n     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'\n   + Checking key: 'disc_copies'\n   + Checking key: 'disc_only_copies'\n\n * Checking table: 'passwd'\n   + Checking key: 'ram_copies'\n   + Checking key: 'disc_copies'\n     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'\n   + Checking key: 'disc_only_copies'\n\n * Checking table: 'node_num'\n   + Checking key: 'ram_copies'\n     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'\n   + Checking key: 'disc_copies'\n   + Checking key: 'disc_only_copies'\n\n * Checking table: 'reg_users_counter'\n   + Checking key: 'ram_copies'\n     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'\n   + Checking key: 'disc_copies'\n   + Checking key: 'disc_only_copies'\n{\n  \"data\" : {\n    \"mnesia\" : {\n      \"changeNodename\" : \"Name of the node in the backup was successfully changed\"\n    }\n  }\n}\n"
ExitStatus 0

*** User 2024-04-10 12:49:40.715 ***🔗
ResultString:

 * Checking table: 'muc_online_room'
   + Checking key: 'ram_copies'
     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'
   + Checking key: 'disc_copies'
   + Checking key: 'disc_only_copies'

 * Checking table: 'mongoose_cluster_id'
   + Checking key: 'ram_copies'
     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'
   + Checking key: 'disc_copies'
   + Checking key: 'disc_only_copies'

 * Checking table: 's2s_shared'
   + Checking key: 'ram_copies'
     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'
   + Checking key: 'disc_copies'
   + Checking key: 'disc_only_copies'

 * Checking table: 'session'
   + Checking key: 'ram_copies'
     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'
   + Checking key: 'disc_copies'
   + Checking key: 'disc_only_copies'

 * Checking table: 'schema'
   + Checking key: 'ram_copies'
   + Checking key: 'disc_copies'
     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'
   + Checking key: 'disc_only_copies'

 * Checking table: 'vcard_search'
   + Checking key: 'ram_copies'
   + Checking key: 'disc_copies'
     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'
   + Checking key: 'disc_only_copies'

 * Checking table: 'bosh_session'
   + Checking key: 'ram_copies'
     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'
   + Checking key: 'disc_copies'
   + Checking key: 'disc_only_copies'

 * Checking table: 'sm_session'
   + Checking key: 'ram_copies'
     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'
   + Checking key: 'disc_copies'
   + Checking key: 'disc_only_copies'

 * Checking table: 'external_component'
   + Checking key: 'ram_copies'
     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'
   + Checking key: 'disc_copies'
   + Checking key: 'disc_only_copies'

 * Checking table: 'vcard'
   + Checking key: 'ram_copies'
   + Checking key: 'disc_copies'
     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'
   + Checking key: 'disc_only_copies'

 * Checking table: 'anonymous'
   + Checking key: 'ram_copies'
     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'
   + Checking key: 'disc_copies'
   + Checking key: 'disc_only_copies'

 * Checking table: 's2s'
   + Checking key: 'ram_copies'
     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'
   + Checking key: 'disc_copies'
   + Checking key: 'disc_only_copies'

 * Checking table: 'key'
   + Checking key: 'ram_copies'
     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'
   + Checking key: 'disc_copies'
   + Checking key: 'disc_only_copies'

 * Checking table: 'passwd'
   + Checking key: 'ram_copies'
   + Checking key: 'disc_copies'
     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'
   + Checking key: 'disc_only_copies'

 * Checking table: 'node_num'
   + Checking key: 'ram_copies'
     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'
   + Checking key: 'disc_copies'
   + Checking key: 'disc_only_copies'

 * Checking table: 'reg_users_counter'
   + Checking key: 'ram_copies'
     - Replacing nodename: 'mongooseim@localhost' with: 'change_nodename_test@localhost'
   + Checking key: 'disc_copies'
   + Checking key: 'disc_only_copies'
{
  "data" : {
    "mnesia" : {
      "changeNodename" : "Name of the node in the backup was successfully changed"
    }
  }
}

*** CT 2024-04-10 12:49:40.718 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1749.html



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


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