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

=== Config value:

    [{watchdog,<0.22413.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@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-11_09.02.12/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@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-05-11_09.02.12/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@df370d24fb6d.2022-05-11_08.56.40"

=== Started at 2022-05-11 09:02:32


*** CT 2022-05-11 09:02:32.106 *** View log from node mongooseim@localhost when started mongooseim@localhost_1932.html
*** CT 2022-05-11 09:02:32.107 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_492.html

*** User 2022-05-11 09:02:32.300 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  dump dump.bup
Result []
ExitStatus 0

*** User 2022-05-11 09:02:32.300 ***
DumpReturns []

*** User 2022-05-11 09:02:32.302 ***
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_prefs_set_cdata_request_1446">>},
              roster,
              [{<<"montague.net">>,<<"montague">>},
               {<<"montague.net">>,<<"romeo">>}],
              []},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_messages_filtered_when_prefs_default_policy_is_never_1691">>},
              never,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_never_1691">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_never_1691">>]},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_run_set_and_get_prefs_cases_1694">>},
              always,[],
              [<<"bob_run_set_and_get_prefs_cases_1694">>,
               <<"kate_run_set_and_get_prefs_cases_1694">>]},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_messages_filtered_when_prefs_default_policy_is_always_1449">>},
              always,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_always_1449">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_always_1449">>]},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_messages_filtered_when_prefs_default_policy_is_roster_1693">>},
              roster,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_roster_1693">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_roster_1693">>]},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_messages_filtered_when_prefs_default_policy_is_never_1448">>},
              never,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_never_1448">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_never_1448">>]},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_run_set_and_get_prefs_cases_1450">>},
              always,[],
              [<<"bob_run_set_and_get_prefs_cases_1450">>,
               <<"kate_run_set_and_get_prefs_cases_1450">>]},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_messages_filtered_when_prefs_default_policy_is_roster_1451">>},
              roster,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_roster_1451">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_roster_1451">>]},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_messages_filtered_when_prefs_default_policy_is_always_1692">>},
              always,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_always_1692">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_always_1692">>]},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_prefs_set_cdata_request_1690">>},
              roster,
              [{<<"montague.net">>,<<"montague">>},
               {<<"montague.net">>,<<"romeo">>}],
              []},
          {last_activity,
              {<<"alice">>,<<"domain.example.com">>},
              1652259749,<<>>},
          {last_activity,
              {<<"bob">>,<<"domain.example.com">>},
              1652259749,<<>>}]

*** User 2022-05-11 09:02:32.516 ***
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-05-11 09:02:32.516 ***
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-05-11 09:02:32.518 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_492.html
*** CT 2022-05-11 09:02:32.519 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1932.html



=== Ended at 2022-05-11 09:02:32
=== successfully completed test case
=== === Returned value: 0


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