Skip to content

[cisco] Make cisco package GA with v1.0.0#1220

Closed
marc-gr wants to merge 1 commit intoelastic:masterfrom
marc-gr:cisco-ga
Closed

[cisco] Make cisco package GA with v1.0.0#1220
marc-gr wants to merge 1 commit intoelastic:masterfrom
marc-gr:cisco-ga

Conversation

@marc-gr
Copy link
Copy Markdown
Contributor

@marc-gr marc-gr commented Jun 28, 2021

What does this PR do?

Makes package GA with v1.0.0

@elasticmachine
Copy link
Copy Markdown

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

@elasticmachine
Copy link
Copy Markdown

elasticmachine commented Jun 28, 2021

💔 Build Failed

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

Expand to view the summary

Build stats

  • Build Cause: Branch indexing

  • Start Time: 2021-06-28T22:28:27.793+0000

  • Duration: 20 min 52 sec

  • Commit: 954717b

Test stats 🧪

Test Results
Failed 0
Passed 27
Skipped 0
Total 27

Trends 🧪

Image of Build Times

Image of Tests

Steps errors 1

Expand to view the steps failures

Test integration: cisco
  • Took 10 min 42 sec . View more details on here
  • Description: eval "$(../../build/elastic-package stack shellinit)" ../../build/elastic-package test -v --report-format xUnit --report-output file

Log output

Expand to view the last 100 lines of log output

[2021-06-28T22:47:02.184Z] 2021/06/28 22:47:01 DEBUG found 0 hits in logs-cisco.meraki-ep data stream
[2021-06-28T22:47:03.122Z] 2021/06/28 22:47:02 DEBUG found 100 hits in logs-cisco.meraki-ep data stream
[2021-06-28T22:47:41.873Z] 2021/06/28 22:47:37 DEBUG reassigning original policy back to agent...
[2021-06-28T22:47:41.873Z] 2021/06/28 22:47:37 DEBUG PUT http://127.0.0.1:5601/api/fleet/agents/915754e2-a1d9-461c-9b7e-9f763addf2e3/reassign
[2021-06-28T22:47:41.873Z] 2021/06/28 22:47:37 DEBUG GET http://127.0.0.1:5601/api/fleet/agents/915754e2-a1d9-461c-9b7e-9f763addf2e3
[2021-06-28T22:47:41.873Z] 2021/06/28 22:47:37 DEBUG Wait until the policy (ID: 76bd8010-d861-11eb-b60d-77b01f035dce, revision: 1) is assigned to the agent (ID: 915754e2-a1d9-461c-9b7e-9f763addf2e3)...
[2021-06-28T22:47:41.873Z] 2021/06/28 22:47:39 DEBUG GET http://127.0.0.1:5601/api/fleet/agents/915754e2-a1d9-461c-9b7e-9f763addf2e3
[2021-06-28T22:47:41.873Z] 2021/06/28 22:47:39 DEBUG Wait until the policy (ID: 76bd8010-d861-11eb-b60d-77b01f035dce, revision: 1) is assigned to the agent (ID: 915754e2-a1d9-461c-9b7e-9f763addf2e3)...
[2021-06-28T22:47:42.133Z] 2021/06/28 22:47:41 DEBUG GET http://127.0.0.1:5601/api/fleet/agents/915754e2-a1d9-461c-9b7e-9f763addf2e3
[2021-06-28T22:47:42.133Z] 2021/06/28 22:47:41 DEBUG Wait until the policy (ID: 76bd8010-d861-11eb-b60d-77b01f035dce, revision: 1) is assigned to the agent (ID: 915754e2-a1d9-461c-9b7e-9f763addf2e3)...
[2021-06-28T22:47:44.041Z] 2021/06/28 22:47:43 DEBUG GET http://127.0.0.1:5601/api/fleet/agents/915754e2-a1d9-461c-9b7e-9f763addf2e3
[2021-06-28T22:47:44.041Z] 2021/06/28 22:47:43 DEBUG Wait until the policy (ID: 76bd8010-d861-11eb-b60d-77b01f035dce, revision: 1) is assigned to the agent (ID: 915754e2-a1d9-461c-9b7e-9f763addf2e3)...
[2021-06-28T22:47:45.954Z] 2021/06/28 22:47:45 DEBUG GET http://127.0.0.1:5601/api/fleet/agents/915754e2-a1d9-461c-9b7e-9f763addf2e3
[2021-06-28T22:47:45.954Z] 2021/06/28 22:47:45 DEBUG Policy revision assigned to the agent (ID: 915754e2-a1d9-461c-9b7e-9f763addf2e3)...
[2021-06-28T22:47:45.954Z] 2021/06/28 22:47:45 DEBUG deleting test policy...
[2021-06-28T22:47:45.954Z] 2021/06/28 22:47:45 DEBUG POST http://127.0.0.1:5601/api/fleet/agent_policies/delete
[2021-06-28T22:47:50.163Z] 2021/06/28 22:47:49 DEBUG tearing down service...
[2021-06-28T22:47:50.163Z] 2021/06/28 22:47:49 DEBUG tearing down service using docker compose runner
[2021-06-28T22:47:50.163Z] 2021/06/28 22:47:49 DEBUG running command: /usr/local/bin/docker-compose -f /var/lib/jenkins/workspace/est-manager_integrations_PR-1220/src/github.com/elastic/integrations/packages/cisco/_dev/deploy/docker/docker-compose.yml -p elastic-package-service down
[2021-06-28T22:47:50.756Z] Stopping elastic-package-service_cisco-ftd-udp_1    ... 
[2021-06-28T22:47:50.756Z] Stopping elastic-package-service_cisco-nexus-tcp_1  ... 
[2021-06-28T22:47:50.756Z] Stopping elastic-package-service_cisco-nexus-udp_1  ... 
[2021-06-28T22:47:50.756Z] Stopping elastic-package-service_cisco-meraki-tcp_1 ... 
[2021-06-28T22:47:50.756Z] Stopping elastic-package-service_cisco-ios-udp_1    ... 
[2021-06-28T22:47:50.756Z] Stopping elastic-package-service_cisco-asa-udp_1    ... 
[2021-06-28T22:47:50.756Z] Stopping elastic-package-service_cisco-meraki-udp_1 ... 
[2021-06-28T22:47:52.158Z] 
Stopping elastic-package-service_cisco-ftd-udp_1    ... done

Stopping elastic-package-service_cisco-asa-udp_1    ... done

Stopping elastic-package-service_cisco-meraki-tcp_1 ... done

Stopping elastic-package-service_cisco-ios-udp_1    ... done

Stopping elastic-package-service_cisco-meraki-udp_1 ... done

Stopping elastic-package-service_cisco-nexus-tcp_1  ... done

Stopping elastic-package-service_cisco-nexus-udp_1  ... done
Removing elastic-package-service_cisco-ftd-udp_1    ... 
[2021-06-28T22:47:52.159Z] Removing elastic-package-service_cisco-nexus-tcp_1  ... 
[2021-06-28T22:47:52.159Z] Removing elastic-package-service_cisco-nexus-udp_1  ... 
[2021-06-28T22:47:52.159Z] Removing elastic-package-service_cisco-logfile_1    ... 
[2021-06-28T22:47:52.159Z] Removing elastic-package-service_cisco-meraki-tcp_1 ... 
[2021-06-28T22:47:52.159Z] Removing elastic-package-service_cisco-ios-udp_1    ... 
[2021-06-28T22:47:52.159Z] Removing elastic-package-service_cisco-asa-udp_1    ... 
[2021-06-28T22:47:52.159Z] Removing elastic-package-service_cisco-meraki-udp_1 ... 
[2021-06-28T22:47:52.159Z] 
Removing elastic-package-service_cisco-logfile_1    ... done

Removing elastic-package-service_cisco-meraki-tcp_1 ... done

Removing elastic-package-service_cisco-ftd-udp_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-asa-udp_1    ... done

Removing elastic-package-service_cisco-meraki-udp_1 ... done

Removing elastic-package-service_cisco-ios-udp_1    ... done
Removing network elastic-package-service_default
[2021-06-28T22:47:52.159Z] error while removing network: network elastic-package-service_default id 40acfbba121cd8dfedda245610fd812d2db756d0ec58f07dc5d1540b675a127b has active endpoints
[2021-06-28T22:47:52.423Z] 2021/06/28 22:47:52 DEBUG tearing down service...
[2021-06-28T22:47:52.423Z] 2021/06/28 22:47:52 DEBUG tearing down service using docker compose runner
[2021-06-28T22:47:52.423Z] 2021/06/28 22:47:52 DEBUG running command: /usr/local/bin/docker-compose -f /var/lib/jenkins/workspace/est-manager_integrations_PR-1220/src/github.com/elastic/integrations/packages/cisco/_dev/deploy/docker/docker-compose.yml -p elastic-package-service down
[2021-06-28T22:47:53.003Z] Removing network elastic-package-service_default
[2021-06-28T22:47:53.003Z] error while removing network: network elastic-package-service_default id 40acfbba121cd8dfedda245610fd812d2db756d0ec58f07dc5d1540b675a127b has active endpoints
[2021-06-28T22:47:53.003Z] Error: error running package system tests: could not complete test run and teardown test runner: failed to teardown runner: error tearing down service: could not shut down service using docker compose: running Docker Compose down command failed: exit status 1
[2021-06-28T22:47:53.114Z] Running in /var/lib/jenkins/workspace/est-manager_integrations_PR-1220/src/github.com/elastic/integrations
[2021-06-28T22:47:53.150Z] Archiving artifacts
[2021-06-28T22:47:53.540Z] Recording test results
[2021-06-28T22:47:53.973Z] [Checks API] No suitable checks publisher found.
[2021-06-28T22:47:54.271Z] + build/elastic-package stack dump -v --output build/elastic-stack-dump/latest/cisco
[2021-06-28T22:47:54.271Z] 2021/06/28 22:47:54  WARN CommitHash is undefined, in both /var/lib/jenkins/workspace/est-manager_integrations_PR-1220/.elastic-package/version and the compiled binary, config may be out of date.
[2021-06-28T22:47:54.271Z] 2021/06/28 22:47:54 DEBUG Enable verbose logging
[2021-06-28T22:47:54.271Z] 2021/06/28 22:47:54 DEBUG Dump Elastic stack data
[2021-06-28T22:47:54.271Z] 2021/06/28 22:47:54 DEBUG Dump stack logs
[2021-06-28T22:47:54.271Z] 2021/06/28 22:47:54 DEBUG Recreate the output location (path: build/elastic-stack-dump/latest/cisco)
[2021-06-28T22:47:54.272Z] 2021/06/28 22:47:54 DEBUG Dump stack logs for elasticsearch
[2021-06-28T22:47:54.272Z] 2021/06/28 22:47:54 DEBUG running command: /usr/local/bin/docker-compose -f /var/lib/jenkins/workspace/est-manager_integrations_PR-1220/.elastic-package/profiles/default/stack/snapshot.yml -p elastic-package-stack logs elasticsearch
[2021-06-28T22:47:55.236Z] 2021/06/28 22:47:55 DEBUG Dump stack logs for elastic-agent
[2021-06-28T22:47:55.236Z] 2021/06/28 22:47:55 DEBUG running command: /usr/local/bin/docker-compose -f /var/lib/jenkins/workspace/est-manager_integrations_PR-1220/.elastic-package/profiles/default/stack/snapshot.yml -p elastic-package-stack logs elastic-agent
[2021-06-28T22:47:56.189Z] 2021/06/28 22:47:56 DEBUG Dump stack logs for fleet-server
[2021-06-28T22:47:56.189Z] 2021/06/28 22:47:56 DEBUG running command: /usr/local/bin/docker-compose -f /var/lib/jenkins/workspace/est-manager_integrations_PR-1220/.elastic-package/profiles/default/stack/snapshot.yml -p elastic-package-stack logs fleet-server
[2021-06-28T22:47:57.140Z] 2021/06/28 22:47:56 DEBUG Dump stack logs for kibana
[2021-06-28T22:47:57.140Z] 2021/06/28 22:47:56 DEBUG running command: /usr/local/bin/docker-compose -f /var/lib/jenkins/workspace/est-manager_integrations_PR-1220/.elastic-package/profiles/default/stack/snapshot.yml -p elastic-package-stack logs kibana
[2021-06-28T22:47:58.089Z] 2021/06/28 22:47:57 DEBUG Dump stack logs for package-registry
[2021-06-28T22:47:58.090Z] 2021/06/28 22:47:57 DEBUG running command: /usr/local/bin/docker-compose -f /var/lib/jenkins/workspace/est-manager_integrations_PR-1220/.elastic-package/profiles/default/stack/snapshot.yml -p elastic-package-stack logs package-registry
[2021-06-28T22:47:59.478Z] Path to stack dump: build/elastic-stack-dump/latest/cisco
[2021-06-28T22:47:59.478Z] Done
[2021-06-28T22:47:59.503Z] Archiving artifacts
[2021-06-28T22:47:59.863Z] + build/elastic-package stack down -v
[2021-06-28T22:47:59.863Z] 2021/06/28 22:47:59  WARN CommitHash is undefined, in both /var/lib/jenkins/workspace/est-manager_integrations_PR-1220/.elastic-package/version and the compiled binary, config may be out of date.
[2021-06-28T22:47:59.863Z] 2021/06/28 22:47:59 DEBUG Enable verbose logging
[2021-06-28T22:47:59.863Z] Take down the Elastic stack
[2021-06-28T22:47:59.863Z] 2021/06/28 22:47:59 DEBUG running command: /usr/local/bin/docker-compose -f /var/lib/jenkins/workspace/est-manager_integrations_PR-1220/.elastic-package/profiles/default/stack/snapshot.yml -p elastic-package-stack down
[2021-06-28T22:48:00.434Z] The ELASTICSEARCH_IMAGE_REF variable is not set. Defaulting to a blank string.
[2021-06-28T22:48:00.434Z] The KIBANA_IMAGE_REF variable is not set. Defaulting to a blank string.
[2021-06-28T22:48:00.434Z] The STACK_PATH variable is not set. Defaulting to a blank string.
[2021-06-28T22:48:00.434Z] The PROFILE_NAME variable is not set. Defaulting to a blank string.
[2021-06-28T22:48:00.434Z] The ELASTIC_AGENT_IMAGE_REF variable is not set. Defaulting to a blank string.
[2021-06-28T22:48:00.434Z] Stopping elastic-package-stack_elastic-agent_1    ... 
[2021-06-28T22:48:00.434Z] Stopping elastic-package-stack_fleet-server_1     ... 
[2021-06-28T22:48:00.434Z] Stopping elastic-package-stack_kibana_1           ... 
[2021-06-28T22:48:00.434Z] Stopping elastic-package-stack_elasticsearch_1    ... 
[2021-06-28T22:48:00.434Z] Stopping elastic-package-stack_package-registry_1 ... 
[2021-06-28T22:48:17.986Z] 
Stopping elastic-package-stack_elastic-agent_1    ... done

Stopping elastic-package-stack_fleet-server_1     ... done

Stopping elastic-package-stack_kibana_1           ... done

Stopping elastic-package-stack_package-registry_1 ... done

Stopping elastic-package-stack_elasticsearch_1    ... done
Removing elastic-package-stack_elastic-agent_is_ready_1    ... 
[2021-06-28T22:48:17.986Z] Removing elastic-package-stack_elastic-agent_1             ... 
[2021-06-28T22:48:17.986Z] Removing elastic-package-stack_fleet-server_is_ready_1     ... 
[2021-06-28T22:48:17.986Z] Removing elastic-package-stack_kibana_is_ready_1           ... 
[2021-06-28T22:48:17.986Z] Removing elastic-package-stack_fleet-server_1              ... 
[2021-06-28T22:48:17.986Z] Removing elastic-package-stack_elasticsearch_is_ready_1    ... 
[2021-06-28T22:48:17.986Z] Removing elastic-package-stack_kibana_1                    ... 
[2021-06-28T22:48:17.986Z] Removing elastic-package-stack_package-registry_is_ready_1 ... 
[2021-06-28T22:48:17.986Z] Removing elastic-package-stack_elasticsearch_1             ... 
[2021-06-28T22:48:17.986Z] Removing elastic-package-stack_package-registry_1          ... 
[2021-06-28T22:48:17.986Z] 
Removing elastic-package-stack_kibana_is_ready_1           ... done

Removing elastic-package-stack_elastic-agent_is_ready_1    ... done

Removing elastic-package-stack_package-registry_1          ... done

Removing elastic-package-stack_kibana_1                    ... done

Removing elastic-package-stack_elasticsearch_is_ready_1    ... done

Removing elastic-package-stack_fleet-server_is_ready_1     ... done

Removing elastic-package-stack_package-registry_is_ready_1 ... done

Removing elastic-package-stack_elasticsearch_1             ... done

Removing elastic-package-stack_fleet-server_1              ... done

Removing elastic-package-stack_elastic-agent_1             ... done
Removing network elastic-package-stack_default
[2021-06-28T22:48:17.986Z] Done
[2021-06-28T22:48:18.256Z] Failed in branch cisco
[2021-06-28T22:48:18.686Z] Running on Jenkins in /var/lib/jenkins/workspace/est-manager_integrations_PR-1220
[2021-06-28T22:48:18.723Z] [INFO] getVaultSecret: Getting secrets
[2021-06-28T22:48:18.765Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-06-28T22:48:19.574Z] + chmod 755 generate-build-data.sh
[2021-06-28T22:48:19.574Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Ingest-manager/integrations/PR-1220/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Ingest-manager/integrations/PR-1220/runs/3 FAILURE 1191509
[2021-06-28T22:48:19.574Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Ingest-manager/integrations/PR-1220/runs/3/steps/?limit=10000 -o steps-info.json
[2021-06-28T22:48:19.838Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Ingest-manager/integrations/PR-1220/runs/3/tests/?status=FAILED -o tests-errors.json

Copy link
Copy Markdown
Contributor

@adriansr adriansr left a comment

Choose a reason for hiding this comment

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

Do we want to make this one GA when we're planning to split it into different packages?

@andrewkroh
Copy link
Copy Markdown
Member

Let's wait on this one until we split it up.

@marc-gr
Copy link
Copy Markdown
Contributor Author

marc-gr commented Jun 29, 2021

Makes sense. cc @jamiehynds

@marc-gr marc-gr closed this Jun 29, 2021
@marc-gr marc-gr deleted the cisco-ga branch June 29, 2021 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants