=== Test case: mongooseimctl_SUITE:dump_and_load/1 (click for source code)

=== Config value:

    [{watchdog,<0.16962.1>},
     {ctl_auth_mods,[ejabberd_auth_rdbms,ejabberd_auth_anonymous,
                     ejabberd_auth_rdbms]},
     {roster_template,"/home/circleci/project/big_tests/tests/mongooseimctl_SUITE_data/roster.template"},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/mongooseimctl_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-04_11.22.38/mongooseimctl_suite.dump_and_load.html"},
     {tc_group_properties,[{name,basic},sequence]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/mongooseimctl_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-04_11.22.38/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {mike,[{username,<<"mike">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"nicniema">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"makrowe;p">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52"

=== Started at 2022-03-04 11:22:57


*** CT 2022-03-04 11:22:57.430 *** View log from node mongooseim@localhost when started mongooseim@localhost_1912.html
*** CT 2022-03-04 11:22:57.431 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_606.html

*** User 2022-03-04 11:22:57.638 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  dump dump.bup
Result []
ExitStatus 0

*** User 2022-03-04 11:22:57.638 ***
DumpReturns []

*** User 2022-03-04 11:22:57.641 ***
DumpData [{tables,
              [{private_storage,
                   [{record_name,private_storage},{attributes,[usns,xml]}]},
               {passwd,[{record_name,passwd},{attributes,[us,password]}]},
               {mam_prefs,
                   [{record_name,mam_prefs},
                    {attributes,
                        [host_user,default_mode,always_rules,never_rules]}]},
               {offline_msg,
                   [{record_name,offline_msg},
                    {attributes,
                        [us,timestamp,expire,from,to,packet,
                         permanent_fields]}]},
               {last_activity,
                   [{record_name,last_activity},
                    {attributes,[us,timestamp,status]}]},
               {muc_registered,
                   [{record_name,muc_registered},{attributes,[us_host,nick]}]},
               {muc_room,
                   [{record_name,muc_room},{attributes,[name_host,opts]}]},
               {caps_features,
                   [{record_name,caps_features},
                    {attributes,[node_pair,features]}]},
               {muc_light_room,
                   [{record_name,muc_light_room},
                    {attributes,[room,config,aff_users,version]}]},
               {muc_light_user_room,
                   [{record_name,muc_light_user_room},
                    {attributes,[user,room]}]},
               {muc_light_blocking,
                   [{record_name,muc_light_blocking},
                    {attributes,[user,item]}]}]},
          {private_storage,
              {<<"alice">>,<<"domain.example.com">>,<<"nejmspejs">>},
              {xmlel,<<"secretinfo">>,
                  [{<<"xmlns">>,<<"nejmspejs">>}],
                  [{xmlcdata,<<"1">>}]}},
          {private_storage,
              {<<"alice">>,<<"domain.example.com">>,<<"inny">>},
              {xmlel,<<"secretinfo">>,
                  [{<<"xmlns">>,<<"inny">>}],
                  [{xmlcdata,<<"2">>}]}},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_messages_filtered_when_prefs_default_policy_is_never_1462">>},
              never,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_never_1462">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_never_1462">>]},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_prefs_set_cdata_request_1460">>},
              roster,
              [{<<"montague.net">>,<<"montague">>},
               {<<"montague.net">>,<<"romeo">>}],
              []},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_messages_filtered_when_prefs_default_policy_is_roster_1465">>},
              roster,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_roster_1465">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_roster_1465">>]},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_messages_filtered_when_prefs_default_policy_is_always_1205">>},
              always,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_always_1205">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_always_1205">>]},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_prefs_set_cdata_request_1202">>},
              roster,
              [{<<"montague.net">>,<<"montague">>},
               {<<"montague.net">>,<<"romeo">>}],
              []},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_messages_filtered_when_prefs_default_policy_is_always_1464">>},
              always,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_always_1464">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_always_1464">>]},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_run_set_and_get_prefs_cases_1207">>},
              always,[],
              [<<"bob_run_set_and_get_prefs_cases_1207">>,
               <<"kate_run_set_and_get_prefs_cases_1207">>]},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_messages_filtered_when_prefs_default_policy_is_roster_1206">>},
              roster,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_roster_1206">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_roster_1206">>]},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_run_set_and_get_prefs_cases_1463">>},
              always,[],
              [<<"bob_run_set_and_get_prefs_cases_1463">>,
               <<"kate_run_set_and_get_prefs_cases_1463">>]},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_messages_filtered_when_prefs_default_policy_is_never_1204">>},
              never,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_never_1204">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_never_1204">>]},
          {last_activity,
              {<<"alice">>,<<"domain.example.com">>},
              1646392974,<<>>},
          {last_activity,
              {<<"bob">>,<<"domain.example.com">>},
              1646392974,<<>>}]

*** User 2022-03-04 11:22:57.858 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  load dump.bup
Result "** Table private_storage already exists on mongooseim@localhost, just entering data\n** Table passwd already exists on mongooseim@localhost, just entering data\n** Table mam_prefs already exists on mongooseim@localhost, just entering data\n** Table offline_msg already exists on mongooseim@localhost, just entering data\n** Table last_activity already exists on mongooseim@localhost, just entering data\n** Table muc_registered already exists on mongooseim@localhost, just entering data\n** Table muc_room already exists on mongooseim@localhost, just entering data\n** Table caps_features already exists on mongooseim@localhost, just entering data\n** Table muc_light_room already exists on mongooseim@localhost, just entering data\n** Table muc_light_user_room already exists on mongooseim@localhost, just entering data\n** Table muc_light_blocking already exists on mongooseim@localhost, just entering data\n"
ExitStatus 0

*** User 2022-03-04 11:22:57.858 ***
LoadReturns "** Table private_storage already exists on mongooseim@localhost, just entering data\n** Table passwd already exists on mongooseim@localhost, just entering data\n** Table mam_prefs already exists on mongooseim@localhost, just entering data\n** Table offline_msg already exists on mongooseim@localhost, just entering data\n** Table last_activity already exists on mongooseim@localhost, just entering data\n** Table muc_registered already exists on mongooseim@localhost, just entering data\n** Table muc_room already exists on mongooseim@localhost, just entering data\n** Table caps_features already exists on mongooseim@localhost, just entering data\n** Table muc_light_room already exists on mongooseim@localhost, just entering data\n** Table muc_light_user_room already exists on mongooseim@localhost, just entering data\n** Table muc_light_blocking already exists on mongooseim@localhost, just entering data\n"
*** CT 2022-03-04 11:22:57.860 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_606.html
*** CT 2022-03-04 11:22:57.861 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1912.html



=== Ended at 2022-03-04 11:22:57
=== successfully completed test case
=== === Returned value: 0


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