Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Fix kibana config for fleet server#1054

Closed
adam-stokes wants to merge 2 commits intomasterfrom
fix-kibana-config
Closed

Fix kibana config for fleet server#1054
adam-stokes wants to merge 2 commits intomasterfrom
fix-kibana-config

Conversation

@adam-stokes
Copy link
Copy Markdown
Contributor

Signed-off-by: Adam Stokes 51892+adam-stokes@users.noreply.github.com

Quick fix for the correct kibana config

What does this PR do?

Sets the correct kibana config

Why is it important?

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have run the Unit tests for the CLI, and they are passing locally
  • I have run the End-2-End tests for the suite I'm working on, and they are passing locally
  • I have noticed new Go dependencies (run make notice in the proper directory)

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>
@adam-stokes adam-stokes requested a review from mdelapenya April 19, 2021 20:08
Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Apr 19, 2021

💔 Tests 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: Started by user Manuel de la Peña

  • Start Time: 2021-04-20T06:38:45.568+0000

  • Duration: 25 min 55 sec

  • Commit: e640941

Test stats 🧪

Test Results
Failed 24
Passed 121
Skipped 0
Total 145

Trends 🧪

Image of Build Times

Image of Tests

Test errors 24

Expand to view the tests failures

> Show only the first 10 test failures

Initializing / End-To-End Tests / ubuntu-18.04_fleet_stand_alone_agent / Deploying a default stand-alone agent with fleet server mode – Stand-alone Agent
    Expand to view the error details

     Step the stand-alone agent is listed in Fleet as "online": The agent is not present in Fleet in the 'online' status, but it should 
    

  • no stacktrace
Initializing / End-To-End Tests / ubuntu-18.04_fleet_agent_endpoint_integration / Adding the Endpoint Integration to an Agent makes the host to show in Security App – Agent Endpoint Integration
    Expand to view the error details

     Step the agent is listed in Fleet as "online" 
    

  • no stacktrace
Initializing / End-To-End Tests / ubuntu-18.04_fleet_agent_endpoint_integration / Deploying an Endpoint makes policies to appear in the Security App – Agent Endpoint Integration
    Expand to view the error details

     Step the policy response will be shown in the Security App 
    

  • no stacktrace
Initializing / End-To-End Tests / ubuntu-18.04_fleet_agent_endpoint_integration / Changing an Agent policy is reflected in the Security App – Agent Endpoint Integration
    Expand to view the error details

     Step the policy is updated to have "malware" in "detect" mode 
    

  • no stacktrace
Initializing / End-To-End Tests / ubuntu-18.04_fleet_agent_endpoint_integration / Un-enrolling Elastic Agent stops Elastic Endpoint – Agent Endpoint Integration
    Expand to view the error details

     Step the agent is un-enrolled 
    

  • no stacktrace
Initializing / End-To-End Tests / ubuntu-18.04_fleet_agent_endpoint_integration / Removing Endpoint from Agent policy stops the connected Endpoint – Agent Endpoint Integration
    Expand to view the error details

     Step the "Endpoint Security" integration is "removed" in the policy 
    

  • no stacktrace
Initializing / End-To-End Tests / ubuntu-18.04_fleet_backend_processes / Deploying the centos agent – Backend Processes
    Expand to view the error details

     Step the "elastic-agent" process is in the "started" state on the host 
    

  • no stacktrace
Initializing / End-To-End Tests / ubuntu-18.04_fleet_backend_processes / Deploying the centos agent with enroll and then run on rpm and deb – Backend Processes
    Expand to view the error details

     Step the "elastic-agent" process is in the "started" state on the host 
    

  • no stacktrace
Initializing / End-To-End Tests / ubuntu-18.04_fleet_backend_processes / Stopping the centos agent stops backend processes – Backend Processes
    Expand to view the error details

     Step the "elastic-agent" process is "stopped" on the host 
    

  • no stacktrace
Initializing / End-To-End Tests / ubuntu-18.04_fleet_backend_processes / Restarting the installed centos agent – Backend Processes
    Expand to view the error details

     Step the "elastic-agent" process is "restarted" on the host 
    

  • no stacktrace

Steps errors 5

Expand to view the steps failures

Run functional tests for fleet:fleet_mode_agent && ~@nightly && ~debian
  • Took 5 min 57 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "fleet_mode_agent && ~@nightly && ~debian" "8.0.0-SNAPSHOT" "8.0.0-SNAPSHOT"
Run functional tests for fleet:fleet_server && ~@nightly && ~debian
  • Took 4 min 20 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "fleet_server && ~@nightly && ~debian" "8.0.0-SNAPSHOT" "8.0.0-SNAPSHOT"
Run functional tests for fleet:agent_endpoint_integration && ~@nightly && ~debian
  • Took 4 min 10 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "agent_endpoint_integration && ~@nightly && ~debian" "8.0.0-SNAPSHOT" "8.0.0-SNAPSHOT"
Run functional tests for fleet:stand_alone_agent && ~@nightly && ~ubi8
  • Took 16 min 27 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "stand_alone_agent && ~@nightly && ~ubi8" "8.0.0-SNAPSHOT" "8.0.0-SNAPSHOT"
Run functional tests for fleet:backend_processes && ~@nightly && ~debian
  • Took 6 min 15 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "backend_processes && ~@nightly && ~debian" "8.0.0-SNAPSHOT" "8.0.0-SNAPSHOT"

Log output

Expand to view the last 100 lines of log output

[2021-04-20T07:01:59.256Z] time="2021-04-20T07:01:58Z" level=debug msg="Docker compose executed." cmd="[rm -fvs elastic-agent]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1054-3-89c8191f-39c5-46a7-baa9-9712c8f3be1d/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/PR-1054-3-89c8191f-39c5-46a7-baa9-9712c8f3be1d/.op/compose/services/elastic-agent/docker-compose.yml]" env="map[elasticAgentContainerName:fleet_elastic-agent_1 elasticAgentDockerImageSuffix: elasticAgentDockerNamespace:beats elasticAgentPlatform:linux/amd64 elasticAgentTag:8.0.0-SNAPSHOT fleetServerMode:1 kibanaDockerNamespace:observability-ci kibanaVersion:pr96718 stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-04-20T07:01:59.256Z] time="2021-04-20T07:01:58Z" level=debug msg="Service removed from compose" profile=fleet service=elastic-agent
[2021-04-20T07:01:59.256Z] time="2021-04-20T07:01:58Z" level=debug msg="Destroying Fleet runtime dependencies"
[2021-04-20T07:01:59.516Z] Stopping fleet_kibana_1           ... 
[2021-04-20T07:01:59.516Z] Stopping fleet_elasticsearch_1    ... 
[2021-04-20T07:01:59.516Z] Stopping fleet_package-registry_1 ... 
[2021-04-20T07:02:01.024Z] 
Stopping fleet_kibana_1           ... done

Stopping fleet_package-registry_1 ... done

Stopping fleet_elasticsearch_1    ... done
Removing fleet_kibana_1           ... 
[2021-04-20T07:02:01.024Z] Removing fleet_elasticsearch_1    ... 
[2021-04-20T07:02:01.024Z] Removing fleet_package-registry_1 ... 
[2021-04-20T07:02:01.024Z] 
Removing fleet_kibana_1           ... done

Removing fleet_package-registry_1 ... done

Removing fleet_elasticsearch_1    ... done
Removing network fleet_default
[2021-04-20T07:02:01.594Z] time="2021-04-20T07:02:01Z" level=debug msg="Docker compose executed." cmd="[down --remove-orphans]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1054-3-89c8191f-39c5-46a7-baa9-9712c8f3be1d/.op/compose/profiles/fleet/docker-compose.yml]" env="map[elasticAgentContainerName:fleet_elastic-agent_1 elasticAgentDockerImageSuffix: elasticAgentDockerNamespace:beats elasticAgentPlatform:linux/amd64 elasticAgentTag:8.0.0-SNAPSHOT fleetServerMode:1 kibanaDockerNamespace:observability-ci kibanaVersion:pr96718 stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-04-20T07:02:01.594Z] Makefile:73: recipe for target 'functional-test' failed
[2021-04-20T07:02:01.594Z] make: *** [functional-test] Error 1
[2021-04-20T07:02:01.816Z] [INFO] Stopping Filebeat Docker container
[2021-04-20T07:02:02.101Z] + docker exec -t d444f12e1b5fa7fbc84c466d4f00cc0a61e5b8a3296a90c476a7847e17285050 chmod -R ugo+rw /output
[2021-04-20T07:02:02.361Z] + docker stop --time 30 d444f12e1b5fa7fbc84c466d4f00cc0a61e5b8a3296a90c476a7847e17285050
[2021-04-20T07:02:02.930Z] d444f12e1b5fa7fbc84c466d4f00cc0a61e5b8a3296a90c476a7847e17285050
[2021-04-20T07:02:02.948Z] Archiving artifacts
[2021-04-20T07:02:03.562Z] Recording test results
[2021-04-20T07:02:03.879Z] [Checks API] No suitable checks publisher found.
[2021-04-20T07:02:03.899Z] Archiving artifacts
[2021-04-20T07:02:03.938Z] Running in /var/lib/jenkins/workspace/PR-1054-3-89c8191f-39c5-46a7-baa9-9712c8f3be1d/src/github.com/elastic/e2e-testing
[2021-04-20T07:02:04.234Z] + go clean -modcache
[2021-04-20T07:02:05.008Z] Failed in branch ubuntu-18.04_fleet_stand_alone_agent
[2021-04-20T07:02:11.858Z] {"level":"debug","time":"2021-04-20T07:02:09Z","message":"gathering metrics"}
[2021-04-20T07:02:19.994Z] {"level":"debug","time":"2021-04-20T07:02:19Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-04-20T07:02:41.952Z] Found orphan containers (metricbeat_mysql_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
[2021-04-20T07:02:41.952Z] metricbeat_elasticsearch_1 is up-to-date
[2021-04-20T07:02:41.952Z] Creating metricbeat_metricbeat_1 ... 
[2021-04-20T07:02:41.952Z] {"level":"debug","time":"2021-04-20T07:02:39Z","message":"gathering metrics"}
[2021-04-20T07:02:41.952Z] 
Creating metricbeat_metricbeat_1 ... done
time="2021-04-20T07:02:40Z" level=debug msg="Docker compose executed." cmd="[up -d]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1054-3-49e3c4d1-bf9b-4d73-ba80-1a8fddbb5ec5/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1054-3-49e3c4d1-bf9b-4d73-ba80-1a8fddbb5ec5/.op/compose/services/metricbeat/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false MYSQL_PATH:/var/lib/jenkins/workspace/PR-1054-3-49e3c4d1-bf9b-4d73-ba80-1a8fddbb5ec5/.op/compose/services/mysql MYSQL_VARIANT:mysql MYSQL_VERSION:5.7.12 indexName:metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1054-3-49e3c4d1-bf9b-4d73-ba80-1a8fddbb5ec5/.op/compose/services/mysql/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:8.0.0-SNAPSHOT mysqlTag:5.7.12 serviceName:mysql stackVersion:8.0.0-SNAPSHOT]" profile=metricbeat
[2021-04-20T07:02:41.953Z] time="2021-04-20T07:02:40Z" level=info msg="Metricbeat is running configured for the service" metricbeatVersion=8.0.0-SNAPSHOT service=mysql serviceVersion=5.7.12 variant=MySQL
[2021-04-20T07:02:41.953Z] time="2021-04-20T07:02:40Z" level=warning msg="There was an error executing the query" desiredHits=5 elapsedTime=8.368922ms error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x index_uuid:_na_ reason:no such index [metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x] resource.id:metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x resource.type:index_or_alias root_cause:[map[index:metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x index_uuid:_na_ reason:no such index [metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x] resource.id:metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x retry=1
[2021-04-20T07:02:41.953Z] time="2021-04-20T07:02:41Z" level=warning msg="There was an error executing the query" desiredHits=5 elapsedTime=750.571878ms error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x index_uuid:_na_ reason:no such index [metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x] resource.id:metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x resource.type:index_or_alias root_cause:[map[index:metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x index_uuid:_na_ reason:no such index [metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x] resource.id:metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x retry=2
[2021-04-20T07:02:41.953Z] time="2021-04-20T07:02:41Z" level=warning msg="There was an error executing the query" desiredHits=5 elapsedTime=1.333972188s error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x index_uuid:_na_ reason:no such index [metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x] resource.id:metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x resource.type:index_or_alias root_cause:[map[index:metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x index_uuid:_na_ reason:no such index [metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x] resource.id:metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x retry=3
[2021-04-20T07:02:44.498Z] time="2021-04-20T07:02:43Z" level=warning msg="There was an error executing the query" desiredHits=5 elapsedTime=3.527490973s error="Error getting response from Elasticsearch. Status: 404 Not Found, ResponseError: map[error:map[index:metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x index_uuid:_na_ reason:no such index [metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x] resource.id:metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x resource.type:index_or_alias root_cause:[map[index:metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x index_uuid:_na_ reason:no such index [metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x] resource.id:metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x resource.type:index_or_alias type:index_not_found_exception]] type:index_not_found_exception] status:404]" index=metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x retry=4
[2021-04-20T07:02:46.429Z] time="2021-04-20T07:02:46Z" level=debug msg="Response information" hits=0 status="200 OK" took=1
[2021-04-20T07:02:46.429Z] time="2021-04-20T07:02:46Z" level=warning msg="Waiting for more hits in the index" currentHits=0 desiredHits=5 elapsedTime=5.770302195s index=metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x retry=5
[2021-04-20T07:02:49.726Z] {"level":"debug","time":"2021-04-20T07:02:49Z","message":"sent request with 0 transactions, 7 spans, 0 errors, 1 metricset"}
[2021-04-20T07:02:52.268Z] time="2021-04-20T07:02:52Z" level=debug msg="Response information" hits=1 status="200 OK" took=2
[2021-04-20T07:02:52.268Z] time="2021-04-20T07:02:52Z" level=warning msg="Waiting for more hits in the index" currentHits=1 desiredHits=5 elapsedTime=11.737300184s index=metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x retry=6
[2021-04-20T07:02:56.467Z] time="2021-04-20T07:02:56Z" level=debug msg="Response information" hits=2 status="200 OK" took=2
[2021-04-20T07:02:56.467Z] time="2021-04-20T07:02:56Z" level=warning msg="Waiting for more hits in the index" currentHits=2 desiredHits=5 elapsedTime=15.752022506s index=metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x retry=7
[2021-04-20T07:02:59.765Z] time="2021-04-20T07:02:59Z" level=debug msg="Response information" hits=2 status="200 OK" took=2
[2021-04-20T07:02:59.765Z] time="2021-04-20T07:02:59Z" level=warning msg="Waiting for more hits in the index" currentHits=2 desiredHits=5 elapsedTime=19.126065528s index=metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x retry=8
[2021-04-20T07:03:02.311Z] {"level":"debug","time":"2021-04-20T07:03:02Z","message":"sent request with 0 transactions, 3 spans, 0 errors, 0 metricsets"}
[2021-04-20T07:03:04.853Z] time="2021-04-20T07:03:04Z" level=debug msg="Response information" hits=2 status="200 OK" took=2
[2021-04-20T07:03:04.853Z] time="2021-04-20T07:03:04Z" level=warning msg="Waiting for more hits in the index" currentHits=2 desiredHits=5 elapsedTime=24.338680247s index=metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x retry=9
[2021-04-20T07:03:10.135Z] {"level":"debug","time":"2021-04-20T07:03:09Z","message":"gathering metrics"}
[2021-04-20T07:03:10.136Z] time="2021-04-20T07:03:09Z" level=debug msg="Response information" hits=3 status="200 OK" took=2
[2021-04-20T07:03:10.136Z] time="2021-04-20T07:03:09Z" level=warning msg="Waiting for more hits in the index" currentHits=3 desiredHits=5 elapsedTime=29.567558972s index=metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x retry=10
[2021-04-20T07:03:14.365Z] time="2021-04-20T07:03:13Z" level=debug msg="Response information" hits=3 status="200 OK" took=2
[2021-04-20T07:03:14.365Z] time="2021-04-20T07:03:13Z" level=warning msg="Waiting for more hits in the index" currentHits=3 desiredHits=5 elapsedTime=33.468533825s index=metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x retry=11
[2021-04-20T07:03:14.934Z] {"level":"debug","time":"2021-04-20T07:03:14Z","message":"sent request with 0 transactions, 3 spans, 0 errors, 1 metricset"}
[2021-04-20T07:03:19.139Z] time="2021-04-20T07:03:18Z" level=debug msg="Response information" hits=4 status="200 OK" took=3
[2021-04-20T07:03:19.139Z] time="2021-04-20T07:03:18Z" level=warning msg="Waiting for more hits in the index" currentHits=4 desiredHits=5 elapsedTime=38.093615459s index=metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x retry=12
[2021-04-20T07:03:24.417Z] time="2021-04-20T07:03:23Z" level=debug msg="Response information" hits=4 status="200 OK" took=2
[2021-04-20T07:03:24.417Z] time="2021-04-20T07:03:23Z" level=warning msg="Waiting for more hits in the index" currentHits=4 desiredHits=5 elapsedTime=43.254517089s index=metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x retry=13
[2021-04-20T07:03:27.714Z] time="2021-04-20T07:03:27Z" level=debug msg="Response information" hits=5 status="200 OK" took=2
[2021-04-20T07:03:27.714Z] time="2021-04-20T07:03:27Z" level=info msg="Hits number satisfied" currentHits=5 desiredHits=5 elapsedTime=47.030506258s retries=14
[2021-04-20T07:03:27.715Z] time="2021-04-20T07:03:27Z" level=debug msg="Response information" hits=5 status="200 OK" took=3
[2021-04-20T07:03:27.715Z] time="2021-04-20T07:03:27Z" level=info msg="Hits number satisfied" currentHits=5 desiredHits=5 elapsedTime=8.51787ms retries=1
[2021-04-20T07:03:28.285Z] Stopping metricbeat_metricbeat_1 ... 
[2021-04-20T07:03:28.546Z] 
Stopping metricbeat_metricbeat_1 ... done
Removing metricbeat_metricbeat_1 ... 
[2021-04-20T07:03:28.546Z] 
Removing metricbeat_metricbeat_1 ... done
Going to remove metricbeat_metricbeat_1
[2021-04-20T07:03:28.806Z] {"level":"debug","time":"2021-04-20T07:03:28Z","message":"sent request with 0 transactions, 6 spans, 0 errors, 0 metricsets"}
[2021-04-20T07:03:28.806Z] time="2021-04-20T07:03:28Z" level=debug msg="Docker compose executed." cmd="[rm -fvs metricbeat]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1054-3-49e3c4d1-bf9b-4d73-ba80-1a8fddbb5ec5/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1054-3-49e3c4d1-bf9b-4d73-ba80-1a8fddbb5ec5/.op/compose/services/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1054-3-49e3c4d1-bf9b-4d73-ba80-1a8fddbb5ec5/.op/compose/services/mysql/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false MYSQL_PATH:/var/lib/jenkins/workspace/PR-1054-3-49e3c4d1-bf9b-4d73-ba80-1a8fddbb5ec5/.op/compose/services/mysql MYSQL_VARIANT:mysql MYSQL_VERSION:5.7.12 indexName:metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1054-3-49e3c4d1-bf9b-4d73-ba80-1a8fddbb5ec5/.op/compose/services/mysql/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:8.0.0-SNAPSHOT mysqlTag:5.7.12 serviceName:mysql stackVersion:8.0.0-SNAPSHOT]" profile=metricbeat
[2021-04-20T07:03:28.806Z] time="2021-04-20T07:03:28Z" level=debug msg="Service removed from compose" profile=metricbeat service=metricbeat
[2021-04-20T07:03:29.378Z] Stopping metricbeat_mysql_1 ... 
[2021-04-20T07:03:31.288Z] 
Stopping metricbeat_mysql_1 ... done
Removing metricbeat_mysql_1 ... 
[2021-04-20T07:03:31.288Z] 
Removing metricbeat_mysql_1 ... done
Going to remove metricbeat_mysql_1
[2021-04-20T07:03:31.288Z] time="2021-04-20T07:03:31Z" level=debug msg="Docker compose executed." cmd="[rm -fvs mysql]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1054-3-49e3c4d1-bf9b-4d73-ba80-1a8fddbb5ec5/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1054-3-49e3c4d1-bf9b-4d73-ba80-1a8fddbb5ec5/.op/compose/services/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1054-3-49e3c4d1-bf9b-4d73-ba80-1a8fddbb5ec5/.op/compose/services/mysql/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false MYSQL_PATH:/var/lib/jenkins/workspace/PR-1054-3-49e3c4d1-bf9b-4d73-ba80-1a8fddbb5ec5/.op/compose/services/mysql MYSQL_VARIANT:mysql MYSQL_VERSION:5.7.12 indexName:metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1054-3-49e3c4d1-bf9b-4d73-ba80-1a8fddbb5ec5/.op/compose/services/mysql/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:8.0.0-SNAPSHOT mysqlTag:5.7.12 serviceName:mysql stackVersion:8.0.0-SNAPSHOT]" profile=metricbeat
[2021-04-20T07:03:31.288Z] time="2021-04-20T07:03:31Z" level=debug msg="Service removed from compose" profile=metricbeat service=mysql
[2021-04-20T07:03:31.288Z] time="2021-04-20T07:03:31Z" level=debug msg="Index deleted using Elasticsearch Go client" indexName=metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x status="400 Bad Request"
[2021-04-20T07:03:31.288Z] time="2021-04-20T07:03:31Z" level=debug msg="Index Alias deleted using Elasticsearch Go client" indexAlias=metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x status="400 Bad Request"
[2021-04-20T07:03:31.288Z] {"level":"debug","time":"2021-04-20T07:03:31Z","message":"sent request with 1 transaction, 2 spans, 0 errors, 0 metricsets"}
[2021-04-20T07:03:32.230Z] Stopping metricbeat_elasticsearch_1 ... 
[2021-04-20T07:03:33.172Z] 
Stopping metricbeat_elasticsearch_1 ... done
Removing metricbeat_elasticsearch_1 ... 
[2021-04-20T07:03:33.173Z] 
Removing metricbeat_elasticsearch_1 ... done
Removing network metricbeat_default
[2021-04-20T07:03:33.433Z] time="2021-04-20T07:03:33Z" level=debug msg="Docker compose executed." cmd="[down --remove-orphans]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1054-3-49e3c4d1-bf9b-4d73-ba80-1a8fddbb5ec5/.op/compose/profiles/metricbeat/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false MYSQL_PATH:/var/lib/jenkins/workspace/PR-1054-3-49e3c4d1-bf9b-4d73-ba80-1a8fddbb5ec5/.op/compose/services/mysql MYSQL_VARIANT:mysql MYSQL_VERSION:5.7.12 indexName:metricbeat-8.0.0-mysql-mysql-5.7.12-tmjqck9x logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1054-3-49e3c4d1-bf9b-4d73-ba80-1a8fddbb5ec5/.op/compose/services/mysql/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:8.0.0-SNAPSHOT mysqlTag:5.7.12 serviceName:mysql stackVersion:8.0.0-SNAPSHOT]" profile=metricbeat
[2021-04-20T07:03:33.693Z] {"level":"debug","time":"2021-04-20T07:03:33Z","message":"sent request with 1 transaction, 2 spans, 0 errors, 0 metricsets"}
[2021-04-20T07:03:33.833Z] [INFO] Stopping Filebeat Docker container
[2021-04-20T07:03:34.119Z] + docker exec -t 001daed0589674b1f2f2c802d21f2b787fe09b4d067e0e6795973bdd2ab951dd chmod -R ugo+rw /output
[2021-04-20T07:03:34.690Z] + docker stop --time 30 001daed0589674b1f2f2c802d21f2b787fe09b4d067e0e6795973bdd2ab951dd
[2021-04-20T07:03:34.950Z] 001daed0589674b1f2f2c802d21f2b787fe09b4d067e0e6795973bdd2ab951dd
[2021-04-20T07:03:34.969Z] Archiving artifacts
[2021-04-20T07:03:35.809Z] Recording test results
[2021-04-20T07:03:36.101Z] [Checks API] No suitable checks publisher found.
[2021-04-20T07:03:36.123Z] Archiving artifacts
[2021-04-20T07:03:36.164Z] Running in /var/lib/jenkins/workspace/PR-1054-3-49e3c4d1-bf9b-4d73-ba80-1a8fddbb5ec5/src/github.com/elastic/e2e-testing
[2021-04-20T07:03:36.461Z] + go clean -modcache
[2021-04-20T07:03:38.400Z] Stage "Release" skipped due to earlier failure(s)
[2021-04-20T07:03:39.614Z] Running on Jenkins in /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1054
[2021-04-20T07:03:39.662Z] [INFO] getVaultSecret: Getting secrets
[2021-04-20T07:03:39.760Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-04-20T07:03:40.461Z] + chmod 755 generate-build-data.sh
[2021-04-20T07:03:40.461Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1054/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1054/runs/3 FAILURE 1494632
[2021-04-20T07:03:40.712Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1054/runs/3/steps/?limit=10000 -o steps-info.json
[2021-04-20T07:03:42.055Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1054/runs/3/tests/?status=FAILED -o tests-errors.json
[2021-04-20T07:03:42.055Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1054/runs/3/log/ -o pipeline-log.txt

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Test stats 🧪

Test Results
Failed 24
Passed 121
Skipped 0
Total 145

Genuine test errors 24

💔 There are test failures but not known flaky tests, most likely a genuine test failure.

  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_stand_alone_agent / Deploying a default stand-alone agent with fleet server mode – Stand-alone Agent
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_agent_endpoint_integration / Adding the Endpoint Integration to an Agent makes the host to show in Security App – Agent Endpoint Integration
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_agent_endpoint_integration / Deploying an Endpoint makes policies to appear in the Security App – Agent Endpoint Integration
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_agent_endpoint_integration / Changing an Agent policy is reflected in the Security App – Agent Endpoint Integration
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_agent_endpoint_integration / Un-enrolling Elastic Agent stops Elastic Endpoint – Agent Endpoint Integration
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_agent_endpoint_integration / Removing Endpoint from Agent policy stops the connected Endpoint – Agent Endpoint Integration
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_backend_processes / Deploying the centos agent – Backend Processes
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_backend_processes / Deploying the centos agent with enroll and then run on rpm and deb – Backend Processes
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_backend_processes / Stopping the centos agent stops backend processes – Backend Processes
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_backend_processes / Restarting the installed centos agent – Backend Processes
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_backend_processes / Restarting the centos host with persistent agent restarts backend processes – Backend Processes
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_backend_processes / Un-enrolling the centos agent stops backend processes – Backend Processes
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_backend_processes / Re-enrolling the centos agent starts the elastic-agent process – Backend Processes
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_backend_processes / Un-installing the installed centos agent – Backend Processes
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_backend_processes / Un-enrolling Elastic Agent stops Elastic Endpoint – Backend Processes
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_backend_processes / Removing Endpoint from Agent policy stops the connected Endpoint – Backend Processes
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_fleet_mode_agent / Deploying the centos agent – Fleet Mode Agent
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_fleet_mode_agent / Deploying the centos agent with enroll and then run on rpm and deb – Fleet Mode Agent
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_fleet_mode_agent / Restarting the installed centos agent – Fleet Mode Agent
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_fleet_mode_agent / Un-enrolling the centos agent deactivates the agent – Fleet Mode Agent
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_fleet_mode_agent / Re-enrolling the centos agent activates the agent in Fleet – Fleet Mode Agent
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_fleet_mode_agent / Revoking the enrollment token for the centos agent – Fleet Mode Agent
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_fleet_mode_agent / Un-installing the installed centos agent – Fleet Mode Agent
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_fleet_server / Deploying an centos Elastic Agent that starts Fleet Server – Fleet Server

func (fts *FleetTestSuite) setup() error {
log.Trace("Creating Fleet setup")

err := createFleetConfiguration()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we can remove the entire function, as it's not used elsewhere

@mdelapenya
Copy link
Copy Markdown
Contributor

I think we can close this one, as #1055 was merged

@mdelapenya mdelapenya closed this Apr 20, 2021
@mdelapenya mdelapenya deleted the fix-kibana-config branch April 22, 2021 08:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants