Skip to content

Use JSON serialization in DLQ error messages instead of Ruby object to_s

a2596cc
Select commit
Loading
Failed to load commit list.
Draft

Use JSON serialization for DLQ error messages instead of Ruby object inspection #1251

Use JSON serialization in DLQ error messages instead of Ruby object to_s
a2596cc
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Mar 20, 2026 in 44m 16s

Build Passed

The build passed.

Details

This is a normal build for the copilot/sub-pr-1250 branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

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

Stage 1: Test

This stage passed.

Job ENV OS State
3175.1 ELASTIC_STACK_VERSION=9.current DOCKER_ENV=dockerjdk21.env Linux passed
3175.2 ELASTIC_STACK_VERSION=9.previous DOCKER_ENV=dockerjdk21.env Linux passed
3175.3 ELASTIC_STACK_VERSION=8.current DOCKER_ENV=dockerjdk21.env Linux passed
3175.4 SNAPSHOT=true ELASTIC_STACK_VERSION=main DOCKER_ENV=dockerjdk21.env Linux passed
3175.5 SNAPSHOT=true ELASTIC_STACK_VERSION=9.next DOCKER_ENV=dockerjdk21.env Linux passed
3175.6 SNAPSHOT=true ELASTIC_STACK_VERSION=9.current DOCKER_ENV=dockerjdk21.env Linux passed
3175.7 SNAPSHOT=true ELASTIC_STACK_VERSION=9.previous DOCKER_ENV=dockerjdk21.env Linux passed
3175.8 SNAPSHOT=true ELASTIC_STACK_VERSION=8.current DOCKER_ENV=dockerjdk21.env Linux passed

Stage 2: Integration Tests

This stage passed.

Job ENV OS State
3175.9 INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.current Linux passed
3175.10 INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=9.current Linux passed
3175.11 INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.current Linux passed
3175.12 INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=9.current Linux passed
3175.13 INTEGRATION=true SNAPSHOT=true LOG_LEVEL=info ELASTIC_STACK_VERSION=main Linux passed

Stage 3: Secure Integration Tests

This stage passed.

Job ENV OS State
3175.14 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.current Linux passed
3175.15 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.current ES_SSL_KEY_INVALID=true Linux passed
3175.16 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=8.current ES_SSL_SUPPORTED_PROTOCOLS=TLSv1.3 Linux passed
3175.17 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=9.current Linux passed
3175.18 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=9.current ES_SSL_KEY_INVALID=true Linux passed
3175.19 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info ELASTIC_STACK_VERSION=9.current ES_SSL_SUPPORTED_PROTOCOLS=TLSv1.3 Linux passed
3175.20 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info SNAPSHOT=true ELASTIC_STACK_VERSION=8.current Linux passed
3175.21 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info SNAPSHOT=true ELASTIC_STACK_VERSION=9.current Linux passed
3175.22 SECURE_INTEGRATION=true INTEGRATION=true LOG_LEVEL=info SNAPSHOT=true ELASTIC_STACK_VERSION=main Linux passed

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"
  ]
}