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

[cisco_nexus] Replace RSA2ELK with Syslog integration #6467

Merged
merged 3 commits into from
Jun 13, 2023

Conversation

piyush-elastic
Copy link
Contributor

Type of change

  • Enhancement

What does this PR do?

  • Updated data collection logic for the log data stream.
  • Updated the ingest pipeline for the log data stream.
  • Mapped fields according to the ECS schema and added Fields metadata in the appropriate yml files.
  • Created dashboards and visualizations.
  • Updated test for pipeline for the log data stream.
  • Updated system test cases for the log data stream.

Integration release checklist

This checklist is intended for integrations maintainers to ensure consistency
when creating or updating a Package, Module or Dataset for an Integration.

All changes

  • Change follows the contributing guidelines
  • Supported versions of the monitoring target is documented
  • Supported operating systems are documented (if applicable)
  • Integration or System tests exist
  • Documentation exists
  • Fields follow ECS and naming conventions
  • At least a manual test with ES / Kibana / Agent has been performed.
  • Required Kibana version set to: ^8.7.0

New Package

  • Screenshot of the "Add Integration" page on Fleet added

Dashboards changes

  • Dashboards exists
  • Screenshots added or updated
  • Datastream filters added to visualizations

Log dataset changes

  • Pipeline tests exist (if applicable)
  • Generated output for at least 1 log file exists
  • Sample event (sample_event.json) exists

How to test this PR locally

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

elastic-package test

Related issues

Screenshots

Cisco_Nexus_1
Cisco_Nexus_2

2023/06/05 14:20:14 DEBUG Enable verbose logging
Run test suite for the package
Run asset tests for the package
2023/06/05 14:20:15 DEBUG installing package...
2023/06/05 14:20:15 DEBUG POST https://127.0.0.1:5601/api/fleet/epm/packages/cisco_nexus-0.13.0
--- Test results for package: cisco_nexus - START ---
╭─────────────┬─────────────┬───────────┬──────────────────────────────────────────────────────────────────────┬────────┬──────────────╮
│ PACKAGE     │ DATA STREAM │ TEST TYPE │ TEST NAME                                                            │ RESULT │ TIME ELAPSED │
├─────────────┼─────────────┼───────────┼──────────────────────────────────────────────────────────────────────┼────────┼──────────────┤
│ cisco_nexus │             │ asset     │ dashboard cisco_nexus-cf3deb30-f56f-11ed-8e0a-bfd488deb0b8 is loaded │ PASS   │      3.179µs │
│ cisco_nexus │             │ asset     │ search cisco_nexus-22482030-f57e-11ed-8e0a-bfd488deb0b8 is loaded    │ PASS   │        142ns │
│ cisco_nexus │ log         │ asset     │ index_template logs-cisco_nexus.log is loaded                        │ PASS   │        268ns │
│ cisco_nexus │ log         │ asset     │ ingest_pipeline logs-cisco_nexus.log-0.13.0 is loaded                │ PASS   │        226ns │
╰─────────────┴─────────────┴───────────┴──────────────────────────────────────────────────────────────────────┴────────┴──────────────╯
--- Test results for package: cisco_nexus - END   ---
Done
Run pipeline tests for the package
--- Test results for package: cisco_nexus - START ---
╭─────────────┬─────────────┬───────────┬────────────────┬────────┬──────────────╮
│ PACKAGE     │ DATA STREAM │ TEST TYPE │ TEST NAME      │ RESULT │ TIME ELAPSED │
├─────────────┼─────────────┼───────────┼────────────────┼────────┼──────────────┤
│ cisco_nexus │ log         │ pipeline  │ test-nexus.log │ PASS   │  41.280708ms │
╰─────────────┴─────────────┴───────────┴────────────────┴────────┴──────────────╯
--- Test results for package: cisco_nexus - END   ---
Done
Run static tests for the package
--- Test results for package: cisco_nexus - START ---
╭─────────────┬─────────────┬───────────┬──────────────────────────┬────────┬──────────────╮
│ PACKAGE     │ DATA STREAM │ TEST TYPE │ TEST NAME                │ RESULT │ TIME ELAPSED │
├─────────────┼─────────────┼───────────┼──────────────────────────┼────────┼──────────────┤
│ cisco_nexus │ log         │ static    │ Verify sample_event.json │ PASS   │  80.396341ms │
╰─────────────┴─────────────┴───────────┴──────────────────────────┴────────┴──────────────╯
--- Test results for package: cisco_nexus - END   ---
Done
Run system tests for the package
2023/06/05 14:20:18 DEBUG Running system tests for data stream
2023/06/05 14:20:18 DEBUG running test with configuration 'logfile'
2023/06/05 14:20:18 DEBUG setting up service...
2023/06/05 14:20:18 DEBUG setting up service using Docker Compose service deployer
2023/06/05 14:20:18 DEBUG running command: /usr/local/bin/docker-compose version --short
2023/06/05 14:20:19 DEBUG Determined Docker Compose version: 1.24.1, the tool will use Compose V1
2023/06/05 14:20:19 DEBUG output command: /usr/bin/docker network inspect elastic-package-stack_default
2023/06/05 14:20:19 DEBUG running command: /usr/local/bin/docker-compose -f /integrations/packages/cisco_nexus/_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_cisco-nexus-tls_1 ... done
Creating elastic-package-service_cisco-nexus-tcp_1 ... done
Creating elastic-package-service_cisco-logfile_1   ... done
Creating elastic-package-service_cisco-nexus-udp_1 ... done
2023/06/05 14:20:21 DEBUG running command: /usr/local/bin/docker-compose -f /integrations/packages/cisco_nexus/_dev/deploy/docker/docker-compose.yml -p elastic-package-service ps -q
2023/06/05 14:20:21 DEBUG Wait for healthy containers: 8315a15c4bbd330fc24bc5dc6a8b7e5a7cdd531aa77119ac0c579ace63db1e0d,2d622a8474095059772e10355ab1e3a74432b09382c7650df36c11ab22213173,a488d74de65a2fa42ddca7160c8ed41517f360ae2d243fc91736c11bf5b5a437,81ffc927d054b8880b7feace373825d9397b327e163dadd79e436cf0c0c5733b
2023/06/05 14:20:21 DEBUG output command: /usr/bin/docker inspect 8315a15c4bbd330fc24bc5dc6a8b7e5a7cdd531aa77119ac0c579ace63db1e0d 2d622a8474095059772e10355ab1e3a74432b09382c7650df36c11ab22213173 a488d74de65a2fa42ddca7160c8ed41517f360ae2d243fc91736c11bf5b5a437 81ffc927d054b8880b7feace373825d9397b327e163dadd79e436cf0c0c5733b
2023/06/05 14:20:21 DEBUG Container status: {"Config":{"Image":"alpine","Labels":{"com.docker.compose.config-hash":"5acf6e601c359da817d30c3ceae17cbd1ae810512d8a803dae30d67046f0a927","com.docker.compose.container-number":"1","com.docker.compose.oneoff":"False","com.docker.compose.project":"elastic-package-service","com.docker.compose.service":"cisco-logfile","com.docker.compose.version":"1.24.1"}},"ID":"8315a15c4bbd330fc24bc5dc6a8b7e5a7cdd531aa77119ac0c579ace63db1e0d","State":{"Status":"exited","ExitCode":0,"Health":null}}
2023/06/05 14:20:21 DEBUG Container status: {"Config":{"Image":"docker.elastic.co/observability/stream:v0.10.0","Labels":{"BRANCH_NAME":"v0.10.0","GIT_SHA":"2a076c9b1acdf1c35b5f5c2f8c23904c7c2c441a","GO_VERSION":"1.19.5","TIMESTAMP":"2023-01-30_11:29","com.docker.compose.config-hash":"8e2aa509ba163173b8d522a04bf4fa27b790295ae9dff326e31d8d7fbbe6ca19","com.docker.compose.container-number":"1","com.docker.compose.oneoff":"False","com.docker.compose.project":"elastic-package-service","com.docker.compose.service":"cisco-nexus-tcp","com.docker.compose.version":"1.24.1"}},"ID":"2d622a8474095059772e10355ab1e3a74432b09382c7650df36c11ab22213173","State":{"Status":"running","ExitCode":0,"Health":null}}
2023/06/05 14:20:21 DEBUG Container status: {"Config":{"Image":"docker.elastic.co/observability/stream:v0.10.0","Labels":{"BRANCH_NAME":"v0.10.0","GIT_SHA":"2a076c9b1acdf1c35b5f5c2f8c23904c7c2c441a","GO_VERSION":"1.19.5","TIMESTAMP":"2023-01-30_11:29","com.docker.compose.config-hash":"a9e53da2fd789447a7f530d7ef34ef8e45aa65814d2693ea9b48b9fc8db9339c","com.docker.compose.container-number":"1","com.docker.compose.oneoff":"False","com.docker.compose.project":"elastic-package-service","com.docker.compose.service":"cisco-nexus-tls","com.docker.compose.version":"1.24.1"}},"ID":"a488d74de65a2fa42ddca7160c8ed41517f360ae2d243fc91736c11bf5b5a437","State":{"Status":"running","ExitCode":0,"Health":null}}
2023/06/05 14:20:21 DEBUG Container status: {"Config":{"Image":"docker.elastic.co/observability/stream:v0.10.0","Labels":{"BRANCH_NAME":"v0.10.0","GIT_SHA":"2a076c9b1acdf1c35b5f5c2f8c23904c7c2c441a","GO_VERSION":"1.19.5","TIMESTAMP":"2023-01-30_11:29","com.docker.compose.config-hash":"f58fe45c634e24310c2ed729d1cee92cca0ec5d484afe1d9c20d8b98ae1d3e38","com.docker.compose.container-number":"1","com.docker.compose.oneoff":"False","com.docker.compose.project":"elastic-package-service","com.docker.compose.service":"cisco-nexus-udp","com.docker.compose.version":"1.24.1"}},"ID":"81ffc927d054b8880b7feace373825d9397b327e163dadd79e436cf0c0c5733b","State":{"Status":"running","ExitCode":0,"Health":null}}
2023/06/05 14:20:21 DEBUG run command: /usr/bin/docker network connect elastic-package-stack_default elastic-package-service_cisco-logfile_1
2023/06/05 14:20:21 DEBUG adding service container elastic-package-service_cisco-logfile_1 internal ports to context
2023/06/05 14:20:21 DEBUG running command: /usr/local/bin/docker-compose -f /integrations/packages/cisco_nexus/_dev/deploy/docker/docker-compose.yml -p elastic-package-service config
2023/06/05 14:20:22 DEBUG creating test policy...
2023/06/05 14:20:22 DEBUG POST https://127.0.0.1:5601/api/fleet/agent_policies
2023/06/05 14:20:26 DEBUG adding package data stream to test policy...
2023/06/05 14:20:26 DEBUG POST https://127.0.0.1:5601/api/fleet/package_policies
2023/06/05 14:20:28 DEBUG deleting old data in data stream...
2023/06/05 14:20:28 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:20:28 DEBUG GET https://127.0.0.1:5601/api/fleet/agents
2023/06/05 14:20:28 DEBUG filter agents using criteria: NamePrefix=docker-fleet-agent
2023/06/05 14:20:28 DEBUG found 1 enrolled agent(s)
2023/06/05 14:20:28 DEBUG GET https://127.0.0.1:5601/api/fleet/agent_policies/01b38950-037e-11ee-9249-7faa74d5f7a0
2023/06/05 14:20:28 DEBUG assigning package data stream to agent...
2023/06/05 14:20:28 DEBUG PUT https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336/reassign
2023/06/05 14:20:29 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:20:29 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"01b38950-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:20:29 DEBUG Wait until the policy (ID: 01b38950-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:20:31 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:20:31 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"01b38950-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:20:31 DEBUG Wait until the policy (ID: 01b38950-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:20:33 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:20:33 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"01b38950-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:20:33 DEBUG Wait until the policy (ID: 01b38950-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:20:35 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:20:35 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"01b38950-037e-11ee-9249-7faa74d5f7a0","policy_revision":2,"local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:20:35 DEBUG Policy revision assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:20:35 DEBUG checking for expected data in data stream...
2023/06/05 14:20:35 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:20:36 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:20:37 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:20:38 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:20:39 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:20:40 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:20:41 DEBUG found 69 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:20:42 DEBUG reassigning original policy back to agent...
2023/06/05 14:20:42 DEBUG PUT https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336/reassign
2023/06/05 14:20:43 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:20:43 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"elastic-agent-managed-ep","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:20:43 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 3) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:20:45 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:20:45 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"elastic-agent-managed-ep","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:20:45 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 3) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:20:47 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:20:47 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"elastic-agent-managed-ep","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:20:47 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 3) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:20:49 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:20:49 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"elastic-agent-managed-ep","policy_revision":3,"local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:20:49 DEBUG Policy revision assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:20:49 DEBUG deleting test policy...
2023/06/05 14:20:49 DEBUG POST https://127.0.0.1:5601/api/fleet/agent_policies/delete
2023/06/05 14:20:53 DEBUG tearing down service...
2023/06/05 14:20:53 DEBUG tearing down service using Docker Compose runner
2023/06/05 14:20:53 DEBUG running command: /usr/local/bin/docker-compose version --short
2023/06/05 14:20:54 DEBUG Determined Docker Compose version: 1.24.1, the tool will use Compose V1
2023/06/05 14:20:54 DEBUG running command: /usr/local/bin/docker-compose -f /integrations/packages/cisco_nexus/_dev/deploy/docker/docker-compose.yml -p elastic-package-service logs
2023/06/05 14:20:54  INFO Write container logs to file: /integrations/build/container-logs/cisco-logfile-1685955054954478830.log
2023/06/05 14:20:54 DEBUG running command: /usr/local/bin/docker-compose -f /integrations/packages/cisco_nexus/_dev/deploy/docker/docker-compose.yml -p elastic-package-service down --volumes
Stopping elastic-package-service_cisco-nexus-udp_1 ... done
Stopping elastic-package-service_cisco-nexus-tcp_1 ... done
Stopping elastic-package-service_cisco-nexus-tls_1 ... done
Removing elastic-package-service_cisco-nexus-udp_1 ... done
Removing elastic-package-service_cisco-nexus-tcp_1 ... done
Removing elastic-package-service_cisco-logfile_1   ... done
Removing elastic-package-service_cisco-nexus-tls_1 ... done
Removing network elastic-package-service_default
2023/06/05 14:20:56 DEBUG deleting data in data stream...
2023/06/05 14:20:56 DEBUG running test with configuration 'tcp'
2023/06/05 14:20:56 DEBUG setting up service...
2023/06/05 14:20:56 DEBUG setting up service using Docker Compose service deployer
2023/06/05 14:20:56 DEBUG running command: /usr/local/bin/docker-compose version --short
2023/06/05 14:20:56 DEBUG Determined Docker Compose version: 1.24.1, the tool will use Compose V1
2023/06/05 14:20:56 DEBUG output command: /usr/bin/docker network inspect elastic-package-stack_default
2023/06/05 14:20:56 DEBUG running command: /usr/local/bin/docker-compose -f /integrations/packages/cisco_nexus/_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_cisco-nexus-udp_1 ... done
Creating elastic-package-service_cisco-nexus-tcp_1 ... done
Creating elastic-package-service_cisco-logfile_1   ... done
Creating elastic-package-service_cisco-nexus-tls_1 ... done
2023/06/05 14:20:58 DEBUG running command: /usr/local/bin/docker-compose -f /integrations/packages/cisco_nexus/_dev/deploy/docker/docker-compose.yml -p elastic-package-service ps -q
2023/06/05 14:20:58 DEBUG Wait for healthy containers: b97cf43f2f51f47a5adbe975bc7ce1bd88673a0762854c6227e09a2d281ed8b5,f3f875637a4d5f1fb8249d2f0b0db8f209def14a9894a9c466cc3357f2e6b349,207b07937bf226fa229016c83c3ac94f5497d85a64d1139dd76a306e5d18ef2e,ff81371af2cd4101d0eab3db17d1ddc9e5c09a06e6ca2861111f03ced7c9afdd
2023/06/05 14:20:58 DEBUG output command: /usr/bin/docker inspect b97cf43f2f51f47a5adbe975bc7ce1bd88673a0762854c6227e09a2d281ed8b5 f3f875637a4d5f1fb8249d2f0b0db8f209def14a9894a9c466cc3357f2e6b349 207b07937bf226fa229016c83c3ac94f5497d85a64d1139dd76a306e5d18ef2e ff81371af2cd4101d0eab3db17d1ddc9e5c09a06e6ca2861111f03ced7c9afdd
2023/06/05 14:20:59 DEBUG Container status: {"Config":{"Image":"alpine","Labels":{"com.docker.compose.config-hash":"5acf6e601c359da817d30c3ceae17cbd1ae810512d8a803dae30d67046f0a927","com.docker.compose.container-number":"1","com.docker.compose.oneoff":"False","com.docker.compose.project":"elastic-package-service","com.docker.compose.service":"cisco-logfile","com.docker.compose.version":"1.24.1"}},"ID":"b97cf43f2f51f47a5adbe975bc7ce1bd88673a0762854c6227e09a2d281ed8b5","State":{"Status":"exited","ExitCode":0,"Health":null}}
2023/06/05 14:20:59 DEBUG Container status: {"Config":{"Image":"docker.elastic.co/observability/stream:v0.10.0","Labels":{"BRANCH_NAME":"v0.10.0","GIT_SHA":"2a076c9b1acdf1c35b5f5c2f8c23904c7c2c441a","GO_VERSION":"1.19.5","TIMESTAMP":"2023-01-30_11:29","com.docker.compose.config-hash":"8e2aa509ba163173b8d522a04bf4fa27b790295ae9dff326e31d8d7fbbe6ca19","com.docker.compose.container-number":"1","com.docker.compose.oneoff":"False","com.docker.compose.project":"elastic-package-service","com.docker.compose.service":"cisco-nexus-tcp","com.docker.compose.version":"1.24.1"}},"ID":"f3f875637a4d5f1fb8249d2f0b0db8f209def14a9894a9c466cc3357f2e6b349","State":{"Status":"running","ExitCode":0,"Health":null}}
2023/06/05 14:20:59 DEBUG Container status: {"Config":{"Image":"docker.elastic.co/observability/stream:v0.10.0","Labels":{"BRANCH_NAME":"v0.10.0","GIT_SHA":"2a076c9b1acdf1c35b5f5c2f8c23904c7c2c441a","GO_VERSION":"1.19.5","TIMESTAMP":"2023-01-30_11:29","com.docker.compose.config-hash":"a9e53da2fd789447a7f530d7ef34ef8e45aa65814d2693ea9b48b9fc8db9339c","com.docker.compose.container-number":"1","com.docker.compose.oneoff":"False","com.docker.compose.project":"elastic-package-service","com.docker.compose.service":"cisco-nexus-tls","com.docker.compose.version":"1.24.1"}},"ID":"207b07937bf226fa229016c83c3ac94f5497d85a64d1139dd76a306e5d18ef2e","State":{"Status":"running","ExitCode":0,"Health":null}}
2023/06/05 14:20:59 DEBUG Container status: {"Config":{"Image":"docker.elastic.co/observability/stream:v0.10.0","Labels":{"BRANCH_NAME":"v0.10.0","GIT_SHA":"2a076c9b1acdf1c35b5f5c2f8c23904c7c2c441a","GO_VERSION":"1.19.5","TIMESTAMP":"2023-01-30_11:29","com.docker.compose.config-hash":"f58fe45c634e24310c2ed729d1cee92cca0ec5d484afe1d9c20d8b98ae1d3e38","com.docker.compose.container-number":"1","com.docker.compose.oneoff":"False","com.docker.compose.project":"elastic-package-service","com.docker.compose.service":"cisco-nexus-udp","com.docker.compose.version":"1.24.1"}},"ID":"ff81371af2cd4101d0eab3db17d1ddc9e5c09a06e6ca2861111f03ced7c9afdd","State":{"Status":"running","ExitCode":0,"Health":null}}
2023/06/05 14:20:59 DEBUG run command: /usr/bin/docker network connect elastic-package-stack_default elastic-package-service_cisco-nexus-tcp_1
2023/06/05 14:20:59 DEBUG adding service container elastic-package-service_cisco-nexus-tcp_1 internal ports to context
2023/06/05 14:20:59 DEBUG running command: /usr/local/bin/docker-compose -f /integrations/packages/cisco_nexus/_dev/deploy/docker/docker-compose.yml -p elastic-package-service config
2023/06/05 14:20:59 DEBUG creating test policy...
2023/06/05 14:20:59 DEBUG POST https://127.0.0.1:5601/api/fleet/agent_policies
2023/06/05 14:21:03 DEBUG adding package data stream to test policy...
2023/06/05 14:21:03 DEBUG POST https://127.0.0.1:5601/api/fleet/package_policies
2023/06/05 14:21:05 DEBUG deleting old data in data stream...
2023/06/05 14:21:05 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:21:05 DEBUG GET https://127.0.0.1:5601/api/fleet/agents
2023/06/05 14:21:05 DEBUG filter agents using criteria: NamePrefix=docker-fleet-agent
2023/06/05 14:21:05 DEBUG found 1 enrolled agent(s)
2023/06/05 14:21:05 DEBUG GET https://127.0.0.1:5601/api/fleet/agent_policies/17fbbac0-037e-11ee-9249-7faa74d5f7a0
2023/06/05 14:21:05 DEBUG assigning package data stream to agent...
2023/06/05 14:21:05 DEBUG PUT https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336/reassign
2023/06/05 14:21:06 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:21:06 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"17fbbac0-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:21:06 DEBUG Wait until the policy (ID: 17fbbac0-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:21:08 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:21:08 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"17fbbac0-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:21:08 DEBUG Wait until the policy (ID: 17fbbac0-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:21:10 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:21:10 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"17fbbac0-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:21:10 DEBUG Wait until the policy (ID: 17fbbac0-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:21:12 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:21:12 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"17fbbac0-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:21:12 DEBUG Wait until the policy (ID: 17fbbac0-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:21:14 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:21:15 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"17fbbac0-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:21:15 DEBUG Wait until the policy (ID: 17fbbac0-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:21:17 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:21:17 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"17fbbac0-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:21:17 DEBUG Wait until the policy (ID: 17fbbac0-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:21:19 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:21:19 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"17fbbac0-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:21:19 DEBUG Wait until the policy (ID: 17fbbac0-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:21:21 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:21:21 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"17fbbac0-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:21:21 DEBUG Wait until the policy (ID: 17fbbac0-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:21:23 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:21:23 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"17fbbac0-037e-11ee-9249-7faa74d5f7a0","policy_revision":2,"local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:21:23 DEBUG Policy revision assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:21:23 DEBUG running command: /usr/local/bin/docker-compose version --short
2023/06/05 14:21:23 DEBUG Determined Docker Compose version: 1.24.1, the tool will use Compose V1
2023/06/05 14:21:23 DEBUG running command: /usr/local/bin/docker-compose -f /integrations/packages/cisco_nexus/_dev/deploy/docker/docker-compose.yml -p elastic-package-service kill -s SIGHUP cisco-nexus-tcp
Killing elastic-package-service_cisco-nexus-tcp_1 ... done
2023/06/05 14:21:24 DEBUG checking for expected data in data stream...
2023/06/05 14:21:24 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:21:25 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:21:26 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:21:27 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:21:28 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:21:29 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:21:30 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:21:31 DEBUG found 69 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:21:31 DEBUG reassigning original policy back to agent...
2023/06/05 14:21:31 DEBUG PUT https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336/reassign
2023/06/05 14:21:33 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:21:33 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"elastic-agent-managed-ep","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:21:33 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 3) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:21:35 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:21:35 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"elastic-agent-managed-ep","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:21:35 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 3) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:21:37 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:21:37 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"elastic-agent-managed-ep","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:21:37 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 3) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:21:39 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:21:39 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"elastic-agent-managed-ep","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:21:39 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 3) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:21:41 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:21:42 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"elastic-agent-managed-ep","policy_revision":3,"local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:21:42 DEBUG Policy revision assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:21:42 DEBUG deleting test policy...
2023/06/05 14:21:42 DEBUG POST https://127.0.0.1:5601/api/fleet/agent_policies/delete
2023/06/05 14:21:45 DEBUG tearing down service...
2023/06/05 14:21:45 DEBUG tearing down service using Docker Compose runner
2023/06/05 14:21:45 DEBUG running command: /usr/local/bin/docker-compose version --short
2023/06/05 14:21:46 DEBUG Determined Docker Compose version: 1.24.1, the tool will use Compose V1
2023/06/05 14:21:46 DEBUG running command: /usr/local/bin/docker-compose -f /integrations/packages/cisco_nexus/_dev/deploy/docker/docker-compose.yml -p elastic-package-service logs
2023/06/05 14:21:47  INFO Write container logs to file: /integrations/build/container-logs/cisco-nexus-tcp-1685955107034400603.log
2023/06/05 14:21:47 DEBUG running command: /usr/local/bin/docker-compose -f /integrations/packages/cisco_nexus/_dev/deploy/docker/docker-compose.yml -p elastic-package-service down --volumes
Stopping elastic-package-service_cisco-nexus-tls_1 ... done
Stopping elastic-package-service_cisco-nexus-udp_1 ... done
Removing elastic-package-service_cisco-nexus-tcp_1 ... done
Removing elastic-package-service_cisco-nexus-tls_1 ... done
Removing elastic-package-service_cisco-logfile_1   ... done
Removing elastic-package-service_cisco-nexus-udp_1 ... done
Removing network elastic-package-service_default
2023/06/05 14:21:48 DEBUG deleting data in data stream...
2023/06/05 14:21:48 DEBUG running test with configuration 'tls'
2023/06/05 14:21:48 DEBUG setting up service...
2023/06/05 14:21:48 DEBUG setting up service using Docker Compose service deployer
2023/06/05 14:21:48 DEBUG running command: /usr/local/bin/docker-compose version --short
2023/06/05 14:21:48 DEBUG Determined Docker Compose version: 1.24.1, the tool will use Compose V1
2023/06/05 14:21:48 DEBUG output command: /usr/bin/docker network inspect elastic-package-stack_default
2023/06/05 14:21:48 DEBUG running command: /usr/local/bin/docker-compose -f /integrations/packages/cisco_nexus/_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_cisco-nexus-udp_1 ... done
Creating elastic-package-service_cisco-logfile_1   ... done
Creating elastic-package-service_cisco-nexus-tcp_1 ... done
Creating elastic-package-service_cisco-nexus-tls_1 ... done
2023/06/05 14:21:50 DEBUG running command: /usr/local/bin/docker-compose -f /integrations/packages/cisco_nexus/_dev/deploy/docker/docker-compose.yml -p elastic-package-service ps -q
2023/06/05 14:21:51 DEBUG Wait for healthy containers: 85cbddd874b971c69f3be0c17d6ed966ca578f8991bfe1e3165a9e925da51959,2cee9e0d547512df7e3fe7c5d514cb61ea3931770fc759fe75ab36f5fc4ee196,fe44116f54af87f76d47ebb0197773e4bd7261285186d9dfbc58ecc19593af29,95df58e1ea9d897e8a1f4966c1e9a57d9e2ee3bff8096e6d7c4c16e738a952c5
2023/06/05 14:21:51 DEBUG output command: /usr/bin/docker inspect 85cbddd874b971c69f3be0c17d6ed966ca578f8991bfe1e3165a9e925da51959 2cee9e0d547512df7e3fe7c5d514cb61ea3931770fc759fe75ab36f5fc4ee196 fe44116f54af87f76d47ebb0197773e4bd7261285186d9dfbc58ecc19593af29 95df58e1ea9d897e8a1f4966c1e9a57d9e2ee3bff8096e6d7c4c16e738a952c5
2023/06/05 14:21:51 DEBUG Container status: {"Config":{"Image":"alpine","Labels":{"com.docker.compose.config-hash":"5acf6e601c359da817d30c3ceae17cbd1ae810512d8a803dae30d67046f0a927","com.docker.compose.container-number":"1","com.docker.compose.oneoff":"False","com.docker.compose.project":"elastic-package-service","com.docker.compose.service":"cisco-logfile","com.docker.compose.version":"1.24.1"}},"ID":"85cbddd874b971c69f3be0c17d6ed966ca578f8991bfe1e3165a9e925da51959","State":{"Status":"exited","ExitCode":0,"Health":null}}
2023/06/05 14:21:51 DEBUG Container status: {"Config":{"Image":"docker.elastic.co/observability/stream:v0.10.0","Labels":{"BRANCH_NAME":"v0.10.0","GIT_SHA":"2a076c9b1acdf1c35b5f5c2f8c23904c7c2c441a","GO_VERSION":"1.19.5","TIMESTAMP":"2023-01-30_11:29","com.docker.compose.config-hash":"8e2aa509ba163173b8d522a04bf4fa27b790295ae9dff326e31d8d7fbbe6ca19","com.docker.compose.container-number":"1","com.docker.compose.oneoff":"False","com.docker.compose.project":"elastic-package-service","com.docker.compose.service":"cisco-nexus-tcp","com.docker.compose.version":"1.24.1"}},"ID":"2cee9e0d547512df7e3fe7c5d514cb61ea3931770fc759fe75ab36f5fc4ee196","State":{"Status":"running","ExitCode":0,"Health":null}}
2023/06/05 14:21:51 DEBUG Container status: {"Config":{"Image":"docker.elastic.co/observability/stream:v0.10.0","Labels":{"BRANCH_NAME":"v0.10.0","GIT_SHA":"2a076c9b1acdf1c35b5f5c2f8c23904c7c2c441a","GO_VERSION":"1.19.5","TIMESTAMP":"2023-01-30_11:29","com.docker.compose.config-hash":"a9e53da2fd789447a7f530d7ef34ef8e45aa65814d2693ea9b48b9fc8db9339c","com.docker.compose.container-number":"1","com.docker.compose.oneoff":"False","com.docker.compose.project":"elastic-package-service","com.docker.compose.service":"cisco-nexus-tls","com.docker.compose.version":"1.24.1"}},"ID":"fe44116f54af87f76d47ebb0197773e4bd7261285186d9dfbc58ecc19593af29","State":{"Status":"running","ExitCode":0,"Health":null}}
2023/06/05 14:21:51 DEBUG Container status: {"Config":{"Image":"docker.elastic.co/observability/stream:v0.10.0","Labels":{"BRANCH_NAME":"v0.10.0","GIT_SHA":"2a076c9b1acdf1c35b5f5c2f8c23904c7c2c441a","GO_VERSION":"1.19.5","TIMESTAMP":"2023-01-30_11:29","com.docker.compose.config-hash":"f58fe45c634e24310c2ed729d1cee92cca0ec5d484afe1d9c20d8b98ae1d3e38","com.docker.compose.container-number":"1","com.docker.compose.oneoff":"False","com.docker.compose.project":"elastic-package-service","com.docker.compose.service":"cisco-nexus-udp","com.docker.compose.version":"1.24.1"}},"ID":"95df58e1ea9d897e8a1f4966c1e9a57d9e2ee3bff8096e6d7c4c16e738a952c5","State":{"Status":"running","ExitCode":0,"Health":null}}
2023/06/05 14:21:51 DEBUG run command: /usr/bin/docker network connect elastic-package-stack_default elastic-package-service_cisco-nexus-tls_1
2023/06/05 14:21:51 DEBUG adding service container elastic-package-service_cisco-nexus-tls_1 internal ports to context
2023/06/05 14:21:51 DEBUG running command: /usr/local/bin/docker-compose -f /integrations/packages/cisco_nexus/_dev/deploy/docker/docker-compose.yml -p elastic-package-service config
2023/06/05 14:21:51 DEBUG creating test policy...
2023/06/05 14:21:51 DEBUG POST https://127.0.0.1:5601/api/fleet/agent_policies
2023/06/05 14:21:55 DEBUG adding package data stream to test policy...
2023/06/05 14:21:55 DEBUG POST https://127.0.0.1:5601/api/fleet/package_policies
2023/06/05 14:21:57 DEBUG deleting old data in data stream...
2023/06/05 14:21:57 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:21:57 DEBUG GET https://127.0.0.1:5601/api/fleet/agents
2023/06/05 14:21:57 DEBUG filter agents using criteria: NamePrefix=docker-fleet-agent
2023/06/05 14:21:57 DEBUG found 1 enrolled agent(s)
2023/06/05 14:21:57 DEBUG GET https://127.0.0.1:5601/api/fleet/agent_policies/36f802d0-037e-11ee-9249-7faa74d5f7a0
2023/06/05 14:21:57 DEBUG assigning package data stream to agent...
2023/06/05 14:21:57 DEBUG PUT https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336/reassign
2023/06/05 14:21:58 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:21:58 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"36f802d0-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:21:58 DEBUG Wait until the policy (ID: 36f802d0-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:22:00 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:22:00 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"36f802d0-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:22:00 DEBUG Wait until the policy (ID: 36f802d0-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:22:02 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:22:02 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"36f802d0-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:22:02 DEBUG Wait until the policy (ID: 36f802d0-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:22:04 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:22:04 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"36f802d0-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:22:04 DEBUG Wait until the policy (ID: 36f802d0-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:22:06 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:22:07 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"36f802d0-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:22:07 DEBUG Wait until the policy (ID: 36f802d0-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:22:09 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:22:09 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"36f802d0-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:22:09 DEBUG Wait until the policy (ID: 36f802d0-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:22:11 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:22:11 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"36f802d0-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:22:11 DEBUG Wait until the policy (ID: 36f802d0-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:22:13 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:22:13 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"36f802d0-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:22:13 DEBUG Wait until the policy (ID: 36f802d0-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:22:15 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:22:15 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"36f802d0-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:22:15 DEBUG Wait until the policy (ID: 36f802d0-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:22:17 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:22:17 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"36f802d0-037e-11ee-9249-7faa74d5f7a0","policy_revision":2,"local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:22:17 DEBUG Policy revision assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:22:17 DEBUG running command: /usr/local/bin/docker-compose version --short
2023/06/05 14:22:18 DEBUG Determined Docker Compose version: 1.24.1, the tool will use Compose V1
2023/06/05 14:22:18 DEBUG running command: /usr/local/bin/docker-compose -f /integrations/packages/cisco_nexus/_dev/deploy/docker/docker-compose.yml -p elastic-package-service kill -s SIGHUP cisco-nexus-tls
Killing elastic-package-service_cisco-nexus-tls_1 ... done
2023/06/05 14:22:18 DEBUG checking for expected data in data stream...
2023/06/05 14:22:18 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:22:19 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:22:20 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:22:21 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:22:22 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:22:23 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:22:24 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:22:25 DEBUG found 69 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:22:25 DEBUG reassigning original policy back to agent...
2023/06/05 14:22:25 DEBUG PUT https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336/reassign
2023/06/05 14:22:26 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:22:26 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"elastic-agent-managed-ep","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:22:26 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 3) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:22:28 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:22:28 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"elastic-agent-managed-ep","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:22:28 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 3) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:22:30 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:22:30 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"elastic-agent-managed-ep","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:22:30 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 3) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:22:32 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:22:33 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"elastic-agent-managed-ep","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:22:33 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 3) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:22:35 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:22:35 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"elastic-agent-managed-ep","policy_revision":3,"local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:22:35 DEBUG Policy revision assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:22:35 DEBUG deleting test policy...
2023/06/05 14:22:35 DEBUG POST https://127.0.0.1:5601/api/fleet/agent_policies/delete
2023/06/05 14:22:38 DEBUG tearing down service...
2023/06/05 14:22:38 DEBUG tearing down service using Docker Compose runner
2023/06/05 14:22:38 DEBUG running command: /usr/local/bin/docker-compose version --short
2023/06/05 14:22:39 DEBUG Determined Docker Compose version: 1.24.1, the tool will use Compose V1
2023/06/05 14:22:39 DEBUG running command: /usr/local/bin/docker-compose -f /integrations/packages/cisco_nexus/_dev/deploy/docker/docker-compose.yml -p elastic-package-service logs
2023/06/05 14:22:40  INFO Write container logs to file: /integrations/build/container-logs/cisco-nexus-tls-1685955160024939726.log
2023/06/05 14:22:40 DEBUG running command: /usr/local/bin/docker-compose -f /integrations/packages/cisco_nexus/_dev/deploy/docker/docker-compose.yml -p elastic-package-service down --volumes
Stopping elastic-package-service_cisco-nexus-tcp_1 ... done
Stopping elastic-package-service_cisco-nexus-udp_1 ... done
Removing elastic-package-service_cisco-nexus-tls_1 ... done
Removing elastic-package-service_cisco-nexus-tcp_1 ... done
Removing elastic-package-service_cisco-logfile_1   ... done
Removing elastic-package-service_cisco-nexus-udp_1 ... done
Removing network elastic-package-service_default
2023/06/05 14:22:41 DEBUG deleting data in data stream...
2023/06/05 14:22:41 DEBUG running test with configuration 'udp'
2023/06/05 14:22:41 DEBUG setting up service...
2023/06/05 14:22:41 DEBUG setting up service using Docker Compose service deployer
2023/06/05 14:22:41 DEBUG running command: /usr/local/bin/docker-compose version --short
2023/06/05 14:22:41 DEBUG Determined Docker Compose version: 1.24.1, the tool will use Compose V1
2023/06/05 14:22:41 DEBUG output command: /usr/bin/docker network inspect elastic-package-stack_default
2023/06/05 14:22:41 DEBUG running command: /usr/local/bin/docker-compose -f /integrations/packages/cisco_nexus/_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_cisco-logfile_1   ... done
Creating elastic-package-service_cisco-nexus-tcp_1 ... done
Creating elastic-package-service_cisco-nexus-udp_1 ... done
Creating elastic-package-service_cisco-nexus-tls_1 ... done
2023/06/05 14:22:43 DEBUG running command: /usr/local/bin/docker-compose -f /integrations/packages/cisco_nexus/_dev/deploy/docker/docker-compose.yml -p elastic-package-service ps -q
2023/06/05 14:22:44 DEBUG Wait for healthy containers: 305a4306043b48a39700b5ec38c8a0e4813f3cbe293d49843bb27732e935f0c9,eb827ce6e3e6df39af2da410ed35af418c4616dc6c2e011116f48b9f2ee195cb,0e46b823975357d040627409ea2ea022fdb2c27fee29114310f6b80efde1b431,761a412ddea76adfb7c9f03c83a48f98935a9c189ac5c330b537624e189c3c6a
2023/06/05 14:22:44 DEBUG output command: /usr/bin/docker inspect 305a4306043b48a39700b5ec38c8a0e4813f3cbe293d49843bb27732e935f0c9 eb827ce6e3e6df39af2da410ed35af418c4616dc6c2e011116f48b9f2ee195cb 0e46b823975357d040627409ea2ea022fdb2c27fee29114310f6b80efde1b431 761a412ddea76adfb7c9f03c83a48f98935a9c189ac5c330b537624e189c3c6a
2023/06/05 14:22:44 DEBUG Container status: {"Config":{"Image":"alpine","Labels":{"com.docker.compose.config-hash":"5acf6e601c359da817d30c3ceae17cbd1ae810512d8a803dae30d67046f0a927","com.docker.compose.container-number":"1","com.docker.compose.oneoff":"False","com.docker.compose.project":"elastic-package-service","com.docker.compose.service":"cisco-logfile","com.docker.compose.version":"1.24.1"}},"ID":"305a4306043b48a39700b5ec38c8a0e4813f3cbe293d49843bb27732e935f0c9","State":{"Status":"exited","ExitCode":0,"Health":null}}
2023/06/05 14:22:44 DEBUG Container status: {"Config":{"Image":"docker.elastic.co/observability/stream:v0.10.0","Labels":{"BRANCH_NAME":"v0.10.0","GIT_SHA":"2a076c9b1acdf1c35b5f5c2f8c23904c7c2c441a","GO_VERSION":"1.19.5","TIMESTAMP":"2023-01-30_11:29","com.docker.compose.config-hash":"8e2aa509ba163173b8d522a04bf4fa27b790295ae9dff326e31d8d7fbbe6ca19","com.docker.compose.container-number":"1","com.docker.compose.oneoff":"False","com.docker.compose.project":"elastic-package-service","com.docker.compose.service":"cisco-nexus-tcp","com.docker.compose.version":"1.24.1"}},"ID":"eb827ce6e3e6df39af2da410ed35af418c4616dc6c2e011116f48b9f2ee195cb","State":{"Status":"running","ExitCode":0,"Health":null}}
2023/06/05 14:22:44 DEBUG Container status: {"Config":{"Image":"docker.elastic.co/observability/stream:v0.10.0","Labels":{"BRANCH_NAME":"v0.10.0","GIT_SHA":"2a076c9b1acdf1c35b5f5c2f8c23904c7c2c441a","GO_VERSION":"1.19.5","TIMESTAMP":"2023-01-30_11:29","com.docker.compose.config-hash":"a9e53da2fd789447a7f530d7ef34ef8e45aa65814d2693ea9b48b9fc8db9339c","com.docker.compose.container-number":"1","com.docker.compose.oneoff":"False","com.docker.compose.project":"elastic-package-service","com.docker.compose.service":"cisco-nexus-tls","com.docker.compose.version":"1.24.1"}},"ID":"0e46b823975357d040627409ea2ea022fdb2c27fee29114310f6b80efde1b431","State":{"Status":"running","ExitCode":0,"Health":null}}
2023/06/05 14:22:44 DEBUG Container status: {"Config":{"Image":"docker.elastic.co/observability/stream:v0.10.0","Labels":{"BRANCH_NAME":"v0.10.0","GIT_SHA":"2a076c9b1acdf1c35b5f5c2f8c23904c7c2c441a","GO_VERSION":"1.19.5","TIMESTAMP":"2023-01-30_11:29","com.docker.compose.config-hash":"f58fe45c634e24310c2ed729d1cee92cca0ec5d484afe1d9c20d8b98ae1d3e38","com.docker.compose.container-number":"1","com.docker.compose.oneoff":"False","com.docker.compose.project":"elastic-package-service","com.docker.compose.service":"cisco-nexus-udp","com.docker.compose.version":"1.24.1"}},"ID":"761a412ddea76adfb7c9f03c83a48f98935a9c189ac5c330b537624e189c3c6a","State":{"Status":"running","ExitCode":0,"Health":null}}
2023/06/05 14:22:44 DEBUG run command: /usr/bin/docker network connect elastic-package-stack_default elastic-package-service_cisco-nexus-udp_1
2023/06/05 14:22:44 DEBUG adding service container elastic-package-service_cisco-nexus-udp_1 internal ports to context
2023/06/05 14:22:44 DEBUG running command: /usr/local/bin/docker-compose -f /integrations/packages/cisco_nexus/_dev/deploy/docker/docker-compose.yml -p elastic-package-service config
2023/06/05 14:22:44 DEBUG creating test policy...
2023/06/05 14:22:44 DEBUG POST https://127.0.0.1:5601/api/fleet/agent_policies
2023/06/05 14:22:48 DEBUG adding package data stream to test policy...
2023/06/05 14:22:48 DEBUG POST https://127.0.0.1:5601/api/fleet/package_policies
2023/06/05 14:22:50 DEBUG deleting old data in data stream...
2023/06/05 14:22:50 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:22:50 DEBUG GET https://127.0.0.1:5601/api/fleet/agents
2023/06/05 14:22:50 DEBUG filter agents using criteria: NamePrefix=docker-fleet-agent
2023/06/05 14:22:50 DEBUG found 1 enrolled agent(s)
2023/06/05 14:22:50 DEBUG GET https://127.0.0.1:5601/api/fleet/agent_policies/569ff430-037e-11ee-9249-7faa74d5f7a0
2023/06/05 14:22:50 DEBUG assigning package data stream to agent...
2023/06/05 14:22:50 DEBUG PUT https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336/reassign
2023/06/05 14:22:51 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:22:51 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"569ff430-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:22:51 DEBUG Wait until the policy (ID: 569ff430-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:22:53 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:22:53 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"569ff430-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:22:53 DEBUG Wait until the policy (ID: 569ff430-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:22:55 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:22:55 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"569ff430-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:22:55 DEBUG Wait until the policy (ID: 569ff430-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:22:57 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:22:58 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"569ff430-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:22:58 DEBUG Wait until the policy (ID: 569ff430-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:23:00 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:23:00 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"569ff430-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:23:00 DEBUG Wait until the policy (ID: 569ff430-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:23:02 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:23:02 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"569ff430-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:23:02 DEBUG Wait until the policy (ID: 569ff430-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:23:04 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:23:04 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"569ff430-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:23:04 DEBUG Wait until the policy (ID: 569ff430-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:23:06 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:23:06 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"569ff430-037e-11ee-9249-7faa74d5f7a0","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:23:06 DEBUG Wait until the policy (ID: 569ff430-037e-11ee-9249-7faa74d5f7a0, revision: 2) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:23:08 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:23:08 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"569ff430-037e-11ee-9249-7faa74d5f7a0","policy_revision":2,"local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:23:08 DEBUG Policy revision assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:23:08 DEBUG running command: /usr/local/bin/docker-compose version --short
2023/06/05 14:23:08 DEBUG Determined Docker Compose version: 1.24.1, the tool will use Compose V1
2023/06/05 14:23:08 DEBUG running command: /usr/local/bin/docker-compose -f /integrations/packages/cisco_nexus/_dev/deploy/docker/docker-compose.yml -p elastic-package-service kill -s SIGHUP cisco-nexus-udp
Killing elastic-package-service_cisco-nexus-udp_1 ... done
2023/06/05 14:23:09 DEBUG checking for expected data in data stream...
2023/06/05 14:23:09 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:23:10 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:23:11 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:23:12 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:23:13 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:23:14 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:23:15 DEBUG found 0 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:23:16 DEBUG found 69 hits in logs-cisco_nexus.log-ep data stream
2023/06/05 14:23:16 DEBUG reassigning original policy back to agent...
2023/06/05 14:23:16 DEBUG PUT https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336/reassign
2023/06/05 14:23:17 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:23:17 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"elastic-agent-managed-ep","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:23:17 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 3) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:23:19 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:23:19 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"elastic-agent-managed-ep","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:23:19 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 3) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:23:21 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:23:21 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"elastic-agent-managed-ep","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:23:21 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 3) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:23:23 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:23:24 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"elastic-agent-managed-ep","local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:23:24 DEBUG Wait until the policy (ID: elastic-agent-managed-ep, revision: 3) is assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:23:26 DEBUG GET https://127.0.0.1:5601/api/fleet/agents/4a2b0d36-f880-4a3e-9009-96f98c349336
2023/06/05 14:23:26 DEBUG Agent data: {"id":"4a2b0d36-f880-4a3e-9009-96f98c349336","policy_id":"elastic-agent-managed-ep","policy_revision":3,"local_metadata":{"host":{"name":"docker-fleet-agent"}}}
2023/06/05 14:23:26 DEBUG Policy revision assigned to the agent (ID: 4a2b0d36-f880-4a3e-9009-96f98c349336)...
2023/06/05 14:23:26 DEBUG deleting test policy...
2023/06/05 14:23:26 DEBUG POST https://127.0.0.1:5601/api/fleet/agent_policies/delete
2023/06/05 14:23:29 DEBUG tearing down service...
2023/06/05 14:23:29 DEBUG tearing down service using Docker Compose runner
2023/06/05 14:23:29 DEBUG running command: /usr/local/bin/docker-compose version --short
2023/06/05 14:23:30 DEBUG Determined Docker Compose version: 1.24.1, the tool will use Compose V1
2023/06/05 14:23:30 DEBUG running command: /usr/local/bin/docker-compose -f /integrations/packages/cisco_nexus/_dev/deploy/docker/docker-compose.yml -p elastic-package-service logs
2023/06/05 14:23:31  INFO Write container logs to file: /integrations/build/container-logs/cisco-nexus-udp-1685955211076491617.log
2023/06/05 14:23:31 DEBUG running command: /usr/local/bin/docker-compose -f /integrations/packages/cisco_nexus/_dev/deploy/docker/docker-compose.yml -p elastic-package-service down --volumes
Stopping elastic-package-service_cisco-nexus-tls_1 ... done
Stopping elastic-package-service_cisco-nexus-tcp_1 ... done
Removing elastic-package-service_cisco-nexus-tls_1 ... done
Removing elastic-package-service_cisco-nexus-udp_1 ... done
Removing elastic-package-service_cisco-nexus-tcp_1 ... done
Removing elastic-package-service_cisco-logfile_1   ... done
Removing network elastic-package-service_default
2023/06/05 14:23:32 DEBUG deleting data in data stream...
--- Test results for package: cisco_nexus - START ---
╭─────────────┬─────────────┬───────────┬───────────┬────────┬───────────────╮
│ PACKAGE     │ DATA STREAM │ TEST TYPE │ TEST NAME │ RESULT │  TIME ELAPSED │
├─────────────┼─────────────┼───────────┼───────────┼────────┼───────────────┤
│ cisco_nexus │ log         │ system    │ logfile   │ PASS   │ 23.668973027s │
│ cisco_nexus │ log         │ system    │ tcp       │ PASS   │ 35.876865484s │
│ cisco_nexus │ log         │ system    │ tls       │ PASS   │  37.86830237s │
│ cisco_nexus │ log         │ system    │ udp       │ PASS   │ 35.815969362s │
╰─────────────┴─────────────┴───────────┴───────────┴────────┴───────────────╯
--- Test results for package: cisco_nexus - END   ---
Done

@piyush-elastic piyush-elastic requested a review from a team as a code owner June 5, 2023 08:55
@elasticmachine
Copy link

elasticmachine commented Jun 5, 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-06-08T08:38:30.935+0000

  • Duration: 15 min 30 sec

Test stats 🧪

Test Results
Failed 0
Passed 10
Skipped 0
Total 10

🤖 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

elasticmachine commented Jun 5, 2023

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (1/1) 💚
Files 100.0% (2/2) 💚
Classes 100.0% (2/2) 💚
Methods 100.0% (20/20) 💚
Lines 82.904% (451/544) 👎 -7.917
Conditionals 100.0% (0/0) 💚

- [Configuring Syslog Servers](https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/6-x/system_management/configuration/guide/b_Cisco_Nexus_9000_Series_NX-OS_System_Management_Configuration_Guide/sm_5syslog.html#task_5793349949823830091)

**NOTE:**
- Configuration steps can vary from switch to switch we have mentioned steps for the configuration of the 9K series of switches.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Configuration steps can vary from switch to switch we have mentioned steps for the configuration of the 9K series of switches.
- Configuration steps can vary from switch to switch. We have described steps for the configuration of the 9K series of switches.

packages/cisco_nexus/data_stream/log/fields/fields.yml Outdated Show resolved Hide resolved
@piyush-elastic piyush-elastic requested a review from efd6 June 8, 2023 08:57
@jamiehynds
Copy link

@efd6 anything outstanding issues with this PR on your end, or are we good to merge?

@efd6 efd6 merged commit 099765b into elastic:main Jun 13, 2023
3 checks passed
@elasticmachine
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cisco Nexus Integration issues
4 participants