Skip to content

[Flaky Test]: TestClassicAndReceiverAgentMonitoring – agent monitoring classic no documents found for timestamp: 2025-11-05T02:15:56.574Z, #11036

@pierrehilbert

Description

@pierrehilbert

Failing test case

TestClassicAndReceiverAgentMonitoring

Error message

agent monitoring classic no documents found for timestamp: 2025-11-05T02:15:56.574Z,

Build

https://buildkite.com/elastic/elastic-agent/builds/29930

OS

Linux

Stacktrace and notes

=== FAIL: testing/integration/ess TestClassicAndReceiverAgentMonitoring (143.99s)
    fetcher.go:102: Using existing artifact elastic-agent-9.3.0-SNAPSHOT-linux-x86_64.tar.gz
    fixture.go:328: Extracting artifact elastic-agent-9.3.0-SNAPSHOT-linux-x86_64.tar.gz to /tmp/TestClassicAndReceiverAgentMonitoring3433875248
    fixture.go:346: Completed extraction of artifact elastic-agent-9.3.0-SNAPSHOT-linux-x86_64.tar.gz to /tmp/TestClassicAndReceiverAgentMonitoring3433875248
    fixture.go:1035: Components were not modified from the fetched artifact
    fixture_install.go:200: [test TestClassicAndReceiverAgentMonitoring] Inside fixture install function
    fixture_install.go:228: [test TestClassicAndReceiverAgentMonitoring] Inside fixture installNoPkgManager function
    fixture_install.go:247: >> running binary with: [/tmp/TestClassicAndReceiverAgentMonitoring3433875248/elastic-agent-9.3.0-SNAPSHOT-linux-x86_64/elastic-agent install --force --non-interactive --develop]
    fixture.go:829: >> running binary with: [/opt/Elastic/Agent-Development/elastic-agent status --output json]
    fixture.go:829: >> running binary with: [/opt/Elastic/Agent-Development/elastic-agent status --output json]
    fixture.go:829: >> running binary with: [/opt/Elastic/Agent-Development/elastic-agent status --output json]
    beat_receivers_test.go:261:
        	Error Trace:	/opt/buildkite-agent/builds/bk-agent-prod-gcp-1762306708482686761/elastic/elastic-agent/testing/integration/ess/beat_receivers_test.go:261
        	Error:      	Condition never satisfied
        	Test:       	TestClassicAndReceiverAgentMonitoring
        	Messages:   	agent monitoring classic no documents found for timestamp: 2025-11-05T02:15:56.574Z, type: logs, dataset: elastic_agent, namespace: nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq-process, query: [map[match_phrase:map[message:Determined allowed capabilities]]]
    fixture_install.go:311: [test TestClassicAndReceiverAgentMonitoring] Inside fixture cleanup function
    fixture_install.go:327: collecting diagnostics; test failed
    fixture_install.go:789: >> running binary with: [/opt/Elastic/Agent-Development/elastic-agent diagnostics -f /opt/buildkite-agent/builds/bk-agent-prod-gcp-1762306708482686761/elastic/elastic-agent/build/diagnostics/TestClassicAndReceiverAgentMonitoring-2025-11-05T02-17-58Z-diagnostics.zip]
    fixture_install.go:740: >> running binary with: [/opt/Elastic/Agent-Development/elastic-agent uninstall --force]
    fixture.go:1160: Dumping running processes in /opt/buildkite-agent/builds/bk-agent-prod-gcp-1762306708482686761/elastic/elastic-agent/build/diagnostics/TestClassicAndReceiverAgentMonitoring-2025-11-05T02-17-58Z-ProcessDump-cleanup.json
    fixture.go:1451: Temporary directory "/tmp/TestClassicAndReceiverAgentMonitoring3433875248" preserved for investigation/debugging
    beat_receivers_test.go:235: policy was id: 5a39e955-66d9-40d6-9773-266bd1f4f655
        revision: 1
        outputs:
          default:
            type: elasticsearch
            hosts:
            - https://22817493c395482f9e24ad97f5a7a493.us-west2.gcp.elastic-cloud.com:443
            preset: balanced
            api_key: hFDMUZoBfa-VANVDZUzC:DNfZ0vWPP-JD_KjQwkcN2A
        fleet:
          hosts:
          - https://d282068916c0e3fe0afe613fdca6b484.fleet.us-west2.gcp.elastic-cloud.com:443
        output_permissions:
          default:
            _elastic_agent_checks:
              cluster:
              - monitor
            _elastic_agent_monitoring:
              indices:
              - names:
                - logs-elastic_agent.apm_server-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - metrics-elastic_agent.apm_server-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - logs-elastic_agent.auditbeat-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - metrics-elastic_agent.auditbeat-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - logs-elastic_agent.cloud_defend-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - logs-elastic_agent.cloudbeat-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - metrics-elastic_agent.cloudbeat-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - logs-elastic_agent-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - metrics-elastic_agent.elastic_agent-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - metrics-elastic_agent.endpoint_security-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - logs-elastic_agent.endpoint_security-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - logs-elastic_agent.filebeat_input-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - metrics-elastic_agent.filebeat_input-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - logs-elastic_agent.filebeat-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - metrics-elastic_agent.filebeat-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - logs-elastic_agent.fleet_server-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - metrics-elastic_agent.fleet_server-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - logs-elastic_agent.heartbeat-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - metrics-elastic_agent.heartbeat-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - logs-elastic_agent.metricbeat-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - metrics-elastic_agent.metricbeat-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - logs-elastic_agent.osquerybeat-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - metrics-elastic_agent.osquerybeat-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - logs-elastic_agent.packetbeat-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - metrics-elastic_agent.packetbeat-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - logs-elastic_agent.pf_elastic_collector-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - logs-elastic_agent.pf_elastic_symbolizer-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - logs-elastic_agent.pf_host_agent-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
              - names:
                - logs-elastic_agent.status_change-nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq
                privileges:
                - auto_configure
                - create_doc
        agent:
          monitoring:
            _runtime_experimental: process
            enabled: true
            logs: true
            metrics: true
            namespace: nweofn43dbrujnhqiztxlh9hiusbcretlu97zn0ewkq-process
            traces: false
            use_output: default
          download:
            sourceURI: https://artifacts.elastic.co/downloads/
          features: {}
          protection:
            enabled: false
            signing_key: MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEYrW0uFd1QR+De9sgfreqNMUl5b+9AhiR0sCTecOKCBTSV1oCDjdfMJBUbT1zaDk5S5rbPcXtXcX6if8DY3d+hw==
            uninstall_token_hash: Ft4LrSbSijm+vh997p8Jx4ZrlWy6xY/ovkksrvfNzFg=
        inputs: []
        signed:
          data: eyJpZCI6IjVhMzllOTU1LTY2ZDktNDBkNi05NzczLTI2NmJkMWY0ZjY1NSIsImFnZW50Ijp7ImZlYXR1cmVzIjp7fSwicHJvdGVjdGlvbiI6eyJlbmFibGVkIjpmYWxzZSwidW5pbnN0YWxsX3Rva2VuX2hhc2giOiJGdDRMclNiU2lqbSt2aDk5N3A4Sng0WnJsV3k2eFkvb3Zra3NydmZOekZnPSIsInNpZ25pbmdfa2V5IjoiTUZrd0V3WUhLb1pJemowQ0FRWUlLb1pJemowREFRY0RRZ0FFWXJXMHVGZDFRUitEZTlzZ2ZyZXFOTVVsNWIrOUFoaVIwc0NUZWNPS0NCVFNWMW9DRGpkZk1KQlViVDF6YURrNVM1cmJQY1h0WGNYNmlmOERZM2QraHc9PSJ9fSwiaW5wdXRzIjpbXX0=
          signature: MEQCIDNuCJaegIrx6uA6xYMYQ+a8yh1vvoO9QMDTtpiohndnAiBzjkSXmO6OJI3vSKifVCNL8NLNmID6/cSxpX5FPb1cZQ==
        secret_references: []
        namespaces:
        - default

Metadata

Metadata

Assignees

Labels

Team:Elastic-AgentLabel for the Agent teamflaky-testUnstable or unreliable test cases.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions