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

Pass a commit msg to MIM dockerfile #2446

Merged
merged 3 commits into from
Sep 18, 2019
Merged

Conversation

mkacper
Copy link
Contributor

@mkacper mkacper commented Sep 10, 2019

This PR updates docker image building scripts so a commit message is passed to MIM dockerfile. The message is attached to an image as a new label.

@mongoose-im
Copy link
Collaborator

mongoose-im commented Sep 10, 2019

7132.1 / Erlang 22.0 / small_tests / d8f7c96
Reports root / small


7132.2 / Erlang 22.0 / internal_mnesia / d8f7c96
Reports root/ big
OK: 1244 / Failed: 0 / User-skipped: 136 / Auto-skipped: 0


7132.3 / Erlang 22.0 / odbc_mssql_mnesia / d8f7c96
Reports root/ big
OK: 3136 / Failed: 0 / User-skipped: 260 / Auto-skipped: 0


7132.4 / Erlang 22.0 / mysql_redis / d8f7c96
Reports root/ big
OK: 3134 / Failed: 0 / User-skipped: 262 / Auto-skipped: 0


7132.7 / Erlang 22.0 / elasticsearch_and_cassandra_mnesia / d8f7c96
Reports root/ big
OK: 510 / Failed: 0 / User-skipped: 32 / Auto-skipped: 0


7132.6 / Erlang 22.0 / ldap_mnesia / d8f7c96
Reports root/ big
OK: 1213 / Failed: 0 / User-skipped: 167 / Auto-skipped: 0


7132.5 / Erlang 22.0 / riak_mnesia / d8f7c96
Reports root/ big
OK: 1468 / Failed: 0 / User-skipped: 145 / Auto-skipped: 0


7132.9 / Erlang 21.3 / pgsql_mnesia / d8f7c96
Reports root/ big / small
OK: 3163 / Failed: 2 / User-skipped: 247 / Auto-skipped: 0

pep_SUITE:pep_tests:unsubscribe_after_presence_unsubscription
{error,
  {{badmatch,
     [{xmlel,<<"message">>,
        [{<<"from">>,<<"alice81.281705@localhost">>},
         {<<"to">>,<<"bob81.281705@localhost/res1">>},
         {<<"type">>,<<"headline">>}],
        [{xmlel,<<"event">>,
           [{<<"xmlns">>,
           <<"http://jabber.org/protocol/pubsub#event">>}],
           [{xmlel,<<"items">>,
            [{<<"node">>,<<"4w+U6Utun8hSd0Mtku49qg==">>}],
            [{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/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/pep_SUITE.erl"},
       {line,300}]},
    {escalus_story,story,4,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,72}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1562}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1080}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1012}]}]}}

Report log

pep_SUITE:pep_tests:unsubscribe_after_presence_unsubscription
{error,
  {{badmatch,
     [{xmlel,<<"message">>,
        [{<<"from">>,<<"alice82.876080@localhost">>},
         {<<"to">>,<<"bob82.876080@localhost/res1">>},
         {<<"type">>,<<"headline">>}],
        [{xmlel,<<"event">>,
           [{<<"xmlns">>,
           <<"http://jabber.org/protocol/pubsub#event">>}],
           [{xmlel,<<"items">>,
            [{<<"node">>,<<"W9+8BVUtjS32i6XrpPn1AA==">>}],
            [{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/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/pep_SUITE.erl"},
       {line,300}]},
    {escalus_story,story,4,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,72}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1562}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1080}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1012}]}]}}

Report log


7132.9 / Erlang 21.3 / pgsql_mnesia / d8f7c96
Reports root/ big / small
OK: 3149 / Failed: 0 / User-skipped: 247 / Auto-skipped: 0

@codecov
Copy link

codecov bot commented Sep 10, 2019

Codecov Report

Merging #2446 into master will decrease coverage by 60.64%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master    #2446       +/-   ##
===========================================
- Coverage   78.68%   18.04%   -60.65%     
===========================================
  Files         339      339               
  Lines       29299    29299               
===========================================
- Hits        23054     5287    -17767     
- Misses       6245    24012    +17767
Impacted Files Coverage Δ
src/event_pusher/mod_event_pusher_http.erl 0% <0%> (-100%) ⬇️
src/mongoose_router_global.erl 0% <0%> (-100%) ⬇️
src/mod_auth_token_rdbms.erl 0% <0%> (-100%) ⬇️
src/mod_aws_sns.erl 0% <0%> (-100%) ⬇️
...rc/event_pusher/mod_event_pusher_http_defaults.erl 0% <0%> (-100%) ⬇️
src/inbox/mod_inbox_rdbms_mysql.erl 0% <0%> (-100%) ⬇️
src/mod_offline_stub.erl 0% <0%> (-100%) ⬇️
src/wpool/mongoose_wpool_ldap.erl 0% <0%> (-100%) ⬇️
...c/global_distrib/mod_global_distrib_server_sup.erl 0% <0%> (-100%) ⬇️
src/mongoose_router_external_localnode.erl 0% <0%> (-100%) ⬇️
... and 282 more

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 3e20a18...524e8ce. Read the comment docs.

@mongoose-im
Copy link
Collaborator

mongoose-im commented Sep 11, 2019

7146.1 / Erlang 22.0 / small_tests / 7935b00
Reports root / small


7146.2 / Erlang 22.0 / internal_mnesia / 7935b00
Reports root/ big
OK: 1244 / Failed: 0 / User-skipped: 136 / Auto-skipped: 0


7146.3 / Erlang 22.0 / odbc_mssql_mnesia / 7935b00
Reports root/ big
OK: 3149 / Failed: 1 / User-skipped: 260 / Auto-skipped: 0

mod_global_distrib_SUITE:mod_global_distrib:test_pm_with_graceful_reconnection_to_different_server
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,<<"eve64.70290@localhost/res1">>,escalus_tcp,
          <0.22309.3>,
          [{event_manager,<0.22302.3>},
           {server,<<"localhost">>},
           {username,<<"eve64.70290">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.22302.3>},
            {server,<<"localhost">>},
            {username,<<"eve64.70290">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,<<"eve64.70290">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {port,5222},
           {username,<<"eve64.70290">>},
           {server,<<"localhost">>},
           {password,<<"password">>},
           {port,5252},
           {stream_id,<<"9F76AFCF518FD8FD">>}]},
        5000],
       [{file,
          "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {mod_global_distrib_SUITE,
       '-test_pm_with_graceful_reconnection_to_different_server/1-fun-0-',
       3,
       [{file,
          "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/mod_global_distrib_SUITE.erl"},
        {line,573}]},
     {escalus_story,story,4,
       [{file,
          "/home/travis/build/esl/MongooseIM/big_...

Report log


7146.4 / Erlang 22.0 / mysql_redis / 7935b00
Reports root/ big
OK: 3137 / Failed: 1 / User-skipped: 262 / Auto-skipped: 0

mod_event_pusher_rabbit_SUITE:group_chat_message_publish:group_chat_message_received_event_properly_formatted
{error,
  {{assertMatch,
     [{module,mod_event_pusher_rabbit_SUITE},
      {line,433},
      {expression,
        "get_decoded_message_from_rabbit ( AliceGroupChatMsgRecvRK )"},
      {pattern,
        "# { << \"from_user_id\" >> := BobRoomJID , << \"to_user_id\" >> := AliceFullJID , << \"message\" >> := Message }"},
      {value,
        #{<<"from_user_id">> => <<"muc_publish@muc.localhost">>,
        <<"message">> => <<>>,
        <<"to_user_id">> => <<"alice17.52734@localhost/res1">>}}]},
   [{mod_event_pusher_rabbit_SUITE,
      '-group_chat_message_received_event_properly_formatted/1-fun-0-',3,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/mod_event_pusher_rabbit_SUITE.erl"},
       {line,433}]},
    {escalus_story,story,4,
      [{file,
         "/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
       {line,72}]},
    {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1748}]},
    {test_server,run_test_case_eval1,6,
      [{file,"test_server.erl"},{line,1263}]},
    {test_server,run_test_case_eval,9,
      [{file,"test_server.erl"},{line,1195}]}]}}

Report log


7146.7 / Erlang 22.0 / elasticsearch_and_cassandra_mnesia / 7935b00
Reports root/ big
OK: 510 / Failed: 0 / User-skipped: 32 / Auto-skipped: 0


7146.5 / Erlang 22.0 / riak_mnesia / 7935b00
Reports root/ big
OK: 1468 / Failed: 0 / User-skipped: 145 / Auto-skipped: 0


7146.6 / Erlang 22.0 / ldap_mnesia / 7935b00
Reports root/ big
OK: 1213 / Failed: 0 / User-skipped: 167 / Auto-skipped: 0


7146.9 / Erlang 21.3 / pgsql_mnesia / 7935b00
Reports root/ big / small
OK: 3149 / Failed: 0 / User-skipped: 247 / Auto-skipped: 0

@mkacper mkacper force-pushed the pass-commit-msg-to-docker-image branch from db28b2e to 524e8ce Compare September 12, 2019 07:35
@mongoose-im
Copy link
Collaborator

mongoose-im commented Sep 12, 2019

7157.1 / Erlang 22.0 / small_tests / 103a3b1
Reports root / small


7157.2 / Erlang 22.0 / internal_mnesia / 103a3b1
Reports root/ big
OK: 1244 / Failed: 0 / User-skipped: 136 / Auto-skipped: 0


7157.3 / Erlang 22.0 / odbc_mssql_mnesia / 103a3b1
Reports root/ big
OK: 3136 / Failed: 0 / User-skipped: 260 / Auto-skipped: 0


7157.4 / Erlang 22.0 / mysql_redis / 103a3b1
Reports root/ big
OK: 3134 / Failed: 0 / User-skipped: 262 / Auto-skipped: 0


7157.6 / Erlang 22.0 / ldap_mnesia / 103a3b1
Reports root/ big
OK: 1213 / Failed: 0 / User-skipped: 167 / Auto-skipped: 0


7157.5 / Erlang 22.0 / riak_mnesia / 103a3b1
Reports root/ big
OK: 1468 / Failed: 0 / User-skipped: 145 / Auto-skipped: 0


7157.9 / Erlang 21.3 / pgsql_mnesia / 103a3b1
Reports root/ big / small
OK: 3156 / Failed: 1 / User-skipped: 247 / Auto-skipped: 0

sm_SUITE:parallel_manual_ack_freq_1:resume_session_state_stop_c2s
{error,{{assertion_failed,assert_many,true,
              [is_presence,#Fun<sm_SUITE.16.18584150>],
              [{xmlel,<<"presence">>,
                  [{<<"from">>,
                  <<"alicE36.545605@localhost/escalus-default-resource">>},
                   {<<"to">>,
                  <<"alice36.545605@localhost/escalus-default-resource">>},
                   {<<"xml:lang">>,<<"en">>}],
                  []},
               {xmlel,<<"presence">>,
                  [{<<"from">>,
                  <<"alicE36.545605@localhost/escalus-default-resource">>},
                   {<<"to">>,
                  <<"alice36.545605@localhost/escalus-default-resource">>},
                   {<<"xml:lang">>,<<"en">>}],
                  []}],
              "   <presence from='alicE36.545605@localhost/escalus-default-resource' to='alice36.545605@localhost/escalus-default-resource' xml:lang='en'/>   <presence from='alicE36.545605@localhost/escalus-default-resource' to='alice36.545605@localhost/escalus-default-resource' xml:lang='en'/>"},
    [{escalus_new_assert,assert_true,2,
               [{file,"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
                {line,84}]},
     {sm_SUITE,resume_session_state_stop_c2s,1,
           [{file,"/home/travis/build/esl/MongooseIM/big_tests/_build/default/lib/ejabberd_tests/tests/sm_SUITE.erl"},
          {line,569}]},
     {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1562}]},
     ...

Report log

@mkacper mkacper removed the WIP 🚧 label Sep 17, 2019
@michalwski michalwski merged commit 92dd516 into master Sep 18, 2019
@michalwski michalwski deleted the pass-commit-msg-to-docker-image branch September 18, 2019 06:56
@fenek fenek added this to the 3.4.0++ milestone Oct 2, 2019
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.

4 participants