=== Test case: cets_disco_SUITE:rdbms_backend_supports_auto_cleaning/1 (click for source code)

=== Config value:

    [{watchdog,<0.89362.0>},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/cets_disco_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@82e417e9e7f3.2024-04-15_15.52.32/big_tests.tests.cets_disco_SUITE.logs/run.2024-04-15_16.07.50/cets_disco_suite.rdbms_backend_supports_auto_cleaning.html"},
     {tc_group_properties,[{name,rdbms}]},
     {tc_group_path,[[{suite,cets_disco_SUITE}]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/cets_disco_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@82e417e9e7f3.2024-04-15_15.52.32/big_tests.tests.cets_disco_SUITE.logs/run.2024-04-15_16.07.50/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@82e417e9e7f3.2024-04-15_15.52.32"

=== Started at 2024-04-15 16:07:51


*** CT 2024-04-15 16:07:51.093 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_3579.html

*** User 2024-04-15 16:07:51.111 ***🔗
[0] disco_init(#{node => mongooseim@localhost},
               #{cluster_name =>
                     <<"big_test_rdbms_backend_supports_auto_cleaning_c802fe6e71052c9d">>,
                 node_name_to_insert => <<"test1">>}) =
        #{cluster_name =>
              <<"big_test_rdbms_backend_supports_auto_cleaning_c802fe6e71052c9d-0.2">>,
          node_name_to_insert => <<"test1">>,last_query_info => #{},
          expire_time => 3600,node_ip_binary => <<>>,address_pairs => #{}}

*** User 2024-04-15 16:07:51.114 ***🔗
[1] disco_get_nodes(#{node => mongooseim@localhost},
                    #{cluster_name =>
                          <<"big_test_rdbms_backend_supports_auto_cleaning_c802fe6e71052c9d-0.2">>,
                      node_name_to_insert => <<"test1">>,
                      last_query_info => #{},expire_time => 3600,
                      node_ip_binary => <<>>,address_pairs => #{}}) =
        {{ok,[]},
         #{cluster_name =>
               <<"big_test_rdbms_backend_supports_auto_cleaning_c802fe6e71052c9d-0.2">>,
           node_name_to_insert => <<"test1">>,
           last_query_info =>
               #{timestamp => 1710605271,address => <<>>,
                 already_registered => false,node_num => 1,last_rows => [],
                 run_cleaning_result => {removed,[]}},
           expire_time => 3600,node_ip_binary => <<>>,address_pairs => #{}}}

*** User 2024-04-15 16:07:51.116 ***🔗
[2] disco_get_nodes(#{node => mongooseim@localhost},
                    #{cluster_name =>
                          <<"big_test_rdbms_backend_supports_auto_cleaning_c802fe6e71052c9d-0.2">>,
                      node_name_to_insert => <<"test1">>,
                      last_query_info =>
                          #{timestamp => 1710605271,address => <<>>,
                            already_registered => false,node_num => 1,
                            last_rows => [],
                            run_cleaning_result => {removed,[]}},
                      expire_time => 3600,node_ip_binary => <<>>,
                      address_pairs => #{}}) =
        {{ok,[test1]},
         #{cluster_name =>
               <<"big_test_rdbms_backend_supports_auto_cleaning_c802fe6e71052c9d-0.2">>,
           node_name_to_insert => <<"test1">>,
           last_query_info =>
               #{timestamp => 1710605271,address => <<>>,
                 already_registered => true,node_num => 1,
                 last_rows => [{<<"test1">>,1,<<>>,1710605271}],
                 run_cleaning_result => {removed,[]}},
           expire_time => 3600,node_ip_binary => <<>>,
           address_pairs => #{<<"test1">> => <<>>}}}

*** User 2024-04-15 16:07:51.116 ***🔗
[0] disco_init(#{node => mongooseim2@localhost},
               #{cluster_name =>
                     <<"big_test_rdbms_backend_supports_auto_cleaning_c802fe6e71052c9d">>,
                 node_name_to_insert => <<"test2">>}) =
        #{cluster_name =>
              <<"big_test_rdbms_backend_supports_auto_cleaning_c802fe6e71052c9d-0.2">>,
          node_name_to_insert => <<"test2">>,last_query_info => #{},
          expire_time => 3600,node_ip_binary => <<>>,address_pairs => #{}}

*** System report during cets_disco_SUITE:rdbms_backend_supports_auto_cleaning/1 in rdbms 2024-04-15 16:07:51.119 ***🔗
=WARNING REPORT==== 15-Apr-2024::16:07:51.119685 ===
    text: <<"Expired nodes are detected in discovery_nodes table">>
    what: cets_expired_nodes
    expired_nodes: [<<"test1">>]


*** User 2024-04-15 16:07:51.120 ***🔗
[1] disco_get_nodes(#{node => mongooseim2@localhost},
                    #{cluster_name =>
                          <<"big_test_rdbms_backend_supports_auto_cleaning_c802fe6e71052c9d-0.2">>,
                      node_name_to_insert => <<"test2">>,
                      last_query_info => #{},expire_time => 3600,
                      node_ip_binary => <<>>,address_pairs => #{}}) =
        {{ok,[]},
         #{cluster_name =>
               <<"big_test_rdbms_backend_supports_auto_cleaning_c802fe6e71052c9d-0.2">>,
           node_name_to_insert => <<"test2">>,
           last_query_info =>
               #{timestamp => 1713197271,address => <<>>,
                 already_registered => false,node_num => 2,
                 last_rows => [{<<"test1">>,1,<<>>,1710605271}],
                 run_cleaning_result => {removed,[<<"test1">>]}},
           expire_time => 3600,node_ip_binary => <<>>,
           address_pairs => #{<<"test1">> => <<>>}}}

*** User 2024-04-15 16:07:51.122 ***🔗
[2] disco_get_nodes(#{node => mongooseim2@localhost},
                    #{cluster_name =>
                          <<"big_test_rdbms_backend_supports_auto_cleaning_c802fe6e71052c9d-0.2">>,
                      node_name_to_insert => <<"test2">>,
                      last_query_info =>
                          #{timestamp => 1713197271,address => <<>>,
                            already_registered => false,node_num => 2,
                            last_rows => [{<<"test1">>,1,<<>>,1710605271}],
                            run_cleaning_result => {removed,[<<"test1">>]}},
                      expire_time => 3600,node_ip_binary => <<>>,
                      address_pairs => #{<<"test1">> => <<>>}}) =
        {{ok,[test2]},
         #{cluster_name =>
               <<"big_test_rdbms_backend_supports_auto_cleaning_c802fe6e71052c9d-0.2">>,
           node_name_to_insert => <<"test2">>,
           last_query_info =>
               #{timestamp => 1713197271,address => <<>>,
                 already_registered => true,node_num => 2,
                 last_rows => [{<<"test2">>,2,<<>>,1713197271}],
                 run_cleaning_result => {removed,[]}},
           expire_time => 3600,node_ip_binary => <<>>,
           address_pairs => #{<<"test2">> => <<>>}}}
*** CT 2024-04-15 16:07:51.138 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_3579.html



=== Ended at 2024-04-15 16:07:51
=== successfully completed test case
=== === Returned value: ok


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