Skip to content

[Serverless security] [vectra_rux] Failing test daily: pipeline test: test-audit.log in vectra_rux.audit #22708

Backlog

Description

  • Serverless: security
  • Package: vectra_rux
  • Package path: packages/vectra_rux
  • Failing test: pipeline test: test-audit.log
  • DataStream: audit
  • Owners:
    • @elastic/security-service-integrations
    • @elastic/sit-crest-contractors

Failure:

test case failed: one or more problems with fields found in documents: [0] unexpected pipeline error: [Processor script with tag script_to_truncate_long_fields_68a9333e in pipeline default-1795748122734481039 failed with message: not supported]

First build failed: https://buildkite.com/elastic/integrations-serverless/builds/2178

Latest failed builds:

Activity

  1. teresaromero commented on Nov 25, 2026

    @teresaromero
    Contributor

    Root cause is upstream in Elasticsearch, not in the package. No package change is needed.

    • Since elastic/elasticsearch#145011 (9.5.0), the geoip / ip_location processor writes location (lat/lon) as an immutable Map.of(...).
    • The vectra_rux.audit pipeline runs geoip on source.ip and then script_to_truncate_long_fields_68a9333e. That script walks the whole document and calls entry.setValue(...) on every map entry. When it reaches source.geo.location, the immutable map throws UnsupportedOperationException, which surfaces as failed with message: not supported.
    • The test IPs in test-audit.log (89.160.20.156, 81.2.69.142) resolve in the test GeoIP DB, so source.geo.location is always populated.
    • Three other pipelines use the same script with no geoip before it (qualys_vmdr asset_host_detection and knowledge_base, servicenow event). They passed in the same builds (2178, 2179).

    Fixed upstream by elastic/elasticsearch#166696 ("Make ip_location/geoip location map mutable", merged 2026-11-19 to main, backported to 9.6 and 9.5). This test should go green once serverless runs an ES build that includes that fix. #22717 (Serverless observability) is the same failure.

    This is not related to #22567 (system-test mock 404).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    automationflaky-test

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions