Skip to content

Conversation

@piyush-elastic
Copy link
Contributor

Type of change

  • Bug

What does this PR do?

Handle failure for grok pattern

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.

How to test this PR locally

  • Clone integrations repo.
  • Install elastic package locally.
  • Start elastic stack using elastic-package.
  • Move to integrations/packages/sophos_central directory.
  • Run the following command to run tests.

elastic-package test

Automated Test

2023/05/12 14:34:13 INFO New version is available - v0.79.0. Download from: https://github.com/elastic/elastic-package/releases/tag/v0.79.0 Run test suite for the package Run system tests for the package 2023/05/12 14:34:13 DEBUG Running system tests for data stream 2023/05/12 14:34:13 DEBUG running test with configuration 'default' 2023/05/12 14:34:13 DEBUG setting up service... 2023/05/12 14:34:13 DEBUG setting up service using Docker Compose service deployer 2023/05/12 14:34:13 DEBUG running command: /usr/local/bin/docker-compose version --short 2023/05/12 14:34:13 DEBUG Determined Docker Compose version: 1.23.2, the tool will use Compose V1 2023/05/12 14:34:13 DEBUG output command: /usr/bin/docker network inspect elastic-package-stack_default 2023/05/12 14:34:14 DEBUG running command: /usr/local/bin/docker-compose -f /root/integration/integrations/packages/sophos_central/_dev/deploy/docker/docker-compose.yml -p elastic-package-service up --build -d Creating network "elastic-package-service_default" with the default driver Creating elastic-package-service_sophos_central_1 ... done 2023/05/12 14:34:15 DEBUG running command: /usr/local/bin/docker-compose -f /root/integration/integrations/packages/sophos_central/_dev/deploy/docker/docker-compose.yml -p elastic-package-service ps -q 2023/05/12 14:34:15 DEBUG Wait for healthy containers: 16218e6e130f16fcaddc230146b5a2f575843b48fbd6dd7c7d14dc00f1ed92e9 2023/05/12 14:34:15 DEBUG output command: /usr/bin/docker inspect 16218e6e130f16fcaddc230146b5a2f575843b48fbd6dd7c7d14dc00f1ed92e9 2023/05/12 14:34:15 DEBUG Container status: {"Config":{"Image":"docker.elastic.co/observability/stream:v0.8.0","Labels":{"BRANCH_NAME":"v0.8.0","GIT_SHA":"3df2f6636c0b047f4e9903ff226dab5064da0ad4","GO_VERSION":"1.19.1","TIMESTAMP":"2022-09-15_16:29","com.docker.compose.config-hash":"2741ce026dde794243fa491de7d3125bb402182e658dd917b79f058aa92e2d65","com.docker.compose.container-number":"1","com.docker.compose.oneoff":"False","com.docker.compose.project":"elastic-package-service","com.docker.compose.service":"sophos_central","com.docker.compose.version":"1.23.2"}},"ID":"16218e6e130f16fcaddc230146b5a2f575843b48fbd6dd7c7d14dc00f1ed92e9","State":{"Status":"running","ExitCode":0,"Health":null}} 2023/05/12 14:34:15 DEBUG run command: /usr/bin/docker network connect elastic-package-stack_default elastic-package-service_sophos_central_1 2023/05/12 14:34:15 DEBUG adding service container elastic-package-service_sophos_central_1 internal ports to context 2023/05/12 14:34:15 DEBUG running command: /usr/local/bin/docker-compose -f /root/integration/integrations/packages/sophos_central/_dev/deploy/docker/docker-compose.yml -p elastic-package-service config 2023/05/12 14:34:16 DEBUG creating test policy... 2023/05/12 14:34:16 DEBUG POST https://127.0.0.1:5601/api/fleet/agent_policies 2023/05/12 14:34:20 DEBUG adding package data stream to test policy... 2023/05/12 14:34:20 DEBUG POST https://127.0.0.1:5601/api/fleet/package_policies 2023/05/12 14:34:22 DEBUG deleting old data in data stream... 2023/05/12 14:34:22 DEBUG found 0 hits in logs-sophos_central.alert-ep data stream 2023/05/12 14:34:22 DEBUG GET https://127.0.0.1:5601/api/fleet/agents 2023/05/12 14:34:23 DEBUG filter agents using criteria: NamePrefix=docker-fleet-agent 2023/05/12 14:34:23 DEBUG found 1 enrolled agent(s) 2023/05/12 14:34:23 DEBUG GET https://127.0.0.1:5601/api/fleet/agent_policies/f8caa900-f0a3-11ed-9636-85672c38f428 2023/05/12 14:34:23 DEBUG assigning package data stream to agent... 2023/05/12 14:34:23 DEBUG PUT https://127.0.0.1:5601/api/fleet/agents/a223e78b-6283-4820-8f7a-8c9664c9a73e/reassign 2023/05/12 14:34:25 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/a223e78b-6283-4820-8f7a-8c9664c9a73e 2023/05/12 14:34:25 DEBUG Agent data: {"id":"a223e78b-6283-4820-8f7a-8c9664c9a73e","policy_id":"f8caa900-f0a3-11ed-9636-85672c38f428","local_metadata":{"host":{"name":"docker-fleet-agent"}}} 2023/05/12 14:34:25 DEBUG Wait until the policy (ID: f8caa900-f0a3-11ed-9636-85672c38f428, revision: 2) is assigned to the agent (ID: a223e78b-6283-4820-8f7a-8c9664c9a73e)... 2023/05/12 14:34:27 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/a223e78b-6283-4820-8f7a-8c9664c9a73e 2023/05/12 14:34:27 DEBUG Agent data: {"id":"a223e78b-6283-4820-8f7a-8c9664c9a73e","policy_id":"f8caa900-f0a3-11ed-9636-85672c38f428","local_metadata":{"host":{"name":"docker-fleet-agent"}}} 2023/05/12 14:34:27 DEBUG Wait until the policy (ID: f8caa900-f0a3-11ed-9636-85672c38f428, revision: 2) is assigned to the agent (ID: a223e78b-6283-4820-8f7a-8c9664c9a73e)... 2023/05/12 14:34:29 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/a223e78b-6283-4820-8f7a-8c9664c9a73e 2023/05/12 14:34:29 DEBUG Agent data: {"id":"a223e78b-6283-4820-8f7a-8c9664c9a73e","policy_id":"f8caa900-f0a3-11ed-9636-85672c38f428","local_metadata":{"host":{"name":"docker-fleet-agent"}}} 2023/05/12 14:34:29 DEBUG Wait until the policy (ID: f8caa900-f0a3-11ed-9636-85672c38f428, revision: 2) is assigned to the agent (ID: a223e78b-6283-4820-8f7a-8c9664c9a73e)... 2023/05/12 14:34:31 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/a223e78b-6283-4820-8f7a-8c9664c9a73e 2023/05/12 14:34:31 DEBUG Agent data: {"id":"a223e78b-6283-4820-8f7a-8c9664c9a73e","policy_id":"f8caa900-f0a3-11ed-9636-85672c38f428","policy_revision":2,"local_metadata":{"host":{"name":"docker-fleet-agent"}}} 2023/05/12 14:34:31 DEBUG Policy revision assigned to the agent (ID: a223e78b-6283-4820-8f7a-8c9664c9a73e)... 2023/05/12 14:34:31 DEBUG checking for expected data in data stream... 2023/05/12 14:34:31 DEBUG found 0 hits in logs-sophos_central.alert-ep data stream 2023/05/12 14:34:32 DEBUG found 0 hits in logs-sophos_central.alert-ep data stream 2023/05/12 14:34:33 DEBUG found 0 hits in logs-sophos_central.alert-ep data stream 2023/05/12 14:34:34 DEBUG found 0 hits in logs-sophos_central.alert-ep data stream 2023/05/12 14:34:35 DEBUG found 0 hits in logs-sophos_central.alert-ep data stream 2023/05/12 14:34:36 DEBUG found 0 hits in logs-sophos_central.alert-ep data stream 2023/05/12 14:34:37 DEBUG found 1 hits in logs-sophos_central.alert-ep data stream 2023/05/12 14:34:37 DEBUG reassigning original policy back to agent... 2023/05/12 14:34:37 DEBUG PUT https://127.0.0.1:5601/api/fleet/agents/a223e78b-6283-4820-8f7a-8c9664c9a73e/reassign 2023/05/12 14:34:39 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/a223e78b-6283-4820-8f7a-8c9664c9a73e 2023/05/12 14:34:39 DEBUG Agent data: {"id":"a223e78b-6283-4820-8f7a-8c9664c9a73e","policy_id":"elastic-agent-managed-ep","local_metadata":{"host":{"name":"docker-fleet-agent"}}} 2023/05/12 14:34:39 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 3) is assigned to the agent (ID: a223e78b-6283-4820-8f7a-8c9664c9a73e)... 2023/05/12 14:34:41 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/a223e78b-6283-4820-8f7a-8c9664c9a73e 2023/05/12 14:34:41 DEBUG Agent data: {"id":"a223e78b-6283-4820-8f7a-8c9664c9a73e","policy_id":"elastic-agent-managed-ep","local_metadata":{"host":{"name":"docker-fleet-agent"}}} 2023/05/12 14:34:41 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 3) is assigned to the agent (ID: a223e78b-6283-4820-8f7a-8c9664c9a73e)... 2023/05/12 14:34:43 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/a223e78b-6283-4820-8f7a-8c9664c9a73e 2023/05/12 14:34:43 DEBUG Agent data: {"id":"a223e78b-6283-4820-8f7a-8c9664c9a73e","policy_id":"elastic-agent-managed-ep","local_metadata":{"host":{"name":"docker-fleet-agent"}}} 2023/05/12 14:34:43 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 3) is assigned to the agent (ID: a223e78b-6283-4820-8f7a-8c9664c9a73e)... 2023/05/12 14:34:45 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/a223e78b-6283-4820-8f7a-8c9664c9a73e 2023/05/12 14:34:45 DEBUG Agent data: {"id":"a223e78b-6283-4820-8f7a-8c9664c9a73e","policy_id":"elastic-agent-managed-ep","local_metadata":{"host":{"name":"docker-fleet-agent"}}} 2023/05/12 14:34:45 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 3) is assigned to the agent (ID: a223e78b-6283-4820-8f7a-8c9664c9a73e)... 2023/05/12 14:34:47 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/a223e78b-6283-4820-8f7a-8c9664c9a73e 2023/05/12 14:34:47 DEBUG Agent data: {"id":"a223e78b-6283-4820-8f7a-8c9664c9a73e","policy_id":"elastic-agent-managed-ep","policy_revision":3,"local_metadata":{"host":{"name":"docker-fleet-agent"}}} 2023/05/12 14:34:47 DEBUG Policy revision assigned to the agent (ID: a223e78b-6283-4820-8f7a-8c9664c9a73e)... 2023/05/12 14:34:47 DEBUG deleting test policy... 2023/05/12 14:34:47 DEBUG POST https://127.0.0.1:5601/api/fleet/agent_policies/delete 2023/05/12 14:34:51 DEBUG tearing down service... 2023/05/12 14:34:51 DEBUG tearing down service using Docker Compose runner 2023/05/12 14:34:51 DEBUG running command: /usr/local/bin/docker-compose version --short 2023/05/12 14:34:51 DEBUG Determined Docker Compose version: 1.23.2, the tool will use Compose V1 2023/05/12 14:34:51 DEBUG running command: /usr/local/bin/docker-compose -f /root/integration/integrations/packages/sophos_central/_dev/deploy/docker/docker-compose.yml -p elastic-package-service logs 2023/05/12 14:34:52 INFO Write container logs to file: /root/integration/integrations/build/container-logs/sophos_central-1683882292297325548.log 2023/05/12 14:34:52 DEBUG running command: /usr/local/bin/docker-compose -f /root/integration/integrations/packages/sophos_central/_dev/deploy/docker/docker-compose.yml -p elastic-package-service down --volumes Stopping elastic-package-service_sophos_central_1 ... done Removing elastic-package-service_sophos_central_1 ... done Removing network elastic-package-service_default 2023/05/12 14:34:53 DEBUG deleting data in data stream... 2023/05/12 14:34:53 DEBUG Running system tests for data stream 2023/05/12 14:34:53 DEBUG running test with configuration 'default' 2023/05/12 14:34:53 DEBUG setting up service... 2023/05/12 14:34:53 DEBUG setting up service using Docker Compose service deployer 2023/05/12 14:34:53 DEBUG running command: /usr/local/bin/docker-compose version --short 2023/05/12 14:34:53 DEBUG Determined Docker Compose version: 1.23.2, the tool will use Compose V1 2023/05/12 14:34:53 DEBUG output command: /usr/bin/docker network inspect elastic-package-stack_default 2023/05/12 14:34:53 DEBUG running command: /usr/local/bin/docker-compose -f /root/integration/integrations/packages/sophos_central/_dev/deploy/docker/docker-compose.yml -p elastic-package-service up --build -d Creating network "elastic-package-service_default" with the default driver Creating elastic-package-service_sophos_central_1 ... done 2023/05/12 14:34:54 DEBUG running command: /usr/local/bin/docker-compose -f /root/integration/integrations/packages/sophos_central/_dev/deploy/docker/docker-compose.yml -p elastic-package-service ps -q 2023/05/12 14:34:55 DEBUG Wait for healthy containers: 10f02c454f02f37f0c602699e27e420fc7cafbe58c3177cf832fb38b49faeb8e 2023/05/12 14:34:55 DEBUG output command: /usr/bin/docker inspect 10f02c454f02f37f0c602699e27e420fc7cafbe58c3177cf832fb38b49faeb8e 2023/05/12 14:34:55 DEBUG Container status: {"Config":{"Image":"docker.elastic.co/observability/stream:v0.8.0","Labels":{"BRANCH_NAME":"v0.8.0","GIT_SHA":"3df2f6636c0b047f4e9903ff226dab5064da0ad4","GO_VERSION":"1.19.1","TIMESTAMP":"2022-09-15_16:29","com.docker.compose.config-hash":"2741ce026dde794243fa491de7d3125bb402182e658dd917b79f058aa92e2d65","com.docker.compose.container-number":"1","com.docker.compose.oneoff":"False","com.docker.compose.project":"elastic-package-service","com.docker.compose.service":"sophos_central","com.docker.compose.version":"1.23.2"}},"ID":"10f02c454f02f37f0c602699e27e420fc7cafbe58c3177cf832fb38b49faeb8e","State":{"Status":"running","ExitCode":0,"Health":null}} 2023/05/12 14:34:55 DEBUG run command: /usr/bin/docker network connect elastic-package-stack_default elastic-package-service_sophos_central_1 2023/05/12 14:34:55 DEBUG adding service container elastic-package-service_sophos_central_1 internal ports to context 2023/05/12 14:34:55 DEBUG running command: /usr/local/bin/docker-compose -f /root/integration/integrations/packages/sophos_central/_dev/deploy/docker/docker-compose.yml -p elastic-package-service config 2023/05/12 14:34:55 DEBUG creating test policy... 2023/05/12 14:34:55 DEBUG POST https://127.0.0.1:5601/api/fleet/agent_policies 2023/05/12 14:35:00 DEBUG adding package data stream to test policy... 2023/05/12 14:35:00 DEBUG POST https://127.0.0.1:5601/api/fleet/package_policies 2023/05/12 14:35:03 DEBUG deleting old data in data stream... 2023/05/12 14:35:03 DEBUG found 0 hits in logs-sophos_central.event-ep data stream 2023/05/12 14:35:03 DEBUG GET https://127.0.0.1:5601/api/fleet/agents 2023/05/12 14:35:03 DEBUG filter agents using criteria: NamePrefix=docker-fleet-agent 2023/05/12 14:35:03 DEBUG found 1 enrolled agent(s) 2023/05/12 14:35:03 DEBUG GET https://127.0.0.1:5601/api/fleet/agent_policies/1071ce30-f0a4-11ed-9636-85672c38f428 2023/05/12 14:35:03 DEBUG assigning package data stream to agent... 2023/05/12 14:35:03 DEBUG PUT https://127.0.0.1:5601/api/fleet/agents/a223e78b-6283-4820-8f7a-8c9664c9a73e/reassign 2023/05/12 14:35:05 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/a223e78b-6283-4820-8f7a-8c9664c9a73e 2023/05/12 14:35:05 DEBUG Agent data: {"id":"a223e78b-6283-4820-8f7a-8c9664c9a73e","policy_id":"1071ce30-f0a4-11ed-9636-85672c38f428","local_metadata":{"host":{"name":"docker-fleet-agent"}}} 2023/05/12 14:35:05 DEBUG Wait until the policy (ID: 1071ce30-f0a4-11ed-9636-85672c38f428, revision: 2) is assigned to the agent (ID: a223e78b-6283-4820-8f7a-8c9664c9a73e)... 2023/05/12 14:35:07 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/a223e78b-6283-4820-8f7a-8c9664c9a73e 2023/05/12 14:35:07 DEBUG Agent data: {"id":"a223e78b-6283-4820-8f7a-8c9664c9a73e","policy_id":"1071ce30-f0a4-11ed-9636-85672c38f428","local_metadata":{"host":{"name":"docker-fleet-agent"}}} 2023/05/12 14:35:07 DEBUG Wait until the policy (ID: 1071ce30-f0a4-11ed-9636-85672c38f428, revision: 2) is assigned to the agent (ID: a223e78b-6283-4820-8f7a-8c9664c9a73e)... 2023/05/12 14:35:09 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/a223e78b-6283-4820-8f7a-8c9664c9a73e 2023/05/12 14:35:09 DEBUG Agent data: {"id":"a223e78b-6283-4820-8f7a-8c9664c9a73e","policy_id":"1071ce30-f0a4-11ed-9636-85672c38f428","local_metadata":{"host":{"name":"docker-fleet-agent"}}} 2023/05/12 14:35:09 DEBUG Wait until the policy (ID: 1071ce30-f0a4-11ed-9636-85672c38f428, revision: 2) is assigned to the agent (ID: a223e78b-6283-4820-8f7a-8c9664c9a73e)... 2023/05/12 14:35:11 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/a223e78b-6283-4820-8f7a-8c9664c9a73e 2023/05/12 14:35:11 DEBUG Agent data: {"id":"a223e78b-6283-4820-8f7a-8c9664c9a73e","policy_id":"1071ce30-f0a4-11ed-9636-85672c38f428","policy_revision":2,"local_metadata":{"host":{"name":"docker-fleet-agent"}}} 2023/05/12 14:35:11 DEBUG Policy revision assigned to the agent (ID: a223e78b-6283-4820-8f7a-8c9664c9a73e)... 2023/05/12 14:35:11 DEBUG checking for expected data in data stream... 2023/05/12 14:35:11 DEBUG found 0 hits in logs-sophos_central.event-ep data stream 2023/05/12 14:35:12 DEBUG found 0 hits in logs-sophos_central.event-ep data stream 2023/05/12 14:35:13 DEBUG found 0 hits in logs-sophos_central.event-ep data stream 2023/05/12 14:35:14 DEBUG found 0 hits in logs-sophos_central.event-ep data stream 2023/05/12 14:35:15 DEBUG found 0 hits in logs-sophos_central.event-ep data stream 2023/05/12 14:35:16 DEBUG found 1 hits in logs-sophos_central.event-ep data stream 2023/05/12 14:35:16 DEBUG reassigning original policy back to agent... 2023/05/12 14:35:16 DEBUG PUT https://127.0.0.1:5601/api/fleet/agents/a223e78b-6283-4820-8f7a-8c9664c9a73e/reassign 2023/05/12 14:35:18 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/a223e78b-6283-4820-8f7a-8c9664c9a73e 2023/05/12 14:35:18 DEBUG Agent data: {"id":"a223e78b-6283-4820-8f7a-8c9664c9a73e","policy_id":"elastic-agent-managed-ep","local_metadata":{"host":{"name":"docker-fleet-agent"}}} 2023/05/12 14:35:18 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 3) is assigned to the agent (ID: a223e78b-6283-4820-8f7a-8c9664c9a73e)... 2023/05/12 14:35:20 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/a223e78b-6283-4820-8f7a-8c9664c9a73e 2023/05/12 14:35:20 DEBUG Agent data: {"id":"a223e78b-6283-4820-8f7a-8c9664c9a73e","policy_id":"elastic-agent-managed-ep","local_metadata":{"host":{"name":"docker-fleet-agent"}}} 2023/05/12 14:35:20 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 3) is assigned to the agent (ID: a223e78b-6283-4820-8f7a-8c9664c9a73e)... 2023/05/12 14:35:22 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/a223e78b-6283-4820-8f7a-8c9664c9a73e 2023/05/12 14:35:22 DEBUG Agent data: {"id":"a223e78b-6283-4820-8f7a-8c9664c9a73e","policy_id":"elastic-agent-managed-ep","local_metadata":{"host":{"name":"docker-fleet-agent"}}} 2023/05/12 14:35:22 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 3) is assigned to the agent (ID: a223e78b-6283-4820-8f7a-8c9664c9a73e)... 2023/05/12 14:35:24 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/a223e78b-6283-4820-8f7a-8c9664c9a73e 2023/05/12 14:35:24 DEBUG Agent data: {"id":"a223e78b-6283-4820-8f7a-8c9664c9a73e","policy_id":"elastic-agent-managed-ep","policy_revision":3,"local_metadata":{"host":{"name":"docker-fleet-agent"}}} 2023/05/12 14:35:24 DEBUG Policy revision assigned to the agent (ID: a223e78b-6283-4820-8f7a-8c9664c9a73e)... 2023/05/12 14:35:24 DEBUG deleting test policy... 2023/05/12 14:35:24 DEBUG POST https://127.0.0.1:5601/api/fleet/agent_policies/delete 2023/05/12 14:35:28 DEBUG tearing down service... 2023/05/12 14:35:28 DEBUG tearing down service using Docker Compose runner 2023/05/12 14:35:28 DEBUG running command: /usr/local/bin/docker-compose version --short 2023/05/12 14:35:28 DEBUG Determined Docker Compose version: 1.23.2, the tool will use Compose V1 2023/05/12 14:35:28 DEBUG running command: /usr/local/bin/docker-compose -f /root/integration/integrations/packages/sophos_central/_dev/deploy/docker/docker-compose.yml -p elastic-package-service logs 2023/05/12 14:35:29 INFO Write container logs to file: /root/integration/integrations/build/container-logs/sophos_central-1683882329347154384.log 2023/05/12 14:35:29 DEBUG running command: /usr/local/bin/docker-compose -f /root/integration/integrations/packages/sophos_central/_dev/deploy/docker/docker-compose.yml -p elastic-package-service down --volumes Stopping elastic-package-service_sophos_central_1 ... done Removing elastic-package-service_sophos_central_1 ... done Removing network elastic-package-service_default 2023/05/12 14:35:30 DEBUG deleting data in data stream... --- Test results for package: sophos_central - START --- ╭────────────────┬─────────────┬───────────┬───────────┬────────┬───────────────╮ │ PACKAGE │ DATA STREAM │ TEST TYPE │ TEST NAME │ RESULT │ TIME ELAPSED │ ├────────────────┼─────────────┼───────────┼───────────┼────────┼───────────────┤ │ sophos_central │ alert │ system │ default │ PASS │ 24.156547406s │ │ sophos_central │ event │ system │ default │ PASS │ 23.461870715s │ ╰────────────────┴─────────────┴───────────┴───────────┴────────┴───────────────╯ --- Test results for package: sophos_central - END --- Done Run asset tests for the package 2023/05/12 14:35:30 DEBUG installing package... 2023/05/12 14:35:30 DEBUG POST https://127.0.0.1:5601/api/fleet/epm/packages/sophos_central-1.2.1 --- Test results for package: sophos_central - START --- ╭────────────────┬─────────────┬───────────┬─────────────────────────────────────────────────────────────────────────┬────────┬──────────────╮ │ PACKAGE │ DATA STREAM │ TEST TYPE │ TEST NAME │ RESULT │ TIME ELAPSED │ ├────────────────┼─────────────┼───────────┼─────────────────────────────────────────────────────────────────────────┼────────┼──────────────┤ │ sophos_central │ │ asset │ dashboard sophos_central-1616f9a0-77af-11ed-98b8-2bf13cc9deaa is loaded │ PASS │ 2.676µs │ │ sophos_central │ │ asset │ dashboard sophos_central-3ad33c00-7ad8-11ed-a685-e7c53637b621 is loaded │ PASS │ 133ns │ │ sophos_central │ alert │ asset │ index_template logs-sophos_central.alert is loaded │ PASS │ 242ns │ │ sophos_central │ alert │ asset │ ingest_pipeline logs-sophos_central.alert-1.2.1 is loaded │ PASS │ 143ns │ │ sophos_central │ event │ asset │ index_template logs-sophos_central.event is loaded │ PASS │ 143ns │ │ sophos_central │ event │ asset │ ingest_pipeline logs-sophos_central.event-1.2.1 is loaded │ PASS │ 195ns │ ╰────────────────┴─────────────┴───────────┴─────────────────────────────────────────────────────────────────────────┴────────┴──────────────╯ --- Test results for package: sophos_central - END --- Done Run pipeline tests for the package --- Test results for package: sophos_central - START --- ╭────────────────┬─────────────┬───────────┬────────────────────────────┬────────┬──────────────╮ │ PACKAGE │ DATA STREAM │ TEST TYPE │ TEST NAME │ RESULT │ TIME ELAPSED │ ├────────────────┼─────────────┼───────────┼────────────────────────────┼────────┼──────────────┤ │ sophos_central │ alert │ pipeline │ test-pipeline-activity.log │ PASS │ 2.792846ms │ │ sophos_central │ alert │ pipeline │ test-user-formats.log │ PASS │ 5.701096ms │ │ sophos_central │ event │ pipeline │ test-pipeline-activity.log │ PASS │ 6.05103ms │ │ sophos_central │ event │ pipeline │ test-user-formats.log │ PASS │ 24.557511ms │ ╰────────────────┴─────────────┴───────────┴────────────────────────────┴────────┴──────────────╯ --- Test results for package: sophos_central - END --- Done Run static tests for the package --- Test results for package: sophos_central - START --- ╭────────────────┬─────────────┬───────────┬──────────────────────────┬────────┬──────────────╮ │ PACKAGE │ DATA STREAM │ TEST TYPE │ TEST NAME │ RESULT │ TIME ELAPSED │ ├────────────────┼─────────────┼───────────┼──────────────────────────┼────────┼──────────────┤ │ sophos_central │ alert │ static │ Verify sample_event.json │ PASS │ 86.871046ms │ │ sophos_central │ event │ static │ Verify sample_event.json │ PASS │ 80.333758ms │ ╰────────────────┴─────────────┴───────────┴──────────────────────────┴────────┴──────────────╯ --- Test results for package: sophos_central - END --- Done 
@piyush-elastic piyush-elastic requested a review from a team as a code owner May 12, 2023 09:21
@elasticmachine
Copy link

elasticmachine commented May 12, 2023

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2023-05-12T09:23:33.750+0000

  • Duration: 15 min 43 sec

Test stats 🧪

Test Results
Failed 0
Passed 14
Skipped 0
Total 14

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@elasticmachine
Copy link

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (2/2) 💚
Files 100.0% (2/2) 💚
Classes 100.0% (2/2) 💚
Methods 94.118% (32/34) 👎 -4.086
Lines 93.503% (993/1062) 👎 -0.407
Conditionals 100.0% (0/0) 💚
@P1llus P1llus merged commit 50e4916 into elastic:main May 12, 2023
@elasticmachine
Copy link

Package sophos_central - 1.2.1 containing this change is available at https://epr.elastic.co/search?package=sophos_central

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4 participants