Uploaded image for project: 'DC/OS'
  1. DC/OS
  2. DCOS_OSS-4749

dcos_overlay_SUITE unit test is flaky

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Done
    • Affects Version/s: DC/OS 1.13
    • Fix Version/s: None
    • Component/s: dcos-net
    • Labels:
      None
    • Sprint:
      Networking: RI-10 Sprint 38
    • Story Points:
      5

      Description

      %%% dcos_overlay_SUITE: 
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      dcos_overlay_SUITE:init_per_suite failed
      Reason: case_clause
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      
      Testing lib.dcos_overlay: *** FAILED {dcos_overlay_SUITE,init_per_suite} ***
      
      =INFO REPORT==== 29-Jan-2019::20:45:36.318858 ===
      Protocol 'inet_tcp': register/listen error: econnrefused
      
      =CRASH REPORT==== 29-Jan-2019::20:45:36.319083 ===
        crasher:
          initial call: net_kernel:init/1
          pid: <0.7884.0>
          registered_name: []
          exception exit: {error,badarg}
            in function  gen_server:init_it/6 (gen_server.erl, line 358)
          ancestors: [net_sup,kernel_sup,<0.45.0>]
          message_queue_len: 0
          messages: []
          links: [#Port<0.551>,<0.7881.0>]
          dictionary: [{longnames,false}]
          trap_exit: true
          status: running
          heap_size: 987
          stack_size: 27
          reductions: 16949
        neighbours:
      
      =SUPERVISOR REPORT==== 29-Jan-2019::20:45:36.319210 ===
          supervisor: {local,net_sup}
          errorContext: start_error
          reason: {'EXIT',nodistribution}
          offender: [{pid,undefined},
                     {id,net_kernel},
                     {mfargs,{net_kernel,start_link,
                                         [['runner@default-ae6ab460-eb8e-4f3e-8547-e6668599112d',
                                           shortnames],
                                          false]}},
                     {restart_type,permanent},
                     {shutdown,2000},
                     {child_type,worker}]
      
      %%% dcos_overlay_SUITE ==> init_per_suite: FAILED
      %%% dcos_overlay_SUITE ==> {{case_clause,
           {error,
               {{shutdown,
                    {failed_to_start_child,net_kernel,{'EXIT',nodistribution}}},
                {child,undefined,net_sup_dynamic,
                    {erl_distribution,start_link,
                        [['runner@default-ae6ab460-eb8e-4f3e-8547-e6668599112d',
                          shortnames],
                         false]},
                    permanent,1000,supervisor,
                    [erl_distribution]}}}},
       [{dcos_overlay_SUITE,init_per_suite,1,
            [{file,
                 "/home/circleci/dcos-net/apps/dcos_overlay/test/dcos_overlay_SUITE.erl"},
             {line,26}]},
        {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1545}]},
        {test_server,run_test_case_eval1,6,[{file,"test_server.erl"},{line,1148}]},
        {test_server,run_test_case_eval,9,[{file,"test_server.erl"},{line,995}]}]}
      
      %%% dcos_overlay_SUITE ==> dcos_overlay_test: SKIPPED
      %%% dcos_overlay_SUITE ==> {tc_auto_skip,
          {failed,
              {dcos_overlay_SUITE,init_per_suite,
                  {'EXIT',
                      {{case_clause,
                           {error,
                               {{shutdown,
                                    {failed_to_start_child,net_kernel,
                                        {'EXIT',nodistribution}}},
                                {child,undefined,net_sup_dynamic,
                                    {erl_distribution,start_link,
                                        [['runner@default-ae6ab460-eb8e-4f3e-8547-e6668599112d',
                                          shortnames],
                                         false]},
                                    permanent,1000,supervisor,
                                    [erl_distribution]}}}},
                       [{dcos_overlay_SUITE,init_per_suite,1,
                            [{file,
                                 "/home/circleci/dcos-net/apps/dcos_overlay/test/dcos_overlay_SUITE.erl"},
                             {line,26}]},
                        {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1545}]},
                        {test_server,run_test_case_eval1,6,
                            [{file,"test_server.erl"},{line,1148}]},
                        {test_server,run_test_case_eval,9,
                            [{file,"test_server.erl"},{line,995}]}]}}}}}
      
      %%% dcos_overlay_SUITE ==> end_per_suite: SKIPPED
      %%% dcos_overlay_SUITE ==> {tc_auto_skip,
          {failed,
              {dcos_overlay_SUITE,init_per_suite,
                  {'EXIT',
                      {{case_clause,
                           {error,
                               {{shutdown,
                                    {failed_to_start_child,net_kernel,
                                        {'EXIT',nodistribution}}},
                                {child,undefined,net_sup_dynamic,
                                    {erl_distribution,start_link,
                                        [['runner@default-ae6ab460-eb8e-4f3e-8547-e6668599112d',
                                          shortnames],
                                         false]},
                                    permanent,1000,supervisor,
                                    [erl_distribution]}}}},
                       [{dcos_overlay_SUITE,init_per_suite,1,
                            [{file,
                                 "/home/circleci/dcos-net/apps/dcos_overlay/test/dcos_overlay_SUITE.erl"},
                             {line,26}]},
                        {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1545}]},
                        {test_server,run_test_case_eval1,6,
                            [{file,"test_server.erl"},{line,1148}]},
                        {test_server,run_test_case_eval,9,
                            [{file,"test_server.erl"},{line,995}]}]}}}}}
      

        Attachments

          Activity

            People

            • Assignee:
              sergeyurbanovich Sergey Urbanovich
              Reporter:
              sergeyurbanovich Sergey Urbanovich
              Team:
              Networking Team
              Watchers:
              Deepak Goel, Sergey Urbanovich
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: