Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor travis tests for the new release cadence #181

Closed
wants to merge 2 commits into from

Update `docker-run.sh` script to match upstream

87f3167
Select commit
Loading
Failed to load commit list.
Closed

Refactor travis tests for the new release cadence #181

Update `docker-run.sh` script to match upstream
87f3167
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request required action Nov 25, 2024 in 43s

Build Errored

The build errored, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #181 Refactor travis tests for the new release cadence.
Any changes that have been made to the main branch before the build ran are also included.

Jobs and Stages

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

Stage 1: Test

This stage passed.

Job ENV OS State
597.1 ELASTIC_STACK_VERSION=8.previous DOCKER_ENV=dockerjdk21.env Linux passed
597.2 ELASTIC_STACK_VERSION=8.current DOCKER_ENV=dockerjdk21.env Linux passed
597.3 ELASTIC_STACK_VERSION=7.current Linux passed
597.4 SNAPSHOT=true ELASTIC_STACK_VERSION=main DOCKER_ENV=dockerjdk21.env Linux passed
597.5 SNAPSHOT=true ELASTIC_STACK_VERSION=8.future DOCKER_ENV=dockerjdk21.env Linux passed
597.6 SNAPSHOT=true ELASTIC_STACK_VERSION=8.next DOCKER_ENV=dockerjdk21.env Linux passed
597.7 SNAPSHOT=true ELASTIC_STACK_VERSION=8.current DOCKER_ENV=dockerjdk21.env Linux passed
597.8 SNAPSHOT=true ELASTIC_STACK_VERSION=8.previous DOCKER_ENV=dockerjdk21.env Linux passed
597.9 SNAPSHOT=true ELASTIC_STACK_VERSION=7.current Linux passed

Stage 2: Integration Tests

This stage errored.

Job ENV OS State
597.10 INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=7.current Linux passed
597.11 INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.previous Linux passed
597.12 INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.current Linux passed
597.13 INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.next Linux passed
597.14 INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.future Linux passed
597.15 INTEGRATION=false ELASTIC_STACK_VERSION=7.16.3 MANTICORE_VERSION=0.7.1 ELASTICSEARCH_VERSION=7.15.0 Linux errored

Stage 3: Secure Integration Tests

This stage canceled.

Job ENV OS State
597.16 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.current SNAPSHOT=true Linux canceled
597.17 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=7.current Linux canceled
597.18 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=7.current ES_SSL_KEY_INVALID=true Linux canceled
597.19 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=7.current ES_SSL_SUPPORTED_PROTOCOLS=TLSv1.3 Linux canceled
597.20 INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=7.current ELASTIC_PASSWORD=password ELASTIC_SECURITY_ENABLED=true Linux canceled
597.21 INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.current ELASTIC_PASSWORD=password ELASTIC_SECURITY_ENABLED=true Linux canceled

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",
  "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": "true",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "8.next"
          }
        ]
      },
      {
        "env": [
          {
            "INTEGRATION": "true",
            "SNAPSHOT": "true",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "8.future"
          }
        ]
      },
      {
        "env": [
          {
            "INTEGRATION": "false",
            "ELASTIC_STACK_VERSION": "7.16.3",
            "MANTICORE_VERSION": "0.7.1",
            "ELASTICSEARCH_VERSION": "7.15.0"
          }
        ]
      },
      {
        "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_KEY_INVALID": "true"
          }
        ]
      },
      {
        "env": [
          {
            "SECURE_INTEGRATION": "true",
            "INTEGRATION": "true",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "7.current",
            "ES_SSL_SUPPORTED_PROTOCOLS": "TLSv1.3"
          }
        ]
      },
      {
        "env": [
          {
            "INTEGRATION": "true",
            "SNAPSHOT": "true",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "7.current",
            "ELASTIC_PASSWORD": "password",
            "ELASTIC_SECURITY_ENABLED": "true"
          }
        ]
      },
      {
        "env": [
          {
            "INTEGRATION": "true",
            "SNAPSHOT": "true",
            "LOG_LEVEL": "info",
            "ELASTIC_STACK_VERSION": "8.current",
            "ELASTIC_PASSWORD": "password",
            "ELASTIC_SECURITY_ENABLED": "true"
          }
        ]
      }
    ]
  },
  "stages": [
    {
      "name": "Test"
    },
    {
      "name": "Performance",
      "if": "env(HAS_PERFORMANCE_TESTS) == \"1\""
    }
  ],
  "env": [
    "jobs={:ELASTIC_STACK_VERSION=>\"8.previous\", :DOCKER_ENV=>\"dockerjdk21.env\"}={:ELASTIC_STACK_VERSION=>\"8.current\", :DOCKER_ENV=>\"dockerjdk21.env\"}={:ELASTIC_STACK_VERSION=>\"7.current\"}={:SNAPSHOT=>\"true\", :ELASTIC_STACK_VERSION=>\"main\", :DOCKER_ENV=>\"dockerjdk21.env\"}={:SNAPSHOT=>\"true\", :ELASTIC_STACK_VERSION=>\"8.future\", :DOCKER_ENV=>\"dockerjdk21.env\"}={:SNAPSHOT=>\"true\", :ELASTIC_STACK_VERSION=>\"8.next\", :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\"}"
  ],
  "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  1)\n    echo \"Failed to pull logstash-${ELASTIC_STACK_VERSION}. Likely due to missing DRA build.\"\n    export SKIP_SCRIPT=true\n    ;;\n  2)\n    echo \"Failed to pull logstash-${ELASTIC_STACK_VERSION}. The image should exist. Aborting build.\"\n    exit $exit_code\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"
  ]
}