esl / MongooseIM

MongooseIM is Erlang Solutions' robust, scalable and efficient XMPP server, aimed at large installations. Specifically designed for enterprise purposes, it is fault-tolerant and can utilise the resources of multiple clustered machines.
Other
1.64k stars 421 forks source link

updating setup-beam GH action and OTP versions #4152

Closed DenysGonchar closed 7 months ago

DenysGonchar commented 7 months ago

GH Actions build - https://github.com/esl/MongooseIM/actions/runs/6555138169

The latest setup-beam GH Action (v1.16.0 as of 18/10/2023) states that only versions up to OTP 25 are supported for ubuntu-22.04 runners (see this page for more details).

However, for all Linux runners, the setup-beam GH Action uses prebuilt OTP releases stored at builds.hex.pm. Those builds are prepared by Bob the builder, and the actual list of the prebuilt OTP versions for ubuntu-22.04 runners can be found here.

For more details, check the implementation of getOTPVersions() and installOTP() functions of setup-beam GH Action.

mongoose-im commented 7 months ago

elasticsearch_and_cassandra_26 / elasticsearch_and_cassandra_mnesia / a03f0ddaac99827582432e9b391fbd280c9fcf58 Reports root/ big OK: 369 / Failed: 0 / User-skipped: 38 / Auto-skipped: 0


small_tests_25 / small_tests / a03f0ddaac99827582432e9b391fbd280c9fcf58 Reports root / small


small_tests_26 / small_tests / a03f0ddaac99827582432e9b391fbd280c9fcf58 Reports root / small


small_tests_26_arm64 / small_tests / a03f0ddaac99827582432e9b391fbd280c9fcf58 Reports root / small


dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / a03f0ddaac99827582432e9b391fbd280c9fcf58 Reports root/ big OK: 4272 / Failed: 0 / User-skipped: 112 / Auto-skipped: 0


ldap_mnesia_26 / ldap_mnesia / a03f0ddaac99827582432e9b391fbd280c9fcf58 Reports root/ big OK: 2307 / Failed: 0 / User-skipped: 865 / Auto-skipped: 0


ldap_mnesia_25 / ldap_mnesia / a03f0ddaac99827582432e9b391fbd280c9fcf58 Reports root/ big OK: 2307 / Failed: 0 / User-skipped: 865 / Auto-skipped: 0


dynamic_domains_mysql_redis_26 / mysql_redis / a03f0ddaac99827582432e9b391fbd280c9fcf58 Reports root/ big OK: 4240 / Failed: 0 / User-skipped: 144 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / a03f0ddaac99827582432e9b391fbd280c9fcf58 Reports root/ big OK: 4272 / Failed: 0 / User-skipped: 112 / Auto-skipped: 0


pgsql_mnesia_25 / pgsql_mnesia / a03f0ddaac99827582432e9b391fbd280c9fcf58 Reports root/ big OK: 4661 / Failed: 0 / User-skipped: 119 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_26 / odbc_mssql_mnesia / a03f0ddaac99827582432e9b391fbd280c9fcf58 Reports root/ big OK: 4269 / Failed: 0 / User-skipped: 115 / Auto-skipped: 0


mysql_redis_26 / mysql_redis / a03f0ddaac99827582432e9b391fbd280c9fcf58 Reports root/ big OK: 4640 / Failed: 1 / User-skipped: 139 / Auto-skipped: 0

carboncopy_SUITE:one2one:dropped_client_doesnt_create_duplicate_carbons ```erlang {error, {{badmatch, [{xmlel,<<"message">>, [{<<"from">>, <<"alice_dropped_client_doesnt_create_duplicate_carbons_589@localhost">>}, {<<"to">>, <<"alice_dropped_client_doesnt_create_duplicate_carbons_589@localhost/res2">>}, {<<"xmlns">>,<<"jabber:client">>}, {<<"type">>,<<"chat">>}], [{xmlel,<<"sent">>, [{<<"xmlns">>,<<"urn:xmpp:carbons:2">>}], [{xmlel,<<"forwarded">>, [{<<"xmlns">>,<<"urn:xmpp:forward:0">>}], [{xmlel,<<"message">>, [{<<"from">>, <<"alice_dropped_client_doesnt_create_duplicate_carbons_589@localhost/res1">>}, {<<"type">>,<<"chat">>}, {<<"to">>, <<"bob_dropped_client_doesnt_create_duplicate_carbons_589@localhost/res1">>}, {<<"xmlns">>,<<"jabber:client">>}], [{xmlel,<<"body">>,[], [{xmlcdata, <<"And pious action">>}]}]}]}]}]}]}, [{carboncopy_SUITE, '-dropped_client_doesnt_create_duplicate_carbons/1-fun-0-',4, [{file, "/home/circleci/project/big_tests/tests/carboncopy_SUITE.erl"}, {line,189}]}, {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_serv... ``` [Report log](https://circleci-mim-results.s3.eu-central-1.amazonaws.com/PR/4152/196284/mysql_redis.26.1.2-amd64/big/ct_run.test%400d14eeb4548f.2023-10-18_01.53.02/big_tests.tests.carboncopy_SUITE.logs/run.2023-10-18_01.53.49/carboncopy_suite.dropped_client_doesnt_create_duplicate_carbons.26627.html)

internal_mnesia_26 / internal_mnesia / a03f0ddaac99827582432e9b391fbd280c9fcf58 Reports root/ big OK: 2457 / Failed: 0 / User-skipped: 715 / Auto-skipped: 0


pgsql_cets_26 / pgsql_cets / a03f0ddaac99827582432e9b391fbd280c9fcf58 Reports root/ big OK: 4659 / Failed: 0 / User-skipped: 121 / Auto-skipped: 0


pgsql_mnesia_26 / pgsql_mnesia / a03f0ddaac99827582432e9b391fbd280c9fcf58 Reports root/ big OK: 4661 / Failed: 0 / User-skipped: 119 / Auto-skipped: 0


mssql_mnesia_26 / odbc_mssql_mnesia / a03f0ddaac99827582432e9b391fbd280c9fcf58 Reports root/ big OK: 4658 / Failed: 0 / User-skipped: 122 / Auto-skipped: 0


mysql_redis_26 / mysql_redis / a03f0ddaac99827582432e9b391fbd280c9fcf58 Reports root/ big OK: 4641 / Failed: 0 / User-skipped: 139 / Auto-skipped: 0

codecov[bot] commented 7 months ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (4ece47c) 84.00% compared to head (f82666d) 84.06%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #4152 +/- ## ========================================== + Coverage 84.00% 84.06% +0.05% ========================================== Files 561 561 Lines 34020 34020 ========================================== + Hits 28578 28598 +20 + Misses 5442 5422 -20 ``` [see 16 files with indirect coverage changes](https://app.codecov.io/gh/esl/MongooseIM/pull/4152/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=esl)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

mongoose-im commented 7 months ago

elasticsearch_and_cassandra_26 / elasticsearch_and_cassandra_mnesia / d435e2a3eeda501382824de65d8e260ff8d991cc Reports root/ big OK: 369 / Failed: 0 / User-skipped: 38 / Auto-skipped: 0


small_tests_25 / small_tests / d435e2a3eeda501382824de65d8e260ff8d991cc Reports root / small


small_tests_26 / small_tests / d435e2a3eeda501382824de65d8e260ff8d991cc Reports root / small

mongoose-im commented 7 months ago

elasticsearch_and_cassandra_26 / elasticsearch_and_cassandra_mnesia / f82666d640ea02134cbc70dab643272e177d7a07 Reports root/ big OK: 369 / Failed: 0 / User-skipped: 38 / Auto-skipped: 0


small_tests_25 / small_tests / f82666d640ea02134cbc70dab643272e177d7a07 Reports root / small


small_tests_26 / small_tests / f82666d640ea02134cbc70dab643272e177d7a07 Reports root / small


small_tests_26_arm64 / small_tests / f82666d640ea02134cbc70dab643272e177d7a07 Reports root / small


ldap_mnesia_25 / ldap_mnesia / f82666d640ea02134cbc70dab643272e177d7a07 Reports root/ big OK: 2307 / Failed: 0 / User-skipped: 865 / Auto-skipped: 0


dynamic_domains_mysql_redis_26 / mysql_redis / f82666d640ea02134cbc70dab643272e177d7a07 Reports root/ big OK: 4240 / Failed: 0 / User-skipped: 144 / Auto-skipped: 0


ldap_mnesia_26 / ldap_mnesia / f82666d640ea02134cbc70dab643272e177d7a07 Reports root/ big OK: 2306 / Failed: 1 / User-skipped: 865 / Auto-skipped: 0

pubsub_SUITE:dag+basic:retract_when_user_goes_offline_test ```erlang {error,{{badmatch,false}, [{pubsub_tools,check_response,2, [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"}, {line,444}]}, {pubsub_tools,receive_response,3, [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"}, {line,434}]}, {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/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](https://circleci-mim-results.s3.eu-central-1.amazonaws.com/PR/4152/196361/ldap_mnesia.26.1.2-amd64/big/ct_run.test%40ed92297e3a85.2023-10-18_04.30.23/big_tests.tests.pubsub_SUITE.logs/run.2023-10-18_04.40.56/pubsub_suite.retract_when_user_goes_offline_test.38404.html)

dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / f82666d640ea02134cbc70dab643272e177d7a07 Reports root/ big OK: 4271 / Failed: 1 / User-skipped: 112 / Auto-skipped: 0

metrics_c2s_SUITE:single:iq_one ```erlang {error, {{xmppStanzaReceived, {value,18625}, [{times,25, {error, {badmatch,{value,18626}}, [{metrics_helper,assert_counter,3, [{file, "/home/circleci/project/big_tests/tests/metrics_helper.erl"}, {line,36}]}, {mongoose_helper,do_wait_until,2, [{file, "/home/circleci/project/big_tests/tests/mongoose_helper.erl"}, {line,361}]}, {metrics_c2s_SUITE,'-iq_one/1-fun-0-',1, [{file, "/home/circleci/project/big_tests/tests/metrics_c2s_SUITE.erl"}, {line,162}]}, {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,1782}]}, {test_server,run_test_case_eval1,6, [{file,"test_server.erl"},{line,1291}]}, {test_server,run_test_case_eval,9, [{file,"test_server.erl"},{line,1223}]}]}}], ok}, [{mongoose_helper,do_wait_until,2, [{file,"/home/circleci/project/big_tests/tests/mongoose_helper.erl"}, {line,358}]}, {metrics_c2s_SUITE,'-iq_one/1-fun-0-',1, [{file, "/home/circleci/project/big_tests/tests/metrics_c2s_SUITE.erl"}, {line,162}]}, {escalus_story,story,4, [{file, "/home/circleci/project/big_tests/_build/d... ``` [Report log](https://circleci-mim-results.s3.eu-central-1.amazonaws.com/PR/4152/196349/pgsql_mnesia.25.3.2.6-amd64/big/ct_run.test%4061cdccfc6430.2023-10-18_04.29.27/big_tests.tests.metrics_c2s_SUITE.logs/run.2023-10-18_04.39.15/metrics_c2s_suite.iq_one.html)

dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / f82666d640ea02134cbc70dab643272e177d7a07 Reports root/ big OK: 4272 / Failed: 0 / User-skipped: 112 / Auto-skipped: 0


pgsql_cets_26 / pgsql_cets / f82666d640ea02134cbc70dab643272e177d7a07 Reports root/ big OK: 4659 / Failed: 0 / User-skipped: 121 / Auto-skipped: 0


internal_mnesia_26 / internal_mnesia / f82666d640ea02134cbc70dab643272e177d7a07 Reports root/ big OK: 2457 / Failed: 0 / User-skipped: 715 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_26 / odbc_mssql_mnesia / f82666d640ea02134cbc70dab643272e177d7a07 Reports root/ big OK: 4269 / Failed: 0 / User-skipped: 115 / Auto-skipped: 0


pgsql_mnesia_25 / pgsql_mnesia / f82666d640ea02134cbc70dab643272e177d7a07 Reports root/ big OK: 4661 / Failed: 0 / User-skipped: 119 / Auto-skipped: 0


mysql_redis_26 / mysql_redis / f82666d640ea02134cbc70dab643272e177d7a07 Reports root/ big OK: 4641 / Failed: 0 / User-skipped: 139 / Auto-skipped: 0


pgsql_mnesia_26 / pgsql_mnesia / f82666d640ea02134cbc70dab643272e177d7a07 Reports root/ big OK: 4661 / Failed: 0 / User-skipped: 119 / Auto-skipped: 0


mssql_mnesia_26 / odbc_mssql_mnesia / f82666d640ea02134cbc70dab643272e177d7a07 Reports root/ big OK: 4658 / Failed: 0 / User-skipped: 122 / Auto-skipped: 0


ldap_mnesia_26 / ldap_mnesia / f82666d640ea02134cbc70dab643272e177d7a07 Reports root/ big OK: 2307 / Failed: 0 / User-skipped: 865 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / f82666d640ea02134cbc70dab643272e177d7a07 Reports root/ big OK: 4272 / Failed: 0 / User-skipped: 112 / Auto-skipped: 0

DenysGonchar commented 7 months ago

I think it's not critical, we already do so on CircleCI. So running it on OTP 25 at GH Actions gives us a bit of diversity. it might be beneficial, especially for dialyzer.