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

Add a standalone test scenario for fleet server mode (bp #978)#988

Merged
adam-stokes merged 1 commit into7.11.xfrom
mergify/bp/7.11.x/pr-978
Apr 6, 2021
Merged

Add a standalone test scenario for fleet server mode (bp #978)#988
adam-stokes merged 1 commit into7.11.xfrom
mergify/bp/7.11.x/pr-978

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Apr 5, 2021

This is an automatic backport of pull request #978 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/

@elasticmachine
Copy link
Copy Markdown
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 #988 opened

  • Start Time: 2021-04-05T15:43:26.122+0000

  • Duration: 48 min 36 sec

  • Commit: 04d7226

Test stats 🧪

Test Results
Failed 1
Passed 137
Skipped 0
Total 138

Trends 🧪

Image of Build Times

Image of Tests

Test errors 1

Expand to view the tests 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 agent is listed in Fleet as "online": The agent is not present in Fleet, but it should 
    

  • no stacktrace

Steps errors 1

Expand to view the steps failures

Run functional tests for fleet:stand_alone_agent && ~@nightly && ~ubi8
  • Took 17 min 1 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "stand_alone_agent && ~@nightly && ~ubi8" "7.11-SNAPSHOT" "7.11-SNAPSHOT"

Log output

Expand to view the last 100 lines of log output

[2021-04-05T16:29:59.802Z] Archiving artifacts
[2021-04-05T16:29:59.895Z] Running in /var/lib/jenkins/workspace/PR-988-1-fbbea1cd-6af2-4ddc-9f7b-caa1ad8f9ab7/src/github.com/elastic/e2e-testing
[2021-04-05T16:30:00.233Z] + go clean -modcache
[2021-04-05T16:30:05.858Z] time="2021-04-05T16:30:04Z" level=debug msg="Agent listed in Fleet with online status" agentID=1f31d8e0-962c-11eb-9e7e-eb84c0003569 hostname=a6b98baa0ac8
[2021-04-05T16:30:05.859Z] time="2021-04-05T16:30:04Z" level=warning msg="The Agent is not in the online status yet" agentID=1f31d8e0-962c-11eb-9e7e-eb84c0003569 elapsedTime=21.650056111s hostname=a6b98baa0ac8 isAgentInStatus=false retry=8 status=online
[2021-04-05T16:30:07.771Z] {"level":"debug","time":"2021-04-05T16:30:07Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-04-05T16:30:08.031Z] time="2021-04-05T16:30:07Z" level=debug msg="Agent listed in Fleet with online status" agentID=1f31d8e0-962c-11eb-9e7e-eb84c0003569 hostname=a6b98baa0ac8
[2021-04-05T16:30:08.031Z] time="2021-04-05T16:30:07Z" level=info msg="The Agent is in the desired status" elapsedTime=24.731911709s hostname=a6b98baa0ac8 isAgentInStatus=true retries=9 status=online
[2021-04-05T16:30:08.031Z] time="2021-04-05T16:30:08Z" level=debug msg="Integration in latest version found" name=endpoint title="Endpoint Security" version=0.17.1
[2021-04-05T16:30:11.430Z] time="2021-04-05T16:30:11Z" level=info msg="Integration added to the configuration" integration=endpoint integrationConfigurationID=05b5695a-d13f-4c83-b8e4-5b4cd8fdb794 policyID=2a9b3660-962a-11eb-9e7e-eb84c0003569 version=0.17.1
[2021-04-05T16:30:11.430Z] time="2021-04-05T16:30:11Z" level=debug msg="Package policy found in the configuration" package="{05b5695a-d13f-4c83-b8e4-5b4cd8fdb794 endpoint Endpoint Security 0.17.1 0xc000910630}" policyID=2a9b3660-962a-11eb-9e7e-eb84c0003569
[2021-04-05T16:30:14.726Z] time="2021-04-05T16:30:14Z" level=info msg="Integration deleted from the configuration" integration=endpoint packageConfigId=05b5695a-d13f-4c83-b8e4-5b4cd8fdb794 policyID=2a9b3660-962a-11eb-9e7e-eb84c0003569 version=0.17.1
[2021-04-05T16:30:14.726Z] time="2021-04-05T16:30:14Z" level=debug msg="Agent listed in Fleet with online status" agentID=1f31d8e0-962c-11eb-9e7e-eb84c0003569 hostname=a6b98baa0ac8
[2021-04-05T16:30:14.726Z] time="2021-04-05T16:30:14Z" level=info msg="The Agent is in the desired status" elapsedTime=91.526683ms hostname=a6b98baa0ac8 isAgentInStatus=true retries=1 status=online
[2021-04-05T16:30:14.726Z] time="2021-04-05T16:30:14Z" level=info msg="The Agent is not listed in the Administration view in the Security App" elapsedTime=59.990176ms hostname=a6b98baa0ac8 retries=1
[2021-04-05T16:30:15.299Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:43.083Z","log.origin":{"file.name":"warn/warn.go","file.line":18},"message":"The Elastic Agent is currently in BETA and should not be used in production","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.299Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:43.084Z","log.origin":{"file.name":"application/application.go","file.line":59},"message":"Detecting execution mode","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.299Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:43.084Z","log.origin":{"file.name":"application/application.go","file.line":72},"message":"Agent is managed by Fleet","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.299Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:43.267Z","log.logger":"composable","log.origin":{"file.name":"composable/controller.go","file.line":44},"message":"EXPERIMENTAL - Inputs with variables are currently experimental and should not be used in production","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.299Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:43.270Z","log.logger":"composable.providers.docker","log.origin":{"file.name":"docker/docker.go","file.line":43},"message":"Docker provider skipped, unable to connect: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.299Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:43.271Z","log.logger":"api","log.origin":{"file.name":"api/server.go","file.line":62},"message":"Starting stats endpoint","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.299Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:43.271Z","log.origin":{"file.name":"application/managed_mode.go","file.line":294},"message":"Agent is starting","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.299Z] {"log.level":"warn","@timestamp":"2021-04-05T16:29:43.271Z","log.origin":{"file.name":"application/managed_mode.go","file.line":301},"message":"failed to ack update open /opt/Elastic/Agent/data/.update-marker: no such file or directory","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.299Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:43.271Z","log.logger":"api","log.origin":{"file.name":"api/server.go","file.line":64},"message":"Metrics endpoint listening on: /tmp/elastic-agent/elastic-agent.sock (configured: unix:///tmp/elastic-agent/elastic-agent.sock)","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.300Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:46.126Z","log.origin":{"file.name":"stateresolver/stateresolver.go","file.line":48},"message":"New State ID is GyWNRqRz","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.300Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:46.126Z","log.origin":{"file.name":"stateresolver/stateresolver.go","file.line":49},"message":"Converging state requires execution of 3 step(s)","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.300Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:46.126Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"metricbeat.7.11.3-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-e2262f/downloads/metricbeat-7.11.3-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.300Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:46.126Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"metricbeat.7.11.3-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-e2262f/downloads/metricbeat-7.11.3-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.300Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:49.023Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-05T16:29:49Z: type: 'STATE': sub_type: 'STARTING' message: Application: metricbeat--7.11.3-SNAPSHOT[1f31d8e0-962c-11eb-9e7e-eb84c0003569]: State changed to STARTING: Starting","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.300Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:49.026Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"filebeat.7.11.3-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-e2262f/downloads/filebeat-7.11.3-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.300Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:49.026Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"filebeat.7.11.3-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-e2262f/downloads/filebeat-7.11.3-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.300Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:50.161Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-05T16:29:50Z: type: 'STATE': sub_type: 'RUNNING' message: Application: metricbeat--7.11.3-SNAPSHOT[1f31d8e0-962c-11eb-9e7e-eb84c0003569]: State changed to RUNNING: Running","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.300Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:53.127Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-05T16:29:53Z: type: 'STATE': sub_type: 'STARTING' message: Application: filebeat--7.11.3-SNAPSHOT[1f31d8e0-962c-11eb-9e7e-eb84c0003569]: State changed to STARTING: Starting","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.300Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:53.131Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"filebeat.7.11.3-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-e2262f/downloads/filebeat-7.11.3-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.300Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:53.131Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"filebeat.7.11.3-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-e2262f/downloads/filebeat-7.11.3-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.300Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:53.326Z","log.origin":{"file.name":"operation/operator.go","file.line":245},"message":"operation 'operation-install' skipped for filebeat.7.11.3-SNAPSHOT","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.300Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:53.494Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-05T16:29:53Z: type: 'STATE': sub_type: 'STARTING' message: Application: filebeat--7.11.3-SNAPSHOT--36643631373035623733363936343635[1f31d8e0-962c-11eb-9e7e-eb84c0003569]: State changed to STARTING: Starting","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.300Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:53.495Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"metricbeat.7.11.3-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-e2262f/downloads/metricbeat-7.11.3-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.300Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:53.495Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"metricbeat.7.11.3-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-e2262f/downloads/metricbeat-7.11.3-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.300Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:53.727Z","log.origin":{"file.name":"operation/operator.go","file.line":245},"message":"operation 'operation-install' skipped for metricbeat.7.11.3-SNAPSHOT","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.301Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:53.903Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-05T16:29:53Z: type: 'STATE': sub_type: 'STARTING' message: Application: metricbeat--7.11.3-SNAPSHOT--36643631373035623733363936343635[1f31d8e0-962c-11eb-9e7e-eb84c0003569]: State changed to STARTING: Starting","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.301Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:53.904Z","log.origin":{"file.name":"stateresolver/stateresolver.go","file.line":66},"message":"Updating internal state","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.301Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:54.247Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-05T16:29:54Z: type: 'STATE': sub_type: 'RUNNING' message: Application: filebeat--7.11.3-SNAPSHOT[1f31d8e0-962c-11eb-9e7e-eb84c0003569]: State changed to RUNNING: Running","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.301Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:54.607Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-05T16:29:54Z: type: 'STATE': sub_type: 'RUNNING' message: Application: filebeat--7.11.3-SNAPSHOT--36643631373035623733363936343635[1f31d8e0-962c-11eb-9e7e-eb84c0003569]: State changed to RUNNING: Running","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.301Z] {"log.level":"info","@timestamp":"2021-04-05T16:29:55.082Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-05T16:29:55Z: type: 'STATE': sub_type: 'RUNNING' message: Application: metricbeat--7.11.3-SNAPSHOT--36643631373035623733363936343635[1f31d8e0-962c-11eb-9e7e-eb84c0003569]: State changed to RUNNING: Running","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.301Z] {"log.level":"info","@timestamp":"2021-04-05T16:30:12.156Z","log.origin":{"file.name":"stateresolver/stateresolver.go","file.line":48},"message":"New State ID is -prFQHyg","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.301Z] {"log.level":"info","@timestamp":"2021-04-05T16:30:12.156Z","log.origin":{"file.name":"stateresolver/stateresolver.go","file.line":49},"message":"Converging state requires execution of 2 step(s)","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.301Z] {"log.level":"info","@timestamp":"2021-04-05T16:30:12.156Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"endpoint-security.7.11.3-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-e2262f/downloads/endpoint-security-7.11.3-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.301Z] {"log.level":"info","@timestamp":"2021-04-05T16:30:12.156Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"endpoint-security.7.11.3-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-e2262f/downloads/endpoint-security-7.11.3-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.301Z] {"log.level":"info","@timestamp":"2021-04-05T16:30:12.856Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-05T16:30:12Z: type: 'STATE': sub_type: 'STARTING' message: Application: endpoint-security--7.11.3-SNAPSHOT[1f31d8e0-962c-11eb-9e7e-eb84c0003569]: State changed to STARTING: Starting","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.301Z] {"log.level":"info","@timestamp":"2021-04-05T16:30:13.048Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"filebeat.7.11.3-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-e2262f/downloads/filebeat-7.11.3-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.301Z] {"log.level":"info","@timestamp":"2021-04-05T16:30:13.048Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"filebeat.7.11.3-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-e2262f/downloads/filebeat-7.11.3-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.301Z] {"log.level":"info","@timestamp":"2021-04-05T16:30:13.231Z","log.origin":{"file.name":"operation/operator.go","file.line":245},"message":"operation 'operation-install' skipped for filebeat.7.11.3-SNAPSHOT","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.301Z] {"log.level":"info","@timestamp":"2021-04-05T16:30:13.231Z","log.origin":{"file.name":"operation/operator.go","file.line":245},"message":"operation 'operation-start' skipped for filebeat.7.11.3-SNAPSHOT","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.301Z] {"log.level":"info","@timestamp":"2021-04-05T16:30:13.232Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"metricbeat.7.11.3-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-e2262f/downloads/metricbeat-7.11.3-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.301Z] {"log.level":"info","@timestamp":"2021-04-05T16:30:13.232Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"metricbeat.7.11.3-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-e2262f/downloads/metricbeat-7.11.3-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.302Z] {"log.level":"info","@timestamp":"2021-04-05T16:30:13.454Z","log.origin":{"file.name":"operation/operator.go","file.line":245},"message":"operation 'operation-install' skipped for metricbeat.7.11.3-SNAPSHOT","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.302Z] {"log.level":"info","@timestamp":"2021-04-05T16:30:13.454Z","log.origin":{"file.name":"operation/operator.go","file.line":245},"message":"operation 'operation-start' skipped for metricbeat.7.11.3-SNAPSHOT","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.302Z] {"log.level":"info","@timestamp":"2021-04-05T16:30:13.455Z","log.origin":{"file.name":"stateresolver/stateresolver.go","file.line":66},"message":"Updating internal state","ecs.version":"1.6.0"}
[2021-04-05T16:30:15.302Z] time="2021-04-05T16:30:15Z" level=debug msg="Docker compose executed." cmd="[exec -T centos-systemd cat /opt/Elastic/Agent//data/elastic-agent-e2262f/logs//elastic-agent-json.log]" composeFilePaths="[/var/lib/jenkins/workspace/PR-988-1-aaaf549a-e1c4-4fe7-a6ac-2e7e3e2387d4/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/PR-988-1-aaaf549a-e1c4-4fe7-a6ac-2e7e3e2387d4/.op/compose/services/centos-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.11.3-SNAPSHOT-linux-x86_64.tar.gz623568504 centos_systemdAgentBinaryTargetPath:/elastic-agent-7.11.3-SNAPSHOT-linux-x86_64.tar.gz centos_systemdContainerName:fleet_centos-systemd_elastic-agent_1 centos_systemdTag:latest kibanaConfigPath:/var/lib/jenkins/workspace/PR-988-1-aaaf549a-e1c4-4fe7-a6ac-2e7e3e2387d4/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:7.11.3-SNAPSHOT]" profile=fleet
[2021-04-05T16:30:20.587Z] Elastic Agent has been uninstalled.
[2021-04-05T16:30:20.587Z] time="2021-04-05T16:30:20Z" level=debug msg="Docker compose executed." cmd="[exec -T centos-systemd elastic-agent uninstall -f]" composeFilePaths="[/var/lib/jenkins/workspace/PR-988-1-aaaf549a-e1c4-4fe7-a6ac-2e7e3e2387d4/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/PR-988-1-aaaf549a-e1c4-4fe7-a6ac-2e7e3e2387d4/.op/compose/services/centos-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.11.3-SNAPSHOT-linux-x86_64.tar.gz623568504 centos_systemdAgentBinaryTargetPath:/elastic-agent-7.11.3-SNAPSHOT-linux-x86_64.tar.gz centos_systemdContainerName:fleet_centos-systemd_elastic-agent_1 centos_systemdTag:latest kibanaConfigPath:/var/lib/jenkins/workspace/PR-988-1-aaaf549a-e1c4-4fe7-a6ac-2e7e3e2387d4/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:7.11.3-SNAPSHOT]" profile=fleet
[2021-04-05T16:30:20.587Z] time="2021-04-05T16:30:20Z" level=debug msg="Un-enrolling agent in Fleet" agentID=1f31d8e0-962c-11eb-9e7e-eb84c0003569 hostname=a6b98baa0ac8
[2021-04-05T16:30:21.528Z] time="2021-04-05T16:30:21Z" level=debug msg="Fleet agent was unenrolled" agentID=1f31d8e0-962c-11eb-9e7e-eb84c0003569
[2021-04-05T16:30:22.100Z] Stopping fleet_centos-systemd_elastic-agent_1 ... 
[2021-04-05T16:30:27.381Z] {"level":"debug","time":"2021-04-05T16:30:27Z","message":"gathering metrics"}
[2021-04-05T16:30:32.662Z] 
Stopping fleet_centos-systemd_elastic-agent_1 ... done
Removing fleet_centos-systemd_elastic-agent_1 ... 
[2021-04-05T16:30:32.662Z] 
Removing fleet_centos-systemd_elastic-agent_1 ... done
Going to remove fleet_centos-systemd_elastic-agent_1
[2021-04-05T16:30:32.923Z] time="2021-04-05T16:30:32Z" level=debug msg="Docker compose executed." cmd="[rm -fvs centos-systemd]" composeFilePaths="[/var/lib/jenkins/workspace/PR-988-1-aaaf549a-e1c4-4fe7-a6ac-2e7e3e2387d4/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/PR-988-1-aaaf549a-e1c4-4fe7-a6ac-2e7e3e2387d4/.op/compose/services/centos-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.11.3-SNAPSHOT-linux-x86_64.tar.gz623568504 centos_systemdAgentBinaryTargetPath:/elastic-agent-7.11.3-SNAPSHOT-linux-x86_64.tar.gz centos_systemdContainerName:fleet_centos-systemd_elastic-agent_1 centos_systemdTag:latest kibanaConfigPath:/var/lib/jenkins/workspace/PR-988-1-aaaf549a-e1c4-4fe7-a6ac-2e7e3e2387d4/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:7.11.3-SNAPSHOT]" profile=fleet
[2021-04-05T16:30:32.923Z] time="2021-04-05T16:30:32Z" level=debug msg="Service removed from compose" profile=fleet service=centos-systemd
[2021-04-05T16:30:33.493Z] time="2021-04-05T16:30:33Z" level=debug msg="The token was deleted" tokenID=1a6ab3e0-962c-11eb-9e7e-eb84c0003569
[2021-04-05T16:30:33.493Z] time="2021-04-05T16:30:33Z" level=info msg="Integration deleted from the configuration" integration=endpoint packageConfigId=05b5695a-d13f-4c83-b8e4-5b4cd8fdb794 policyID=2a9b3660-962a-11eb-9e7e-eb84c0003569 version=0.17.1
[2021-04-05T16:30:33.493Z] time="2021-04-05T16:30:33Z" level=debug msg="Destroying Fleet runtime dependencies"
[2021-04-05T16:30:34.062Z] Stopping fleet_kibana_1           ... 
[2021-04-05T16:30:34.063Z] Stopping fleet_elasticsearch_1    ... 
[2021-04-05T16:30:34.063Z] Stopping fleet_package-registry_1 ... 
[2021-04-05T16:30:35.834Z] 
Stopping fleet_kibana_1           ... done

Stopping fleet_package-registry_1 ... done

Stopping fleet_elasticsearch_1    ... done
Removing fleet_kibana_1           ... 
[2021-04-05T16:30:35.834Z] Removing fleet_elasticsearch_1    ... 
[2021-04-05T16:30:35.834Z] Removing fleet_package-registry_1 ... 
[2021-04-05T16:30:35.834Z] 
Removing fleet_kibana_1           ... done

Removing fleet_package-registry_1 ... done

Removing fleet_elasticsearch_1    ... done
Removing network fleet_default
[2021-04-05T16:30:36.403Z] time="2021-04-05T16:30:36Z" level=debug msg="Docker compose executed." cmd="[down --remove-orphans]" composeFilePaths="[/var/lib/jenkins/workspace/PR-988-1-aaaf549a-e1c4-4fe7-a6ac-2e7e3e2387d4/.op/compose/profiles/fleet/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.11.3-SNAPSHOT-linux-x86_64.tar.gz623568504 centos_systemdAgentBinaryTargetPath:/elastic-agent-7.11.3-SNAPSHOT-linux-x86_64.tar.gz centos_systemdContainerName:fleet_centos-systemd_elastic-agent_1 centos_systemdTag:latest kibanaConfigPath:/var/lib/jenkins/workspace/PR-988-1-aaaf549a-e1c4-4fe7-a6ac-2e7e3e2387d4/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml stackVersion:7.11.3-SNAPSHOT]" profile=fleet
[2021-04-05T16:30:36.403Z] time="2021-04-05T16:30:36Z" level=debug msg="Elastic Agent binary was removed." installer=centos-tar-7.11.3-SNAPSHOT path=/tmp/elastic-agent-7.11.3-SNAPSHOT-linux-x86_64.tar.gz623568504
[2021-04-05T16:30:36.697Z] [INFO] Stopping Filebeat Docker container
[2021-04-05T16:30:36.999Z] + docker exec -t c100b9dc0891278f40fd2c9ffdc2f2a12a7d91da63efe62c4a230afc930ec4be chmod -R ugo+rw /output
[2021-04-05T16:30:37.259Z] + docker stop --time 30 c100b9dc0891278f40fd2c9ffdc2f2a12a7d91da63efe62c4a230afc930ec4be
[2021-04-05T16:30:37.835Z] c100b9dc0891278f40fd2c9ffdc2f2a12a7d91da63efe62c4a230afc930ec4be
[2021-04-05T16:30:37.873Z] Archiving artifacts
[2021-04-05T16:30:38.633Z] Recording test results
[2021-04-05T16:30:39.139Z] [Checks API] No suitable checks publisher found.
[2021-04-05T16:30:39.179Z] Archiving artifacts
[2021-04-05T16:30:39.294Z] Running in /var/lib/jenkins/workspace/PR-988-1-aaaf549a-e1c4-4fe7-a6ac-2e7e3e2387d4/src/github.com/elastic/e2e-testing
[2021-04-05T16:30:39.631Z] + go clean -modcache
[2021-04-05T16:30:42.390Z] Stage "Release" skipped due to earlier failure(s)
[2021-04-05T16:31:01.245Z] Running on beats-ci-immutable-ubuntu-1604-1617639981624441224 in /var/lib/jenkins/workspace/e2e-tests_e2e-testing-mbp_PR-988
[2021-04-05T16:31:01.351Z] [INFO] getVaultSecret: Getting secrets
[2021-04-05T16:31:01.472Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-04-05T16:31:02.654Z] + chmod 755 generate-build-data.sh
[2021-04-05T16:31:02.654Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-988/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-988/runs/1 FAILURE 2856140
[2021-04-05T16:31:02.654Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-988/runs/1/steps/?limit=10000 -o steps-info.json
[2021-04-05T16:31:03.598Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-988/runs/1/tests/?status=FAILED -o tests-errors.json

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Test stats 🧪

Test Results
Failed 1
Passed 137
Skipped 0
Total 138

Genuine test errors 1

💔 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

@adam-stokes adam-stokes merged commit 601064a into 7.11.x Apr 6, 2021
@adam-stokes adam-stokes deleted the mergify/bp/7.11.x/pr-978 branch April 6, 2021 13:32
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Apr 8, 2021
mdelapenya added a commit that referenced this pull request Apr 8, 2021
* Revert "Uniquify the stand-alone step for checking agent status (#993) (#997)"

This reverts commit 435c45b.

* Revert "Add a standalone test scenario for fleet server mode (#978) (#988)"

This reverts commit 601064a.
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