Skip to content

Update range_spec.rb to not use insist

36af890
Select commit
Loading
Failed to load commit list.
Draft

Update range_spec.rb to not use insist #5

Update range_spec.rb to not use insist
36af890
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request failed Aug 5, 2025 in 10m 15s

Build Failed

The build failed. This is a change from the previous build, which passed.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #5 Update range_spec.rb to not use insist.
Any changes that have been made to the main branch before the build ran are also included.

Jobs and Stages

This build has 12 jobs, running in parallel.

Stage 1: Test

This stage failed.

Job ENV OS State
114.1 ELASTIC_STACK_VERSION=9.current DOCKER_ENV=dockerjdk21.env Linux failed
114.2 ELASTIC_STACK_VERSION=9.previous DOCKER_ENV=dockerjdk21.env Linux failed
114.3 ELASTIC_STACK_VERSION=8.current DOCKER_ENV=dockerjdk21.env Linux failed
114.4 ELASTIC_STACK_VERSION=8.previous DOCKER_ENV=dockerjdk21.env Linux failed
114.5 ELASTIC_STACK_VERSION=7.current Linux passed
114.6 SNAPSHOT=true ELASTIC_STACK_VERSION=main DOCKER_ENV=dockerjdk21.env Linux failed
114.7 SNAPSHOT=true ELASTIC_STACK_VERSION=9.next DOCKER_ENV=dockerjdk21.env Linux passed
114.8 SNAPSHOT=true ELASTIC_STACK_VERSION=9.current DOCKER_ENV=dockerjdk21.env Linux failed
114.9 SNAPSHOT=true ELASTIC_STACK_VERSION=9.previous DOCKER_ENV=dockerjdk21.env Linux failed
114.10 SNAPSHOT=true ELASTIC_STACK_VERSION=8.current DOCKER_ENV=dockerjdk21.env Linux failed
114.11 SNAPSHOT=true ELASTIC_STACK_VERSION=8.previous DOCKER_ENV=dockerjdk21.env Linux failed
114.12 SNAPSHOT=true ELASTIC_STACK_VERSION=7.current 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",
  "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\"}"
  ],
  "jobs": {
    "include": [
      {
        "stage": "Performance",
        "name": "Performance Base-Line",
        "install": [
          ".ci/performance/docker-setup.sh"
        ],
        "script": [
          ".ci/performance/docker-run.sh"
        ],
        "env": [
          {
            "ELASTIC_STACK_VERSION": "7.current"
          }
        ]
      },
      {
        "install": [
          ".ci/performance/docker-setup.sh"
        ],
        "script": [
          ".ci/performance/docker-run.sh"
        ],
        "env": [
          {
            "ELASTIC_STACK_VERSION": "8.current",
            "DOCKER_ENV": "dockerjdk21.env"
          }
        ]
      },
      {
        "install": [
          ".ci/performance/docker-setup.sh"
        ],
        "script": [
          ".ci/performance/docker-run.sh"
        ],
        "env": [
          {
            "ELASTIC_STACK_VERSION": "8.previous",
            "DOCKER_ENV": "dockerjdk21.env"
          }
        ]
      },
      {
        "install": [
          ".ci/performance/docker-setup.sh"
        ],
        "script": [
          ".ci/performance/docker-run.sh"
        ],
        "env": [
          {
            "ELASTIC_STACK_VERSION": "9.current",
            "DOCKER_ENV": "dockerjdk21.env"
          }
        ]
      },
      {
        "install": [
          ".ci/performance/docker-setup.sh"
        ],
        "script": [
          ".ci/performance/docker-run.sh"
        ],
        "env": [
          {
            "ELASTIC_STACK_VERSION": "9.previous",
            "DOCKER_ENV": "dockerjdk21.env"
          }
        ]
      },
      {
        "install": [
          ".ci/performance/docker-setup.sh"
        ],
        "script": [
          ".ci/performance/docker-run.sh"
        ],
        "env": [
          {
            "SNAPSHOT": "true",
            "ELASTIC_STACK_VERSION": "9.next",
            "DOCKER_ENV": "dockerjdk21.env"
          }
        ]
      },
      {
        "install": [
          ".ci/performance/docker-setup.sh"
        ],
        "script": [
          ".ci/performance/docker-run.sh"
        ],
        "env": [
          {
            "SNAPSHOT": "true",
            "ELASTIC_STACK_VERSION": "main",
            "DOCKER_ENV": "dockerjdk21.env"
          }
        ]
      }
    ]
  },
  "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\""
  ],
  "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"
  ]
}