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

Add building arm64 packages to CI pipeline #4406

Merged
merged 5 commits into from
Dec 6, 2024

Conversation

jacekwegr
Copy link
Collaborator

@jacekwegr jacekwegr commented Dec 3, 2024

This PR enables building packages with arm64 executors and adds a verification script to ensure the package is built for the correct architecture. It also updates the installation method for the debsigs package in the Docker build process, addressing issues with the previous flaky approach.

CI run with passing package build: https://app.circleci.com/pipelines/github/esl/MongooseIM/13329/workflows/7f27f6ac-82f5-4951-a9f0-25cd788c44d0

@mongoose-im

This comment was marked as outdated.

Copy link

codecov bot commented Dec 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.34%. Comparing base (759cf0c) to head (431357e).
Report is 8 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4406      +/-   ##
==========================================
+ Coverage   85.31%   85.34%   +0.02%     
==========================================
  Files         550      550              
  Lines       33911    33911              
==========================================
+ Hits        28931    28941      +10     
+ Misses       4980     4970      -10     

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

@jacekwegr jacekwegr force-pushed the ci-build-packages-for-arm64 branch from ba42ebc to ee28e55 Compare December 3, 2024 15:03
@mongoose-im

This comment was marked as outdated.

@jacekwegr jacekwegr force-pushed the ci-build-packages-for-arm64 branch from ee28e55 to ea424bc Compare December 5, 2024 13:06
@mongoose-im

This comment was marked as outdated.

@mongoose-im

This comment was marked as outdated.

@jacekwegr jacekwegr force-pushed the ci-build-packages-for-arm64 branch from 1c2fb9c to 86d8885 Compare December 5, 2024 14:40
@mongoose-im

This comment was marked as outdated.

@jacekwegr jacekwegr force-pushed the ci-build-packages-for-arm64 branch from 86d8885 to 3bd4d09 Compare December 5, 2024 15:12
@mongoose-im

This comment was marked as outdated.

@jacekwegr jacekwegr force-pushed the ci-build-packages-for-arm64 branch from 3bd4d09 to 44d10a5 Compare December 5, 2024 15:28
@mongoose-im

This comment was marked as outdated.

@mongoose-im
Copy link
Collaborator

mongoose-im commented Dec 6, 2024

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


small_tests_27 / small_tests / 431357e
Reports root / small


small_tests_26 / small_tests / 431357e
Reports root / small


small_tests_27_arm64 / small_tests / 431357e
Reports root / small


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


ldap_mnesia_27 / ldap_mnesia / 431357e
Reports root/ big
OK: 2352 / Failed: 0 / User-skipped: 912 / Auto-skipped: 0


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


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


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


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


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


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


cockroachdb_cets_27 / cockroachdb_cets / 431357e
Reports root/ big
OK: 4852 / Failed: 2 / User-skipped: 188 / Auto-skipped: 0

pubsub_SUITE:dag+collection_config:disable_payload_leaf_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alice_disable_payload_leaf_test_3002@localhost/res1">>,
          escalus_tcp,<0.110209.0>,
          [{event_manager,<0.110190.0>},
           {server,<<"localhost">>},
           {username,<<"alicE_disable_payload_leaf_test_3002">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.110190.0>},
            {server,<<"localhost">>},
            {username,<<"alicE_disable_payload_leaf_test_3002">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alice_disable_payload_leaf_test_3002">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_disable_payload_leaf_test_3002">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"0d6e0f1f4bbf18cb">>}]},
        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}]},
     {pubsub_...

Report log

pubsub_SUITE:dag+debug_calls:debug_get_items_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"alice_debug_get_items_test_3008@localhost/res1">>,
          escalus_tcp,<0.110346.0>,
          [{event_manager,<0.110336.0>},
           {server,<<"localhost">>},
           {username,<<"alicE_debug_get_items_test_3008">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.110336.0>},
            {server,<<"localhost">>},
            {username,<<"alicE_debug_get_items_test_3008">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"alice_debug_get_items_test_3008">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,<<"alicE_debug_get_items_test_3008">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"6331e649432227cd">>}]},
        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,
     ...

Report log


pgsql_cets_27 / pgsql_cets / 431357e
Reports root/ big
OK: 4848 / Failed: 1 / User-skipped: 188 / Auto-skipped: 0

connect_SUITE:just_tls:starttls_required:starttls_required_parallel:cannot_connect_with_proxy_header
{error,
  {thrown,
    {{timeout,stream_end},
     [{escalus_connection,get_stream_end,2,
        [{file,
           "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_connection.erl"},
         {line,369}]},
      {escalus_connection,end_stream,1,
        [{file,
           "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_connection.erl"},
         {line,541}]},
      {escalus_connection,stop,1,
        [{file,
           "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_connection.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


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


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


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


pgsql_cets_27 / pgsql_cets / 431357e
Reports root/ big
OK: 67 / Failed: 0 / User-skipped: 0 / Auto-skipped: 0

@jacekwegr jacekwegr marked this pull request as ready for review December 6, 2024 10:11
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 👌

@chrzaszcz chrzaszcz merged commit cfc7187 into master Dec 6, 2024
4 checks passed
@chrzaszcz chrzaszcz deleted the ci-build-packages-for-arm64 branch December 6, 2024 11:40
@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