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

feat: add first scenario for Fleet Server (backport #900) #1056

Merged
merged 1 commit into from
Apr 20, 2021

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Apr 20, 2021

This is an automatic backport of pull request #900 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

* chore: capture Fleet's default policy in a stronger manner

* chore: support passing the field for is_default policy

* chore: remove inferred type for array

* chore: enable fleet server in kibana config

* chore: create fleet config struct

This type will hold information about Fleet config, supporting building
the proper flags during enrollment

* chore: refactor enroll command logic to use the new struct

* chore: check if the fleet-server field exists when retrieving the policy

* chore: refactor install to support fleet-server

The flags used for installing/enrolling an agent will be generated from
the new FleetConfig struct. Because of that, we are moving a pointer to
that fleet config to the install command

* feat: add first scenario for fleet server

* chore: add fleet server branch to the CI

* chore: set Then clause for the scenario

* chore: remove step

* fix: define fallback when checking agent status

* chore: simplify creation of Fleet configs

* fix: forgot to rename variable

* WIP

* chore: rename scenario

* fix: wrong merge conflicts resolution

* chore: support passing environment when running a command in a container

* chore: run elastic agent commands passing an env

* WIP

* chore: separate bootstrapping an agent from connecting to a fleet server agent

* fix: use proper fleet-server flags

Co-authored-by: Adam Stokes <[email protected]>
(cherry picked from commit a150734)
@mdelapenya
Copy link
Contributor

I think we are missing this backport: #1036

@elasticmachine
Copy link
Contributor

💔 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: Pull request #1056 opened

  • Start Time: 2021-04-20T09:58:30.066+0000

  • Duration: 66 min 26 sec

  • Commit: c812883

Test stats 🧪

Test Results
Failed 5
Passed 115
Skipped 0
Total 120

Trends 🧪

Image of Build Times

Image of Tests

Test errors 5

Expand to view the tests failures

Initializing / End-To-End Tests / ubuntu-18.04_fleet_stand_alone_agent / [empty] – TEST-fleet.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/PR-1056-1-2f061208-6de6-44a5-9fa9-9677f298656b/src/github.com/elastic/e2e-testing/outputs/TEST-fleet.xml was length 0 
    

Initializing / End-To-End Tests / ubuntu-18.04_fleet_fleet_server / [empty] – TEST-fleet.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/PR-1056-1-34352709-52f0-414f-9fa2-cf0c4b9483a6/src/github.com/elastic/e2e-testing/outputs/TEST-fleet.xml was length 0 
    

Initializing / End-To-End Tests / ubuntu-18.04_fleet_agent_endpoint_integration / [empty] – TEST-fleet.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/PR-1056-1-f901686c-e9bb-4f60-ba1a-9ec20836098d/src/github.com/elastic/e2e-testing/outputs/TEST-fleet.xml was length 0 
    

Initializing / End-To-End Tests / ubuntu-18.04_fleet_fleet_mode_agent / [empty] – TEST-fleet.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/PR-1056-1-293fbcd8-c661-4d1b-8b94-36508fe9a689/src/github.com/elastic/e2e-testing/outputs/TEST-fleet.xml was length 0 
    

Initializing / End-To-End Tests / ubuntu-18.04_fleet_backend_processes / [empty] – TEST-fleet.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/PR-1056-1-ca88c68a-32ff-47b4-a207-ffe9c605ff11/src/github.com/elastic/e2e-testing/outputs/TEST-fleet.xml was length 0 
    

Steps errors 5

Expand to view the steps failures

Run functional tests for fleet:fleet_mode_agent && ~@nightly && ~debian
  • Took 6 min 4 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "fleet_mode_agent && ~@nightly && ~debian" "7.x-SNAPSHOT" "7.x-SNAPSHOT"
Run functional tests for fleet:fleet_server && ~@nightly && ~debian
  • Took 6 min 7 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "fleet_server && ~@nightly && ~debian" "7.x-SNAPSHOT" "7.x-SNAPSHOT"
Run functional tests for fleet:agent_endpoint_integration && ~@nightly && ~debian
  • Took 6 min 14 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "agent_endpoint_integration && ~@nightly && ~debian" "7.x-SNAPSHOT" "7.x-SNAPSHOT"
Run functional tests for fleet:stand_alone_agent && ~@nightly && ~ubi8
  • Took 6 min 7 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "stand_alone_agent && ~@nightly && ~ubi8" "7.x-SNAPSHOT" "7.x-SNAPSHOT"
Run functional tests for fleet:backend_processes && ~@nightly && ~debian
  • Took 6 min 8 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "backend_processes && ~@nightly && ~debian" "7.x-SNAPSHOT" "7.x-SNAPSHOT"

Log output

Expand to view the last 100 lines of log output

[2021-04-20T11:04:02.160Z] time="2021-04-20T11:04:01Z" level=warning msg="Waiting for more hits in the index" currentHits=2 desiredHits=5 elapsedTime=19.662622523s index=metricbeat-7.x-dropwizard-3.2.6-8cuboncu retry=7
[2021-04-20T11:04:02.605Z] 
Stopping metricbeat_mysql_1 ... done
Removing metricbeat_mysql_1 ... 
[2021-04-20T11:04:02.605Z] 
Removing metricbeat_mysql_1 ... done
Going to remove metricbeat_mysql_1
[2021-04-20T11:04:02.606Z] time="2021-04-20T11:04:02Z" level=debug msg="Docker compose executed." cmd="[rm -fvs mysql]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1056-1-e8068f0f-14ef-48be-9e2c-a772ca41e174/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1056-1-e8068f0f-14ef-48be-9e2c-a772ca41e174/.op/compose/services/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1056-1-e8068f0f-14ef-48be-9e2c-a772ca41e174/.op/compose/services/mysql/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false MYSQL_PATH:/var/lib/jenkins/workspace/PR-1056-1-e8068f0f-14ef-48be-9e2c-a772ca41e174/.op/compose/services/mysql MYSQL_VARIANT:mysql MYSQL_VERSION:5.7.12 indexName:metricbeat-7.x-mysql-mysql-5.7.12-vgcuorzw logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1056-1-e8068f0f-14ef-48be-9e2c-a772ca41e174/.op/compose/services/mysql/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.x-SNAPSHOT mysqlTag:5.7.12 serviceName:mysql stackVersion:7.13.0-SNAPSHOT]" profile=metricbeat
[2021-04-20T11:04:02.606Z] time="2021-04-20T11:04:02Z" level=debug msg="Service removed from compose" profile=metricbeat service=mysql
[2021-04-20T11:04:02.606Z] time="2021-04-20T11:04:02Z" level=debug msg="Index deleted using Elasticsearch Go client" indexName=metricbeat-7.x-mysql-mysql-5.7.12-vgcuorzw status="400 Bad Request"
[2021-04-20T11:04:02.606Z] time="2021-04-20T11:04:02Z" level=debug msg="Index Alias deleted using Elasticsearch Go client" indexAlias=metricbeat-7.x-mysql-mysql-5.7.12-vgcuorzw status="400 Bad Request"
[2021-04-20T11:04:03.590Z] {"level":"debug","time":"2021-04-20T11:04:02Z","message":"sent request with 1 transaction, 6 spans, 0 errors, 0 metricsets"}
[2021-04-20T11:04:03.591Z] Stopping metricbeat_elasticsearch_1 ... 
[2021-04-20T11:04:03.798Z] Recording test results
[2021-04-20T11:04:04.144Z] [Checks API] No suitable checks publisher found.
[2021-04-20T11:04:04.180Z] Archiving artifacts
[2021-04-20T11:04:04.291Z] Running in /var/lib/jenkins/workspace/PR-1056-1-b4fc68a4-17b0-4d16-8754-645544585f2f/src/github.com/elastic/e2e-testing
[2021-04-20T11:04:04.535Z] 
Stopping metricbeat_elasticsearch_1 ... done
Removing metricbeat_elasticsearch_1 ... 
[2021-04-20T11:04:04.536Z] 
Removing metricbeat_elasticsearch_1 ... done
Removing network metricbeat_default
[2021-04-20T11:04:04.751Z] + go clean -modcache
[2021-04-20T11:04:04.795Z] time="2021-04-20T11:04:04Z" level=debug msg="Docker compose executed." cmd="[down --remove-orphans]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1056-1-e8068f0f-14ef-48be-9e2c-a772ca41e174/.op/compose/profiles/metricbeat/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false MYSQL_PATH:/var/lib/jenkins/workspace/PR-1056-1-e8068f0f-14ef-48be-9e2c-a772ca41e174/.op/compose/services/mysql MYSQL_VARIANT:mysql MYSQL_VERSION:5.7.12 indexName:metricbeat-7.x-mysql-mysql-5.7.12-vgcuorzw logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1056-1-e8068f0f-14ef-48be-9e2c-a772ca41e174/.op/compose/services/mysql/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.x-SNAPSHOT mysqlTag:5.7.12 serviceName:mysql stackVersion:7.13.0-SNAPSHOT]" profile=metricbeat
[2021-04-20T11:04:04.795Z] {"level":"debug","time":"2021-04-20T11:04:04Z","message":"sent request with 1 transaction, 2 spans, 0 errors, 0 metricsets"}
[2021-04-20T11:04:04.973Z] time="2021-04-20T11:04:04Z" level=debug msg="Response information" hits=4 status="200 OK" took=2
[2021-04-20T11:04:04.973Z] time="2021-04-20T11:04:04Z" level=warning msg="Waiting for more hits in the index" currentHits=4 desiredHits=5 elapsedTime=22.311055261s index=metricbeat-7.x-dropwizard-3.2.6-8cuboncu retry=8
[2021-04-20T11:04:05.243Z] [INFO] Stopping Filebeat Docker container
[2021-04-20T11:04:05.543Z] + docker exec -t 55bc29a73e226f6c07ec58eb9037bac8adfa17030c71e02bf24a3df53639bdbf chmod -R ugo+rw /output
[2021-04-20T11:04:06.155Z] + docker stop --time 30 55bc29a73e226f6c07ec58eb9037bac8adfa17030c71e02bf24a3df53639bdbf
[2021-04-20T11:04:06.415Z] 55bc29a73e226f6c07ec58eb9037bac8adfa17030c71e02bf24a3df53639bdbf
[2021-04-20T11:04:06.454Z] Archiving artifacts
[2021-04-20T11:04:06.881Z] {"level":"debug","time":"2021-04-20T11:04:06Z","message":"sent request with 0 transactions, 3 spans, 0 errors, 0 metricsets"}
[2021-04-20T11:04:07.461Z] Recording test results
[2021-04-20T11:04:07.844Z] [Checks API] No suitable checks publisher found.
[2021-04-20T11:04:07.879Z] Archiving artifacts
[2021-04-20T11:04:07.995Z] Running in /var/lib/jenkins/workspace/PR-1056-1-e8068f0f-14ef-48be-9e2c-a772ca41e174/src/github.com/elastic/e2e-testing
[2021-04-20T11:04:08.258Z] time="2021-04-20T11:04:07Z" level=debug msg="Response information" hits=4 status="200 OK" took=2
[2021-04-20T11:04:08.258Z] time="2021-04-20T11:04:07Z" level=warning msg="Waiting for more hits in the index" currentHits=4 desiredHits=5 elapsedTime=25.608698135s index=metricbeat-7.x-dropwizard-3.2.6-8cuboncu retry=9
[2021-04-20T11:04:08.330Z] + go clean -modcache
[2021-04-20T11:04:08.497Z] 
Stopping metricbeat_envoyproxy_1 ... done
Removing metricbeat_envoyproxy_1 ... 
[2021-04-20T11:04:08.497Z] 
Removing metricbeat_envoyproxy_1 ... done
Going to remove metricbeat_envoyproxy_1
[2021-04-20T11:04:08.498Z] time="2021-04-20T11:04:07Z" level=debug msg="Docker compose executed." cmd="[rm -fvs envoyproxy]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1056-1-e7f07072-d018-4918-87bf-b1a270f18c53/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1056-1-e7f07072-d018-4918-87bf-b1a270f18c53/.op/compose/services/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1056-1-e7f07072-d018-4918-87bf-b1a270f18c53/.op/compose/services/envoyproxy/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false ENVOYPROXY_PATH:/var/lib/jenkins/workspace/PR-1056-1-e7f07072-d018-4918-87bf-b1a270f18c53/.op/compose/services/envoyproxy ENVOYPROXY_VERSION:1.12.0 envoyproxyTag:1.12.0 indexName:metricbeat-7.x-envoyproxy-1.12.0-qq6uamti logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1056-1-e7f07072-d018-4918-87bf-b1a270f18c53/.op/compose/services/envoyproxy/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.x-SNAPSHOT serviceName:envoyproxy stackVersion:7.13.0-SNAPSHOT]" profile=metricbeat
[2021-04-20T11:04:08.498Z] time="2021-04-20T11:04:07Z" level=debug msg="Service removed from compose" profile=metricbeat service=envoyproxy
[2021-04-20T11:04:08.498Z] time="2021-04-20T11:04:07Z" level=debug msg="Index deleted using Elasticsearch Go client" indexName=metricbeat-7.x-envoyproxy-1.12.0-qq6uamti status="400 Bad Request"
[2021-04-20T11:04:08.498Z] time="2021-04-20T11:04:07Z" level=debug msg="Index Alias deleted using Elasticsearch Go client" indexAlias=metricbeat-7.x-envoyproxy-1.12.0-qq6uamti status="400 Bad Request"
[2021-04-20T11:04:08.498Z] {"level":"debug","time":"2021-04-20T11:04:07Z","message":"sent request with 1 transaction, 2 spans, 0 errors, 0 metricsets"}
[2021-04-20T11:04:08.757Z] Stopping metricbeat_elasticsearch_1 ... 
[2021-04-20T11:04:09.700Z] 
Stopping metricbeat_elasticsearch_1 ... done
Removing metricbeat_elasticsearch_1 ... 
[2021-04-20T11:04:09.700Z] 
Removing metricbeat_elasticsearch_1 ... done
Removing network metricbeat_default
[2021-04-20T11:04:09.961Z] time="2021-04-20T11:04:09Z" level=debug msg="Docker compose executed." cmd="[down --remove-orphans]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1056-1-e7f07072-d018-4918-87bf-b1a270f18c53/.op/compose/profiles/metricbeat/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false ENVOYPROXY_PATH:/var/lib/jenkins/workspace/PR-1056-1-e7f07072-d018-4918-87bf-b1a270f18c53/.op/compose/services/envoyproxy ENVOYPROXY_VERSION:1.12.0 envoyproxyTag:1.12.0 indexName:metricbeat-7.x-envoyproxy-1.12.0-qq6uamti logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1056-1-e7f07072-d018-4918-87bf-b1a270f18c53/.op/compose/services/envoyproxy/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.x-SNAPSHOT serviceName:envoyproxy stackVersion:7.13.0-SNAPSHOT]" profile=metricbeat
[2021-04-20T11:04:10.221Z] {"level":"debug","time":"2021-04-20T11:04:10Z","message":"sent request with 1 transaction, 2 spans, 0 errors, 0 metricsets"}
[2021-04-20T11:04:10.781Z] [INFO] Stopping Filebeat Docker container
[2021-04-20T11:04:11.205Z] + docker exec -t 55f53840cd0c956030b52ed9bc6bec52abf2a69c108b2ef59ef6dca8409e69cf chmod -R ugo+rw /output
[2021-04-20T11:04:11.862Z] + docker stop --time 30 55f53840cd0c956030b52ed9bc6bec52abf2a69c108b2ef59ef6dca8409e69cf
[2021-04-20T11:04:12.128Z] 55f53840cd0c956030b52ed9bc6bec52abf2a69c108b2ef59ef6dca8409e69cf
[2021-04-20T11:04:12.177Z] Archiving artifacts
[2021-04-20T11:04:13.380Z] Recording test results
[2021-04-20T11:04:13.607Z] time="2021-04-20T11:04:13Z" level=debug msg="Response information" hits=4 status="200 OK" took=2
[2021-04-20T11:04:13.607Z] time="2021-04-20T11:04:13Z" level=warning msg="Waiting for more hits in the index" currentHits=4 desiredHits=5 elapsedTime=31.151709723s index=metricbeat-7.x-dropwizard-3.2.6-8cuboncu retry=10
[2021-04-20T11:04:13.782Z] [Checks API] No suitable checks publisher found.
[2021-04-20T11:04:13.819Z] Archiving artifacts
[2021-04-20T11:04:13.930Z] Running in /var/lib/jenkins/workspace/PR-1056-1-e7f07072-d018-4918-87bf-b1a270f18c53/src/github.com/elastic/e2e-testing
[2021-04-20T11:04:14.268Z] + go clean -modcache
[2021-04-20T11:04:16.899Z] {"level":"debug","time":"2021-04-20T11:04:16Z","message":"gathering metrics"}
[2021-04-20T11:04:18.280Z] {"level":"debug","time":"2021-04-20T11:04:17Z","message":"sent request with 0 transactions, 2 spans, 0 errors, 1 metricset"}
[2021-04-20T11:04:20.829Z] time="2021-04-20T11:04:20Z" level=debug msg="Response information" hits=6 status="200 OK" took=2
[2021-04-20T11:04:20.829Z] time="2021-04-20T11:04:20Z" level=info msg="Hits number satisfied" currentHits=6 desiredHits=5 elapsedTime=38.535779317s retries=11
[2021-04-20T11:04:20.829Z] time="2021-04-20T11:04:20Z" level=debug msg="Response information" hits=6 status="200 OK" took=2
[2021-04-20T11:04:20.829Z] time="2021-04-20T11:04:20Z" level=info msg="Hits number satisfied" currentHits=6 desiredHits=5 elapsedTime=5.678352ms retries=1
[2021-04-20T11:04:21.772Z] Stopping metricbeat_metricbeat_1 ... 
[2021-04-20T11:04:22.033Z] 
Stopping metricbeat_metricbeat_1 ... done
Removing metricbeat_metricbeat_1 ... 
[2021-04-20T11:04:22.033Z] 
Removing metricbeat_metricbeat_1 ... done
Going to remove metricbeat_metricbeat_1
[2021-04-20T11:04:22.033Z] time="2021-04-20T11:04:21Z" level=debug msg="Docker compose executed." cmd="[rm -fvs metricbeat]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1056-1-07cf4f5f-f0d7-47a4-a4b3-904604e88b5c/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1056-1-07cf4f5f-f0d7-47a4-a4b3-904604e88b5c/.op/compose/services/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1056-1-07cf4f5f-f0d7-47a4-a4b3-904604e88b5c/.op/compose/services/dropwizard/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false DROPWIZARD_PATH:/var/lib/jenkins/workspace/PR-1056-1-07cf4f5f-f0d7-47a4-a4b3-904604e88b5c/.op/compose/services/dropwizard DROPWIZARD_VERSION:3.2.6 dropwizardTag:3.2.6 indexName:metricbeat-7.x-dropwizard-3.2.6-8cuboncu logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1056-1-07cf4f5f-f0d7-47a4-a4b3-904604e88b5c/.op/compose/services/dropwizard/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.x-SNAPSHOT serviceName:dropwizard stackVersion:7.13.0-SNAPSHOT]" profile=metricbeat
[2021-04-20T11:04:22.033Z] time="2021-04-20T11:04:21Z" level=debug msg="Service removed from compose" profile=metricbeat service=metricbeat
[2021-04-20T11:04:22.611Z] Stopping metricbeat_dropwizard_1 ... 
[2021-04-20T11:04:23.180Z] 
Stopping metricbeat_dropwizard_1 ... done
Removing metricbeat_dropwizard_1 ... 
[2021-04-20T11:04:23.180Z] 
Removing metricbeat_dropwizard_1 ... done
Going to remove metricbeat_dropwizard_1
[2021-04-20T11:04:23.181Z] time="2021-04-20T11:04:23Z" level=debug msg="Docker compose executed." cmd="[rm -fvs dropwizard]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1056-1-07cf4f5f-f0d7-47a4-a4b3-904604e88b5c/.op/compose/profiles/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1056-1-07cf4f5f-f0d7-47a4-a4b3-904604e88b5c/.op/compose/services/metricbeat/docker-compose.yml /var/lib/jenkins/workspace/PR-1056-1-07cf4f5f-f0d7-47a4-a4b3-904604e88b5c/.op/compose/services/dropwizard/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false DROPWIZARD_PATH:/var/lib/jenkins/workspace/PR-1056-1-07cf4f5f-f0d7-47a4-a4b3-904604e88b5c/.op/compose/services/dropwizard DROPWIZARD_VERSION:3.2.6 dropwizardTag:3.2.6 indexName:metricbeat-7.x-dropwizard-3.2.6-8cuboncu logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1056-1-07cf4f5f-f0d7-47a4-a4b3-904604e88b5c/.op/compose/services/dropwizard/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.x-SNAPSHOT serviceName:dropwizard stackVersion:7.13.0-SNAPSHOT]" profile=metricbeat
[2021-04-20T11:04:23.181Z] time="2021-04-20T11:04:23Z" level=debug msg="Service removed from compose" profile=metricbeat service=dropwizard
[2021-04-20T11:04:23.181Z] time="2021-04-20T11:04:23Z" level=debug msg="Index deleted using Elasticsearch Go client" indexName=metricbeat-7.x-dropwizard-3.2.6-8cuboncu status="400 Bad Request"
[2021-04-20T11:04:23.181Z] time="2021-04-20T11:04:23Z" level=debug msg="Index Alias deleted using Elasticsearch Go client" indexAlias=metricbeat-7.x-dropwizard-3.2.6-8cuboncu status="400 Bad Request"
[2021-04-20T11:04:23.441Z] {"level":"debug","time":"2021-04-20T11:04:23Z","message":"sent request with 1 transaction, 6 spans, 0 errors, 0 metricsets"}
[2021-04-20T11:04:24.008Z] Stopping metricbeat_elasticsearch_1 ... 
[2021-04-20T11:04:24.951Z] 
Stopping metricbeat_elasticsearch_1 ... done
Removing metricbeat_elasticsearch_1 ... 
[2021-04-20T11:04:25.216Z] 
Removing metricbeat_elasticsearch_1 ... done
Removing network metricbeat_default
[2021-04-20T11:04:25.484Z] time="2021-04-20T11:04:25Z" level=debug msg="Docker compose executed." cmd="[down --remove-orphans]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1056-1-07cf4f5f-f0d7-47a4-a4b3-904604e88b5c/.op/compose/profiles/metricbeat/docker-compose.yml]" env="map[BEAT_STRICT_PERMS:false DROPWIZARD_PATH:/var/lib/jenkins/workspace/PR-1056-1-07cf4f5f-f0d7-47a4-a4b3-904604e88b5c/.op/compose/services/dropwizard DROPWIZARD_VERSION:3.2.6 dropwizardTag:3.2.6 indexName:metricbeat-7.x-dropwizard-3.2.6-8cuboncu logLevel:debug metricbeatConfigFile:/var/lib/jenkins/workspace/PR-1056-1-07cf4f5f-f0d7-47a4-a4b3-904604e88b5c/.op/compose/services/dropwizard/_meta/config.yml metricbeatDockerNamespace:beats metricbeatPlatform:linux/amd64 metricbeatTag:7.x-SNAPSHOT serviceName:dropwizard stackVersion:7.13.0-SNAPSHOT]" profile=metricbeat
[2021-04-20T11:04:25.744Z] {"level":"debug","time":"2021-04-20T11:04:25Z","message":"sent request with 1 transaction, 2 spans, 0 errors, 0 metricsets"}
[2021-04-20T11:04:26.158Z] [INFO] Stopping Filebeat Docker container
[2021-04-20T11:04:26.496Z] + docker exec -t 79d37a74fe40e4411230788a09ec30dae8dcebb0ade97e61d87ac73a0bf7c263 chmod -R ugo+rw /output
[2021-04-20T11:04:27.067Z] + docker stop --time 30 79d37a74fe40e4411230788a09ec30dae8dcebb0ade97e61d87ac73a0bf7c263
[2021-04-20T11:04:27.433Z] 79d37a74fe40e4411230788a09ec30dae8dcebb0ade97e61d87ac73a0bf7c263
[2021-04-20T11:04:27.480Z] Archiving artifacts
[2021-04-20T11:04:28.903Z] Recording test results
[2021-04-20T11:04:29.192Z] [Checks API] No suitable checks publisher found.
[2021-04-20T11:04:29.227Z] Archiving artifacts
[2021-04-20T11:04:29.334Z] Running in /var/lib/jenkins/workspace/PR-1056-1-07cf4f5f-f0d7-47a4-a4b3-904604e88b5c/src/github.com/elastic/e2e-testing
[2021-04-20T11:04:29.680Z] + go clean -modcache
[2021-04-20T11:04:32.773Z] Stage "Release" skipped due to earlier failure(s)
[2021-04-20T11:04:54.717Z] Running on worker-395930 in /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1056
[2021-04-20T11:04:54.845Z] [INFO] getVaultSecret: Getting secrets
[2021-04-20T11:04:54.987Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-04-20T11:04:57.418Z] + chmod 755 generate-build-data.sh
[2021-04-20T11:04:57.418Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1056/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1056/runs/1 FAILURE 3985927
[2021-04-20T11:04:57.418Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1056/runs/1/steps/?limit=10000 -o steps-info.json
[2021-04-20T11:04:58.865Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1056/runs/1/tests/?status=FAILED -o tests-errors.json
[2021-04-20T11:04:59.730Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1056/runs/1/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 5
Passed 115
Skipped 0
Total 120

Genuine test errors 5

💔 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 / [empty] – TEST-fleet.xml
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_fleet_server / [empty] – TEST-fleet.xml
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_agent_endpoint_integration / [empty] – TEST-fleet.xml
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_fleet_mode_agent / [empty] – TEST-fleet.xml
  • Name: Initializing / End-To-End Tests / ubuntu-18.04_fleet_backend_processes / [empty] – TEST-fleet.xml

@mdelapenya
Copy link
Contributor

Failures are caused by latest kibana snapshot. #1055 will fix that version

@mdelapenya mdelapenya merged commit 419c544 into 7.x Apr 20, 2021
@mergify mergify bot deleted the mergify/bp/7.x/pr-900 branch April 20, 2021 11:13
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.

2 participants