Skip to content

Flaky Test [Build&Test / metricbeat-pythonIntegTest / metricbeat.module.logstash.test_logstash.Test.test_node_stats] #26432

@kaiyan-sheng

Description

@kaiyan-sheng

Flaky Test

Stack Trace

Error Message
AssertionError: Element counts were not equal:
First has 1, Second has 0:  'logstash'
First has 0, Second has 1:  'error'
Stacktrace
self = <test_logstash.Test testMethod=test_node_stats>

    @unittest.skipUnless(metricbeat.INTEGRATION_TESTS, "integration test")
    def test_node_stats(self):
        """
        logstash node_stats metricset test
        """
>       self.check_metricset("logstash", "node_stats", self.get_hosts(), self.FIELDS)

module/logstash/test_logstash.py:30: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/system/metricbeat.py:105: in check_metricset
    self.assertCountEqual(self.de_dot(fields), evt.keys())
E   AssertionError: Element counts were not equal:
E   First has 1, Second has 0:  'logstash'
E   First has 0, Second has 1:  'error'
REST API
Jenkins 2.289.1

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions