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

fix: apply X version for non-master branches #1037

Merged
merged 1 commit into from
Apr 14, 2021

Conversation

mdelapenya
Copy link
Contributor

What does this PR do?

It verifies that the base ref for the Kibana PR is master, keeping the e2e branch name equals to the base ref in the case it's "master". For other base refs, it will append the '.x' suffix, to keep consistency with e2e maintenance branches.

Why is it important?

PRs against master were not covered, as the suffix was always appended.

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)

Related issues

@mdelapenya mdelapenya self-assigned this Apr 14, 2021
@mdelapenya mdelapenya requested a review from a team April 14, 2021 09:42
@mdelapenya mdelapenya marked this pull request as ready for review April 14, 2021 09:42
@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 #1037 opened

  • Start Time: 2021-04-14T09:42:38.439+0000

  • Duration: 30 min 12 sec

  • Commit: 5d35046

Test stats 🧪

Test Results
Failed 1
Passed 140
Skipped 0
Total 141

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_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: The policy response is not listed as 'success' in the Administration view in the Security App yet 
    

  • no stacktrace

Steps errors 1

Expand to view the steps failures

Run functional tests for fleet:agent_endpoint_integration && ~@nightly && ~debian
  • Took 20 min 15 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"

Log output

Expand to view the last 100 lines of log output

[2021-04-14T10:12:14.602Z] time="2021-04-14T10:12:13Z" level=debug msg="Agent listed in Fleet with online status" agentID=7609e6b7-3385-4a36-ba0e-b6562ebff54e hostname=3a86538173b6
[2021-04-14T10:12:14.602Z] time="2021-04-14T10:12:13Z" level=info msg="The Agent is in the desired status" elapsedTime=15.777579593s hostname=3a86538173b6 isAgentInStatus=true retries=7 status=online
[2021-04-14T10:12:14.602Z] time="2021-04-14T10:12:13Z" level=debug msg="Integration in latest version found" name=endpoint title="Endpoint Security" version=0.18.0
[2021-04-14T10:12:17.200Z] time="2021-04-14T10:12:17Z" level=info msg="Integration added to the configuration" integration=endpoint integrationConfigurationID=07bd21d9-d5e5-4f76-bd57-b3504c63121c policyID=71881e10-9d07-11eb-84e5-e1eb49f80ec3 version=0.18.0
[2021-04-14T10:12:17.200Z] time="2021-04-14T10:12:17Z" level=debug msg="Package policy found in the configuration" package="{07bd21d9-d5e5-4f76-bd57-b3504c63121c endpoint Endpoint Security 0.18.0 0xc000352dd0}" policyID=71881e10-9d07-11eb-84e5-e1eb49f80ec3
[2021-04-14T10:12:20.577Z] time="2021-04-14T10:12:20Z" level=info msg="Integration deleted from the configuration" integration=endpoint packageConfigId=07bd21d9-d5e5-4f76-bd57-b3504c63121c policyID=71881e10-9d07-11eb-84e5-e1eb49f80ec3 version=0.18.0
[2021-04-14T10:12:20.577Z] time="2021-04-14T10:12:20Z" level=debug msg="Agent listed in Fleet with online status" agentID=7609e6b7-3385-4a36-ba0e-b6562ebff54e hostname=3a86538173b6
[2021-04-14T10:12:20.577Z] time="2021-04-14T10:12:20Z" level=info msg="The Agent is in the desired status" elapsedTime=95.298155ms hostname=3a86538173b6 isAgentInStatus=true retries=1 status=online
[2021-04-14T10:12:20.577Z] time="2021-04-14T10:12:20Z" level=info msg="The Agent is not listed in the Administration view in the Security App" elapsedTime=32.832225ms hostname=3a86538173b6 retries=1
[2021-04-14T10:12:21.169Z] {"log.level":"info","@timestamp":"2021-04-14T10:11:59.868Z","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-14T10:12:21.169Z] {"log.level":"info","@timestamp":"2021-04-14T10:11:59.868Z","log.origin":{"file.name":"application/application.go","file.line":68},"message":"Detecting execution mode","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.169Z] {"log.level":"info","@timestamp":"2021-04-14T10:11:59.869Z","log.origin":{"file.name":"application/application.go","file.line":93},"message":"Agent is managed by Fleet","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.169Z] {"log.level":"info","@timestamp":"2021-04-14T10:11:59.869Z","log.origin":{"file.name":"capabilities/capabilities.go","file.line":59},"message":"capabilities file not found in /opt/Elastic/Agent/capabilities.yml","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.169Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:00.026Z","log.logger":"composable","log.origin":{"file.name":"composable/controller.go","file.line":46},"message":"EXPERIMENTAL - Inputs with variables are currently experimental and should not be used in production","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.169Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:00.128Z","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-14T10:12:21.169Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:00.129Z","log.logger":"api","log.origin":{"file.name":"api/server.go","file.line":62},"message":"Starting stats endpoint","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.170Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:00.129Z","log.origin":{"file.name":"application/managed_mode.go","file.line":289},"message":"Agent is starting","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.170Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:00.129Z","log.logger":"api","log.origin":{"file.name":"api/server.go","file.line":64},"message":"Metrics endpoint listening on: /opt/Elastic/Agent/data/tmp/elastic-agent.sock (configured: unix:///opt/Elastic/Agent/data/tmp/elastic-agent.sock)","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.170Z] {"log.level":"warn","@timestamp":"2021-04-14T10:12:00.230Z","log.origin":{"file.name":"application/managed_mode.go","file.line":302},"message":"failed to ack update open /opt/Elastic/Agent/data/.update-marker: no such file or directory","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.170Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:01.848Z","log.origin":{"file.name":"stateresolver/stateresolver.go","file.line":48},"message":"New State ID is 5IcFxUCN","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.170Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:01.848Z","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-14T10:12:21.170Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:01.848Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"metricbeat.8.0.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-53d75c/downloads/metricbeat-8.0.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.170Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:01.848Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"metricbeat.8.0.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-53d75c/downloads/metricbeat-8.0.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.170Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:05.640Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-14T10:12:05Z: type: 'STATE': sub_type: 'STARTING' message: Application: metricbeat--8.0.0-SNAPSHOT[7609e6b7-3385-4a36-ba0e-b6562ebff54e]: State changed to STARTING: Starting","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.170Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:05.645Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"filebeat.8.0.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-53d75c/downloads/filebeat-8.0.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.170Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:05.645Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"filebeat.8.0.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-53d75c/downloads/filebeat-8.0.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.170Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:06.917Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-14T10:12:06Z: type: 'STATE': sub_type: 'RUNNING' message: Application: metricbeat--8.0.0-SNAPSHOT[7609e6b7-3385-4a36-ba0e-b6562ebff54e]: State changed to RUNNING: Running","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.171Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:10.651Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-14T10:12:10Z: type: 'STATE': sub_type: 'STARTING' message: Application: filebeat--8.0.0-SNAPSHOT[7609e6b7-3385-4a36-ba0e-b6562ebff54e]: State changed to STARTING: Starting","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.171Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:10.652Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"filebeat.8.0.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-53d75c/downloads/filebeat-8.0.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.171Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:10.652Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"filebeat.8.0.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-53d75c/downloads/filebeat-8.0.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.171Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:10.900Z","log.origin":{"file.name":"operation/operator.go","file.line":259},"message":"operation 'operation-install' skipped for filebeat.8.0.0-SNAPSHOT","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.171Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:11.055Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-14T10:12:11Z: type: 'STATE': sub_type: 'STARTING' message: Application: filebeat--8.0.0-SNAPSHOT--36643631373035623733363936343635[7609e6b7-3385-4a36-ba0e-b6562ebff54e]: State changed to STARTING: Starting","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.171Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:11.056Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"metricbeat.8.0.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-53d75c/downloads/metricbeat-8.0.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.171Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:11.056Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"metricbeat.8.0.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-53d75c/downloads/metricbeat-8.0.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.171Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:11.325Z","log.origin":{"file.name":"operation/operator.go","file.line":259},"message":"operation 'operation-install' skipped for metricbeat.8.0.0-SNAPSHOT","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.171Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:11.525Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-14T10:12:11Z: type: 'STATE': sub_type: 'STARTING' message: Application: metricbeat--8.0.0-SNAPSHOT--36643631373035623733363936343635[7609e6b7-3385-4a36-ba0e-b6562ebff54e]: State changed to STARTING: Starting","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.171Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:11.528Z","log.origin":{"file.name":"stateresolver/stateresolver.go","file.line":66},"message":"Updating internal state","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.172Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:11.850Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-14T10:12:11Z: type: 'STATE': sub_type: 'RUNNING' message: Application: filebeat--8.0.0-SNAPSHOT[7609e6b7-3385-4a36-ba0e-b6562ebff54e]: State changed to RUNNING: Running","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.172Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:12.233Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-14T10:12:12Z: type: 'STATE': sub_type: 'RUNNING' message: Application: filebeat--8.0.0-SNAPSHOT--36643631373035623733363936343635[7609e6b7-3385-4a36-ba0e-b6562ebff54e]: State changed to RUNNING: Running","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.172Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:12.780Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-14T10:12:12Z: type: 'STATE': sub_type: 'RUNNING' message: Application: metricbeat--8.0.0-SNAPSHOT--36643631373035623733363936343635[7609e6b7-3385-4a36-ba0e-b6562ebff54e]: State changed to RUNNING: Running","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.172Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:19.203Z","log.origin":{"file.name":"stateresolver/stateresolver.go","file.line":48},"message":"New State ID is QpbLYf9Y","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.172Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:19.203Z","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-14T10:12:21.172Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:19.203Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"metricbeat.8.0.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-53d75c/downloads/metricbeat-8.0.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.172Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:19.203Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"metricbeat.8.0.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-53d75c/downloads/metricbeat-8.0.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.172Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:19.453Z","log.origin":{"file.name":"operation/operator.go","file.line":259},"message":"operation 'operation-install' skipped for metricbeat.8.0.0-SNAPSHOT","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.172Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:19.453Z","log.origin":{"file.name":"operation/operator.go","file.line":259},"message":"operation 'operation-start' skipped for metricbeat.8.0.0-SNAPSHOT","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.172Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:19.454Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"filebeat.8.0.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-53d75c/downloads/filebeat-8.0.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.172Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:19.454Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"filebeat.8.0.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-53d75c/downloads/filebeat-8.0.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.173Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:19.650Z","log.origin":{"file.name":"operation/operator.go","file.line":259},"message":"operation 'operation-install' skipped for filebeat.8.0.0-SNAPSHOT","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.173Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:19.651Z","log.origin":{"file.name":"operation/operator.go","file.line":259},"message":"operation 'operation-start' skipped for filebeat.8.0.0-SNAPSHOT","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.173Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:19.651Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"metricbeat.8.0.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-53d75c/downloads/metricbeat-8.0.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.173Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:19.651Z","log.origin":{"file.name":"operation/operation_fetch.go","file.line":61},"message":"metricbeat.8.0.0-SNAPSHOT already exists in /opt/Elastic/Agent/data/elastic-agent-53d75c/downloads/metricbeat-8.0.0-SNAPSHOT-linux-x86_64.tar.gz. Skipping operation operation-fetch","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.173Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:19.931Z","log.origin":{"file.name":"operation/operator.go","file.line":259},"message":"operation 'operation-install' skipped for metricbeat.8.0.0-SNAPSHOT","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.173Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:19.931Z","log.origin":{"file.name":"operation/operator.go","file.line":259},"message":"operation 'operation-start' skipped for metricbeat.8.0.0-SNAPSHOT","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.173Z] {"log.level":"info","@timestamp":"2021-04-14T10:12:19.932Z","log.origin":{"file.name":"stateresolver/stateresolver.go","file.line":66},"message":"Updating internal state","ecs.version":"1.6.0"}
[2021-04-14T10:12:21.443Z] time="2021-04-14T10:12:21Z" level=debug msg="Docker compose executed." cmd="[exec -T centos-systemd cat /opt/Elastic/Agent/data/elastic-agent-53d75c/logs//elastic-agent-json.log]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1037-1-492b5ac7-34d2-4e31-9b99-172d50d3dabd/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/PR-1037-1-492b5ac7-34d2-4e31-9b99-172d50d3dabd/.op/compose/services/centos-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz101647424 centos_systemdAgentBinaryTargetPath:/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz centos_systemdContainerName:fleet_centos-systemd_elastic-agent_1 centos_systemdTag:latest kibanaDockerNamespace:kibana kibanaVersion:8.0.0-SNAPSHOT stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-04-14T10:12:23.403Z] Elastic Agent has been uninstalled.
[2021-04-14T10:12:23.403Z] time="2021-04-14T10:12:23Z" level=debug msg="Docker compose executed." cmd="[exec -T centos-systemd elastic-agent uninstall -f]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1037-1-492b5ac7-34d2-4e31-9b99-172d50d3dabd/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/PR-1037-1-492b5ac7-34d2-4e31-9b99-172d50d3dabd/.op/compose/services/centos-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz101647424 centos_systemdAgentBinaryTargetPath:/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz centos_systemdContainerName:fleet_centos-systemd_elastic-agent_1 centos_systemdTag:latest kibanaDockerNamespace:kibana kibanaVersion:8.0.0-SNAPSHOT stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-04-14T10:12:23.403Z] time="2021-04-14T10:12:23Z" level=debug msg="Un-enrolling agent in Fleet" agentID=7609e6b7-3385-4a36-ba0e-b6562ebff54e hostname=3a86538173b6
[2021-04-14T10:12:24.822Z] time="2021-04-14T10:12:24Z" level=debug msg="Fleet agent was unenrolled" agentID=7609e6b7-3385-4a36-ba0e-b6562ebff54e
[2021-04-14T10:12:25.793Z] Stopping fleet_centos-systemd_elastic-agent_1 ... 
[2021-04-14T10:12:27.753Z] {"level":"debug","time":"2021-04-14T10:12:27Z","message":"gathering metrics"}
[2021-04-14T10:12:37.900Z] 
Stopping fleet_centos-systemd_elastic-agent_1 ... done
Removing fleet_centos-systemd_elastic-agent_1 ... 
[2021-04-14T10:12:37.900Z] 
Removing fleet_centos-systemd_elastic-agent_1 ... done
Going to remove fleet_centos-systemd_elastic-agent_1
[2021-04-14T10:12:37.900Z] time="2021-04-14T10:12:36Z" level=debug msg="Docker compose executed." cmd="[rm -fvs centos-systemd]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1037-1-492b5ac7-34d2-4e31-9b99-172d50d3dabd/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/PR-1037-1-492b5ac7-34d2-4e31-9b99-172d50d3dabd/.op/compose/services/centos-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz101647424 centos_systemdAgentBinaryTargetPath:/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz centos_systemdContainerName:fleet_centos-systemd_elastic-agent_1 centos_systemdTag:latest kibanaDockerNamespace:kibana kibanaVersion:8.0.0-SNAPSHOT stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-04-14T10:12:37.900Z] time="2021-04-14T10:12:36Z" level=debug msg="Service removed from compose" profile=fleet service=centos-systemd
[2021-04-14T10:12:37.900Z] {"level":"debug","time":"2021-04-14T10:12:37Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-04-14T10:12:37.900Z] time="2021-04-14T10:12:37Z" level=debug msg="The token was deleted" tokenID=464b723a-9610-4f29-aade-ff13069e4aa0
[2021-04-14T10:12:37.900Z] time="2021-04-14T10:12:37Z" level=info msg="Integration deleted from the configuration" integration=endpoint packageConfigId=07bd21d9-d5e5-4f76-bd57-b3504c63121c policyID=71881e10-9d07-11eb-84e5-e1eb49f80ec3 version=0.18.0
[2021-04-14T10:12:37.900Z] time="2021-04-14T10:12:37Z" level=debug msg="Destroying Fleet runtime dependencies"
[2021-04-14T10:12:38.872Z] Stopping fleet_kibana_1           ... 
[2021-04-14T10:12:38.872Z] Stopping fleet_package-registry_1 ... 
[2021-04-14T10:12:38.872Z] Stopping fleet_elasticsearch_1    ... 
[2021-04-14T10:12:41.015Z] 
Stopping fleet_kibana_1           ... done

Stopping fleet_package-registry_1 ... done

Stopping fleet_elasticsearch_1    ... done
Removing fleet_kibana_1           ... 
[2021-04-14T10:12:41.015Z] Removing fleet_package-registry_1 ... 
[2021-04-14T10:12:41.015Z] Removing fleet_elasticsearch_1    ... 
[2021-04-14T10:12:41.015Z] 
Removing fleet_kibana_1           ... done

Removing fleet_package-registry_1 ... done

Removing fleet_elasticsearch_1    ... done
Removing network fleet_default
[2021-04-14T10:12:41.607Z] time="2021-04-14T10:12:41Z" level=debug msg="Docker compose executed." cmd="[down --remove-orphans]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1037-1-492b5ac7-34d2-4e31-9b99-172d50d3dabd/.op/compose/profiles/fleet/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz101647424 centos_systemdAgentBinaryTargetPath:/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz centos_systemdContainerName:fleet_centos-systemd_elastic-agent_1 centos_systemdTag:latest kibanaDockerNamespace:kibana kibanaVersion:8.0.0-SNAPSHOT stackVersion:8.0.0-SNAPSHOT]" profile=fleet
[2021-04-14T10:12:41.607Z] time="2021-04-14T10:12:41Z" level=debug msg="Elastic Agent binary was removed." installer=centos-tar-8.0.0-SNAPSHOT path=/tmp/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz101647424
[2021-04-14T10:12:41.607Z] Makefile:73: recipe for target 'functional-test' failed
[2021-04-14T10:12:41.607Z] make: *** [functional-test] Error 1
[2021-04-14T10:12:41.937Z] [INFO] Stopping Filebeat Docker container
[2021-04-14T10:12:42.247Z] + docker exec -t f92165572e6cc06803383d3e24376b98e1d21ea625accd8da3254e69ac73ab38 chmod -R ugo+rw /output
[2021-04-14T10:12:42.517Z] + docker stop --time 30 f92165572e6cc06803383d3e24376b98e1d21ea625accd8da3254e69ac73ab38
[2021-04-14T10:12:43.108Z] f92165572e6cc06803383d3e24376b98e1d21ea625accd8da3254e69ac73ab38
[2021-04-14T10:12:43.147Z] Archiving artifacts
[2021-04-14T10:12:43.959Z] Recording test results
[2021-04-14T10:12:44.707Z] [Checks API] No suitable checks publisher found.
[2021-04-14T10:12:44.751Z] Archiving artifacts
[2021-04-14T10:12:44.845Z] Running in /var/lib/jenkins/workspace/PR-1037-1-492b5ac7-34d2-4e31-9b99-172d50d3dabd/src/github.com/elastic/e2e-testing
[2021-04-14T10:12:45.265Z] + go clean -modcache
[2021-04-14T10:12:46.192Z] Failed in branch ubuntu-18.04_fleet_agent_endpoint_integration
[2021-04-14T10:12:49.254Z] Stage "Release" skipped due to earlier failure(s)
[2021-04-14T10:12:49.783Z] Running on Jenkins in /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1037
[2021-04-14T10:12:49.910Z] [INFO] getVaultSecret: Getting secrets
[2021-04-14T10:12:50.033Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-04-14T10:12:51.007Z] + chmod 755 generate-build-data.sh
[2021-04-14T10:12:51.007Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1037/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1037/runs/1 FAILURE 1812295
[2021-04-14T10:12:51.258Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1037/runs/1/steps/?limit=10000 -o steps-info.json
[2021-04-14T10:12:52.169Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1037/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 140
Skipped 0
Total 141

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_agent_endpoint_integration / Deploying an Endpoint makes policies to appear in the Security App – Agent Endpoint Integration

@mdelapenya mdelapenya merged commit c4deb04 into elastic:master Apr 14, 2021
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Apr 14, 2021
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Apr 14, 2021
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Apr 14, 2021
mdelapenya added a commit that referenced this pull request Apr 14, 2021
… branches (#1037) backport for 7.x (#1038)

* fix: add NodeJS to PATH (#1035)

* fix: add NodeJS to PATH

* fix: use proper Github API for retrieving the comment by ID

* chore: use existing step from the shared library

* fix: apply X version for non-master branches (#1037)
mdelapenya added a commit that referenced this pull request Apr 14, 2021
… branches (#1037) backport for 7.12.x (#1039)

* fix: add NodeJS to PATH (#1035)

* fix: add NodeJS to PATH

* fix: use proper Github API for retrieving the comment by ID

* chore: use existing step from the shared library

* fix: apply X version for non-master branches (#1037)
mdelapenya added a commit that referenced this pull request Apr 14, 2021
… branches (#1037) backport for 7.11.x (#1040)

* fix: add NodeJS to PATH (#1035)

* fix: add NodeJS to PATH

* fix: use proper Github API for retrieving the comment by ID

* chore: use existing step from the shared library

* fix: apply X version for non-master branches (#1037)
@mdelapenya mdelapenya deleted the fix-base-ref branch April 14, 2021 12:57
@mdelapenya mdelapenya mentioned this pull request Apr 14, 2021
8 tasks
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Apr 15, 2021
* master:
  chore: add debug info for the payload (elastic#1044)
  chore: add debug traces for the webhook payload (elastic#1043)
  fix: wrong interpolation (elastic#1042)
  Update Elastic Agent to not use Kibana (elastic#1036)
  fix: apply X version for non-master branches (elastic#1037)
  fix: add NodeJS to PATH (elastic#1035)
  fix: use an agent when building kibana (elastic#1030)
  fix(jjb): use a branch that exists (elastic#1029)
  remove uninstall step (elastic#1017)
  fix: delay checking stale agent version until it's used (elastic#1016)
  fix: use same JJB than in custom kibana (elastic#1010)
  chore: simplify PR template (elastic#1011)
  feat: support passing KIBANA_VERSION (elastic#905)
  [mergify] assign the original author (elastic#1009)
  Remove the agent config file parameters for stand alone (elastic#983)
  Uniquify the stand-alone step for checking agent status (elastic#993)
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Apr 19, 2021
* master:
  fix: check if kibana version is a commit (elastic#1047)
  fix: incorrect variable name (elastic#1046)
  fix: typo in parameters (elastic#1045)
  chore: add debug info for the payload (elastic#1044)
  chore: add debug traces for the webhook payload (elastic#1043)
  fix: wrong interpolation (elastic#1042)
  Update Elastic Agent to not use Kibana (elastic#1036)
  fix: apply X version for non-master branches (elastic#1037)
  fix: add NodeJS to PATH (elastic#1035)
  fix: use an agent when building kibana (elastic#1030)
  fix(jjb): use a branch that exists (elastic#1029)
  remove uninstall step (elastic#1017)
  fix: delay checking stale agent version until it's used (elastic#1016)
  fix: use same JJB than in custom kibana (elastic#1010)
  chore: simplify PR template (elastic#1011)
  feat: support passing KIBANA_VERSION (elastic#905)
  [mergify] assign the original author (elastic#1009)
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