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

Update escalus with gun 2 #3215

Merged
merged 3 commits into from
Aug 11, 2021
Merged

Update escalus with gun 2 #3215

merged 3 commits into from
Aug 11, 2021

Conversation

vkatsuba
Copy link
Contributor

⚠️ WARNING ⚠️: This PR cam be merged after merge and release esl/escalus#245

@mongoose-im
Copy link
Collaborator

mongoose-im commented Aug 10, 2021

small_tests_24 / small_tests / 6551b60
Reports root / small


internal_mnesia_24 / internal_mnesia / 6551b60
Reports root/ big
OK: 1588 / Failed: 0 / User-skipped: 287 / Auto-skipped: 0

@codecov
Copy link

codecov bot commented Aug 10, 2021

Codecov Report

Merging #3215 (3bbf4af) into master (7c97ad7) will decrease coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3215      +/-   ##
==========================================
- Coverage   80.29%   80.25%   -0.05%     
==========================================
  Files         397      397              
  Lines       32474    32474              
==========================================
- Hits        26075    26061      -14     
- Misses       6399     6413      +14     
Impacted Files Coverage Δ
src/mod_roster_mnesia.erl 72.72% <0.00%> (-21.22%) ⬇️
src/cassandra/mongoose_cassandra_worker.erl 68.54% <0.00%> (-4.23%) ⬇️
src/muc_light/mod_muc_light_utils.erl 90.00% <0.00%> (-1.00%) ⬇️
src/pubsub/mod_pubsub_db_mnesia.erl 92.43% <0.00%> (-0.43%) ⬇️
src/ejabberd_c2s.erl 89.06% <0.00%> (-0.23%) ⬇️
src/mod_muc_log.erl 77.88% <0.00%> (ø)
src/mod_muc_room.erl 77.18% <0.00%> (+0.05%) ⬆️
src/pubsub/mod_pubsub.erl 73.23% <0.00%> (+0.05%) ⬆️
src/global_distrib/mod_global_distrib_receiver.erl 84.44% <0.00%> (+1.11%) ⬆️
src/event_pusher/mod_event_pusher_sns.erl 89.47% <0.00%> (+5.26%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7c97ad7...3bbf4af. Read the comment docs.

@mongoose-im
Copy link
Collaborator

mongoose-im commented Aug 10, 2021

small_tests_24 / small_tests / 8913661
Reports root / small


internal_mnesia_24 / internal_mnesia / 8913661
Reports root/ big
OK: 1588 / Failed: 0 / User-skipped: 287 / Auto-skipped: 0


small_tests_22 / small_tests / 8913661
Reports root / small


dynamic_domains_24 / pgsql_mnesia / 8913661
Reports root/ big
OK: 1644 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


dynamic_domains_23 / pgsql_mnesia / 8913661
Reports root/ big
OK: 1644 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


small_tests_23 / small_tests / 8913661
Reports root / small


ldap_mnesia_24 / ldap_mnesia / 8913661
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / 8913661
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


ldap_mnesia_22 / ldap_mnesia / 8913661
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / 8913661
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


pgsql_mnesia_22 / pgsql_mnesia / 8913661
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / 8913661
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 8913661
Reports root/ big
OK: 1891 / Failed: 0 / User-skipped: 283 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / 8913661
Reports root/ big
OK: 3115 / Failed: 2 / User-skipped: 184 / Auto-skipped: 0

inbox_SUITE:one_to_one:user_has_only_unread_messages_or_only_read
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alicE_user_has_only_unread_messages_or_only_read_22.954360@localhost/res1">>,
          escalus_tcp,<0.17767.0>,
          [{event_manager,<0.17728.0>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_user_has_only_unread_messages_or_only_read_22.954360">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.17728.0>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_user_has_only_unread_messages_or_only_read_22.954360">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alicE_user_has_only_unread_messages_or_only_read_22.954360">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_user_has_only_unread_messages_or_only_read_22.954360">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"96ee46b565e78080">>}]},
        5000],
       [{file,
          "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {inbox_helper,get_inbox,3,
       [{file,"/home/circleci/app/big_tests/tests/inbox_helper.erl"},
        {line,219}]},
     {inb...

Report log

pep_SUITE:pep_tests:unsubscribe_after_presence_unsubscription
{error,{{assertion_failed,assert_many,false,
              [is_roster_set,is_presence,is_presence],
              [{xmlel,<<"presence">>,
                  [{<<"from">>,
                  <<"alicE_unsubscribe_after_presence_unsubscription_66.485303@localhost/res1">>},
                   {<<"to">>,
                  <<"bob_unsubscribe_after_presence_unsubscription_66.485303@localhost/res1">>},
                   {<<"xml:lang">>,<<"en">>}],
                  []}],
              "   <presence from='alicE_unsubscribe_after_presence_unsubscription_66.485303@localhost/res1' to='bob_unsubscribe_after_presence_unsubscription_66.485303@localhost/res1' xml:lang='en'/>"},
    [{escalus_new_assert,assert_true,2,
               [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
                {line,84}]},
     {escalus_utils,'-each_with_index/3-fun-0-',3,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_utils.erl"},
             {line,87}]},
     {lists,foldl,3,[{file,"lists.erl"},{line,1267}]},
     {escalus_utils,'-each_with_index/3-fun-0-',3,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_utils.erl"},
             {line,87}]},
     {lists,foldl,3,[{file,"lists.erl"},{line,1267}]},
     {escalus_utils,distinct_pairs,2,
            [{file,"/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_utils.erl"},
             {line,60}]},
     {escalus_story,m...

Report log


mysql_redis_24 / mysql_redis / 8913661
Reports root/ big
OK: 3069 / Failed: 0 / User-skipped: 201 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / 8913661
Reports root/ big
OK: 1738 / Failed: 0 / User-skipped: 286 / Auto-skipped: 0

@vkatsuba vkatsuba changed the title Exp/escalus gun 2 escalus with gun 2 Aug 10, 2021
@vkatsuba vkatsuba changed the title escalus with gun 2 Update escalus with gun 2 Aug 10, 2021
@mongoose-im
Copy link
Collaborator

mongoose-im commented Aug 11, 2021

small_tests_24 / small_tests / a99380f
Reports root / small


internal_mnesia_24 / internal_mnesia / a99380f
Reports root/ big
OK: 1588 / Failed: 0 / User-skipped: 287 / Auto-skipped: 0


dynamic_domains_24 / pgsql_mnesia / a99380f
Reports root/ big
OK: 1644 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


small_tests_22 / small_tests / a99380f
Reports root / small


dynamic_domains_23 / pgsql_mnesia / a99380f
Reports root/ big
OK: 1644 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


small_tests_23 / small_tests / a99380f
Reports root / small


ldap_mnesia_22 / ldap_mnesia / a99380f
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


ldap_mnesia_24 / ldap_mnesia / a99380f
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / a99380f
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


pgsql_mnesia_22 / pgsql_mnesia / a99380f
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


pgsql_mnesia_23 / pgsql_mnesia / a99380f
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / a99380f
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / a99380f
Reports root/ big
OK: 1891 / Failed: 0 / User-skipped: 283 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / a99380f
Reports root/ big
OK: 3075 / Failed: 1 / User-skipped: 201 / Auto-skipped: 0

mam_SUITE:rdbms_cache_prefs_cases:messages_filtered_when_prefs_default_policy_is_roster
{error,{test_case_failed,"ASSERT EQUAL\n\tExpected []\n\tValue [ok]\n"}}

Report log


mssql_mnesia_24 / odbc_mssql_mnesia / a99380f
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


riak_mnesia_24 / riak_mnesia / a99380f
Reports root/ big
OK: 1738 / Failed: 0 / User-skipped: 286 / Auto-skipped: 0

@mongoose-im
Copy link
Collaborator

mongoose-im commented Aug 11, 2021

small_tests_24 / small_tests / 3bbf4af
Reports root / small


internal_mnesia_24 / internal_mnesia / 3bbf4af
Reports root/ big
OK: 1588 / Failed: 0 / User-skipped: 287 / Auto-skipped: 0


small_tests_22 / small_tests / 3bbf4af
Reports root / small


dynamic_domains_24 / pgsql_mnesia / 3bbf4af
Reports root/ big
OK: 1644 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


dynamic_domains_23 / pgsql_mnesia / 3bbf4af
Reports root/ big
OK: 1644 / Failed: 0 / User-skipped: 111 / Auto-skipped: 0


small_tests_23 / small_tests / 3bbf4af
Reports root / small


ldap_mnesia_22 / ldap_mnesia / 3bbf4af
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


ldap_mnesia_24 / ldap_mnesia / 3bbf4af
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


ldap_mnesia_23 / ldap_mnesia / 3bbf4af
Reports root/ big
OK: 1515 / Failed: 0 / User-skipped: 360 / Auto-skipped: 0


pgsql_mnesia_24 / pgsql_mnesia / 3bbf4af
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


elasticsearch_and_cassandra_24 / elasticsearch_and_cassandra_mnesia / 3bbf4af
Reports root/ big
OK: 1891 / Failed: 0 / User-skipped: 283 / Auto-skipped: 0


pgsql_mnesia_22 / pgsql_mnesia / 3bbf4af
Reports root/ big
OK: 3086 / Failed: 0 / User-skipped: 184 / Auto-skipped: 0


mysql_redis_24 / mysql_redis / 3bbf4af
Reports root/ big
OK: 3069 / Failed: 0 / User-skipped: 201 / Auto-skipped: 0


mssql_mnesia_24 / odbc_mssql_mnesia / 3bbf4af
Reports root/ big
OK: 3104 / Failed: 1 / User-skipped: 184 / Auto-skipped: 0

jingle_SUITE:all:jingle_session_is_established_when_calling_a_number
{error,
  {{assertion_failed,assert,is_iq_result,
     {xmlel,<<"iq">>,
       [{<<"from">>,<<"+488790@numbers.localhost">>},
        {<<"to">>,
         <<"alice_jingle_session_is_established_when_calling_a_number_36.581816@localhost/res1">>},
        {<<"id">>,<<"b8b9c5bc-ca06-4a2a-8196-d91ed130497c">>},
        {<<"type">>,<<"set">>}],
       [{xmlel,<<"jingle">>,
          [{<<"xmlns">>,<<"urn:xmpp:jingle:1">>},
           {<<"action">>,<<"session-info">>},
           {<<"sid">>,<<"cfd6f2f3-df2b-4c88-891f-0a47d47f8561">>}],
          [{xmlel,<<"ringing">>,
             [{<<"xmlns">>,<<"urn:xmpp:jingle:apps:rtp:info:1">>}],
             []}]}]},
     "<iq from='+488790@numbers.localhost' to='alice_jingle_session_is_established_when_calling_a_number_36.581816@localhost/res1' id='b8b9c5bc-ca06-4a2a-8196-d91ed130497c' type='set'><jingle xmlns='urn:xmpp:jingle:1' action='session-info' sid='cfd6f2f3-df2b-4c88-891f-0a47d47f8561'><ringing xmlns='urn:xmpp:jingle:apps:rtp:info:1'/></jingle></iq>"},
   [{escalus_new_assert,assert_true,2,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
       {line,84}]},
    {jingle_SUITE,send_initiate_and_wait_for_first_iq_set,2,
      [{file,"/home/circleci/app/big_tests/tests/jingle_SUITE.erl"},
       {line,393}]},
    {jingle_SUITE,
      '-jingle_session_is_established_when_calling_a_number/1-fun-0-',1,
      [{file,"/home/circleci/app/big_tests/tests/jingle_SUITE.erl"},
       {lin...

Report log


pgsql_mnesia_23 / pgsql_mnesia / 3bbf4af
Reports root/ big
OK: 3097 / Failed: 1 / User-skipped: 184 / Auto-skipped: 0

pep_SUITE:pep_tests:unsubscribe_after_presence_unsubscription
{error,
  {{badmatch,
     [{xmlel,<<"message">>,
        [{<<"from">>,
        <<"alice_unsubscribe_after_presence_unsubscription_8.316823@localhost">>},
         {<<"to">>,
        <<"bob_unsubscribe_after_presence_unsubscription_8.316823@localhost/res1">>},
         {<<"type">>,<<"headline">>}],
        [{xmlel,<<"event">>,
           [{<<"xmlns">>,
           <<"http://jabber.org/protocol/pubsub#event">>}],
           [{xmlel,<<"items">>,
            [{<<"node">>,<<"YRERbMyDhYZ4kB6suOBz2A==">>}],
            [{xmlel,<<"item">>,
               [{<<"id">>,<<"salmon">>}],
               [{xmlel,<<"entry">>,
                  [{<<"xmlns">>,
                  <<"http://www.w3.org/2005/Atom">>}],
                  []}]}]}]},
         {xmlel,<<"headers">>,
           [{<<"xmlns">>,<<"http://jabber.org/protocol/shim">>}],
           []}]}]},
   [{pep_SUITE,'-unsubscribe_after_presence_unsubscription/1-fun-0-',2,
      [{file,"/home/circleci/app/big_tests/tests/pep_SUITE.erl"},
       {line,382}]},
    {escalus_story,story,4,
      [{file,
         "/home/circleci/app/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,72}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1784}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1293}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1225}]}]}}

Report log


riak_mnesia_24 / riak_mnesia / 3bbf4af
Reports root/ big
OK: 1738 / Failed: 0 / User-skipped: 286 / Auto-skipped: 0

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.

LGTM!

@NelsonVides NelsonVides merged commit 5739b9a into master Aug 11, 2021
@NelsonVides NelsonVides deleted the exp/escalus-gun-2 branch August 11, 2021 12:08
@Premwoik Premwoik added this to the 5.0.0 milestone Oct 5, 2021
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.

None yet

4 participants