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

=== Config value:

    [{watchdog,<0.25417.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,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-07_09.37.22/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@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-03-07_09.37.22/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {mike,[{username,<<"mike">>},
                            {server,<<"localhost">>},
                            {password,<<"nicniema">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"localhost">>},
                            {password,<<"makrowe;p">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55"

=== Started at 2022-03-07 09:37:48


*** CT 2022-03-07 09:37:48.913 *** View log from node mongooseim@localhost when started mongooseim@localhost_4143.html
*** CT 2022-03-07 09:37:48.914 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2195.html

*** User 2022-03-07 09:37:49.210 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  dump dump.bup
Result []
ExitStatus 0

*** User 2022-03-07 09:37:49.210 ***
DumpReturns []

*** User 2022-03-07 09:37:49.214 ***
DumpData [{tables,
              [{private_storage,
                   [{record_name,private_storage},{attributes,[usns,xml]}]},
               {passwd,[{record_name,passwd},{attributes,[us,password]}]},
               {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_light_blocking,
                   [{record_name,muc_light_blocking},
                    {attributes,[user,item]}]},
               {muc_light_user_room,
                   [{record_name,muc_light_user_room},
                    {attributes,[user,room]}]},
               {muc_light_room,
                   [{record_name,muc_light_room},
                    {attributes,[room,config,aff_users,version]}]},
               {muc_registered,
                   [{record_name,muc_registered},{attributes,[us_host,nick]}]},
               {muc_room,
                   [{record_name,muc_room},{attributes,[name_host,opts]}]},
               {pubsub_index,
                   [{record_name,pubsub_index},
                    {attributes,[index,last,free]}]},
               {pubsub_subnode,
                   [{record_name,pubsub_subnode},
                    {attributes,[nodeid,subnode]}]},
               {pubsub_subscription,
                   [{record_name,pubsub_subscription},
                    {attributes,[subid,options]}]},
               {pubsub_node,
                   [{record_name,pubsub_node},
                    {attributes,[nodeid,id,parents,type,owners,options]}]},
               {pubsub_item,
                   [{record_name,pubsub_item},
                    {attributes,
                        [itemid,creation,modification,publisher,payload]}]},
               {pubsub_state,
                   [{record_name,pubsub_state},
                    {attributes,[stateid,items,affiliation,subscriptions]}]},
               {caps_features,
                   [{record_name,caps_features},
                    {attributes,[node_pair,features]}]},
               {mam_prefs,
                   [{record_name,mam_prefs},
                    {attributes,
                        [host_user,default_mode,always_rules,never_rules]}]}]},
          {private_storage,
              {<<"alice">>,<<"localhost">>,<<"inny">>},
              {xmlel,<<"secretinfo">>,
                  [{<<"xmlns">>,<<"inny">>}],
                  [{xmlcdata,<<"2">>}]}},
          {private_storage,
              {<<"alice">>,<<"localhost">>,<<"nejmspejs">>},
              {xmlel,<<"secretinfo">>,
                  [{<<"xmlns">>,<<"nejmspejs">>}],
                  [{xmlcdata,<<"1">>}]}},
          {last_activity,{<<"alice">>,<<"localhost">>},1646645865,<<>>},
          {last_activity,{<<"bob">>,<<"localhost">>},1646645865,<<>>},
          {mam_prefs,
              {<<"localhost">>,
               <<"alice_messages_filtered_when_prefs_default_policy_is_always_1474">>},
              always,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_always_1474">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_always_1474">>]},
          {mam_prefs,
              {<<"localhost">>,
               <<"alice_messages_filtered_when_prefs_default_policy_is_roster_1242">>},
              roster,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_roster_1242">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_roster_1242">>]},
          {mam_prefs,
              {<<"localhost">>,
               <<"alice_messages_filtered_when_prefs_default_policy_is_always_1241">>},
              always,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_always_1241">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_always_1241">>]},
          {mam_prefs,
              {<<"localhost">>,
               <<"alice_messages_filtered_when_prefs_default_policy_is_roster_1477">>},
              roster,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_roster_1477">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_roster_1477">>]},
          {mam_prefs,
              {<<"localhost">>,<<"alice_run_set_and_get_prefs_cases_1476">>},
              always,[],
              [<<"bob_run_set_and_get_prefs_cases_1476">>,
               <<"kate_run_set_and_get_prefs_cases_1476">>]},
          {mam_prefs,
              {<<"localhost">>,<<"alice_prefs_set_cdata_request_1240">>},
              roster,
              [{<<"montague.net">>,<<"montague">>},
               {<<"montague.net">>,<<"romeo">>}],
              []},
          {mam_prefs,
              {<<"localhost">>,<<"alice_run_set_and_get_prefs_cases_1244">>},
              always,[],
              [<<"bob_run_set_and_get_prefs_cases_1244">>,
               <<"kate_run_set_and_get_prefs_cases_1244">>]},
          {mam_prefs,
              {<<"localhost">>,
               <<"alice_messages_filtered_when_prefs_default_policy_is_never_1475">>},
              never,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_never_1475">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_never_1475">>]},
          {mam_prefs,
              {<<"localhost">>,
               <<"alice_messages_filtered_when_prefs_default_policy_is_never_1243">>},
              never,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_never_1243">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_never_1243">>]},
          {mam_prefs,
              {<<"localhost">>,<<"alice_prefs_set_cdata_request_1478">>},
              roster,
              [{<<"montague.net">>,<<"montague">>},
               {<<"montague.net">>,<<"romeo">>}],
              []}]

*** User 2022-03-07 09:37:49.502 ***
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 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_light_blocking 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_room 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 pubsub_index already exists on mongooseim@localhost, just entering data\n** Table pubsub_subnode already exists on mongooseim@localhost, just entering data\n** Table pubsub_subscription already exists on mongooseim@localhost, just entering data\n** Table pubsub_node already exists on mongooseim@localhost, just entering data\n** Table pubsub_item already exists on mongooseim@localhost, just entering data\n** Table pubsub_state already exists on mongooseim@localhost, just entering data\n** Table caps_features already exists on mongooseim@localhost, just entering data\n** Table mam_prefs already exists on mongooseim@localhost, just entering data\n"
ExitStatus 0

*** User 2022-03-07 09:37:49.502 ***
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 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_light_blocking 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_room 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 pubsub_index already exists on mongooseim@localhost, just entering data\n** Table pubsub_subnode already exists on mongooseim@localhost, just entering data\n** Table pubsub_subscription already exists on mongooseim@localhost, just entering data\n** Table pubsub_node already exists on mongooseim@localhost, just entering data\n** Table pubsub_item already exists on mongooseim@localhost, just entering data\n** Table pubsub_state already exists on mongooseim@localhost, just entering data\n** Table caps_features already exists on mongooseim@localhost, just entering data\n** Table mam_prefs already exists on mongooseim@localhost, just entering data\n"
*** CT 2022-03-07 09:37:49.506 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2195.html
*** CT 2022-03-07 09:37:49.507 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4143.html



=== Ended at 2022-03-07 09:37:49
=== successfully completed test case
=== === Returned value: 0


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