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

=== Config value:

    [{watchdog,<0.15506.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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-02-02_15.12.45/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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-02-02_15.12.45/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@7a520fcf4274.2022-02-02_15.07.36"

=== Started at 2022-02-02 15:13:00


*** CT 2022-02-02 15:13:00.232 *** View log from node mongooseim@localhost when started mongooseim@localhost_1830.html
*** CT 2022-02-02 15:13:00.233 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_591.html

*** User 2022-02-02 15:13:00.379 ***
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  dump dump.bup
Result []
ExitStatus 0

*** User 2022-02-02 15:13:00.379 ***
DumpReturns []

*** User 2022-02-02 15:13:00.381 ***
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_roster_1060">>},
              roster,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_roster_1060">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_roster_1060">>]},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_prefs_set_cdata_request_1062">>},
              roster,
              [{<<"montague.net">>,<<"montague">>},
               {<<"montague.net">>,<<"romeo">>}],
              []},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_messages_filtered_when_prefs_default_policy_is_roster_1292">>},
              roster,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_roster_1292">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_roster_1292">>]},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_messages_filtered_when_prefs_default_policy_is_always_1063">>},
              always,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_always_1063">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_always_1063">>]},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_run_set_and_get_prefs_cases_1064">>},
              always,[],
              [<<"bob_run_set_and_get_prefs_cases_1064">>,
               <<"kate_run_set_and_get_prefs_cases_1064">>]},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_prefs_set_cdata_request_1291">>},
              roster,
              [{<<"montague.net">>,<<"montague">>},
               {<<"montague.net">>,<<"romeo">>}],
              []},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_messages_filtered_when_prefs_default_policy_is_never_1061">>},
              never,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_never_1061">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_never_1061">>]},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_messages_filtered_when_prefs_default_policy_is_always_1295">>},
              always,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_always_1295">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_always_1295">>]},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_messages_filtered_when_prefs_default_policy_is_never_1293">>},
              never,[],
              [<<"bob_messages_filtered_when_prefs_default_policy_is_never_1293">>,
               <<"kate_messages_filtered_when_prefs_default_policy_is_never_1293">>]},
          {mam_prefs,
              {<<"domain.example.com">>,
               <<"alice_run_set_and_get_prefs_cases_1294">>},
              always,[],
              [<<"bob_run_set_and_get_prefs_cases_1294">>,
               <<"kate_run_set_and_get_prefs_cases_1294">>]},
          {last_activity,
              {<<"alice">>,<<"domain.example.com">>},
              1643814778,<<>>},
          {last_activity,
              {<<"bob">>,<<"domain.example.com">>},
              1643814778,<<>>}]

*** User 2022-02-02 15:13:00.556 ***
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-02-02 15:13:00.556 ***
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-02-02 15:13:00.559 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_591.html
*** CT 2022-02-02 15:13:00.559 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1830.html



=== Ended at 2022-02-02 15:13:00
=== successfully completed test case
=== === Returned value: 0


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