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

Don't create /usr/lib/mongooseim, because it already exists #4410

Merged
merged 2 commits into from
Dec 9, 2024

Conversation

chrzaszcz
Copy link
Member

@chrzaszcz chrzaszcz commented Dec 3, 2024

This issue affected Debian/Ubuntu, resulting in warnings being printed out on installation.

  • Don't create /usr/lib/mongooseim, because it already exists
  • Don't truncate Docker logs - to be able to check the output.

I verified manually, that the issue was present for Debian/Ubuntu before the fix, and that it is gone after the fix (see the CI workflow with packages enabled).

Note: I decided not to add automatic tests. We could add a condition to fail if anything is printed to stderr, but for me it might be too restrictive, i.e. there might be some unrelated output. I think we could add an automatic check later if we find any similar issue.

Copy link

codecov bot commented Dec 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.33%. Comparing base (cfc7187) to head (6e5bbfc).
Report is 23 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4410      +/-   ##
==========================================
- Coverage   85.42%   85.33%   -0.10%     
==========================================
  Files         550      550              
  Lines       33911    33911              
==========================================
- Hits        28969    28937      -32     
- Misses       4942     4974      +32     

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

@mongoose-im

This comment was marked as outdated.

@chrzaszcz chrzaszcz force-pushed the fix-package-warning branch from 2142c2a to a93c336 Compare December 6, 2024 12:46
@mongoose-im

This comment was marked as outdated.

@mongoose-im

This comment was marked as outdated.

@chrzaszcz chrzaszcz force-pushed the fix-package-warning branch from 6e5bbfc to 6ed3109 Compare December 9, 2024 07:51
@mongoose-im
Copy link
Collaborator

mongoose-im commented Dec 9, 2024

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


small_tests_26 / small_tests / 6ed3109
Reports root / small


small_tests_27 / small_tests / 6ed3109
Reports root / small


small_tests_27_arm64 / small_tests / 6ed3109
Reports root / small


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


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


ldap_mnesia_27 / ldap_mnesia / 6ed3109
Reports root/ big
OK: 2370 / Failed: 1 / User-skipped: 912 / Auto-skipped: 0

jingle_SUITE:all:resp_4xx_from_sip_proxy_results_in_session_terminate
{error,
  {{assertion_failed,assert,is_iq_result,
     {xmlel,<<"iq">>,
       [{<<"from">>,<<"error.480@localhost">>},
        {<<"to">>,
         <<"alice_resp_4xx_from_sip_proxy_results_in_session_terminate_1060@localhost/res1">>},
        {<<"id">>,<<"c06566ac-2a67-4811-aa25-1eb83942efd2">>},
        {<<"type">>,<<"set">>}],
       [{xmlel,<<"jingle">>,
          [{<<"xmlns">>,<<"urn:xmpp:jingle:1">>},
           {<<"action">>,<<"session-terminate">>},
           {<<"sid">>,<<"2635d74a-dade-4ea8-881f-e4eb6871fe78">>}],
          [{xmlel,<<"reason">>,[],
             [{xmlel,<<"general-error">>,[],[]},
            {xmlel,<<"sip-error">>,
              [{<<"code">>,<<"480">>}],
              [{xmlcdata,<<"Temporarily Unavailable">>}]}]}]}]},
     "<iq from='error.480@localhost' to='alice_resp_4xx_from_sip_proxy_results_in_session_terminate_1060@localhost/res1' id='c06566ac-2a67-4811-aa25-1eb83942efd2' type='set'><jingle xmlns='urn:xmpp:jingle:1' action='session-terminate' sid='2635d74a-dade-4ea8-881f-e4eb6871fe78'><reason><general-error/><sip-error code='480'>Temporarily Unavailable</sip-error></reason></jingle></iq>"},
   [{escalus_new_assert,assert_true,2,
      [{file,
         "/home/circleci/project/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/project/big_tests/tests/jingle_SUITE.erl"},
       {line,390}]},
    {jingle_SUITE,
      '-resp_...

Report log


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


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


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


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


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


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


cockroachdb_cets_27 / cockroachdb_cets / 6ed3109
Reports root/ big
OK: 4849 / Failed: 0 / User-skipped: 188 / Auto-skipped: 0


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


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


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

@chrzaszcz chrzaszcz marked this pull request as ready for review December 9, 2024 08:31
Copy link
Collaborator

@jacekwegr jacekwegr 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 to me! 👍

@jacekwegr jacekwegr merged commit b344d90 into master Dec 9, 2024
4 checks passed
@jacekwegr jacekwegr deleted the fix-package-warning branch December 9, 2024 11:02
@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.

3 participants