Closed elasticmachine closed 5 months ago
the below badges are clickable and redirect to their specific view in the CI or DOCS
#### Build stats * Start Time: 2024-03-31T02:56:45.470+0000 * Duration: 82 min 16 sec #### Test stats :test_tube: | Test | Results | | ------------ | :-----------------------------: | | Failed | 25 | | Passed | 203 | | Skipped | 32 | | Total | 260 |
> Show only the first 10 test failures ##### `test_jolokia_jmx – metricbeat.tests.system.test_autodiscover_jolokia.Test`
``` failed on setup with "KeyError: "ContainerConfig"" ```
``` cls = @classmethod def setUpClass(cls): # pylint: disable=invalid-name """ initializes the Test class """ if not hasattr(cls, "beat_name"): cls.beat_name = "metricbeat" if not hasattr(cls, "beat_path"): cls.beat_path = os.path.abspath( os.path.join(os.path.dirname(__file__), "../../")) > super().setUpClass() tests/system/metricbeat.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../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( /opt/venv/lib/python3.11/site-packages/compose/project.py:697: in up results, errors = parallel.parallel_execute( /opt/venv/lib/python3.11/site-packages/compose/parallel.py:108: in parallel_execute raise error_to_reraise /opt/venv/lib/python3.11/site-packages/compose/parallel.py:206: in producer result = func(obj) /opt/venv/lib/python3.11/site-packages/compose/project.py:679: in do return service.execute_convergence_plan( /opt/venv/lib/python3.11/site-packages/compose/service.py:579: in execute_convergence_plan return self._execute_convergence_recreate( /opt/venv/lib/python3.11/site-packages/compose/service.py:499: in _execute_convergence_recreate containers, errors = parallel_execute( /opt/venv/lib/python3.11/site-packages/compose/parallel.py:108: in parallel_execute raise error_to_reraise /opt/venv/lib/python3.11/site-packages/compose/parallel.py:206: in producer result = func(obj) /opt/venv/lib/python3.11/site-packages/compose/service.py:494: in recreate return self.recreate_container( /opt/venv/lib/python3.11/site-packages/compose/service.py:612: in recreate_container new_container = self.create_container( /opt/venv/lib/python3.11/site-packages/compose/service.py:330: in create_container container_options = self._get_container_create_options( /opt/venv/lib/python3.11/site-packages/compose/service.py:921: in _get_container_create_options container_options, override_options = self._build_container_volume_options( /opt/venv/lib/python3.11/site-packages/compose/service.py:960: in _build_container_volume_options binds, affinity = merge_volume_bindings( /opt/venv/lib/python3.11/site-packages/compose/service.py:1548: in merge_volume_bindings old_volumes, old_mounts = get_container_data_volumes( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ container = volumes_option = [], tmpfs_option = [], mounts_option = [] def get_container_data_volumes(container, volumes_option, tmpfs_option, mounts_option): """ Find the container data volumes that are in `volumes_option`, and return a mapping of volume bindings for those volumes. Anonymous volume mounts are updated in place instead. """ volumes = [] volumes_option = volumes_option or [] container_mounts = { mount["Destination"]: mount for mount in container.get("Mounts") or {} } image_volumes = [ VolumeSpec.parse(volume) for volume in > container.image_config["ContainerConfig"].get("Volumes") or {} ] E KeyError: "ContainerConfig" /opt/venv/lib/python3.11/site-packages/compose/service.py:1579: KeyError ```
##### `metricbeat-pythonIntegTest - mage pythonIntegTest`
mage pythonIntegTest
terraform apply -auto-approve
Error "hudson.AbortException: script returned exit code 1"
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)
Same than https://github.com/elastic/beats/issues/38539
:broken_heart: Tests Failed
Expand to view the summary
#### Build stats * Start Time: 2024-03-31T02:56:45.470+0000 * Duration: 82 min 16 sec #### Test stats :test_tube: | Test | Results | | ------------ | :-----------------------------: | | Failed | 25 | | Passed | 203 | | Skipped | 32 | | Total | 260 |
Test errors![25](https://img.shields.io/badge/25%20-red)
Expand to view the tests failures
> Show only the first 10 test failures ##### `test_jolokia_jmx – metricbeat.tests.system.test_autodiscover_jolokia.Test`
Expand to view the error details
``` failed on setup with "KeyError: "ContainerConfig"" ```
Expand to view the stacktrace
``` cls =
@classmethod
def setUpClass(cls): # pylint: disable=invalid-name
"""
initializes the Test class
"""
if not hasattr(cls, "beat_name"):
cls.beat_name = "metricbeat"
if not hasattr(cls, "beat_path"):
cls.beat_path = os.path.abspath(
os.path.join(os.path.dirname(__file__), "../../"))
> super().setUpClass()
tests/system/metricbeat.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../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(
/opt/venv/lib/python3.11/site-packages/compose/project.py:697: in up
results, errors = parallel.parallel_execute(
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:108: in parallel_execute
raise error_to_reraise
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:206: in producer
result = func(obj)
/opt/venv/lib/python3.11/site-packages/compose/project.py:679: in do
return service.execute_convergence_plan(
/opt/venv/lib/python3.11/site-packages/compose/service.py:579: in execute_convergence_plan
return self._execute_convergence_recreate(
/opt/venv/lib/python3.11/site-packages/compose/service.py:499: in _execute_convergence_recreate
containers, errors = parallel_execute(
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:108: in parallel_execute
raise error_to_reraise
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:206: in producer
result = func(obj)
/opt/venv/lib/python3.11/site-packages/compose/service.py:494: in recreate
return self.recreate_container(
/opt/venv/lib/python3.11/site-packages/compose/service.py:612: in recreate_container
new_container = self.create_container(
/opt/venv/lib/python3.11/site-packages/compose/service.py:330: in create_container
container_options = self._get_container_create_options(
/opt/venv/lib/python3.11/site-packages/compose/service.py:921: in _get_container_create_options
container_options, override_options = self._build_container_volume_options(
/opt/venv/lib/python3.11/site-packages/compose/service.py:960: in _build_container_volume_options
binds, affinity = merge_volume_bindings(
/opt/venv/lib/python3.11/site-packages/compose/service.py:1548: in merge_volume_bindings
old_volumes, old_mounts = get_container_data_volumes(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
container =
volumes_option = [], tmpfs_option = [], mounts_option = []
def get_container_data_volumes(container, volumes_option, tmpfs_option, mounts_option):
"""
Find the container data volumes that are in `volumes_option`, and return
a mapping of volume bindings for those volumes.
Anonymous volume mounts are updated in place instead.
"""
volumes = []
volumes_option = volumes_option or []
container_mounts = {
mount["Destination"]: mount
for mount in container.get("Mounts") or {}
}
image_volumes = [
VolumeSpec.parse(volume)
for volume in
> container.image_config["ContainerConfig"].get("Volumes") or {}
]
E KeyError: "ContainerConfig"
/opt/venv/lib/python3.11/site-packages/compose/service.py:1579: KeyError
```
Expand to view the error details
``` failed on setup with "KeyError: "ContainerConfig"" ```
Expand to view the stacktrace
``` cls =
@classmethod
def setUpClass(cls): # pylint: disable=invalid-name
"""
initializes the Test class
"""
if not hasattr(cls, "beat_name"):
cls.beat_name = "metricbeat"
if not hasattr(cls, "beat_path"):
cls.beat_path = os.path.abspath(
os.path.join(os.path.dirname(__file__), "../../"))
> super().setUpClass()
tests/system/metricbeat.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../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(
/opt/venv/lib/python3.11/site-packages/compose/project.py:697: in up
results, errors = parallel.parallel_execute(
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:108: in parallel_execute
raise error_to_reraise
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:206: in producer
result = func(obj)
/opt/venv/lib/python3.11/site-packages/compose/project.py:679: in do
return service.execute_convergence_plan(
/opt/venv/lib/python3.11/site-packages/compose/service.py:579: in execute_convergence_plan
return self._execute_convergence_recreate(
/opt/venv/lib/python3.11/site-packages/compose/service.py:499: in _execute_convergence_recreate
containers, errors = parallel_execute(
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:108: in parallel_execute
raise error_to_reraise
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:206: in producer
result = func(obj)
/opt/venv/lib/python3.11/site-packages/compose/service.py:494: in recreate
return self.recreate_container(
/opt/venv/lib/python3.11/site-packages/compose/service.py:612: in recreate_container
new_container = self.create_container(
/opt/venv/lib/python3.11/site-packages/compose/service.py:330: in create_container
container_options = self._get_container_create_options(
/opt/venv/lib/python3.11/site-packages/compose/service.py:921: in _get_container_create_options
container_options, override_options = self._build_container_volume_options(
/opt/venv/lib/python3.11/site-packages/compose/service.py:960: in _build_container_volume_options
binds, affinity = merge_volume_bindings(
/opt/venv/lib/python3.11/site-packages/compose/service.py:1548: in merge_volume_bindings
old_volumes, old_mounts = get_container_data_volumes(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
container =
volumes_option = [], tmpfs_option = [], mounts_option = []
def get_container_data_volumes(container, volumes_option, tmpfs_option, mounts_option):
"""
Find the container data volumes that are in `volumes_option`, and return
a mapping of volume bindings for those volumes.
Anonymous volume mounts are updated in place instead.
"""
volumes = []
volumes_option = volumes_option or []
container_mounts = {
mount["Destination"]: mount
for mount in container.get("Mounts") or {}
}
image_volumes = [
VolumeSpec.parse(volume)
for volume in
> container.image_config["ContainerConfig"].get("Volumes") or {}
]
E KeyError: "ContainerConfig"
/opt/venv/lib/python3.11/site-packages/compose/service.py:1579: KeyError
```
Expand to view the error details
``` failed on setup with "KeyError: "ContainerConfig"" ```
Expand to view the stacktrace
``` cls =
@classmethod
def setUpClass(cls): # pylint: disable=invalid-name
"""
initializes the Test class
"""
if not hasattr(cls, "beat_name"):
cls.beat_name = "metricbeat"
if not hasattr(cls, "beat_path"):
cls.beat_path = os.path.abspath(
os.path.join(os.path.dirname(__file__), "../../"))
> super().setUpClass()
tests/system/metricbeat.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../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(
/opt/venv/lib/python3.11/site-packages/compose/project.py:697: in up
results, errors = parallel.parallel_execute(
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:108: in parallel_execute
raise error_to_reraise
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:206: in producer
result = func(obj)
/opt/venv/lib/python3.11/site-packages/compose/project.py:679: in do
return service.execute_convergence_plan(
/opt/venv/lib/python3.11/site-packages/compose/service.py:579: in execute_convergence_plan
return self._execute_convergence_recreate(
/opt/venv/lib/python3.11/site-packages/compose/service.py:499: in _execute_convergence_recreate
containers, errors = parallel_execute(
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:108: in parallel_execute
raise error_to_reraise
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:206: in producer
result = func(obj)
/opt/venv/lib/python3.11/site-packages/compose/service.py:494: in recreate
return self.recreate_container(
/opt/venv/lib/python3.11/site-packages/compose/service.py:612: in recreate_container
new_container = self.create_container(
/opt/venv/lib/python3.11/site-packages/compose/service.py:330: in create_container
container_options = self._get_container_create_options(
/opt/venv/lib/python3.11/site-packages/compose/service.py:921: in _get_container_create_options
container_options, override_options = self._build_container_volume_options(
/opt/venv/lib/python3.11/site-packages/compose/service.py:960: in _build_container_volume_options
binds, affinity = merge_volume_bindings(
/opt/venv/lib/python3.11/site-packages/compose/service.py:1548: in merge_volume_bindings
old_volumes, old_mounts = get_container_data_volumes(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
container =
volumes_option = [], tmpfs_option = [], mounts_option = []
def get_container_data_volumes(container, volumes_option, tmpfs_option, mounts_option):
"""
Find the container data volumes that are in `volumes_option`, and return
a mapping of volume bindings for those volumes.
Anonymous volume mounts are updated in place instead.
"""
volumes = []
volumes_option = volumes_option or []
container_mounts = {
mount["Destination"]: mount
for mount in container.get("Mounts") or {}
}
image_volumes = [
VolumeSpec.parse(volume)
for volume in
> container.image_config["ContainerConfig"].get("Volumes") or {}
]
E KeyError: "ContainerConfig"
/opt/venv/lib/python3.11/site-packages/compose/service.py:1579: KeyError
```
Expand to view the error details
``` failed on setup with "KeyError: "ContainerConfig"" ```
Expand to view the stacktrace
``` cls =
@classmethod
def setUpClass(cls): # pylint: disable=invalid-name
"""
initializes the Test class
"""
if not hasattr(cls, "beat_name"):
cls.beat_name = "metricbeat"
if not hasattr(cls, "beat_path"):
cls.beat_path = os.path.abspath(
os.path.join(os.path.dirname(__file__), "../../"))
> super().setUpClass()
tests/system/metricbeat.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../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(
/opt/venv/lib/python3.11/site-packages/compose/project.py:697: in up
results, errors = parallel.parallel_execute(
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:108: in parallel_execute
raise error_to_reraise
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:206: in producer
result = func(obj)
/opt/venv/lib/python3.11/site-packages/compose/project.py:679: in do
return service.execute_convergence_plan(
/opt/venv/lib/python3.11/site-packages/compose/service.py:579: in execute_convergence_plan
return self._execute_convergence_recreate(
/opt/venv/lib/python3.11/site-packages/compose/service.py:499: in _execute_convergence_recreate
containers, errors = parallel_execute(
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:108: in parallel_execute
raise error_to_reraise
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:206: in producer
result = func(obj)
/opt/venv/lib/python3.11/site-packages/compose/service.py:494: in recreate
return self.recreate_container(
/opt/venv/lib/python3.11/site-packages/compose/service.py:612: in recreate_container
new_container = self.create_container(
/opt/venv/lib/python3.11/site-packages/compose/service.py:330: in create_container
container_options = self._get_container_create_options(
/opt/venv/lib/python3.11/site-packages/compose/service.py:921: in _get_container_create_options
container_options, override_options = self._build_container_volume_options(
/opt/venv/lib/python3.11/site-packages/compose/service.py:960: in _build_container_volume_options
binds, affinity = merge_volume_bindings(
/opt/venv/lib/python3.11/site-packages/compose/service.py:1548: in merge_volume_bindings
old_volumes, old_mounts = get_container_data_volumes(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
container =
volumes_option = [], tmpfs_option = [], mounts_option = []
def get_container_data_volumes(container, volumes_option, tmpfs_option, mounts_option):
"""
Find the container data volumes that are in `volumes_option`, and return
a mapping of volume bindings for those volumes.
Anonymous volume mounts are updated in place instead.
"""
volumes = []
volumes_option = volumes_option or []
container_mounts = {
mount["Destination"]: mount
for mount in container.get("Mounts") or {}
}
image_volumes = [
VolumeSpec.parse(volume)
for volume in
> container.image_config["ContainerConfig"].get("Volumes") or {}
]
E KeyError: "ContainerConfig"
/opt/venv/lib/python3.11/site-packages/compose/service.py:1579: KeyError
```
Expand to view the error details
``` failed on setup with "KeyError: "ContainerConfig"" ```
Expand to view the stacktrace
``` cls =
@classmethod
def setUpClass(cls): # pylint: disable=invalid-name
"""
initializes the Test class
"""
if not hasattr(cls, "beat_name"):
cls.beat_name = "metricbeat"
if not hasattr(cls, "beat_path"):
cls.beat_path = os.path.abspath(
os.path.join(os.path.dirname(__file__), "../../"))
> super().setUpClass()
tests/system/metricbeat.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../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(
/opt/venv/lib/python3.11/site-packages/compose/project.py:697: in up
results, errors = parallel.parallel_execute(
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:108: in parallel_execute
raise error_to_reraise
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:206: in producer
result = func(obj)
/opt/venv/lib/python3.11/site-packages/compose/project.py:679: in do
return service.execute_convergence_plan(
/opt/venv/lib/python3.11/site-packages/compose/service.py:579: in execute_convergence_plan
return self._execute_convergence_recreate(
/opt/venv/lib/python3.11/site-packages/compose/service.py:499: in _execute_convergence_recreate
containers, errors = parallel_execute(
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:108: in parallel_execute
raise error_to_reraise
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:206: in producer
result = func(obj)
/opt/venv/lib/python3.11/site-packages/compose/service.py:494: in recreate
return self.recreate_container(
/opt/venv/lib/python3.11/site-packages/compose/service.py:612: in recreate_container
new_container = self.create_container(
/opt/venv/lib/python3.11/site-packages/compose/service.py:330: in create_container
container_options = self._get_container_create_options(
/opt/venv/lib/python3.11/site-packages/compose/service.py:921: in _get_container_create_options
container_options, override_options = self._build_container_volume_options(
/opt/venv/lib/python3.11/site-packages/compose/service.py:960: in _build_container_volume_options
binds, affinity = merge_volume_bindings(
/opt/venv/lib/python3.11/site-packages/compose/service.py:1548: in merge_volume_bindings
old_volumes, old_mounts = get_container_data_volumes(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
container =
volumes_option = [], tmpfs_option = [], mounts_option = []
def get_container_data_volumes(container, volumes_option, tmpfs_option, mounts_option):
"""
Find the container data volumes that are in `volumes_option`, and return
a mapping of volume bindings for those volumes.
Anonymous volume mounts are updated in place instead.
"""
volumes = []
volumes_option = volumes_option or []
container_mounts = {
mount["Destination"]: mount
for mount in container.get("Mounts") or {}
}
image_volumes = [
VolumeSpec.parse(volume)
for volume in
> container.image_config["ContainerConfig"].get("Volumes") or {}
]
E KeyError: "ContainerConfig"
/opt/venv/lib/python3.11/site-packages/compose/service.py:1579: KeyError
```
Expand to view the error details
``` failed on setup with "KeyError: "ContainerConfig"" ```
Expand to view the stacktrace
``` cls =
@classmethod
def setUpClass(cls): # pylint: disable=invalid-name
"""
initializes the Test class
"""
if not hasattr(cls, "beat_name"):
cls.beat_name = "metricbeat"
if not hasattr(cls, "beat_path"):
cls.beat_path = os.path.abspath(
os.path.join(os.path.dirname(__file__), "../../"))
> super().setUpClass()
tests/system/metricbeat.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../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(
/opt/venv/lib/python3.11/site-packages/compose/project.py:697: in up
results, errors = parallel.parallel_execute(
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:108: in parallel_execute
raise error_to_reraise
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:206: in producer
result = func(obj)
/opt/venv/lib/python3.11/site-packages/compose/project.py:679: in do
return service.execute_convergence_plan(
/opt/venv/lib/python3.11/site-packages/compose/service.py:579: in execute_convergence_plan
return self._execute_convergence_recreate(
/opt/venv/lib/python3.11/site-packages/compose/service.py:499: in _execute_convergence_recreate
containers, errors = parallel_execute(
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:108: in parallel_execute
raise error_to_reraise
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:206: in producer
result = func(obj)
/opt/venv/lib/python3.11/site-packages/compose/service.py:494: in recreate
return self.recreate_container(
/opt/venv/lib/python3.11/site-packages/compose/service.py:612: in recreate_container
new_container = self.create_container(
/opt/venv/lib/python3.11/site-packages/compose/service.py:330: in create_container
container_options = self._get_container_create_options(
/opt/venv/lib/python3.11/site-packages/compose/service.py:921: in _get_container_create_options
container_options, override_options = self._build_container_volume_options(
/opt/venv/lib/python3.11/site-packages/compose/service.py:960: in _build_container_volume_options
binds, affinity = merge_volume_bindings(
/opt/venv/lib/python3.11/site-packages/compose/service.py:1548: in merge_volume_bindings
old_volumes, old_mounts = get_container_data_volumes(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
container =
volumes_option = [], tmpfs_option = [], mounts_option = []
def get_container_data_volumes(container, volumes_option, tmpfs_option, mounts_option):
"""
Find the container data volumes that are in `volumes_option`, and return
a mapping of volume bindings for those volumes.
Anonymous volume mounts are updated in place instead.
"""
volumes = []
volumes_option = volumes_option or []
container_mounts = {
mount["Destination"]: mount
for mount in container.get("Mounts") or {}
}
image_volumes = [
VolumeSpec.parse(volume)
for volume in
> container.image_config["ContainerConfig"].get("Volumes") or {}
]
E KeyError: "ContainerConfig"
/opt/venv/lib/python3.11/site-packages/compose/service.py:1579: KeyError
```
Expand to view the error details
``` failed on setup with "KeyError: "ContainerConfig"" ```
Expand to view the stacktrace
``` cls =
@classmethod
def setUpClass(cls): # pylint: disable=invalid-name
"""
initializes the Test class
"""
if not hasattr(cls, "beat_name"):
cls.beat_name = "metricbeat"
if not hasattr(cls, "beat_path"):
cls.beat_path = os.path.abspath(
os.path.join(os.path.dirname(__file__), "../../"))
> super().setUpClass()
tests/system/metricbeat.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../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(
/opt/venv/lib/python3.11/site-packages/compose/project.py:697: in up
results, errors = parallel.parallel_execute(
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:108: in parallel_execute
raise error_to_reraise
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:206: in producer
result = func(obj)
/opt/venv/lib/python3.11/site-packages/compose/project.py:679: in do
return service.execute_convergence_plan(
/opt/venv/lib/python3.11/site-packages/compose/service.py:579: in execute_convergence_plan
return self._execute_convergence_recreate(
/opt/venv/lib/python3.11/site-packages/compose/service.py:499: in _execute_convergence_recreate
containers, errors = parallel_execute(
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:108: in parallel_execute
raise error_to_reraise
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:206: in producer
result = func(obj)
/opt/venv/lib/python3.11/site-packages/compose/service.py:494: in recreate
return self.recreate_container(
/opt/venv/lib/python3.11/site-packages/compose/service.py:612: in recreate_container
new_container = self.create_container(
/opt/venv/lib/python3.11/site-packages/compose/service.py:330: in create_container
container_options = self._get_container_create_options(
/opt/venv/lib/python3.11/site-packages/compose/service.py:921: in _get_container_create_options
container_options, override_options = self._build_container_volume_options(
/opt/venv/lib/python3.11/site-packages/compose/service.py:960: in _build_container_volume_options
binds, affinity = merge_volume_bindings(
/opt/venv/lib/python3.11/site-packages/compose/service.py:1548: in merge_volume_bindings
old_volumes, old_mounts = get_container_data_volumes(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
container =
volumes_option = [], tmpfs_option = [], mounts_option = []
def get_container_data_volumes(container, volumes_option, tmpfs_option, mounts_option):
"""
Find the container data volumes that are in `volumes_option`, and return
a mapping of volume bindings for those volumes.
Anonymous volume mounts are updated in place instead.
"""
volumes = []
volumes_option = volumes_option or []
container_mounts = {
mount["Destination"]: mount
for mount in container.get("Mounts") or {}
}
image_volumes = [
VolumeSpec.parse(volume)
for volume in
> container.image_config["ContainerConfig"].get("Volumes") or {}
]
E KeyError: "ContainerConfig"
/opt/venv/lib/python3.11/site-packages/compose/service.py:1579: KeyError
```
Expand to view the error details
``` failed on setup with "KeyError: "ContainerConfig"" ```
Expand to view the stacktrace
``` cls =
@classmethod
def setUpClass(cls): # pylint: disable=invalid-name
"""
initializes the Test class
"""
if not hasattr(cls, "beat_name"):
cls.beat_name = "metricbeat"
if not hasattr(cls, "beat_path"):
cls.beat_path = os.path.abspath(
os.path.join(os.path.dirname(__file__), "../../"))
> super().setUpClass()
tests/system/metricbeat.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../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(
/opt/venv/lib/python3.11/site-packages/compose/project.py:697: in up
results, errors = parallel.parallel_execute(
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:108: in parallel_execute
raise error_to_reraise
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:206: in producer
result = func(obj)
/opt/venv/lib/python3.11/site-packages/compose/project.py:679: in do
return service.execute_convergence_plan(
/opt/venv/lib/python3.11/site-packages/compose/service.py:579: in execute_convergence_plan
return self._execute_convergence_recreate(
/opt/venv/lib/python3.11/site-packages/compose/service.py:499: in _execute_convergence_recreate
containers, errors = parallel_execute(
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:108: in parallel_execute
raise error_to_reraise
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:206: in producer
result = func(obj)
/opt/venv/lib/python3.11/site-packages/compose/service.py:494: in recreate
return self.recreate_container(
/opt/venv/lib/python3.11/site-packages/compose/service.py:612: in recreate_container
new_container = self.create_container(
/opt/venv/lib/python3.11/site-packages/compose/service.py:330: in create_container
container_options = self._get_container_create_options(
/opt/venv/lib/python3.11/site-packages/compose/service.py:921: in _get_container_create_options
container_options, override_options = self._build_container_volume_options(
/opt/venv/lib/python3.11/site-packages/compose/service.py:960: in _build_container_volume_options
binds, affinity = merge_volume_bindings(
/opt/venv/lib/python3.11/site-packages/compose/service.py:1548: in merge_volume_bindings
old_volumes, old_mounts = get_container_data_volumes(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
container =
volumes_option = [], tmpfs_option = [], mounts_option = []
def get_container_data_volumes(container, volumes_option, tmpfs_option, mounts_option):
"""
Find the container data volumes that are in `volumes_option`, and return
a mapping of volume bindings for those volumes.
Anonymous volume mounts are updated in place instead.
"""
volumes = []
volumes_option = volumes_option or []
container_mounts = {
mount["Destination"]: mount
for mount in container.get("Mounts") or {}
}
image_volumes = [
VolumeSpec.parse(volume)
for volume in
> container.image_config["ContainerConfig"].get("Volumes") or {}
]
E KeyError: "ContainerConfig"
/opt/venv/lib/python3.11/site-packages/compose/service.py:1579: KeyError
```
Expand to view the error details
``` failed on setup with "KeyError: "ContainerConfig"" ```
Expand to view the stacktrace
``` cls =
@classmethod
def setUpClass(cls): # pylint: disable=invalid-name
"""
initializes the Test class
"""
if not hasattr(cls, "beat_name"):
cls.beat_name = "metricbeat"
if not hasattr(cls, "beat_path"):
cls.beat_path = os.path.abspath(
os.path.join(os.path.dirname(__file__), "../../"))
> super().setUpClass()
tests/system/metricbeat.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../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(
/opt/venv/lib/python3.11/site-packages/compose/project.py:697: in up
results, errors = parallel.parallel_execute(
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:108: in parallel_execute
raise error_to_reraise
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:206: in producer
result = func(obj)
/opt/venv/lib/python3.11/site-packages/compose/project.py:679: in do
return service.execute_convergence_plan(
/opt/venv/lib/python3.11/site-packages/compose/service.py:579: in execute_convergence_plan
return self._execute_convergence_recreate(
/opt/venv/lib/python3.11/site-packages/compose/service.py:499: in _execute_convergence_recreate
containers, errors = parallel_execute(
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:108: in parallel_execute
raise error_to_reraise
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:206: in producer
result = func(obj)
/opt/venv/lib/python3.11/site-packages/compose/service.py:494: in recreate
return self.recreate_container(
/opt/venv/lib/python3.11/site-packages/compose/service.py:612: in recreate_container
new_container = self.create_container(
/opt/venv/lib/python3.11/site-packages/compose/service.py:330: in create_container
container_options = self._get_container_create_options(
/opt/venv/lib/python3.11/site-packages/compose/service.py:921: in _get_container_create_options
container_options, override_options = self._build_container_volume_options(
/opt/venv/lib/python3.11/site-packages/compose/service.py:960: in _build_container_volume_options
binds, affinity = merge_volume_bindings(
/opt/venv/lib/python3.11/site-packages/compose/service.py:1548: in merge_volume_bindings
old_volumes, old_mounts = get_container_data_volumes(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
container =
volumes_option = [], tmpfs_option = [], mounts_option = []
def get_container_data_volumes(container, volumes_option, tmpfs_option, mounts_option):
"""
Find the container data volumes that are in `volumes_option`, and return
a mapping of volume bindings for those volumes.
Anonymous volume mounts are updated in place instead.
"""
volumes = []
volumes_option = volumes_option or []
container_mounts = {
mount["Destination"]: mount
for mount in container.get("Mounts") or {}
}
image_volumes = [
VolumeSpec.parse(volume)
for volume in
> container.image_config["ContainerConfig"].get("Volumes") or {}
]
E KeyError: "ContainerConfig"
/opt/venv/lib/python3.11/site-packages/compose/service.py:1579: KeyError
```
Expand to view the error details
``` failed on setup with "KeyError: "ContainerConfig"" ```
Expand to view the stacktrace
``` cls =
@classmethod
def setUpClass(cls): # pylint: disable=invalid-name
"""
initializes the Test class
"""
if not hasattr(cls, "beat_name"):
cls.beat_name = "metricbeat"
if not hasattr(cls, "beat_path"):
cls.beat_path = os.path.abspath(
os.path.join(os.path.dirname(__file__), "../../"))
> super().setUpClass()
tests/system/metricbeat.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../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(
/opt/venv/lib/python3.11/site-packages/compose/project.py:697: in up
results, errors = parallel.parallel_execute(
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:108: in parallel_execute
raise error_to_reraise
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:206: in producer
result = func(obj)
/opt/venv/lib/python3.11/site-packages/compose/project.py:679: in do
return service.execute_convergence_plan(
/opt/venv/lib/python3.11/site-packages/compose/service.py:579: in execute_convergence_plan
return self._execute_convergence_recreate(
/opt/venv/lib/python3.11/site-packages/compose/service.py:499: in _execute_convergence_recreate
containers, errors = parallel_execute(
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:108: in parallel_execute
raise error_to_reraise
/opt/venv/lib/python3.11/site-packages/compose/parallel.py:206: in producer
result = func(obj)
/opt/venv/lib/python3.11/site-packages/compose/service.py:494: in recreate
return self.recreate_container(
/opt/venv/lib/python3.11/site-packages/compose/service.py:612: in recreate_container
new_container = self.create_container(
/opt/venv/lib/python3.11/site-packages/compose/service.py:330: in create_container
container_options = self._get_container_create_options(
/opt/venv/lib/python3.11/site-packages/compose/service.py:921: in _get_container_create_options
container_options, override_options = self._build_container_volume_options(
/opt/venv/lib/python3.11/site-packages/compose/service.py:960: in _build_container_volume_options
binds, affinity = merge_volume_bindings(
/opt/venv/lib/python3.11/site-packages/compose/service.py:1548: in merge_volume_bindings
old_volumes, old_mounts = get_container_data_volumes(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
container =
volumes_option = [], tmpfs_option = [], mounts_option = []
def get_container_data_volumes(container, volumes_option, tmpfs_option, mounts_option):
"""
Find the container data volumes that are in `volumes_option`, and return
a mapping of volume bindings for those volumes.
Anonymous volume mounts are updated in place instead.
"""
volumes = []
volumes_option = volumes_option or []
container_mounts = {
mount["Destination"]: mount
for mount in container.get("Mounts") or {}
}
image_volumes = [
VolumeSpec.parse(volume)
for volume in
> container.image_config["ContainerConfig"].get("Volumes") or {}
]
E KeyError: "ContainerConfig"
/opt/venv/lib/python3.11/site-packages/compose/service.py:1579: KeyError
```
Steps errors![6](https://img.shields.io/badge/6%20-red)
Expand to view the steps failures
##### `metricbeat-pythonIntegTest - mage pythonIntegTest`
mage pythonIntegTest
mage pythonIntegTest
mage pythonIntegTest
terraform apply -auto-approve
terraform apply -auto-approve
Error "hudson.AbortException: script returned exit code 1"