Skip to content

Replace deprecated File.exists? in Rakefile.

85f74bc
Select commit
Loading
Failed to load commit list.
Closed

[11.x] Replace deprecated File.exists? in Rakefile. #1259

Replace deprecated File.exists? in Rakefile.
85f74bc
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request failed Apr 16, 2026 in 23m 20s

Build Failed

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

Details

This is a pull request build.

It is running a build against the merge commit, after merging #1259 [11.x] Replace deprecated File.exists? in Rakefile..
Any changes that have been made to the 11.x branch before the build ran are also included.

Jobs and Stages

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

Stage 1: Test

This stage failed.

Job ENV OS State
3209.1 ELASTIC_STACK_VERSION=9.current DOCKER_ENV=dockerjdk21.env Linux passed
3209.2 ELASTIC_STACK_VERSION=9.previous DOCKER_ENV=dockerjdk21.env Linux passed
3209.3 ELASTIC_STACK_VERSION=8.current DOCKER_ENV=dockerjdk21.env Linux passed
3209.4 SNAPSHOT=true ELASTIC_STACK_VERSION=main DOCKER_ENV=dockerjdk21.env Linux failed
3209.5 SNAPSHOT=true ELASTIC_STACK_VERSION=9.next DOCKER_ENV=dockerjdk21.env Linux passed
3209.6 SNAPSHOT=true ELASTIC_STACK_VERSION=9.current DOCKER_ENV=dockerjdk21.env Linux passed
3209.7 SNAPSHOT=true ELASTIC_STACK_VERSION=9.previous DOCKER_ENV=dockerjdk21.env Linux passed
3209.8 SNAPSHOT=true ELASTIC_STACK_VERSION=8.current DOCKER_ENV=dockerjdk21.env Linux passed

Stage 2: Integration Tests

This stage canceled.

Job ENV OS State
3209.9 INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.current Linux canceled
3209.10 INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=9.current Linux canceled
3209.11 INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.current Linux canceled
3209.12 INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=9.current Linux canceled
3209.13 INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=main Linux canceled

Stage 3: Secure Integration Tests

This stage canceled.

Job ENV OS State
3209.14 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.current Linux canceled
3209.15 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.current ES_SSL_KEY_INVALID=true Linux canceled
3209.16 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.current ES_SSL_SUPPORTED_PROTOCOLS=TLSv1.3 Linux canceled
3209.17 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=9.current Linux canceled
3209.18 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=9.current ES_SSL_KEY_INVALID=true Linux canceled
3209.19 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=9.current ES_SSL_SUPPORTED_PROTOCOLS=TLSv1.3 Linux canceled
3209.20 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info SNAPSHOT=true ELASTIC_STACK_VERSION=8.current Linux canceled
3209.21 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info SNAPSHOT=true ELASTIC_STACK_VERSION=9.current Linux canceled
3209.22 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info SNAPSHOT=true ELASTIC_STACK_VERSION=main Linux canceled

Build Configuration

Build Option Setting
Language Generic
Operating System Linux (Focal)
Build Configuration
{
  "_performance": {
    "install": ".ci/performance/docker-setup.sh",
    "script": ".ci/performance/docker-run.sh"
  },
  "language": "generic",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "jobs": {
    "include": [
      {
        "stage": "Integration Tests",
        "env": [
          {
            "INTEGRATION": "true",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "8.current"
          }
        ]
      },
      {
        "env": [
          {
            "INTEGRATION": "true",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "9.current"
          }
        ]
      },
      {
        "env": [
          {
            "INTEGRATION": "true",
            "SNAPSHOT": "true",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "8.current"
          }
        ]
      },
      {
        "env": [
          {
            "INTEGRATION": "true",
            "SNAPSHOT": "true",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "9.current"
          }
        ]
      },
      {
        "env": [
          {
            "INTEGRATION": "true",
            "SNAPSHOT": "true",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "main"
          }
        ]
      },
      {
        "stage": "Secure Integration Tests",
        "env": [
          {
            "SECURE_INTEGRATION": "true",
            "INTEGRATION": "true",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "8.current"
          }
        ]
      },
      {
        "env": [
          {
            "SECURE_INTEGRATION": "true",
            "INTEGRATION": "true",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "8.current",
            "ES_SSL_KEY_INVALID": "true"
          }
        ]
      },
      {
        "env": [
          {
            "SECURE_INTEGRATION": "true",
            "INTEGRATION": "true",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "8.current",
            "ES_SSL_SUPPORTED_PROTOCOLS": "TLSv1.3"
          }
        ]
      },
      {
        "env": [
          {
            "SECURE_INTEGRATION": "true",
            "INTEGRATION": "true",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "9.current"
          }
        ]
      },
      {
        "env": [
          {
            "SECURE_INTEGRATION": "true",
            "INTEGRATION": "true",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "9.current",
            "ES_SSL_KEY_INVALID": "true"
          }
        ]
      },
      {
        "env": [
          {
            "SECURE_INTEGRATION": "true",
            "INTEGRATION": "true",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "9.current",
            "ES_SSL_SUPPORTED_PROTOCOLS": "TLSv1.3"
          }
        ]
      },
      {
        "env": [
          {
            "SECURE_INTEGRATION": "true",
            "INTEGRATION": "true",
            "LOG_LEVEL": "info",
            "SNAPSHOT": "true",
            "ELASTIC_STACK_VERSION": "8.current"
          }
        ]
      },
      {
        "env": [
          {
            "SECURE_INTEGRATION": "true",
            "INTEGRATION": "true",
            "LOG_LEVEL": "info",
            "SNAPSHOT": "true",
            "ELASTIC_STACK_VERSION": "9.current"
          }
        ]
      },
      {
        "env": [
          {
            "SECURE_INTEGRATION": "true",
            "INTEGRATION": "true",
            "LOG_LEVEL": "info",
            "SNAPSHOT": "true",
            "ELASTIC_STACK_VERSION": "main"
          }
        ]
      }
    ]
  },
  "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\"}={: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\"}"
  ],
  "before_install": [
    "mkdir -p .ci && curl -sL https://github.com/logstash-plugins/.ci/archive/1.x.tar.gz | sh -c 'if tar --version 2>/dev/null | grep -q \"GNU tar\"; then TAR_KEEP=\"--skip-old-files\"; TAR_WILDCARDS=\"--wildcards\"; else TAR_KEEP=\"-k\"; TAR_WILDCARDS=\"\"; fi; tar -xzvf - $TAR_KEEP --strip-components=1 -C .ci $TAR_WILDCARDS \"*Dockerfile*\" \"*docker*\" \"*.sh\" \"*logstash-versions*\"'"
  ],
  "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"
  ]
}