Open sharbuz opened 10 months ago
Looks like merticbeat iterates over all mounted disks and gets their filesystem info.
The test expects the field options
to be present in the metricbeat filesystem json output for each of the disks.
After BK agent migration to MacOS 13(Orka) the option
field is not available on one(or more) mounted disks.
Is the options field critical? The fields.yml says it represents The options
present on the filesystem mount.
The example output doesn't contain the options
field. I might be wrong but that makes me think that the options field is optional.
As a quick solution, we can exclude the options from the list of mandatory fields for MacOS.
Alternatively, we can try to understand which disk doesn't contain any options and try to ignore/remove it.
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)
During the migration of beats-ci from Jenkins to Buildkite, a number of tests were failing consistently due to issues unrelated to the migration. Those tests were disabled to stabilize the CI, with the intent to revisit them post-migration. @oakrizan has reviewed them all in her draft PRs linked above in the description, and has opened tickets such as this one to highlight to the product teams the tests that are currently still disabled and could use some attention.
Flaky Test
NB! tests should be enabled back, since those were muted while migrating from Jenkins to Buildkite. Please check changed files in mentioned PRs: -- metricbeat/module/system/test_system.py -- metricbeat/tests/system/test_reload.py
Artifact Link: -- main: beats-metricbeat_build_8052_mac-metricbeat-macos-x64-64-unit-tests.log -- 7.17: beats-metricbeat_build_8089_mac-metricbeat-macos-x64-64-unit-tests.log
Notes: Additional details about the test. e.g. theory as to failure cause -- Discussion: https://elastic.slack.com/archives/C0522G6FBNE/p1705570512029519 -- Temporary solution: https://github.com/elastic/beats/pull/37687 -- The similar issue: https://github.com/elastic/beats/issues/29038 -- Buildkite builds: main, 7.17
Stack Trace