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

Limit building packages to tags and master #4414

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

chrzaszcz
Copy link
Member

Previously it was for every branch.

Main motivation is to save CI credits and to limit unwanted failures in case of issues only with packages.

Previously it was for every branch.

Main motivation is to save CI credits and to limit unwanted failures
in case of issues only with packages.
@chrzaszcz chrzaszcz force-pushed the limit-building-packages branch from 437d246 to 520f57b Compare December 3, 2024 16:35
@mongoose-im
Copy link
Collaborator

mongoose-im commented Dec 3, 2024

elasticsearch_and_cassandra_27 / elasticsearch_and_cassandra_mnesia / 520f57b
Reports root/ big
OK: 473 / Failed: 0 / User-skipped: 49 / Auto-skipped: 0


small_tests_27 / small_tests / 520f57b
Reports root / small


small_tests_26 / small_tests / 520f57b
Reports root / small


small_tests_27_arm64 / small_tests / 520f57b
Reports root / small


ldap_mnesia_26 / ldap_mnesia / 520f57b
Reports root/ big
OK: 2352 / Failed: 0 / User-skipped: 912 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / 520f57b
Reports root/ big
OK: 4759 / Failed: 0 / User-skipped: 119 / Auto-skipped: 0


internal_mnesia_27 / internal_mnesia / 520f57b
Reports root/ big
OK: 2494 / Failed: 0 / User-skipped: 770 / Auto-skipped: 0


dynamic_domains_mysql_redis_27 / mysql_redis / 520f57b
Reports root/ big
OK: 4724 / Failed: 0 / User-skipped: 154 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_27 / pgsql_mnesia / 520f57b
Reports root/ big
OK: 4759 / Failed: 0 / User-skipped: 119 / Auto-skipped: 0


ldap_mnesia_27 / ldap_mnesia / 520f57b
Reports root/ big
OK: 2331 / Failed: 3 / User-skipped: 912 / 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

shutdown_SUITE:main:shutdown
{error,{{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,79}]},
     {shutdown_SUITE,shutdown,1,
             [{file,"/home/circleci/project/big_tests/tests/shutdown_SUITE.erl"},
              {line,56}]},
     {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

shutdown_SUITE:main:client_tries_to_connect_before_listener_stop
{error,{{badmatch,{error,econnrefused}},
    [{shutdown_SUITE,client_tries_to_connect_before_listener_stop,1,
             [{file,"/home/circleci/project/big_tests/tests/shutdown_SUITE.erl"},
              {line,75}]},
     {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

shutdown_SUITE:main:end_per_group
{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,remove_user,1,
            [{file,
               "/home/circleci/project/src/auth/ejabberd_auth.erl"},
             {line,404}]},
          {mongoose_account_api,unregister_user,1,
            [{file,
               "/home/circleci/project/src/mongoose_account_api.erl"},
             {line,106}]},
          {ejabberd_admin,unregister,2,[]}]}}},
   [{escalus_rpc,call_with_cookie_match,
      [mongooseim@localhost,ejabberd_admin,unregister,
       [<<"geralt_s">>,<<"localhost">>],
       30000,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,delete_users,2,
      [{file,
        ...

Report log


pgsql_cets_27 / pgsql_cets / 520f57b
Reports root/ big
OK: 4849 / Failed: 0 / User-skipped: 188 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_27 / odbc_mssql_mnesia / 520f57b
Reports root/ big
OK: 4754 / Failed: 0 / User-skipped: 124 / Auto-skipped: 0


mysql_redis_27 / mysql_redis / 520f57b
Reports root/ big
OK: 5129 / Failed: 0 / User-skipped: 149 / Auto-skipped: 0


cockroachdb_cets_27 / cockroachdb_cets / 520f57b
Reports root/ big
OK: 4871 / Failed: 2 / User-skipped: 188 / Auto-skipped: 0

pubsub_SUITE:dag+basic:create_node_errors_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alice_create_node_errors_test_2967@localhost/res1">>,
          escalus_tcp,<0.77281.0>,
          [{event_manager,<0.77194.0>},
           {server,<<"localhost">>},
           {username,<<"alicE_create_node_errors_test_2967">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.77194.0>},
            {server,<<"localhost">>},
            {username,<<"alicE_create_node_errors_test_2967">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alice_create_node_errors_test_2967">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_create_node_errors_test_2967">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"e7728a96b816e083">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
        {line,433}]},
     {pubsub_tools,receive_and_check_response,4,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
        {line,424}]},
     {escalus_story,story,...

Report log

pubsub_SUITE:dag+node_affiliations:deny_no_owner_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"alice_deny_no_owner_test_3018@localhost/res1">>,
          escalus_tcp,<0.77886.0>,
          [{event_manager,<0.77879.0>},
           {server,<<"localhost">>},
           {username,<<"alicE_deny_no_owner_test_3018">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.77879.0>},
            {server,<<"localhost">>},
            {username,<<"alicE_deny_no_owner_test_3018">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alice_deny_no_owner_test_3018">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_deny_no_owner_test_3018">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"b7a24bb88bdf4386">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
        {line,433}]},
     {pubsub_tools,receive_and_check_response,4,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
        {line,424}]},
     {escalus_story,story,4,
       [{file,
          "/home/c...

Report log


pgsql_mnesia_26 / pgsql_mnesia / 520f57b
Reports root/ big
OK: 5150 / Failed: 0 / User-skipped: 128 / Auto-skipped: 0


pgsql_mnesia_27 / pgsql_mnesia / 520f57b
Reports root/ big
OK: 5150 / Failed: 0 / User-skipped: 128 / Auto-skipped: 0


mssql_mnesia_27 / odbc_mssql_mnesia / 520f57b
Reports root/ big
OK: 5145 / Failed: 0 / User-skipped: 133 / Auto-skipped: 0


ldap_mnesia_27 / ldap_mnesia / 520f57b
Reports root/ big
OK: 26 / Failed: 0 / User-skipped: 126 / Auto-skipped: 0

@chrzaszcz chrzaszcz marked this pull request as ready for review December 3, 2024 17:14
Copy link
Collaborator

@NelsonVides NelsonVides left a comment

Choose a reason for hiding this comment

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

Great 👌🏽

@NelsonVides NelsonVides merged commit 30e1191 into master Dec 3, 2024
2 checks passed
@NelsonVides NelsonVides deleted the limit-building-packages branch December 3, 2024 17:23
@jacekwegr jacekwegr added this to the 6.3.1 milestone Dec 23, 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