Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite last_SUITE:sessions_cleanup #4373

Merged
merged 2 commits into from
Sep 11, 2024

Conversation

arcusfelis
Copy link
Contributor

This PR addresses MIM-2253 Rewrite sessions_cleanup test in mod_last.

Proposed changes include:

  • Do cleanup properly
  • Easier to understand code
  • Rewrite last_SUITE:sessions_cleanup

Do cleanup properly
Easier to understand code
@mongoose-im
Copy link
Collaborator

mongoose-im commented Sep 10, 2024

elasticsearch_and_cassandra_27 / elasticsearch_and_cassandra_mnesia / 0247f47
Reports root/ big
OK: 461 / Failed: 0 / User-skipped: 49 / Auto-skipped: 0


small_tests_27 / small_tests / 0247f47
Reports root / small


small_tests_26 / small_tests / 0247f47
Reports root / small


small_tests_27_arm64 / small_tests / 0247f47
Reports root / small


ldap_mnesia_26 / ldap_mnesia / 0247f47
Reports root/ big
OK: 2345 / Failed: 1 / User-skipped: 910 / Auto-skipped: 0

last_SUITE:valid_queries:sessions_cleanup
{error,{{assertNotEqual,[{module,last_SUITE},
             {line,203},
             {comment,#{status => <<"old status">>,
                  timestamp => 1714000000}},
             {expression,"OldTS"},
             {value,1714000000}]},
    [{last_SUITE,sessions_cleanup,1,
           [{file,"/home/circleci/project/big_tests/tests/last_SUITE.erl"},
            {line,203}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log


ldap_mnesia_27 / ldap_mnesia / 0247f47
Reports root/ big
OK: 2345 / Failed: 1 / User-skipped: 910 / Auto-skipped: 0

last_SUITE:valid_queries:sessions_cleanup
{error,{{assertNotEqual,[{module,last_SUITE},
             {line,203},
             {comment,#{status => <<"old status">>,
                  timestamp => 1714000000}},
             {expression,"OldTS"},
             {value,1714000000}]},
    [{last_SUITE,sessions_cleanup,1,
           [{file,"/home/circleci/project/big_tests/tests/last_SUITE.erl"},
            {line,203}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log


dynamic_domains_mysql_redis_27 / mysql_redis / 0247f47
Reports root/ big
OK: 4676 / Failed: 0 / User-skipped: 152 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_27 / pgsql_mnesia / 0247f47
Reports root/ big
OK: 4708 / Failed: 1 / User-skipped: 119 / Auto-skipped: 0

last_SUITE:valid_queries:sessions_cleanup
{error,{{assertNotEqual,[{module,last_SUITE},
             {line,203},
             {comment,#{status => <<"old status">>,
                  timestamp => 1714000000}},
             {expression,"OldTS"},
             {value,1714000000}]},
    [{last_SUITE,sessions_cleanup,1,
           [{file,"/home/circleci/project/big_tests/tests/last_SUITE.erl"},
            {line,203}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log


pgsql_cets_27 / pgsql_cets / 0247f47
Reports root/ big
OK: 4598 / Failed: 0 / User-skipped: 186 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / 0247f47
Reports root/ big
OK: 4708 / Failed: 1 / User-skipped: 119 / Auto-skipped: 0

last_SUITE:valid_queries:sessions_cleanup
{error,{{assertNotEqual,[{module,last_SUITE},
             {line,203},
             {comment,#{status => <<"old status">>,
                  timestamp => 1714000000}},
             {expression,"OldTS"},
             {value,1714000000}]},
    [{last_SUITE,sessions_cleanup,1,
           [{file,"/home/circleci/project/big_tests/tests/last_SUITE.erl"},
            {line,203}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log


dynamic_domains_mssql_mnesia_27 / odbc_mssql_mnesia / 0247f47
Reports root/ big
OK: 4705 / Failed: 1 / User-skipped: 122 / Auto-skipped: 0

last_SUITE:valid_queries:sessions_cleanup
{error,{{assertNotEqual,[{module,last_SUITE},
             {line,203},
             {comment,#{status => <<"old status">>,
                  timestamp => 1714000000}},
             {expression,"OldTS"},
             {value,1714000000}]},
    [{last_SUITE,sessions_cleanup,1,
           [{file,"/home/circleci/project/big_tests/tests/last_SUITE.erl"},
            {line,203}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log


mysql_redis_27 / mysql_redis / 0247f47
Reports root/ big
OK: 5081 / Failed: 0 / User-skipped: 147 / Auto-skipped: 0


internal_mnesia_27 / internal_mnesia / 0247f47
Reports root/ big
OK: 2467 / Failed: 3 / User-skipped: 768 / Auto-skipped: 18

last_SUITE:valid_queries:sessions_cleanup
{error,{{assertNotEqual,[{module,last_SUITE},
             {line,203},
             {comment,#{status => <<"old status">>,
                  timestamp => 1714000000}},
             {expression,"OldTS"},
             {value,1714000000}]},
    [{last_SUITE,sessions_cleanup,1,
           [{file,"/home/circleci/project/big_tests/tests/last_SUITE.erl"},
            {line,203}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

service_mongoose_system_metrics_SUITE:all_clustered_mongooses_report_the_same_client_id
{skip,
  {failed,
    {service_mongoose_system_metrics_SUITE,init_per_testcase,
      {{badrpc,timeout},
       [{distributed_helper,rpc,
          [#{timeout => 30000,node => mongooseim2@localhost},
           mongoose_cluster,join,
           [mongooseim@localhost]],
          [{file,
             "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
           {line,140}]},
        {distributed_helper,add_node_to_mnesia_cluster,2,
          [{file,
             "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
           {line,44}]},
        {distributed_helper,add_node_to_cluster,2,
          [{file,
             "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
           {line,36}]},
        {service_mongoose_system_metrics_SUITE,init_per_testcase,2,
          [{file,
             "/home/circleci/project/big_tests/tests/service_mongoose_system_metrics_SUITE.erl"},
           {line,113}]},
        {test_server,do_init_per_testcase,2,
          [{file,"test_server.erl"},{line,1564}]},
        {test_server,run_test_case_eval1,6,
          [{file,"test_server.erl"},{line,1265}]},
        {test_server,run_test_case_eval,9,
          [{file,"test_server.erl"},{line,1235}]}]}}}}

Report log

system_probes_SUITE:mnesia:mnesia_info
{error,{test_case_failed,"Incorrect number of instrumentation events - matched: 0, expected: positive"}}

Report log

system_probes_SUITE:end_per_suite
{error,{test_case_failed,"Instrumentation events that were logged, but not tested:\n[{mnesia_info,#{}}]\nYou need to test them with instrument_helper:assert/3"}}

Report log

service_domain_db_SUITE:no_db:init_per_group
{'EXIT',
  {{badrpc,
     {'EXIT',
       {noproc,
         {gen_server,call,
           [mongoose_domain_sup,
            {terminate_child,mongoose_domain_core},
            infinity]}}}},
   [{distributed_helper,rpc,
      [#{node => mongooseim2@localhost},
       mongoose_domain_sup,restart_core,
       [[[],
       [<<"mim2only">>,<<"type1">>,<<"type2">>,<<"dummy auth">>,
        <<"dbgroup">>,<<"dbgroup2">>,<<"cfggroup">>]]]],
      [{file,
         "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
       {line,140}]},
    {domain_helper,restart_domain_core,3,
      [{file,"/home/circleci/project/big_tests/tests/domain_helper.erl"},
       {line,33}]},
    {service_domain_db_SUITE,setup_service,2,
      [{file,
         "/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
       {line,320}]},
    {service_domain_db_SUITE,init_per_group,2,
      [{file,
         "/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
       {line,243}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1391}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

service_domain_db_SUITE:end_per_suite
{error,
  {{badrpc,
     {'EXIT',
       {noproc,
         {gen_server,call,
           [mongoose_domain_sup,
            {terminate_child,mongoose_domain_core},
            infinity]}}}},
   [{distributed_helper,rpc,
      [#{node => mongooseim2@localhost},
       mongoose_domain_sup,restart_core,
       [[]]],
      [{file,
         "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
       {line,140}]},
    {domain_helper,restart_domain_core,1,
      [{file,"/home/circleci/project/big_tests/tests/domain_helper.erl"},
       {line,30}]},
    {service_domain_db_SUITE,'-end_per_suite/1-lc$^0/1-0-',1,
      [{file,
         "/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
       {line,215}]},
    {service_domain_db_SUITE,end_per_suite,1,
      [{file,
         "/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
       {line,215}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1391}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

domain_removal_SUITE:auth_removal:auth_removal
{error,{{assertMatch,[{module,domain_removal_SUITE},
            {line,192},
            {expression,"rpc ( mim ( ) , ejabberd_auth , get_vh_registered_users , [ domain ( ) ] )"},
            {pattern,"[ _Alice ]"},
            {value,[{<<"alice_auth_removal_2148">>,<<"localhost">>},
                {<<"user3">>,<<"localhost">>}]}]},
    [{domain_removal_SUITE,auth_removal,1,
                 [{file,"/home/circleci/project/big_tests/tests/domain_removal_SUITE.erl"},
                {line,192}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

dynamic_domains_SUITE:init_per_suite
{'EXIT',
  {{badrpc,timeout},
   [{distributed_helper,rpc,
      [#{timeout => 30000,node => mongooseim2@localhost},
       mongoose_cluster,join,
       [mongooseim@localhost]],
      [{file,
         "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
       {line,140}]},
    {distributed_helper,add_node_to_mnesia_cluster,2,
      [{file,
         "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
       {line,44}]},
    {distributed_helper,add_node_to_cluster,2,
      [{file,
         "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
       {line,36}]},
    {dynamic_domains_SUITE,cluster_nodes,2,
      [{file,
         "/home/circleci/project/big_tests/tests/dynamic_domains_SUITE.erl"},
       {line,238}]},
    {dynamic_domains_SUITE,init_per_suite,1,
      [{file,
         "/home/circleci/project/big_tests/tests/dynamic_domains_SUITE.erl"},
       {line,33}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1391}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

local_iq_SUITE:init_per_suite
{'EXIT',{{badrpc,timeout},
     [{distributed_helper,rpc,
                [#{timeout => 30000,
                 node => mongooseim2@localhost},
                 mongoose_cluster,join,
                 [mongooseim@localhost]],
                [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                 {line,140}]},
      {distributed_helper,add_node_to_mnesia_cluster,2,
                [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                 {line,44}]},
      {distributed_helper,add_node_to_cluster,2,
                [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                 {line,36}]},
      {local_iq_SUITE,init_per_suite,1,
              [{file,"/home/circleci/project/big_tests/tests/local_iq_SUITE.erl"},
               {line,29}]},
      {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
      {test_server,run_test_case_eval1,6,
             [{file,"test_server.erl"},{line,1391}]},
      {test_server,run_test_case_eval,9,
             [{file,"test_server.erl"},{line,1235}]}]}}

Report log


pgsql_mnesia_27 / pgsql_mnesia / 0247f47
Reports root/ big
OK: 5099 / Failed: 1 / User-skipped: 128 / Auto-skipped: 0

last_SUITE:valid_queries:sessions_cleanup
{error,{{assertNotEqual,[{module,last_SUITE},
             {line,203},
             {comment,#{status => <<"old status">>,
                  timestamp => 1714000000}},
             {expression,"OldTS"},
             {value,1714000000}]},
    [{last_SUITE,sessions_cleanup,1,
           [{file,"/home/circleci/project/big_tests/tests/last_SUITE.erl"},
            {line,203}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log


pgsql_mnesia_26 / pgsql_mnesia / 0247f47
Reports root/ big
OK: 5098 / Failed: 2 / User-skipped: 128 / Auto-skipped: 0

graphql_session_SUITE:admin_session:admin_session_cli:admin_count_users_with_status
{error,
  {{assertEqual,
     [{module,graphql_session_SUITE},
      {line,586},
      {expression,"Count"},
      {expected,2},
      {value,1}]},
   [{graphql_session_SUITE,assert_count_users_with_status,4,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,586}]},
    {graphql_session_SUITE,admin_count_users_with_status_story,3,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_session_SUITE.erl"},
       {line,391}]},
    {escalus_story,story,4,
      [{file,
         "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,72}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1302}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1234}]}]}}

Report log

last_SUITE:valid_queries:sessions_cleanup
{error,{{assertNotEqual,[{module,last_SUITE},
             {line,203},
             {comment,#{status => <<"old status">>,
                  timestamp => 1714000000}},
             {expression,"OldTS"},
             {value,1714000000}]},
    [{last_SUITE,sessions_cleanup,1,
           [{file,"/home/circleci/project/big_tests/tests/last_SUITE.erl"},
            {line,203}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1302}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1234}]}]}}

Report log


mssql_mnesia_27 / odbc_mssql_mnesia / 0247f47
Reports root/ big
OK: 5096 / Failed: 1 / User-skipped: 131 / Auto-skipped: 0

last_SUITE:valid_queries:sessions_cleanup
{error,{{assertNotEqual,[{module,last_SUITE},
             {line,203},
             {comment,#{status => <<"old status">>,
                  timestamp => 1714000000}},
             {expression,"OldTS"},
             {value,1714000000}]},
    [{last_SUITE,sessions_cleanup,1,
           [{file,"/home/circleci/project/big_tests/tests/last_SUITE.erl"},
            {line,203}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
     {test_server,run_test_case_eval1,6,
            [{file,"test_server.erl"},{line,1303}]},
     {test_server,run_test_case_eval,9,
            [{file,"test_server.erl"},{line,1235}]}]}}

Report log

Copy link

codecov bot commented Sep 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.19%. Comparing base (aafbc75) to head (3186e4f).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4373      +/-   ##
==========================================
+ Coverage   85.15%   85.19%   +0.03%     
==========================================
  Files         549      549              
  Lines       33808    33808              
==========================================
+ Hits        28790    28803      +13     
+ Misses       5018     5005      -13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mongoose-im
Copy link
Collaborator

mongoose-im commented Sep 10, 2024

elasticsearch_and_cassandra_27 / elasticsearch_and_cassandra_mnesia / 3186e4f
Reports root/ big
OK: 461 / Failed: 0 / User-skipped: 49 / Auto-skipped: 0


small_tests_27 / small_tests / 3186e4f
Reports root / small


small_tests_26 / small_tests / 3186e4f
Reports root / small


small_tests_27_arm64 / small_tests / 3186e4f
Reports root / small


dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / 3186e4f
Reports root/ big
OK: 4708 / Failed: 1 / User-skipped: 119 / Auto-skipped: 0

rdbms_SUITE:global_rdbms_queries:test_failed_wrapper_transaction
{error,
 {{assertEqual,
   [{module,rdbms_SUITE},
  {line,581},
  {expression,"rpc ( mim ( ) , meck , history , [ supervisor ] )"},
  {expected,[]},
  {value,
   [{<10259.115011.0>,
     {supervisor,handle_call,
    [which_children,
     {<10259.119371.0>,#Ref<10259.3896159037.1148715010.205012>},
     {state,
      {local,mongoose_listener_sup},
      one_for_one,
      {[{8189,{127,0,0,1},tcp},
      {8666,{127,0,0,1},tcp},
      {8888,{127,0,0,1},tcp},
      {5269,{0,0,0,0},tcp},
      {9091,{0,0,0,0},tcp},
      {5561,{0,0,0,0},tcp},
      {5541,{0,0,0,0},tcp},
      {5551,{127,0,0,1},tcp},
      {8089,{0,0,0,0},tcp},
      {8088,{127,0,0,1},tcp},
      {5285,{0,0,0,0},tcp},
      {5280,{0,0,0,0},tcp},
      {5223,{0,0,0,0},tcp},
      {5222,{0,0,0,0},tcp}],
       #{{5222,{0,0,0,0},tcp} =>
        {child,<10259.115198.0>,
         {5222,{0,0,0,0},tcp},
         {mongoose_c2s_listener,start_link,
        [#{access => c2s,module => mongoose_c2s_listener,port => 5222,
           num_acceptors => 100,hibernate_after => 0,backlog => 1024,
           state_timeout => 5000,
           tls =>
          #{module => fast_tls,mode => starttls,
            certfile => "priv/ssl/fake_server.pem",
            dhfile => "priv/ssl/fake_dh_server.pem",
            verify_mode => none,
            protocol_options =>
             ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"],
            ciphers => "TLSv1.2:TLSv1.3"},
           proxy_protocol => false,shaper => c2s_shaper,
           b...

Report log


ldap_mnesia_27 / ldap_mnesia / 3186e4f
Reports root/ big
OK: 2346 / Failed: 0 / User-skipped: 910 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_27 / pgsql_mnesia / 3186e4f
Reports root/ big
OK: 4709 / Failed: 0 / User-skipped: 119 / Auto-skipped: 0


ldap_mnesia_26 / ldap_mnesia / 3186e4f
Reports root/ big
OK: 2346 / Failed: 0 / User-skipped: 910 / Auto-skipped: 0


dynamic_domains_mysql_redis_27 / mysql_redis / 3186e4f
Reports root/ big
OK: 4676 / Failed: 0 / User-skipped: 152 / Auto-skipped: 0


pgsql_cets_27 / pgsql_cets / 3186e4f
Reports root/ big
OK: 4588 / Failed: 0 / User-skipped: 186 / Auto-skipped: 10

mim_c2s_SUITE:init_per_suite
{'EXIT',{{badrpc,timeout},
     [{distributed_helper,rpc,
                [#{timeout => 5000,node => mongooseim@localhost},
                 code,load_binary,
                 [ets_helper,
                "/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/ets_helper.beam",
                <<70,79,82,49,0,0,9,196,66,69,65,77,65,116,
                  85,56,0,0,0,153,0,0,0,20,10,101,116,115,95,
                  104,101,108,112,101,114,3,110,101,119,6,
                  101,114,108,97,110,103,4,115,101,108,102,8,
                  105,110,105,116,95,116,97,98,5,115,112,97,
                  119,110,13,116,97,98,108,101,95,99,114,101,
                  97,116,101,100,2,111,107,4,107,105,108,108,
                  4,101,120,105,116,5,101,114,114,111,114,6,
                  100,101,108,101,116,101,5,111,119,110,101,
                  114,3,101,116,115,4,105,110,102,111,4,115,
                  116,111,112,6,112,117,98,108,105,99,11,110,
                  97,109,101,100,95,116,97,98,108,101,11,109,
                  111,100,117,108,101,95,105,110,102,111,15,
                  103,101,116,95,109,111,100,117,108,101,95,
                  105,110,102,111,0,0,0,67,111,100,101,0,0,1,
                  44,0,0,0,16,0,0,0,0,0,0,0,172,0,0,0,19,0,0,
                  0,6,1,16,153,16,2,18,34,16,1,32,64,2,19,6,
                  32,69,1,48,153,32,2,18,34,32,1,64,13,16,96,
                  32,172,23,16,4,9,0,35,69,19,2,19,69,3,19,3,
                  69,35,3,35,64,82,19,...

Report log


dynamic_domains_mssql_mnesia_27 / odbc_mssql_mnesia / 3186e4f
Reports root/ big
OK: 4706 / Failed: 0 / User-skipped: 122 / Auto-skipped: 0


internal_mnesia_27 / internal_mnesia / 3186e4f
Reports root/ big
OK: 2469 / Failed: 1 / User-skipped: 768 / Auto-skipped: 18

service_mongoose_system_metrics_SUITE:all_clustered_mongooses_report_the_same_client_id
{skip,
  {failed,
    {service_mongoose_system_metrics_SUITE,init_per_testcase,
      {{badrpc,timeout},
       [{distributed_helper,rpc,
          [#{timeout => 30000,node => mongooseim2@localhost},
           mongoose_cluster,join,
           [mongooseim@localhost]],
          [{file,
             "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
           {line,140}]},
        {distributed_helper,add_node_to_mnesia_cluster,2,
          [{file,
             "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
           {line,44}]},
        {distributed_helper,add_node_to_cluster,2,
          [{file,
             "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
           {line,36}]},
        {service_mongoose_system_metrics_SUITE,init_per_testcase,2,
          [{file,
             "/home/circleci/project/big_tests/tests/service_mongoose_system_metrics_SUITE.erl"},
           {line,113}]},
        {test_server,do_init_per_testcase,2,
          [{file,"test_server.erl"},{line,1564}]},
        {test_server,run_test_case_eval1,6,
          [{file,"test_server.erl"},{line,1265}]},
        {test_server,run_test_case_eval,9,
          [{file,"test_server.erl"},{line,1235}]}]}}}}

Report log

system_probes_SUITE:mnesia:mnesia_info
{error,{test_case_failed,"Incorrect number of instrumentation events - matched: 0, expected: positive"}}

Report log

system_probes_SUITE:end_per_suite
{error,{test_case_failed,"Instrumentation events that were logged, but not tested:\n[{mnesia_info,#{}}]\nYou need to test them with instrument_helper:assert/3"}}

Report log

service_domain_db_SUITE:no_db:init_per_group
{'EXIT',
  {{badrpc,
     {'EXIT',
       {noproc,
         {gen_server,call,
           [mongoose_domain_sup,
            {terminate_child,mongoose_domain_core},
            infinity]}}}},
   [{distributed_helper,rpc,
      [#{node => mongooseim2@localhost},
       mongoose_domain_sup,restart_core,
       [[[],
       [<<"mim2only">>,<<"type1">>,<<"type2">>,<<"dummy auth">>,
        <<"dbgroup">>,<<"dbgroup2">>,<<"cfggroup">>]]]],
      [{file,
         "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
       {line,140}]},
    {domain_helper,restart_domain_core,3,
      [{file,"/home/circleci/project/big_tests/tests/domain_helper.erl"},
       {line,33}]},
    {service_domain_db_SUITE,setup_service,2,
      [{file,
         "/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
       {line,320}]},
    {service_domain_db_SUITE,init_per_group,2,
      [{file,
         "/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
       {line,243}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1391}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

service_domain_db_SUITE:end_per_suite
{error,
  {{badrpc,
     {'EXIT',
       {noproc,
         {gen_server,call,
           [mongoose_domain_sup,
            {terminate_child,mongoose_domain_core},
            infinity]}}}},
   [{distributed_helper,rpc,
      [#{node => mongooseim2@localhost},
       mongoose_domain_sup,restart_core,
       [[]]],
      [{file,
         "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
       {line,140}]},
    {domain_helper,restart_domain_core,1,
      [{file,"/home/circleci/project/big_tests/tests/domain_helper.erl"},
       {line,30}]},
    {service_domain_db_SUITE,'-end_per_suite/1-lc$^0/1-0-',1,
      [{file,
         "/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
       {line,215}]},
    {service_domain_db_SUITE,end_per_suite,1,
      [{file,
         "/home/circleci/project/big_tests/tests/service_domain_db_SUITE.erl"},
       {line,215}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1391}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

dynamic_domains_SUITE:init_per_suite
{'EXIT',
  {{badrpc,timeout},
   [{distributed_helper,rpc,
      [#{timeout => 30000,node => mongooseim2@localhost},
       mongoose_cluster,join,
       [mongooseim@localhost]],
      [{file,
         "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
       {line,140}]},
    {distributed_helper,add_node_to_mnesia_cluster,2,
      [{file,
         "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
       {line,44}]},
    {distributed_helper,add_node_to_cluster,2,
      [{file,
         "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
       {line,36}]},
    {dynamic_domains_SUITE,cluster_nodes,2,
      [{file,
         "/home/circleci/project/big_tests/tests/dynamic_domains_SUITE.erl"},
       {line,238}]},
    {dynamic_domains_SUITE,init_per_suite,1,
      [{file,
         "/home/circleci/project/big_tests/tests/dynamic_domains_SUITE.erl"},
       {line,33}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1391}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1235}]}]}}

Report log

local_iq_SUITE:init_per_suite
{'EXIT',{{badrpc,timeout},
     [{distributed_helper,rpc,
                [#{timeout => 30000,
                 node => mongooseim2@localhost},
                 mongoose_cluster,join,
                 [mongooseim@localhost]],
                [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                 {line,140}]},
      {distributed_helper,add_node_to_mnesia_cluster,2,
                [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                 {line,44}]},
      {distributed_helper,add_node_to_cluster,2,
                [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                 {line,36}]},
      {local_iq_SUITE,init_per_suite,1,
              [{file,"/home/circleci/project/big_tests/tests/local_iq_SUITE.erl"},
               {line,29}]},
      {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
      {test_server,run_test_case_eval1,6,
             [{file,"test_server.erl"},{line,1391}]},
      {test_server,run_test_case_eval,9,
             [{file,"test_server.erl"},{line,1235}]}]}}

Report log


mysql_redis_27 / mysql_redis / 3186e4f
Reports root/ big
OK: 5081 / Failed: 0 / User-skipped: 147 / Auto-skipped: 0


pgsql_mnesia_26 / pgsql_mnesia / 3186e4f
Reports root/ big
OK: 5100 / Failed: 0 / User-skipped: 128 / Auto-skipped: 0


mssql_mnesia_27 / odbc_mssql_mnesia / 3186e4f
Reports root/ big
OK: 5097 / Failed: 0 / User-skipped: 131 / Auto-skipped: 0


pgsql_mnesia_27 / pgsql_mnesia / 3186e4f
Reports root/ big
OK: 5100 / Failed: 0 / User-skipped: 128 / Auto-skipped: 0


internal_mnesia_27 / internal_mnesia / 3186e4f
Reports root/ big
OK: 2488 / Failed: 0 / User-skipped: 768 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / 3186e4f
Reports root/ big
OK: 4709 / Failed: 0 / User-skipped: 119 / Auto-skipped: 0


pgsql_cets_27 / pgsql_cets / 3186e4f
Reports root/ big
OK: 4598 / Failed: 0 / User-skipped: 186 / Auto-skipped: 0

@arcusfelis arcusfelis marked this pull request as ready for review September 10, 2024 21:19
Copy link
Contributor

@gustawlippa gustawlippa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes! 👍

@gustawlippa gustawlippa merged commit c118172 into master Sep 11, 2024
4 checks passed
@gustawlippa gustawlippa deleted the refactor-mod-last-sessions_cleanup-test branch September 11, 2024 14:36
@jacekwegr jacekwegr added this to the 6.3.0 milestone Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants