Skip to content

Update elasticsearch.rb

25b51c3
Select commit
Loading
Failed to load commit list.
Open

raise error when using tracking_field and search_api is not "search_after" #240

Update elasticsearch.rb
25b51c3
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Oct 2, 2025 in 20m 31s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #240 raise error when search_api is not "search_after".
Any changes that have been made to the main branch before the build ran are also included.

Jobs and Stages

This build has 20 jobs, running in three sequential stages.

Stage 1: Test

This stage passed.

Job ENV OS State
1073.1 ELASTIC_STACK_VERSION=9.current DOCKER_ENV=dockerjdk21.env Linux passed
1073.2 ELASTIC_STACK_VERSION=9.previous DOCKER_ENV=dockerjdk21.env Linux passed
1073.3 ELASTIC_STACK_VERSION=8.current DOCKER_ENV=dockerjdk21.env Linux passed
1073.4 ELASTIC_STACK_VERSION=8.previous DOCKER_ENV=dockerjdk21.env Linux passed
1073.5 ELASTIC_STACK_VERSION=7.current Linux passed
1073.6 SNAPSHOT=true ELASTIC_STACK_VERSION=main DOCKER_ENV=dockerjdk21.env Linux passed
1073.7 SNAPSHOT=true ELASTIC_STACK_VERSION=9.next DOCKER_ENV=dockerjdk21.env Linux passed
1073.8 SNAPSHOT=true ELASTIC_STACK_VERSION=9.current DOCKER_ENV=dockerjdk21.env Linux passed
1073.9 SNAPSHOT=true ELASTIC_STACK_VERSION=9.previous DOCKER_ENV=dockerjdk21.env Linux passed
1073.10 SNAPSHOT=true ELASTIC_STACK_VERSION=8.current DOCKER_ENV=dockerjdk21.env Linux passed
1073.11 SNAPSHOT=true ELASTIC_STACK_VERSION=8.previous DOCKER_ENV=dockerjdk21.env Linux passed
1073.12 SNAPSHOT=true ELASTIC_STACK_VERSION=7.current Linux passed

Stage 2: Integration Tests

This stage passed.

Job ENV OS State
1073.13 INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=7.current Linux passed
1073.14 INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.previous Linux passed
1073.15 INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.current Linux passed
1073.16 INTEGRATION=true SNAPSHOT=false LOG_LEVEL=info ELASTIC_STACK_VERSION=9.current Linux passed
1073.17 INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=9.next Linux passed

Stage 3: Secure Integration Tests

This stage passed.

Job ENV OS State
1073.18 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.current SNAPSHOT=true Linux passed
1073.19 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=7.current Linux passed
1073.20 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=7.current ES_SSL_SUPPORTED_PROTOCOLS=TLSv1.3 Linux passed

Build Configuration

Build Option Setting
Language Shell
Operating System Linux (Focal)
Build Configuration
{
  "_performance": {
    "install": ".ci/performance/docker-setup.sh",
    "script": ".ci/performance/docker-run.sh"
  },
  "language": "shell",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "before_install": [
    "mkdir -p .ci && curl -sL https://github.com/logstash-plugins/.ci/archive/1.x.tar.gz | tar zxvf - --skip-old-files --strip-components=1 -C .ci --wildcards \"*Dockerfile*\" \"*docker*\" \"*.sh\" \"*logstash-versions*\"",
    "sudo sysctl -w vm.max_map_count=262144"
  ],
  "jobs": {
    "include": [
      {
        "stage": "Integration Tests",
        "env": [
          {
            "INTEGRATION": "true",
            "SNAPSHOT": "true",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "7.current"
          }
        ]
      },
      {
        "env": [
          {
            "INTEGRATION": "true",
            "SNAPSHOT": "true",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "8.previous"
          }
        ]
      },
      {
        "env": [
          {
            "INTEGRATION": "true",
            "SNAPSHOT": "true",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "8.current"
          }
        ]
      },
      {
        "env": [
          {
            "INTEGRATION": "true",
            "SNAPSHOT": "false",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "9.current"
          }
        ]
      },
      {
        "env": [
          {
            "INTEGRATION": "true",
            "SNAPSHOT": "true",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "9.next"
          }
        ]
      },
      {
        "stage": "Secure Integration Tests",
        "env": [
          {
            "SECURE_INTEGRATION": "true",
            "INTEGRATION": "true",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "8.current",
            "SNAPSHOT": "true"
          }
        ]
      },
      {
        "env": [
          {
            "SECURE_INTEGRATION": "true",
            "INTEGRATION": "true",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "7.current"
          }
        ]
      },
      {
        "env": [
          {
            "SECURE_INTEGRATION": "true",
            "INTEGRATION": "true",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "7.current",
            "ES_SSL_SUPPORTED_PROTOCOLS": "TLSv1.3"
          }
        ]
      }
    ]
  },
  "stages": [
    {
      "name": "Test"
    },
    {
      "name": "Performance",
      "if": "env(HAS_PERFORMANCE_TESTS) == \"1\""
    }
  ],
  "env": [
    "jobs={:ELASTIC_STACK_VERSION=>\"9.current\", :DOCKER_ENV=>\"dockerjdk21.env\"}={:ELASTIC_STACK_VERSION=>\"9.previous\", :DOCKER_ENV=>\"dockerjdk21.env\"}={:ELASTIC_STACK_VERSION=>\"8.current\", :DOCKER_ENV=>\"dockerjdk21.env\"}={:ELASTIC_STACK_VERSION=>\"8.previous\", :DOCKER_ENV=>\"dockerjdk21.env\"}={:ELASTIC_STACK_VERSION=>\"7.current\"}={:SNAPSHOT=>\"true\", :ELASTIC_STACK_VERSION=>\"main\", :DOCKER_ENV=>\"dockerjdk21.env\"}={:SNAPSHOT=>\"true\", :ELASTIC_STACK_VERSION=>\"9.next\", :DOCKER_ENV=>\"dockerjdk21.env\"}={:SNAPSHOT=>\"true\", :ELASTIC_STACK_VERSION=>\"9.current\", :DOCKER_ENV=>\"dockerjdk21.env\"}={:SNAPSHOT=>\"true\", :ELASTIC_STACK_VERSION=>\"9.previous\", :DOCKER_ENV=>\"dockerjdk21.env\"}={:SNAPSHOT=>\"true\", :ELASTIC_STACK_VERSION=>\"8.current\", :DOCKER_ENV=>\"dockerjdk21.env\"}={:SNAPSHOT=>\"true\", :ELASTIC_STACK_VERSION=>\"8.previous\", :DOCKER_ENV=>\"dockerjdk21.env\"}={:SNAPSHOT=>\"true\", :ELASTIC_STACK_VERSION=>\"7.current\"}"
  ],
  "install": [
    ".ci/docker-setup.sh;\nexit_code=$?;\ncase $exit_code in\n  0)\n    echo \"Install succeeded.\"\n    ;;\n  2)\n    echo \"Failed to pull logstash-${ELASTIC_STACK_VERSION}. The image should exist. Aborting build.\"\n    exit $exit_code\n    ;;\n  99)\n    echo \"Failed to pull logstash-${ELASTIC_STACK_VERSION}. Likely due to missing DRA build.\"\n    export SKIP_SCRIPT=true\n    ;;\n  *)\n    echo \"Install failed with an unexpected code: $exit_code. Stopping build.\"\n    exit $exit_code\n    ;;\nesac\n"
  ],
  "script": [
    "if [ \"$SKIP_SCRIPT\" = \"true\" ]; then\n  exit 0\nelse\n  .ci/docker-run.sh\nfi"
  ]
}