beats icon indicating copy to clipboard operation
beats copied to clipboard

Build 137 for 8.12 with status FAILURE - Bind for 0.0.0.0:3002 failed: port is already allocated

Open elasticmachine opened this issue 1 year ago • 1 comments

:broken_heart: Tests Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2024-03-03T03:13:23.393+0000

  • Duration: 128 min 54 sec

Test stats :test_tube:

Test Results
Failed 2
Passed 3650
Skipped 234
Total 3886

Test errors 2

Expand to view the tests failures

Extended / x-pack/metricbeat-cloud / test_health – x-pack.metricbeat.module.enterprisesearch.test_enterprisesearch.Test
    Expand to view the error details

     failed on setup with "compose.project.ProjectError: Encountered errors while bringing up the project." 
    
    Expand to view the stacktrace

     self = <class "test_enterprisesearch.Test">
    
        @classmethod
        def setUpClass(self):
            self.beat_name = "metricbeat"
            self.beat_path = os.path.abspath(
                os.path.join(os.path.dirname(__file__), "../../"))
        
            self.template_paths = [
                os.path.abspath(os.path.join(self.beat_path, "../../metricbeat")),
                os.path.abspath(os.path.join(self.beat_path, "../../libbeat")),
            ]
        
    >       super(XPackTest, self).setUpClass()
    
    tests/system/xpack_metricbeat.py:19: 
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    ../../metricbeat/tests/system/metricbeat.py:42: in setUpClass
        super().setUpClass()
    ../../libbeat/tests/system/beat/beat.py:204: in setUpClass
        cls.compose_up_with_retries()
    ../../libbeat/tests/system/beat/beat.py:222: in compose_up_with_retries
        raise ex
    ../../libbeat/tests/system/beat/beat.py:218: in compose_up_with_retries
        cls.compose_up()
    ../../libbeat/tests/system/beat/compose.py:66: in compose_up
        project.up(
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    
    self = <compose.project.Project object at 0x7fb00349ed10>
    service_names = ["enterprise_search"], start_deps = True
    strategy = <ConvergenceStrategy.always: 2>, do_build = <BuildAction.none: 0>
    timeout = 30, detached = False, remove_orphans = False, ignore_orphans = False
    scale_override = {}, rescale = True, start = True, always_recreate_deps = False
    reset_container_image = False, renew_anonymous_volumes = False, silent = False
    cli = False, one_off = False, attach_dependencies = False
    override_options = None
    
        def up(self,
               service_names=None,
               start_deps=True,
               strategy=ConvergenceStrategy.changed,
               do_build=BuildAction.none,
               timeout=None,
               detached=False,
               remove_orphans=False,
               ignore_orphans=False,
               scale_override=None,
               rescale=True,
               start=True,
               always_recreate_deps=False,
               reset_container_image=False,
               renew_anonymous_volumes=False,
               silent=False,
               cli=False,
               one_off=False,
               attach_dependencies=False,
               override_options=None,
               ):
        
            self.initialize()
            if not ignore_orphans:
                self.find_orphan_containers(remove_orphans)
        
            if scale_override is None:
                scale_override = {}
        
            services = self.get_services_without_duplicate(
                service_names,
                include_deps=start_deps)
        
            for svc in services:
                svc.ensure_image_exists(do_build=do_build, silent=silent, cli=cli)
            plans = self._get_convergence_plans(
                services,
                strategy,
                always_recreate_deps=always_recreate_deps,
                one_off=service_names if one_off else [],
            )
        
            services_to_attach = filter_attached_for_up(
                services,
                service_names,
                attach_dependencies,
                lambda service: service.name)
        
            def do(service):
                return service.execute_convergence_plan(
                    plans[service.name],
                    timeout=timeout,
                    detached=detached or (service not in services_to_attach),
                    scale_override=scale_override.get(service.name),
                    rescale=rescale,
                    start=start,
                    reset_container_image=reset_container_image,
                    renew_anonymous_volumes=renew_anonymous_volumes,
                    override_options=override_options,
                )
        
            def get_deps(service):
                return {
                    (self.get_service(dep), config)
                    for dep, config in service.get_dependency_configs().items()
                }
        
            results, errors = parallel.parallel_execute(
                services,
                do,
                operator.attrgetter("name"),
                None,
                get_deps,
            )
            if errors:
    >           raise ProjectError(
                    "Encountered errors while bringing up the project."
                )
    E           compose.project.ProjectError: Encountered errors while bringing up the project.
    
    /opt/venv/lib/python3.11/site-packages/compose/project.py:705: ProjectError 
    
Extended / x-pack/metricbeat-cloud / test_stats – x-pack.metricbeat.module.enterprisesearch.test_enterprisesearch.Test
    Expand to view the error details

     failed on setup with "compose.project.ProjectError: Encountered errors while bringing up the project." 
    
    Expand to view the stacktrace

     self = <class "test_enterprisesearch.Test">
    
        @classmethod
        def setUpClass(self):
            self.beat_name = "metricbeat"
            self.beat_path = os.path.abspath(
                os.path.join(os.path.dirname(__file__), "../../"))
        
            self.template_paths = [
                os.path.abspath(os.path.join(self.beat_path, "../../metricbeat")),
                os.path.abspath(os.path.join(self.beat_path, "../../libbeat")),
            ]
        
    >       super(XPackTest, self).setUpClass()
    
    tests/system/xpack_metricbeat.py:19: 
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    ../../metricbeat/tests/system/metricbeat.py:42: in setUpClass
        super().setUpClass()
    ../../libbeat/tests/system/beat/beat.py:204: in setUpClass
        cls.compose_up_with_retries()
    ../../libbeat/tests/system/beat/beat.py:222: in compose_up_with_retries
        raise ex
    ../../libbeat/tests/system/beat/beat.py:218: in compose_up_with_retries
        cls.compose_up()
    ../../libbeat/tests/system/beat/compose.py:66: in compose_up
        project.up(
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    
    self = <compose.project.Project object at 0x7fb00349ed10>
    service_names = ["enterprise_search"], start_deps = True
    strategy = <ConvergenceStrategy.always: 2>, do_build = <BuildAction.none: 0>
    timeout = 30, detached = False, remove_orphans = False, ignore_orphans = False
    scale_override = {}, rescale = True, start = True, always_recreate_deps = False
    reset_container_image = False, renew_anonymous_volumes = False, silent = False
    cli = False, one_off = False, attach_dependencies = False
    override_options = None
    
        def up(self,
               service_names=None,
               start_deps=True,
               strategy=ConvergenceStrategy.changed,
               do_build=BuildAction.none,
               timeout=None,
               detached=False,
               remove_orphans=False,
               ignore_orphans=False,
               scale_override=None,
               rescale=True,
               start=True,
               always_recreate_deps=False,
               reset_container_image=False,
               renew_anonymous_volumes=False,
               silent=False,
               cli=False,
               one_off=False,
               attach_dependencies=False,
               override_options=None,
               ):
        
            self.initialize()
            if not ignore_orphans:
                self.find_orphan_containers(remove_orphans)
        
            if scale_override is None:
                scale_override = {}
        
            services = self.get_services_without_duplicate(
                service_names,
                include_deps=start_deps)
        
            for svc in services:
                svc.ensure_image_exists(do_build=do_build, silent=silent, cli=cli)
            plans = self._get_convergence_plans(
                services,
                strategy,
                always_recreate_deps=always_recreate_deps,
                one_off=service_names if one_off else [],
            )
        
            services_to_attach = filter_attached_for_up(
                services,
                service_names,
                attach_dependencies,
                lambda service: service.name)
        
            def do(service):
                return service.execute_convergence_plan(
                    plans[service.name],
                    timeout=timeout,
                    detached=detached or (service not in services_to_attach),
                    scale_override=scale_override.get(service.name),
                    rescale=rescale,
                    start=start,
                    reset_container_image=reset_container_image,
                    renew_anonymous_volumes=renew_anonymous_volumes,
                    override_options=override_options,
                )
        
            def get_deps(service):
                return {
                    (self.get_service(dep), config)
                    for dep, config in service.get_dependency_configs().items()
                }
        
            results, errors = parallel.parallel_execute(
                services,
                do,
                operator.attrgetter("name"),
                None,
                get_deps,
            )
            if errors:
    >           raise ProjectError(
                    "Encountered errors while bringing up the project."
                )
    E           compose.project.ProjectError: Encountered errors while bringing up the project.
    
    /opt/venv/lib/python3.11/site-packages/compose/project.py:705: ProjectError 
    

Steps errors 2

Expand to view the steps failures

x-pack/metricbeat-cloud - mage build test
  • Took 26 min 44 sec . View more details here
  • Description: mage build test
Error signal
  • Took 0 min 0 sec . View more details here
  • Description: Error "hudson.AbortException: script returned exit code 1"

elasticmachine avatar Mar 03 '24 05:03 elasticmachine

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

elasticmachine avatar Mar 03 '24 05:03 elasticmachine