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

Cherry-pick #20984 to 7.9: Add container ECS fields in kubernetes metadata #21034

Merged
merged 2 commits into from
Sep 9, 2020

Conversation

ChrsMark
Copy link
Member

@ChrsMark ChrsMark commented Sep 9, 2020

Cherry-pick of PR #20984 to 7.9 branch. Original message:

What does this PR do?

This PR adds container.id, container.runtime and container.image.name in kubernetes metadata to be compliant with https://www.elastic.co/guide/en/ecs/current/ecs-container.html

Why is it important?

In final events the metadata do not include container.id, container.runtime and container.image.name.

Related issues

How to test this PR

  1. Configure and run Filebeat in k8s:
filebeat.autodiscover:
      providers:
        - type: kubernetes
          node: ${NODE_NAME}
          hints.enabled: true
          hints.default_config:
            type: container
            paths:
              - /var/log/containers/*${data.kubernetes.container.id}.log

Make sure that container.id, container.runtime and container.image.name exist in the final documents in ES.

  1. Configure and run Filebeat in k8s:
filebeat.inputs:
    - type: container
      paths:
        - /var/log/containers/*.log
      processors:
        - add_kubernetes_metadata:
            host: ${NODE_NAME}
            indexers:
            - container:
            matchers:
            - logs_path:
                logs_path: "/var/log/containers/"

Screenshots

Screenshot 2020-09-08 at 13 56 03

@ChrsMark ChrsMark added [zube]: In Review backport Team:Platforms Label for the Integrations - Platforms team labels Sep 9, 2020
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Sep 9, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-platforms (Team:Platforms)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Sep 9, 2020
Signed-off-by: chrismark <[email protected]>
@elasticmachine
Copy link
Collaborator

elasticmachine commented Sep 9, 2020

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #21034 updated]

  • Start Time: 2020-09-09T09:18:34.843+0000

  • Duration: 75 min 35 sec

Test stats 🧪

Test Results
Failed 3
Passed 19281
Skipped 1836
Total 21120

Test errors

Expand to view the tests failures

  • Name: Build and Test / Libbeat / Libbeat oss / TestOutputReload – pipeline

    • Age: 1
    • Duration: 63.92
    • Error Details: Failed
  • Name: Build and Test / Libbeat / Libbeat oss / TestOutputReload/client – pipeline

    • Age: 1
    • Duration: 35.99
    • Error Details: Failed
  • Name: Build and Test / Metricbeat Python integration tests / test_remote_write – test_prometheus.TestRemoteWrite

    • Age: 1
    • Duration: 60.267
    • Error Details: Timeout waiting for 'cond' to be true. Waited 60 seconds.
      -------------------- >> begin captured logging << --------------------
      compose.config.config: DEBUG: Using configuration files: /go/src/github.com/elastic/beats/metricbeat/module/prometheus/docker-compose.yml
      docker.utils.config: DEBUG: Trying paths: ['/root/.docker/config.json', '/root/.dockercfg']
      docker.utils.config: DEBUG: No config file found
      docker.utils.config: DEBUG: Trying paths: ['/root/.docker/config.json', '/root/.dockercfg']
      docker.utils.config: DEBUG: No config file found
      compose.parallel: DEBUG: Pending: {<Container: prometheus_7918a246f6f8_prometheus_1 (ca79f8)>}
      compose.parallel: DEBUG: Starting producer thread for <Container: prometheus_7918a246f6f8_prometheus_1 (ca79f8)>
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Finished processing: <Container: prometheus_7918a246f6f8_prometheus_1 (ca79f8)>
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: {<Container: prometheus_7918a246f6f8_prometheus_1 (ca79f8)>}
      compose.parallel: DEBUG: Starting producer thread for <Container: prometheus_7918a246f6f8_prometheus_1 (ca79f8)>
      compose.parallel: DEBUG: Finished processing: <Container: prometheus_7918a246f6f8_prometheus_1 (ca79f8)>
      compose.parallel: DEBUG: Pending: set()
      compose.network: INFO: Removing network prometheus_7918a246f6f8_default
      compose.config.config: DEBUG: Using configuration files: /go/src/github.com/elastic/beats/metricbeat/module/prometheus/docker-compose.yml
      docker.utils.config: DEBUG: Trying paths: ['/root/.docker/config.json', '/root/.dockercfg']
      docker.utils.config: DEBUG: No config file found
      docker.utils.config: DEBUG: Trying paths: ['/root/.docker/config.json', '/root/.dockercfg']
      docker.utils.config: DEBUG: No config file found
      compose.service: INFO: Pulling prometheus-host-network (docker.elastic.co/integrations-ci/beats-prometheus:2.6.0-2)...
      docker.auth: DEBUG: Looking for auth config
      docker.auth: DEBUG: No auth config in memory - loading from filesystem
      docker.utils.config: DEBUG: Trying paths: ['/root/.docker/config.json', '/root/.dockercfg']
      docker.utils.config: DEBUG: No config file found
      docker.auth: DEBUG: Looking for auth entry for 'docker.elastic.co'
      docker.auth: DEBUG: No entry found
      docker.auth: DEBUG: No auth config found
      compose.service: ERROR: 404 Client Error: Not Found ("manifest for docker.elastic.co/integrations-ci/beats-prometheus:2.6.0-2 not found: manifest unknown: manifest unknown")
      compose.network: INFO: Creating network "prometheus_7918a246f6f8_default" with the default driver
      compose.parallel: DEBUG: Pending: {<Service: prometheus-host-network>}
      compose.parallel: DEBUG: Starting producer thread for <Service: prometheus-host-network>
      compose.parallel: DEBUG: Pending: {ServiceName(project='prometheus_7918a246f6f8', service='prometheus-host-network', number=1)}
      compose.parallel: DEBUG: Starting producer thread for ServiceName(project='prometheus_7918a246f6f8', service='prometheus-host-network', number=1)
      compose.service: DEBUG: Added config hash: 1e3c47e14aa3b63f5b11107a01a0809297683240fb0b1ce428d89c8af0c545ff
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Finished processing: ServiceName(project='prometheus_7918a246f6f8', service='prometheus-host-network', number=1)
      compose.parallel: DEBUG: Pending: set()
      compose.parallel: DEBUG: Finished processing: <Service: prometheus-host-network>
      compose.parallel: DEBUG: Pending: set()
      --------------------- >> end captured logging << ---------------------

Steps errors

Expand to view the steps failures

  • Name: Mage build test

    • Description: mage build test

    • Duration: 23 min 46 sec

    • Start Time: 2020-09-09T09:45:43.313+0000

    • log

  • Name: Mage pythonIntegTest

    • Description: mage pythonIntegTest

    • Duration: 34 min 48 sec

    • Start Time: 2020-09-09T09:45:48.398+0000

    • log

  • Name: Make test

    • Description: make -C generator/_templates/beat test

    • Duration: 3 min 59 sec

    • Start Time: 2020-09-09T10:04:16.928+0000

    • log

  • Name: Make test

    • Description: make -C generator/_templates/beat test

    • Duration: 4 min 54 sec

    • Start Time: 2020-09-09T10:06:24.450+0000

    • log

  • Name: Recursively delete the current directory from the workspace

    • Description: script returned exit code 2

    • Duration: 0 min 20 sec

    • Start Time: 2020-09-09T10:10:26.611+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-09-09T10:32:26.601Z] + tar --version
[2020-09-09T10:32:26.901Z] + tar -xpf source.tgz
[2020-09-09T10:32:39.460Z] + rm source.tgz
[2020-09-09T10:32:39.473Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats
[2020-09-09T10:32:39.495Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Lint
[2020-09-09T10:32:39.584Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Winlogbeat-oss
[2020-09-09T10:32:39.664Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-09-09T10:32:39.747Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-09-09T10:32:39.832Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/dockerlogbeat
[2020-09-09T10:32:39.916Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-09-09T10:32:40.000Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Journalbeat
[2020-09-09T10:32:40.085Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Packetbeat-Linux
[2020-09-09T10:32:40.173Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-09-09T10:32:40.259Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-09-09T10:32:40.351Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-09-09T10:32:40.442Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-09-09T10:32:40.529Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Heartbeat-Windows
[2020-09-09T10:32:40.627Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-09-09T10:32:40.721Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Heartbeat-oss
[2020-09-09T10:32:40.816Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-09-09T10:32:40.904Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-09-09T10:32:40.989Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-09-09T10:32:41.079Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-09-09T10:32:41.165Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-09-09T10:32:41.250Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-09-09T10:32:41.335Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Libbeat-x-pack
[2020-09-09T10:32:41.419Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Filebeat-Windows
[2020-09-09T10:32:41.504Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-09-09T10:32:41.597Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Packetbeat-Windows
[2020-09-09T10:32:41.684Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-09-09T10:32:41.775Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Heartbeat-Mac-OS-X
[2020-09-09T10:32:41.857Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-09-09T10:32:41.941Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Auditbeat-oss-Mac-OS-X
[2020-09-09T10:32:42.024Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Functionbeat-Windows
[2020-09-09T10:32:42.114Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Metricbeat-Windows
[2020-09-09T10:32:42.197Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-09-09T10:32:42.284Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Auditbeat-x-pack-Mac-OS-X
[2020-09-09T10:32:42.371Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Generators-Metricbeat-Mac-OS-X
[2020-09-09T10:32:42.457Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-09-09T10:32:42.549Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-09-09T10:32:42.649Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Packetbeat-Mac-OS-X
[2020-09-09T10:32:42.735Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-09-09T10:32:42.825Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Libbeat-oss
[2020-09-09T10:32:42.912Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Generators-Beat-Mac-OS-X
[2020-09-09T10:32:42.999Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Filebeat-oss
[2020-09-09T10:32:43.092Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Filebeat-x-pack
[2020-09-09T10:32:43.198Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests
[2020-09-09T10:32:43.398Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Metricbeat-Python-integration-tests
[2020-09-09T10:32:43.620Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-09-09T10:32:43.874Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-09-09T10:32:44.561Z] + cat
[2020-09-09T10:32:44.561Z] + /usr/local/bin/runbld ./runbld-script --job-name elastic+beats+pull-request
[2020-09-09T10:32:44.561Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-09-09T10:32:51.162Z] runbld>>> runbld started
[2020-09-09T10:32:51.162Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-09-09T10:32:53.717Z] runbld>>> The following profiles matched the job 'elastic+beats+pull-request' in order of occurrence in the config (last value wins).
[2020-09-09T10:32:53.717Z] runbld>>> Matches in the system config:
[2020-09-09T10:32:53.717Z] runbld>>> - Matched ^elastic\+beats
[2020-09-09T10:32:53.717Z] runbld>>> - Matched ^elastic\+beats\+pull-request
[2020-09-09T10:32:54.663Z] runbld>>> Debug logging enabled.
[2020-09-09T10:32:54.663Z] runbld>>> Storing result
[2020-09-09T10:32:54.926Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-09-09T10:32:54.926Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200909103254-E5DFB294
[2020-09-09T10:32:54.926Z] runbld>>> Adding system facts.
[2020-09-09T10:32:56.316Z] runbld>>> Adding vcs info for the latest commit:  865d36a4f66103f4a369e4989c2ced878abf940b
[2020-09-09T10:32:56.316Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-09-09T10:32:56.316Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-09-09T10:32:56.316Z] Processing JUnit reports with runbld...
[2020-09-09T10:32:56.316Z] + echo 'Processing JUnit reports with runbld...'
[2020-09-09T10:32:56.577Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-09-09T10:32:56.577Z] runbld>>> DURATION: 30ms
[2020-09-09T10:32:56.577Z] runbld>>> STDOUT: 40 bytes
[2020-09-09T10:32:56.577Z] runbld>>> STDERR: 49 bytes
[2020-09-09T10:32:56.577Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-09-09T10:32:56.577Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-21034
[2020-09-09T10:32:57.516Z] runbld>>> Storing build metadata: 
[2020-09-09T10:32:57.516Z] runbld>>> Adding test report.
[2020-09-09T10:32:57.516Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats
[2020-09-09T10:32:58.089Z] runbld>>> Found 139 test output files
[2020-09-09T10:33:00.645Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-09-09T10:33:00.645Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-09-09T10:33:00.645Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-09-09T10:33:00.645Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-09-09T10:33:00.645Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-09-09T10:33:00.909Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-09-09T10:33:00.909Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21034/src/github.com/elastic/beats/Metricbeat-OSS-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-09-09T10:33:01.854Z] runbld>>> Test output logs contained: Errors: 1 Failures: 2 Tests: 20969 Skipped: 1555
[2020-09-09T10:33:01.854Z] runbld>>> Storing result
[2020-09-09T10:33:02.115Z] runbld>>> FAILURES: 3
[2020-09-09T10:33:02.693Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-09-09T10:33:02.694Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200909103254-E5DFB294
[2020-09-09T10:33:02.955Z] runbld>>> Email notification disabled by environment variable.
[2020-09-09T10:33:02.956Z] runbld>>> Slack notification disabled by environment variable.
[2020-09-09T10:33:08.828Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-21034
[2020-09-09T10:33:08.948Z] [INFO] getVaultSecret: Getting secrets
[2020-09-09T10:33:09.032Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-09-09T10:33:09.843Z] + chmod 755 generate-build-data.sh
[2020-09-09T10:33:09.843Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21034/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21034/runs/2 FAILURE 4474738
[2020-09-09T10:33:09.843Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21034/runs/2/steps/?limit=10000 -o steps-info.json
[2020-09-09T10:33:13.071Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21034/runs/2/tests/?status=FAILED -o tests-errors.json

@ChrsMark ChrsMark merged commit 768dfc9 into elastic:7.9 Sep 9, 2020
@zube zube bot removed the [zube]: Done label Dec 8, 2020
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Team:Platforms Label for the Integrations - Platforms team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants