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

Remove mongoose_metrics entirely #4353

Merged
merged 5 commits into from
Aug 13, 2024

Conversation

jacekwegr
Copy link
Collaborator

@jacekwegr jacekwegr commented Aug 1, 2024

This PR removes the general.all_metrics_are_global option from the config and replaces it with instrumentation.exometer.all_metrics_are_global. It also moves all Exometer-related code used by mongoose_metrics_api to mongoose_instrument_exometer. Finally, it deletes mongoose_metrics from the source code and documentation.

@mongoose-im

This comment was marked as outdated.

Copy link

codecov bot commented Aug 1, 2024

Codecov Report

Attention: Patch coverage is 92.85714% with 2 lines in your changes missing coverage. Please review.

Project coverage is 85.03%. Comparing base (0e8cf4b) to head (643f99d).

Files Patch % Lines
src/instrument/mongoose_instrument_exometer.erl 89.47% 2 Missing ⚠️
Additional details and impacted files
@@                  Coverage Diff                   @@
##           feature/instrument    #4353      +/-   ##
======================================================
+ Coverage               84.79%   85.03%   +0.23%     
======================================================
  Files                     551      550       -1     
  Lines                   33877    33857      -20     
======================================================
+ Hits                    28727    28790      +63     
+ Misses                   5150     5067      -83     

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

@mongoose-im

This comment was marked as outdated.

@jacekwegr jacekwegr force-pushed the instrument/remove-mongoose-metrics branch from 06e62a4 to ad24fb2 Compare August 8, 2024 14:38
@mongoose-im

This comment was marked as outdated.

@mongoose-im

This comment was marked as outdated.

@jacekwegr jacekwegr marked this pull request as ready for review August 9, 2024 07:49
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.

Looks good in general, I've added some minor comments. I think mainly the mongoose_instrument_exometer.erl could be reworked a bit before merging.

Copy link
Contributor

@arcusfelis arcusfelis left a comment

Choose a reason for hiding this comment

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

looks good :)

@mongoose-im

This comment was marked as outdated.

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, looks good! 👍

@jacekwegr jacekwegr force-pushed the instrument/remove-mongoose-metrics branch from fc26e8a to 643f99d Compare August 12, 2024 15:14
@mongoose-im
Copy link
Collaborator

mongoose-im commented Aug 12, 2024

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


small_tests_27 / small_tests / 643f99d
Reports root / small


small_tests_26 / small_tests / 643f99d
Reports root / small


small_tests_27_arm64 / small_tests / 643f99d
Reports root / small


internal_mnesia_27 / internal_mnesia / 643f99d
Reports root/ big

cluster_commands_SUITE:join_twice_in_parallel_using_rpc
{'EXIT',{{badrpc,timeout},
     {distributed_helper,rpc,
               [#{timeout => 60000,
                node => mongooseim2@localhost},
                mongoose_cluster,join,
                [mongooseim@localhost]],
               [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                {line,140}]}}}

Report log

cluster_commands_SUITE:cluster_of_three
{error,
  {{assertEqual,
     [{module,cluster_commands_SUITE},
      {line,357},
      {expression,"OpCode1"},
      {expected,0},
      {value,1}]},
   [{cluster_commands_SUITE,cluster_of_three,1,
      [{file,
         "/home/circleci/project/big_tests/tests/cluster_commands_SUITE.erl"},
       {line,357}]},
    {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

cluster_commands_SUITE:leave_the_three
{error,
  {{badrpc,timeout},
   [{distributed_helper,rpc,
      [#{timeout => 60000,node => mongooseim2@localhost},
       mongoose_cluster,join,
       [mongooseim@localhost]],
      [{file,
         "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
       {line,140}]},
    {cluster_commands_SUITE,leave_the_three,1,
      [{file,
         "/home/circleci/project/big_tests/tests/cluster_commands_SUITE.erl"},
       {line,369}]},
    {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

cluster_commands_SUITE:remove_alive_from_cluster
{error,
  {{badrpc,timeout},
   [{distributed_helper,rpc,
      [#{timeout => 60000,node => mongooseim2@localhost},
       mongoose_cluster,join,
       [mongooseim@localhost]],
      [{file,
         "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
       {line,140}]},
    {cluster_commands_SUITE,remove_alive_from_cluster,1,
      [{file,
         "/home/circleci/project/big_tests/tests/cluster_commands_SUITE.erl"},
       {line,411}]},
    {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

component_SUITE:subdomain:init_per_group
{'EXIT',{{badrpc,timeout},
     [{distributed_helper,rpc,
                [#{timeout => 30000,
                 node => mongooseim@localhost},
                 application,start,
                 [mongooseim]],
                [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                 {line,140}]},
      {ejabberd_node_utils,restart_application,2,
                 [{file,"/home/circleci/project/big_tests/tests/ejabberd_node_utils.erl"},
                {line,77}]},
      {component_SUITE,add_domain,1,
               [{file,"/home/circleci/project/big_tests/tests/component_SUITE.erl"},
              {line,569}]},
      {component_SUITE,init_per_group,2,
               [{file,"/home/circleci/project/big_tests/tests/component_SUITE.erl"},
              {line,94}]},
      {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

component_SUITE:hidden_components:init_per_group
{'EXIT',
  {{badrpc,
     {'EXIT',
       {badarg,
         [{ets,lookup,
            [mongoose_domain_core,<<"localhost">>],
            [{error_info,
               #{cause => id,module => erl_stdlib_errors}}]},
          {mongoose_domain_core,get_host_type,1,
            [{file,
               "/home/circleci/project/src/domain/mongoose_domain_core.erl"},
             {line,48}]},
          {ejabberd_auth,call_auth_modules_for_domain,3,
            [{file,
               "/home/circleci/project/src/auth/ejabberd_auth.erl"},
             {line,533}]},
          {ejabberd_auth,does_user_exist,1,
            [{file,
               "/home/circleci/project/src/auth/ejabberd_auth.erl"},
             {line,331}]},
          {ejabberd_auth,try_register,2,
            [{file,
               "/home/circleci/project/src/auth/ejabberd_auth.erl"},
             {line,237}]},
          {mongoose_account_api,register_user,3,
            [{file,
               "/home/circleci/project/src/mongoose_account_api.erl"},
             {line,78}]},
          {ejabberd_admin,register,3,[]}]}}},
   [{escalus_rpc,call_with_cookie_match,
      [mongooseim@localhost,ejabberd_admin,register,
       [<<"alicE">>,<<"localhost">>,<<"matygrysa">>],
       3000,mongooseim],
      [{file,
         "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_rpc.erl"},
       {line,34}]},
    {lists,foreach_1,2,[{file,"lists.erl"},{line,2310}]},
    {escalus_ejabberd,create_users,2,
      [{file,
 ...

Report log

component_SUITE:distributed:init_per_group
{'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}]},
      {component_SUITE,init_per_group,2,
               [{file,"/home/circleci/project/big_tests/tests/component_SUITE.erl"},
              {line,101}]},
      {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

connect_SUITE:init_per_suite
{'EXIT',
  {{badrpc,
     {'EXIT',
       {noproc,
         {gen_server,call,
           [mongoose_instrument,
            {add_handler,event_table,
              #{declared_events =>
                [{c2s_tcp_data_out,#{}},
                 {c2s_tls_data_out,#{}},
                 {c2s_tcp_data_in,#{}},
                 {c2s_tls_data_in,#{}},
                 {c2s_xmpp_element_size_out,#{}},
                 {c2s_xmpp_element_size_in,#{}},
                 {c2s_message_processing_time,
                   #{host_type => <<"localhost">>}}]}}]}}}},
   [{distributed_helper,rpc,
      [#{node => mongooseim@localhost},
       mongoose_instrument,add_handler,
       [event_table,
      #{declared_events =>
          [{c2s_tcp_data_out,#{}},
           {c2s_tls_data_out,#{}},
           {c2s_tcp_data_in,#{}},
           {c2s_tls_data_in,#{}},
           {c2s_xmpp_element_size_out,#{}},
           {c2s_xmpp_element_size_in,#{}},
           {c2s_message_processing_time,
             #{host_type => <<"localhost">>}}]}]],
      [{file,
         "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
       {line,140}]},
    {instrument_helper,start,2,
      [{file,
         "/home/circleci/project/big_tests/tests/instrument_helper.erl"},
       {line,55}]},
    {connect_SUITE,init_per_suite,1,
      [{file,"/home/circleci/project/big_tests/tests/connect_SUITE.erl"},
       {line,135}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
    {test_server...

Report log

disco_and_caps_SUITE:init_per_suite
{'EXIT',
  {"Table owner did not respond",
   [{ets_helper,new,2,
      [{file,
         "/home/circleci/project/big_tests/../test/common/ets_helper.erl"},
       {line,19}]},
    {instrument_helper,start,2,
      [{file,
         "/home/circleci/project/big_tests/tests/instrument_helper.erl"},
       {line,52}]},
    {disco_and_caps_SUITE,init_per_suite,1,
      [{file,
         "/home/circleci/project/big_tests/tests/disco_and_caps_SUITE.erl"},
       {line,39}]},
    {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

extdisco_SUITE:extdisco_not_configured:external_services_discovery_not_supported
{error,
  {{badrpc,
     {'EXIT',
       {badarg,
         [{ets,lookup,
            [mongoose_domain_core,<<"localhost">>],
            [{error_info,
               #{cause => id,module => erl_stdlib_errors}}]},
          {mongoose_domain_core,get_host_type,1,
            [{file,
               "/home/circleci/project/src/domain/mongoose_domain_core.erl"},
             {line,48}]},
          {ejabberd_auth,call_auth_modules_for_domain,3,
            [{file,
               "/home/circleci/project/src/auth/ejabberd_auth.erl"},
             {line,533}]},
          {ejabberd_auth,does_user_exist,1,
            [{file,
               "/home/circleci/project/src/auth/ejabberd_auth.erl"},
             {line,331}]},
          {ejabberd_auth,try_register,2,
            [{file,
               "/home/circleci/project/src/auth/ejabberd_auth.erl"},
             {line,237}]},
          {mongoose_account_api,register_user,3,
            [{file,
               "/home/circleci/project/src/mongoose_account_api.erl"},
             {line,78}]},
          {ejabberd_admin,register,3,[]}]}}},
   [{escalus_rpc,call_with_cookie_match,
      [mongooseim@localhost,ejabberd_admin,register,
       [<<"alicE_external_services_discovery_not_supported_757">>,
      <<"localhost">>,<<"matygrysa">>],
       3000,mongooseim],
      [{file,
         "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_rpc.erl"},
       {line,34}]},
    {lists,foreach_1,2,[{file,"lists.erl"},{line,2310}]},
 ...

Report log

extdisco_SUITE:extdisco_configured:init_per_group
{'EXIT',{{badrpc,nodedown},
     [{distributed_helper,rpc,
                [#{node => mongooseim@localhost},
                 mongoose_modules,replace_modules,
                 [<<"localhost">>,[],
                #{mod_extdisco =>
                    #{service =>
                      [#{port => 3478,type => stun,
                         host => <<"1.1.1.1">>,
                         password => <<"secret">>,
                         username => <<"username">>,
                         transport => <<"udp">>}],
                    iqdisc => no_queue}}]],
                [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                 {line,140}]},
      {extdisco_SUITE,set_external_services,2,
              [{file,"/home/circleci/project/big_tests/tests/extdisco_SUITE.erl"},
               {line,317}]},
      {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

extdisco_SUITE:multiple_extdisco_configured:init_per_group
{'EXIT',{{badrpc,nodedown},
     [{distributed_helper,rpc,
                [#{node => mongooseim@localhost},
                 mongoose_modules,replace_modules,
                 [<<"localhost">>,[],
                #{mod_extdisco =>
                    #{service =>
                      [#{port => 3478,type => stun,
                         host => <<"1.1.1.1">>,
                         password => <<"secret">>,
                         username => <<"username">>,
                         transport => <<"udp">>},
                       #{port => 3478,type => stun,
                         host => <<"1.1.1.1">>,
                         password => <<"secret">>,
                         username => <<"username">>,
                         transport => <<"udp">>},
                       #{port => 3478,type => turn,
                         host => <<"2.2.2.2">>,
                         password => <<"secret">>,
                         username => <<"username">>,
                         transport => <<"tcp">>}],
                    iqdisc => no_queue}}]],
                [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                 {line,140}]},
      {extdisco_SUITE,set_external_services,2,
              [{file,"/home/circleci/project/big_tests/tests/extdisco_SUITE.erl"},
               {line,317}]},
      {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1794}]},
      {test_server,run_test_case_eval1,6,
             [{file,"test_serv...

Report log

extdisco_SUITE:extdisco_required_elements_configured:init_per_group
{'EXIT',{{badrpc,nodedown},
     [{distributed_helper,rpc,
                [#{node => mongooseim@localhost},
                 mongoose_modules,replace_modules,
                 [<<"localhost">>,[],
                #{mod_extdisco =>
                    #{service =>
                      [#{type => ftp,
                         host => <<"3.3.3.3">>}],
                    iqdisc => no_queue}}]],
                [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                 {line,140}]},
      {extdisco_SUITE,set_external_services,2,
              [{file,"/home/circleci/project/big_tests/tests/extdisco_SUITE.erl"},
               {line,317}]},
      {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

gdpr_SUITE:init_per_suite
{'EXIT',{{badrpc,nodedown},
     [{distributed_helper,rpc,
                [#{node => mongooseim@localhost},
                 file,get_cwd,[]],
                [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                 {line,140}]},
      {gdpr_SUITE,get_mim_cwd,0,
            [{file,"/home/circleci/project/big_tests/tests/gdpr_SUITE.erl"},
             {line,1725}]},
      {gdpr_SUITE,init_per_suite,1,
            [{file,"/home/circleci/project/big_tests/tests/gdpr_SUITE.erl"},
             {line,177}]},
      {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

graphql_SUITE:init_per_suite
{'EXIT',{{badrpc,nodedown},
     [{distributed_helper,rpc,
                [#{node => mongooseim@localhost},
                 gen_mod,loaded_modules_with_opts,
                 [<<"localhost">>]],
                [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                 {line,140}]},
      {dynamic_modules,'-save_modules/3-fun-0-',4,
               [{file,"/home/circleci/project/big_tests/tests/dynamic_modules.erl"},
              {line,16}]},
      {lists,foldl,3,[{file,"lists.erl"},{line,2146}]},
      {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

graphql_sse_SUITE:admin:init_per_group
{'EXIT',{{badrpc,nodedown},
     [{distributed_helper,rpc,
                [#{node => mongooseim@localhost},
                 mongoose_config,get_opt,
                 [listen]],
                [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                 {line,140}]},
      {graphql_helper,get_listener_config,2,
              [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
               {line,145}]},
      {graphql_helper,get_listener_opts,1,
              [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
               {line,200}]},
      {graphql_helper,init_admin_handler,1,
              [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
               {line,152}]},
      {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

graphql_sse_SUITE:user:init_per_group
{'EXIT',{{badrpc,nodedown},
     [{distributed_helper,rpc,
                [#{node => mongooseim@localhost},
                 mongoose_graphql_commands,build_specs,
                 [user]],
                [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                 {line,140}]},
      {graphql_helper,add_specs,1,
              [{file,"/home/circleci/project/big_tests/tests/graphql_helper.erl"},
               {line,183}]},
      {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

graphql_sse_SUITE:timeout:init_per_group
{'EXIT',{{badrpc,nodedown},
     [{distributed_helper,rpc,
                [#{node => mongooseim@localhost},
                 mongoose_config,get_opt,
                 [listen]],
                [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                 {line,140}]},
      {mongoose_helper,get_listeners,2,
               [{file,"/home/circleci/project/big_tests/../test/common/mongoose_helper.erl"},
              {line,494}]},
      {graphql_sse_SUITE,get_graphql_user_listener,0,
               [{file,"/home/circleci/project/big_tests/tests/graphql_sse_SUITE.erl"},
                {line,156}]},
      {graphql_sse_SUITE,init_per_group,2,
               [{file,"/home/circleci/project/big_tests/tests/graphql_sse_SUITE.erl"},
                {line,40}]},
      {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

graphql_account_SUITE:init_per_suite
{'EXIT',
  {{badrpc,nodedown},
   [{distributed_helper,rpc,
      [#{node => mongooseim@localhost},mongoose_config,get_opt,[hosts]],
      [{file,
         "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
       {line,140}]},
    {mongoose_helper,auth_modules,0,
      [{file,
         "/home/circleci/project/big_tests/../test/common/mongoose_helper.erl"},
       {line,85}]},
    {graphql_account_SUITE,init_per_suite,1,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_account_SUITE.erl"},
       {line,93}]},
    {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

graphql_domain_SUITE:init_per_suite
{'EXIT',
  {{badrpc,nodedown},
   [{distributed_helper,rpc,
      [#{node => mongooseim@localhost},
       mongoose_rdbms,sql_transaction,
       [<<"dummy auth">>,fun erlang:yield/0]],
      [{file,
         "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
       {line,140}]},
    {mongoose_helper,is_rdbms_enabled,1,
      [{file,
         "/home/circleci/project/big_tests/../test/common/mongoose_helper.erl"},
       {line,61}]},
    {graphql_domain_SUITE,init_per_suite,1,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_domain_SUITE.erl"},
       {line,70}]},
    {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

ct_framework:error_in_suite
{error,'graphql_inbox_SUITE:all/0 failed'}

Report log

graphql_last_SUITE:init_per_suite
{'EXIT',{{badrpc,nodedown},
     [{distributed_helper,rpc,
                [#{node => mongooseim@localhost},
                 gen_mod,loaded_modules_with_opts,
                 [<<"localhost">>]],
                [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                 {line,140}]},
      {dynamic_modules,'-save_modules/3-fun-0-',4,
               [{file,"/home/circleci/project/big_tests/tests/dynamic_modules.erl"},
              {line,16}]},
      {lists,foldl,3,[{file,"lists.erl"},{line,2146}]},
      {graphql_last_SUITE,init_per_suite,1,
                [{file,"/home/circleci/project/big_tests/tests/graphql_last_SUITE.erl"},
                 {line,137}]},
      {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

graphql_muc_SUITE:init_per_suite
{'EXIT',{{badrpc,nodedown},
     [{distributed_helper,rpc,
                [#{node => mongooseim@localhost},
                 gen_mod,loaded_modules_with_opts,
                 [<<"localhost">>]],
                [{file,"/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
                 {line,140}]},
      {dynamic_modules,'-save_modules/3-fun-0-',4,
               [{file,"/home/circleci/project/big_tests/tests/dynamic_modules.erl"},
              {line,16}]},
      {lists,foldl,3,[{file,"lists.erl"},{line,2146}]},
      {graphql_muc_SUITE,init_per_suite,1,
               [{file,"/home/circleci/project/big_tests/tests/graphql_muc_SUITE.erl"},
                {line,220}]},
      {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

graphql_muc_light_SUITE:init_per_suite
{'EXIT',
  {{badrpc,nodedown},
   [{distributed_helper,rpc,
      [#{node => mongooseim@localhost},
       gen_mod,loaded_modules_with_opts,
       [<<"localhost">>]],
      [{file,
         "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
       {line,140}]},
    {dynamic_modules,'-save_modules/3-fun-0-',4,
      [{file,"/home/circleci/project/big_tests/tests/dynamic_modules.erl"},
       {line,16}]},
    {lists,foldl,3,[{file,"lists.erl"},{line,2146}]},
    {graphql_muc_light_SUITE,init_per_suite,1,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_muc_light_SUITE.erl"},
       {line,201}]},
    {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

graphql_offline_SUITE:init_per_suite
{'EXIT',
  {{badrpc,nodedown},
   [{distributed_helper,rpc,
      [#{node => mongooseim@localhost},
       gen_mod,loaded_modules_with_opts,
       [<<"localhost">>]],
      [{file,
         "/home/circleci/project/big_tests/../test/common/distributed_helper.erl"},
       {line,140}]},
    {dynamic_modules,'-save_modules/3-fun-0-',4,
      [{file,"/home/circleci/project/big_tests/tests/dynamic_modules.erl"},
       {line,16}]},
    {lists,foldl,3,[{file,"lists.erl"},{line,2146}]},
    {graphql_offline_SUITE,init_per_suite,1,
      [{file,
         "/home/circleci/project/big_tests/tests/graphql_offline_SUITE.erl"},
       {line,69}]},
    {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

114 errors were truncated


ldap_mnesia_27 / ldap_mnesia / 643f99d
Reports root/ big
OK: 2341 / Failed: 0 / User-skipped: 910 / Auto-skipped: 0


ldap_mnesia_26 / ldap_mnesia / 643f99d
Reports root/ big
OK: 2341 / Failed: 0 / User-skipped: 910 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / 643f99d
Reports root/ big
OK: 4705 / Failed: 0 / User-skipped: 118 / Auto-skipped: 0


dynamic_domains_mysql_redis_27 / mysql_redis / 643f99d
Reports root/ big
OK: 4672 / Failed: 0 / User-skipped: 151 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_27 / pgsql_mnesia / 643f99d
Reports root/ big
OK: 4705 / Failed: 0 / User-skipped: 118 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_27 / odbc_mssql_mnesia / 643f99d
Reports root/ big
OK: 4702 / Failed: 0 / User-skipped: 121 / Auto-skipped: 0


pgsql_cets_27 / pgsql_cets / 643f99d
Reports root/ big
OK: 4594 / Failed: 0 / User-skipped: 185 / Auto-skipped: 0


mysql_redis_27 / mysql_redis / 643f99d
Reports root/ big
OK: 5077 / Failed: 0 / User-skipped: 146 / Auto-skipped: 0


pgsql_mnesia_27 / pgsql_mnesia / 643f99d
Reports root/ big
OK: 5096 / Failed: 0 / User-skipped: 127 / Auto-skipped: 0


mssql_mnesia_27 / odbc_mssql_mnesia / 643f99d
Reports root/ big
OK: 5093 / Failed: 0 / User-skipped: 130 / Auto-skipped: 0


pgsql_mnesia_26 / pgsql_mnesia / 643f99d
Reports root/ big
OK: 5096 / Failed: 0 / User-skipped: 127 / Auto-skipped: 0


internal_mnesia_27 / internal_mnesia / 643f99d
Reports root/ big
OK: 2477 / Failed: 1 / User-skipped: 768 / Auto-skipped: 5

bosh_SUITE:essential:accept_higher_hold_value
{error,
  {{assertEqual,
     [{module,bosh_SUITE},
      {line,261},
      {expression,"get_bosh_sessions ( )"},
      {expected,[]},
      {value,
        [{bosh_session,<<"ce36e98ab5db092153f3772ef82b2693dac8f162">>,
           <10939.10230.0>}]}]},
   [{bosh_SUITE,accept_higher_hold_value,1,
      [{file,"/home/circleci/project/big_tests/tests/bosh_SUITE.erl"},
       {line,261}]},
    {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


internal_mnesia_27 / internal_mnesia / 643f99d
Reports root/ big
OK: 2483 / Failed: 0 / User-skipped: 768 / Auto-skipped: 0

@gustawlippa gustawlippa merged commit bb07208 into feature/instrument Aug 13, 2024
4 checks passed
@gustawlippa gustawlippa deleted the instrument/remove-mongoose-metrics branch August 13, 2024 14:06
@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.

5 participants