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

Fix failing graphql_server tests on GitHub Actions #4259

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

jacekwegr
Copy link
Contributor

@jacekwegr jacekwegr commented Apr 10, 2024

This PR modifies the checkout action in GitHub Actions workflow. Previously, the repository was checked out without tags, which broke the mongooseimctl server status command.

More info about the checkout issue can be found here: actions/checkout#701

To ensure that this fix works the CI workflow was manually triggered for this branch: https://github.com/esl/MongooseIM/actions/runs/8630652139

@mongoose-im
Copy link
Collaborator

mongoose-im commented Apr 10, 2024

elasticsearch_and_cassandra_26 / elasticsearch_and_cassandra_mnesia / 514a380
Reports root/ big
OK: 437 / Failed: 0 / User-skipped: 43 / Auto-skipped: 0


small_tests_25 / small_tests / 514a380
Reports root / small


small_tests_26 / small_tests / 514a380
Reports root / small


small_tests_26_arm64 / small_tests / 514a380
Reports root / small


ldap_mnesia_25 / ldap_mnesia / 514a380
Reports root/ big
OK: 2284 / Failed: 0 / User-skipped: 897 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / 514a380
Reports root/ big
OK: 4541 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


dynamic_domains_mysql_redis_26 / mysql_redis / 514a380
Reports root/ big
OK: 4508 / Failed: 0 / User-skipped: 144 / Auto-skipped: 0


ldap_mnesia_26 / ldap_mnesia / 514a380
Reports root/ big
OK: 2284 / Failed: 0 / User-skipped: 897 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / 514a380
Reports root/ big
OK: 4540 / Failed: 1 / User-skipped: 111 / Auto-skipped: 0

graphql_SUITE:tls_enabled:tls_connect_admin_selfsigned_certificate
{error,{{assertMatch,[{module,graphql_SUITE},
            {line,259},
            {expression,"Result"},
            {pattern,"{ error , { tls_alert , { bad_certificate , _ } } }"},
            {value,{error,connection_closed}}]},
    [{graphql_SUITE,tls_connect_admin_selfsigned_certificate,1,
            [{file,"/home/circleci/project/big_tests/tests/graphql_SUITE.erl"},
             {line,259}]},
     {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_26 / odbc_mssql_mnesia / 514a380
Reports root/ big
OK: 4537 / Failed: 1 / User-skipped: 114 / Auto-skipped: 0

graphql_SUITE:tls_enabled:tls_connect_admin_selfsigned_certificate
{error,{{assertMatch,[{module,graphql_SUITE},
            {line,259},
            {expression,"Result"},
            {pattern,"{ error , { tls_alert , { bad_certificate , _ } } }"},
            {value,{error,connection_closed}}]},
    [{graphql_SUITE,tls_connect_admin_selfsigned_certificate,1,
            [{file,"/home/circleci/project/big_tests/tests/graphql_SUITE.erl"},
             {line,259}]},
     {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


internal_mnesia_26 / internal_mnesia / 514a380
Reports root/ big
OK: 2423 / Failed: 1 / User-skipped: 757 / Auto-skipped: 0

graphql_SUITE:tls_enabled:tls_connect_admin_selfsigned_certificate
{error,{{assertMatch,[{module,graphql_SUITE},
            {line,259},
            {expression,"Result"},
            {pattern,"{ error , { tls_alert , { bad_certificate , _ } } }"},
            {value,{error,connection_closed}}]},
    [{graphql_SUITE,tls_connect_admin_selfsigned_certificate,1,
            [{file,"/home/circleci/project/big_tests/tests/graphql_SUITE.erl"},
             {line,259}]},
     {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


pgsql_cets_26 / pgsql_cets / 514a380
Reports root/ big
OK: 4456 / Failed: 0 / User-skipped: 178 / Auto-skipped: 0


mysql_redis_26 / mysql_redis / 514a380
Reports root/ big
OK: 4909 / Failed: 0 / User-skipped: 139 / Auto-skipped: 0


pgsql_mnesia_25 / pgsql_mnesia / 514a380
Reports root/ big
OK: 4930 / Failed: 0 / User-skipped: 118 / Auto-skipped: 0


mssql_mnesia_26 / odbc_mssql_mnesia / 514a380
Reports root/ big
OK: 4927 / Failed: 0 / User-skipped: 121 / Auto-skipped: 0


pgsql_mnesia_26 / pgsql_mnesia / 514a380
Reports root/ big
OK: 4930 / Failed: 0 / User-skipped: 118 / Auto-skipped: 0


internal_mnesia_26 / internal_mnesia / 514a380
Reports root/ big
OK: 2424 / Failed: 0 / User-skipped: 757 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / 514a380
Reports root/ big
OK: 4541 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_26 / odbc_mssql_mnesia / 514a380
Reports root/ big
OK: 4536 / Failed: 2 / User-skipped: 114 / Auto-skipped: 0

mam_SUITE:rdbms_easy_prefs_cases:run_set_and_get_prefs_cases
{error,
  {thrown,
    {timeout,
      [{escalus_connection,receive_stanza,2,
         [{file,
            "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_connection.erl"},
          {line,303}]},
       {mam_helper,run_set_and_get_prefs_case,4,
         [{file,
            "/home/circleci/project/big_tests/tests/mam_helper.erl"},
          {line,1282}]},
       {mam_SUITE,'-run_set_and_get_prefs_cases/1-lc$^0/1-0-',4,
         [{file,
            "/home/circleci/project/big_tests/tests/mam_SUITE.erl"},
          {line,3431}]},
       {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

mam_SUITE:rdbms_easy_prefs_cases:messages_filtered_when_prefs_default_policy_is_always
{error,
  {{assertion_failed,assert,is_iq_result,
     [{xmlel,<<"iq">>,
        [{<<"type">>,<<"set">>},
         {<<"id">>,<<"d04ba1f54b27561957dcaad7691f6725">>}],
        [{xmlel,<<"prefs">>,
           [{<<"xmlns">>,<<"urn:xmpp:mam:1">>},
          {<<"default">>,<<"always">>}],
           [{xmlel,<<"always">>,[],[]},{xmlel,<<"never">>,[],[]}]}]}],
     {xmlel,<<"iq">>,
       [{<<"from">>,
         <<"alice_messages_filtered_when_prefs_default_policy_is_always_1925@domain.example.com">>},
        {<<"to">>,
         <<"alice_messages_filtered_when_prefs_default_policy_is_always_1925@domain.example.com/res1">>},
        {<<"id">>,<<"pushc438ef02fbee5aff">>},
        {<<"type">>,<<"set">>}],
       [{xmlel,<<"query">>,
          [{<<"xmlns">>,<<"jabber:iq:roster">>}],
          [{xmlel,<<"item">>,
             [{<<"jid">>,
             <<"bob_messages_filtered_when_prefs_default_policy_is_always_1925@domain.example.com">>},
            {<<"subscription">>,<<"both">>}],
             []}]}]},
     "<iq from='alice_messages_filtered_when_prefs_default_policy_is_always_1925@domain.example.com' to='alice_messages_filtered_when_prefs_default_policy_is_always_1925@domain.example.com/res1' id='pushc438ef02fbee5aff' type='set'><query xmlns='jabber:iq:roster'><item jid='bob_messages_filtered_when_prefs_default_policy_is_always_1925@domain.example.com' subscription='both'/></query></iq>"},
   [{escalus_new_assert,assert_true,2,
      [{file,
         "/home/circleci/project/big_test...

Report log


dynamic_domains_mssql_mnesia_26 / odbc_mssql_mnesia / 514a380
Reports root/ big
OK: 4538 / Failed: 0 / User-skipped: 114 / Auto-skipped: 0

Copy link

codecov bot commented Apr 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.43%. Comparing base (c65371c) to head (514a380).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4259   +/-   ##
=======================================
  Coverage   84.42%   84.43%           
=======================================
  Files         552      552           
  Lines       33551    33551           
=======================================
+ Hits        28325    28328    +3     
+ Misses       5226     5223    -3     

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

Copy link
Member

@chrzaszcz chrzaszcz 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 👍

@jacekwegr jacekwegr marked this pull request as ready for review April 10, 2024 12:51
@chrzaszcz chrzaszcz merged commit 6e90a1a into master Apr 10, 2024
24 checks passed
@chrzaszcz chrzaszcz deleted the fix-gh-actions-tests branch April 10, 2024 12:54
@jacekwegr jacekwegr added this to the 6.2.1 milestone Apr 10, 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.

3 participants