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

fix: wrong interpolation (#1042) | chore: add debug traces for the webhook payload (#1043) | chore: add debug info for the payload (#1044) | fix: typo in parameters (#1045) | fix: incorrect variable name (#1046) | fix: do not use GT_REPO va #1059

Conversation

mdelapenya
Copy link
Contributor

Backports the following commits to 7.11.x:

* fix: do not use variable names as variable prefix

* chore: print payload

* fix: perform another API call to fetch PR data

We need a second API request, as the issue_comment API does not retrieve
data about the pull request. See
https://docs.github.com/en/developers/webhooks-and-events/webhook-events-and-payloads#issue_comment
…c#1049)

* fix: do not use GT_REPO variable, use fixed repo name

Because the repo is always Kibana, let's use it

* chore: remove unused echo
@mdelapenya mdelapenya self-assigned this Apr 20, 2021
@elasticmachine
Copy link
Contributor

❕ Build Aborted

Either there was a build timeout or someone aborted the build.'}

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

Expand to view the summary

Build stats

  • Build Cause: Pull request #1059 opened

  • Start Time: 2021-04-20T09:59:34.722+0000

  • Duration: 79 min 26 sec

  • Commit: 8e23618

Test stats 🧪

Test Results
Failed 1
Passed 135
Skipped 0
Total 136

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 / [empty] – TEST-fleet.xml
  • no error details
  • Expand to view the stacktrace

     Test report file /var/lib/jenkins/workspace/PR-1059-1-956469d5-6d77-4a04-8fff-10de9c44a8e2/src/github.com/elastic/e2e-testing/outputs/TEST-fleet.xml was length 0 
    

Log output

Expand to view the last 100 lines of log output

[2021-04-20T11:17:42.331Z] elastic-agent-7.11.3-SNAPSHOT-linux-x86_64/.elastic-agent.active.commit
[2021-04-20T11:17:42.331Z] elastic-agent-7.11.3-SNAPSHOT-linux-x86_64/elastic-agent
[2021-04-20T11:17:42.331Z] time="2021-04-20T11:17:42Z" level=debug msg="Docker compose executed." cmd="[exec -T centos-systemd tar -xvf /elastic-agent-7.11.3-SNAPSHOT-linux-x86_64.tar.gz]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1059-1-956469d5-6d77-4a04-8fff-10de9c44a8e2/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/PR-1059-1-956469d5-6d77-4a04-8fff-10de9c44a8e2/.op/compose/services/centos-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.11.3-SNAPSHOT-linux-x86_64.tar.gz166201679 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-1059-1-956469d5-6d77-4a04-8fff-10de9c44a8e2/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml kibanaDockerNamespace:kibana kibanaVersion:7.11.3-SNAPSHOT stackVersion:7.11.3-SNAPSHOT]" profile=fleet
[2021-04-20T11:17:43.265Z] time="2021-04-20T11:17:43Z" level=debug msg="Docker compose executed." cmd="[exec -T centos-systemd rm -fr /elastic-agent]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1059-1-956469d5-6d77-4a04-8fff-10de9c44a8e2/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/PR-1059-1-956469d5-6d77-4a04-8fff-10de9c44a8e2/.op/compose/services/centos-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.11.3-SNAPSHOT-linux-x86_64.tar.gz166201679 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-1059-1-956469d5-6d77-4a04-8fff-10de9c44a8e2/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml kibanaDockerNamespace:kibana kibanaVersion:7.11.3-SNAPSHOT stackVersion:7.11.3-SNAPSHOT]" profile=fleet
[2021-04-20T11:17:44.201Z] time="2021-04-20T11:17:43Z" level=debug msg="Docker compose executed." cmd="[exec -T centos-systemd mv /elastic-agent-7.11.3-SNAPSHOT-linux-x86_64 /elastic-agent]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1059-1-956469d5-6d77-4a04-8fff-10de9c44a8e2/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/PR-1059-1-956469d5-6d77-4a04-8fff-10de9c44a8e2/.op/compose/services/centos-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.11.3-SNAPSHOT-linux-x86_64.tar.gz166201679 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-1059-1-956469d5-6d77-4a04-8fff-10de9c44a8e2/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml kibanaDockerNamespace:kibana kibanaVersion:7.11.3-SNAPSHOT stackVersion:7.11.3-SNAPSHOT]" profile=fleet
[2021-04-20T11:17:44.772Z] The Elastic Agent is currently in BETA and should not be used in production
[2021-04-20T11:17:44.772Z] 
[2021-04-20T11:17:48.062Z] {"level":"debug","time":"2021-04-20T11:17:47Z","message":"gathering metrics"}
[2021-04-20T11:17:48.062Z] Successfully enrolled the Elastic Agent.
[2021-04-20T11:17:48.062Z] Installation was successful and Elastic Agent is running.
[2021-04-20T11:17:48.062Z] time="2021-04-20T11:17:47Z" level=debug msg="Docker compose executed." cmd="[exec -T centos-systemd /elastic-agent/elastic-agent install --force --insecure --enrollment-token Q3p6XzduZ0JYVTZUNUVJcF96d0w6aFlIQkVwOUxRaml5ZEx6cUhCUWpmZw== --kibana-url http://kibana:5601]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1059-1-956469d5-6d77-4a04-8fff-10de9c44a8e2/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/PR-1059-1-956469d5-6d77-4a04-8fff-10de9c44a8e2/.op/compose/services/centos-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.11.3-SNAPSHOT-linux-x86_64.tar.gz166201679 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-1059-1-956469d5-6d77-4a04-8fff-10de9c44a8e2/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml kibanaDockerNamespace:kibana kibanaVersion:7.11.3-SNAPSHOT stackVersion:7.11.3-SNAPSHOT]" profile=fleet
[2021-04-20T11:17:48.062Z] time="2021-04-20T11:17:47Z" level=info msg="Hostname retrieved from the Docker client" containerName=fleet_centos-systemd_elastic-agent_1 hostname=af02e0e233e0
[2021-04-20T11:17:48.062Z] time="2021-04-20T11:17:47Z" level=debug msg="Agent listed in Fleet with online status" agentID=087bf820-a1ca-11eb-9f03-97d14001943d hostname=af02e0e233e0
[2021-04-20T11:17:48.062Z] time="2021-04-20T11:17:47Z" level=warning msg="The Agent is not in the online status yet" agentID=087bf820-a1ca-11eb-9f03-97d14001943d elapsedTime=34.495212ms hostname=af02e0e233e0 isAgentInStatus=false retry=1 status=online
[2021-04-20T11:17:48.634Z] time="2021-04-20T11:17:48Z" level=debug msg="Agent listed in Fleet with online status" agentID=087bf820-a1ca-11eb-9f03-97d14001943d hostname=af02e0e233e0
[2021-04-20T11:17:48.634Z] time="2021-04-20T11:17:48Z" level=warning msg="The Agent is not in the online status yet" agentID=087bf820-a1ca-11eb-9f03-97d14001943d elapsedTime=524.713778ms hostname=af02e0e233e0 isAgentInStatus=false retry=2 status=online
[2021-04-20T11:17:49.570Z] time="2021-04-20T11:17:49Z" level=debug msg="Agent listed in Fleet with online status" agentID=087bf820-a1ca-11eb-9f03-97d14001943d hostname=af02e0e233e0
[2021-04-20T11:17:49.570Z] time="2021-04-20T11:17:49Z" level=warning msg="The Agent is not in the online status yet" agentID=087bf820-a1ca-11eb-9f03-97d14001943d elapsedTime=1.611646503s hostname=af02e0e233e0 isAgentInStatus=false retry=3 status=online
[2021-04-20T11:17:51.605Z] time="2021-04-20T11:17:51Z" level=debug msg="Agent listed in Fleet with online status" agentID=087bf820-a1ca-11eb-9f03-97d14001943d hostname=af02e0e233e0
[2021-04-20T11:17:51.605Z] time="2021-04-20T11:17:51Z" level=warning msg="The Agent is not in the online status yet" agentID=087bf820-a1ca-11eb-9f03-97d14001943d elapsedTime=3.632293262s hostname=af02e0e233e0 isAgentInStatus=false retry=4 status=online
[2021-04-20T11:17:58.176Z] time="2021-04-20T11:17:57Z" level=debug msg="Agent listed in Fleet with online status" agentID=087bf820-a1ca-11eb-9f03-97d14001943d hostname=af02e0e233e0
[2021-04-20T11:17:58.176Z] time="2021-04-20T11:17:57Z" level=warning msg="The Agent is not in the online status yet" agentID=087bf820-a1ca-11eb-9f03-97d14001943d elapsedTime=9.510396073s hostname=af02e0e233e0 isAgentInStatus=false retry=5 status=online
[2021-04-20T11:17:58.176Z] {"level":"debug","time":"2021-04-20T11:17:57Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-04-20T11:18:04.883Z] time="2021-04-20T11:18:03Z" level=debug msg="Agent listed in Fleet with online status" agentID=087bf820-a1ca-11eb-9f03-97d14001943d hostname=af02e0e233e0
[2021-04-20T11:18:04.883Z] time="2021-04-20T11:18:03Z" level=warning msg="The Agent is not in the online status yet" agentID=087bf820-a1ca-11eb-9f03-97d14001943d elapsedTime=16.093003143s hostname=af02e0e233e0 isAgentInStatus=false retry=6 status=online
[2021-04-20T11:18:07.499Z] time="2021-04-20T11:18:07Z" level=debug msg="Agent listed in Fleet with online status" agentID=087bf820-a1ca-11eb-9f03-97d14001943d hostname=af02e0e233e0
[2021-04-20T11:18:07.499Z] time="2021-04-20T11:18:07Z" level=warning msg="The Agent is not in the online status yet" agentID=087bf820-a1ca-11eb-9f03-97d14001943d elapsedTime=19.17573284s hostname=af02e0e233e0 isAgentInStatus=false retry=7 status=online
[2021-04-20T11:18:14.077Z] time="2021-04-20T11:18:13Z" level=debug msg="Agent listed in Fleet with online status" agentID=087bf820-a1ca-11eb-9f03-97d14001943d hostname=af02e0e233e0
[2021-04-20T11:18:14.077Z] time="2021-04-20T11:18:13Z" level=info msg="The Agent is in the desired status" elapsedTime=25.637754936s hostname=af02e0e233e0 isAgentInStatus=true retries=8 status=online
[2021-04-20T11:18:14.077Z] time="2021-04-20T11:18:13Z" level=debug msg="Integration in latest version found" name=endpoint title="Endpoint Security" version=0.17.1
[2021-04-20T11:18:18.363Z] time="2021-04-20T11:18:16Z" level=info msg="Integration added to the configuration" integration=endpoint integrationConfigurationID=9fc44b25-3a6c-4202-a1db-3d03f33f5574 policyID=25ad2f10-a1c8-11eb-9f03-97d14001943d version=0.17.1
[2021-04-20T11:18:18.388Z] time="2021-04-20T11:18:16Z" level=debug msg="Package policy found in the configuration" package="{9fc44b25-3a6c-4202-a1db-3d03f33f5574 endpoint Endpoint Security 0.17.1 0xc000709f50}" policyID=25ad2f10-a1c8-11eb-9f03-97d14001943d
[2021-04-20T11:18:18.388Z] {"level":"debug","time":"2021-04-20T11:18:17Z","message":"gathering metrics"}
[2021-04-20T11:18:20.298Z] time="2021-04-20T11:18:19Z" level=info msg="Integration deleted from the configuration" integration=endpoint packageConfigId=9fc44b25-3a6c-4202-a1db-3d03f33f5574 policyID=25ad2f10-a1c8-11eb-9f03-97d14001943d version=0.17.1
[2021-04-20T11:18:20.298Z] time="2021-04-20T11:18:19Z" level=debug msg="Agent listed in Fleet with online status" agentID=087bf820-a1ca-11eb-9f03-97d14001943d hostname=af02e0e233e0
[2021-04-20T11:18:20.298Z] time="2021-04-20T11:18:19Z" level=info msg="The Agent is in the desired status" elapsedTime=88.637468ms hostname=af02e0e233e0 isAgentInStatus=true retries=1 status=online
[2021-04-20T11:18:20.298Z] time="2021-04-20T11:18:19Z" level=info msg="The Agent is not listed in the Administration view in the Security App" elapsedTime=70.449032ms hostname=af02e0e233e0 retries=1
[2021-04-20T11:18:20.866Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:47.701Z","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-20T11:18:20.866Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:47.702Z","log.origin":{"file.name":"application/application.go","file.line":59},"message":"Detecting execution mode","ecs.version":"1.6.0"}
[2021-04-20T11:18:20.866Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:47.702Z","log.origin":{"file.name":"application/application.go","file.line":72},"message":"Agent is managed by Fleet","ecs.version":"1.6.0"}
[2021-04-20T11:18:20.866Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:47.917Z","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-20T11:18:20.866Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:47.919Z","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-20T11:18:20.866Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:47.920Z","log.logger":"api","log.origin":{"file.name":"api/server.go","file.line":62},"message":"Starting stats endpoint","ecs.version":"1.6.0"}
[2021-04-20T11:18:20.866Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:47.920Z","log.origin":{"file.name":"application/managed_mode.go","file.line":294},"message":"Agent is starting","ecs.version":"1.6.0"}
[2021-04-20T11:18:20.866Z] {"log.level":"warn","@timestamp":"2021-04-20T11:17:47.920Z","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-20T11:18:20.866Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:47.920Z","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-20T11:18:20.866Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:49.756Z","log.origin":{"file.name":"stateresolver/stateresolver.go","file.line":48},"message":"New State ID is aYzY4szu","ecs.version":"1.6.0"}
[2021-04-20T11:18:20.866Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:49.756Z","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-20T11:18:20.866Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:49.756Z","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-20T11:18:20.866Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:49.756Z","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-20T11:18:20.866Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:53.474Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-20T11:17:53Z: type: 'STATE': sub_type: 'STARTING' message: Application: filebeat--7.11.3-SNAPSHOT[087bf820-a1ca-11eb-9f03-97d14001943d]: State changed to STARTING: Starting","ecs.version":"1.6.0"}
[2021-04-20T11:18:20.866Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:53.475Z","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-20T11:18:20.867Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:53.475Z","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-20T11:18:20.867Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:54.582Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-20T11:17:54Z: type: 'STATE': sub_type: 'RUNNING' message: Application: filebeat--7.11.3-SNAPSHOT[087bf820-a1ca-11eb-9f03-97d14001943d]: State changed to RUNNING: Running","ecs.version":"1.6.0"}
[2021-04-20T11:18:20.867Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:56.240Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-20T11:17:56Z: type: 'STATE': sub_type: 'STARTING' message: Application: metricbeat--7.11.3-SNAPSHOT[087bf820-a1ca-11eb-9f03-97d14001943d]: State changed to STARTING: Starting","ecs.version":"1.6.0"}
[2021-04-20T11:18:20.867Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:56.243Z","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-20T11:18:20.867Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:56.243Z","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-20T11:18:20.867Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:56.421Z","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-20T11:18:20.867Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:56.835Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-20T11:17:56Z: type: 'STATE': sub_type: 'STARTING' message: Application: filebeat--7.11.3-SNAPSHOT--36643631373035623733363936343635[087bf820-a1ca-11eb-9f03-97d14001943d]: State changed to STARTING: Starting","ecs.version":"1.6.0"}
[2021-04-20T11:18:20.867Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:56.836Z","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-20T11:18:20.867Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:56.836Z","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-20T11:18:20.867Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:57.066Z","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-20T11:18:20.867Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:57.257Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-20T11:17:57Z: type: 'STATE': sub_type: 'STARTING' message: Application: metricbeat--7.11.3-SNAPSHOT--36643631373035623733363936343635[087bf820-a1ca-11eb-9f03-97d14001943d]: State changed to STARTING: Starting","ecs.version":"1.6.0"}
[2021-04-20T11:18:20.867Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:57.258Z","log.origin":{"file.name":"stateresolver/stateresolver.go","file.line":66},"message":"Updating internal state","ecs.version":"1.6.0"}
[2021-04-20T11:18:20.867Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:57.364Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-20T11:17:57Z: type: 'STATE': sub_type: 'RUNNING' message: Application: metricbeat--7.11.3-SNAPSHOT[087bf820-a1ca-11eb-9f03-97d14001943d]: State changed to RUNNING: Running","ecs.version":"1.6.0"}
[2021-04-20T11:18:20.867Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:57.942Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-20T11:17:57Z: type: 'STATE': sub_type: 'RUNNING' message: Application: filebeat--7.11.3-SNAPSHOT--36643631373035623733363936343635[087bf820-a1ca-11eb-9f03-97d14001943d]: State changed to RUNNING: Running","ecs.version":"1.6.0"}
[2021-04-20T11:18:20.868Z] {"log.level":"info","@timestamp":"2021-04-20T11:17:58.386Z","log.origin":{"file.name":"log/reporter.go","file.line":40},"message":"2021-04-20T11:17:58Z: type: 'STATE': sub_type: 'RUNNING' message: Application: metricbeat--7.11.3-SNAPSHOT--36643631373035623733363936343635[087bf820-a1ca-11eb-9f03-97d14001943d]: State changed to RUNNING: Running","ecs.version":"1.6.0"}
[2021-04-20T11:18:20.868Z] time="2021-04-20T11:18:20Z" 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-1059-1-956469d5-6d77-4a04-8fff-10de9c44a8e2/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/PR-1059-1-956469d5-6d77-4a04-8fff-10de9c44a8e2/.op/compose/services/centos-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.11.3-SNAPSHOT-linux-x86_64.tar.gz166201679 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-1059-1-956469d5-6d77-4a04-8fff-10de9c44a8e2/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml kibanaDockerNamespace:kibana kibanaVersion:7.11.3-SNAPSHOT stackVersion:7.11.3-SNAPSHOT]" profile=fleet
[2021-04-20T11:18:22.774Z] Elastic Agent has been uninstalled.
[2021-04-20T11:18:22.774Z] time="2021-04-20T11:18:22Z" level=debug msg="Docker compose executed." cmd="[exec -T centos-systemd elastic-agent uninstall -f]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1059-1-956469d5-6d77-4a04-8fff-10de9c44a8e2/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/PR-1059-1-956469d5-6d77-4a04-8fff-10de9c44a8e2/.op/compose/services/centos-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.11.3-SNAPSHOT-linux-x86_64.tar.gz166201679 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-1059-1-956469d5-6d77-4a04-8fff-10de9c44a8e2/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml kibanaDockerNamespace:kibana kibanaVersion:7.11.3-SNAPSHOT stackVersion:7.11.3-SNAPSHOT]" profile=fleet
[2021-04-20T11:18:22.774Z] time="2021-04-20T11:18:22Z" level=debug msg="Un-enrolling agent in Fleet" agentID=087bf820-a1ca-11eb-9f03-97d14001943d hostname=af02e0e233e0
[2021-04-20T11:18:24.151Z] time="2021-04-20T11:18:23Z" level=debug msg="Fleet agent was unenrolled" agentID=087bf820-a1ca-11eb-9f03-97d14001943d
[2021-04-20T11:18:24.749Z] Stopping fleet_centos-systemd_elastic-agent_1 ... 
[2021-04-20T11:18:28.060Z] {"level":"debug","time":"2021-04-20T11:18:27Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-04-20T11:18:29.076Z] Cancelling nested steps due to timeout
[2021-04-20T11:18:29.079Z] Sending interrupt signal to process
[2021-04-20T11:18:30.413Z] Sending interrupt signal to process
[2021-04-20T11:18:30.595Z] time="2021-04-20T11:18:30Z" level=error msg="Could not remove service from compose" command="[rm -fvs centos-systemd]" profile=fleet service=centos-systemd
[2021-04-20T11:18:30.595Z] Makefile:73: recipe for target 'functional-test' failed
[2021-04-20T11:18:30.595Z] make: *** [functional-test] Error 255
[2021-04-20T11:18:30.602Z] script returned exit code 2
[2021-04-20T11:18:30.945Z] [INFO] Stopping Filebeat Docker container
[2021-04-20T11:18:31.251Z] + docker exec -t 472bce3fed0ae89ce662b24592f0c9315ce00c76a3b6c0b1ea3a6e99b17d8a33 chmod -R ugo+rw /output
[2021-04-20T11:18:31.511Z] + docker stop --time 30 472bce3fed0ae89ce662b24592f0c9315ce00c76a3b6c0b1ea3a6e99b17d8a33
[2021-04-20T11:18:32.448Z] 472bce3fed0ae89ce662b24592f0c9315ce00c76a3b6c0b1ea3a6e99b17d8a33
[2021-04-20T11:18:32.492Z] Archiving artifacts
[2021-04-20T11:18:33.642Z] Recording test results
[2021-04-20T11:18:34.080Z] [Checks API] No suitable checks publisher found.
[2021-04-20T11:18:34.111Z] Archiving artifacts
[2021-04-20T11:18:34.217Z] Running in /var/lib/jenkins/workspace/PR-1059-1-956469d5-6d77-4a04-8fff-10de9c44a8e2/src/github.com/elastic/e2e-testing
[2021-04-20T11:18:34.559Z] + go clean -modcache
[2021-04-20T11:18:35.538Z] Failed in branch ubuntu-18.04_fleet_agent_endpoint_integration
[2021-04-20T11:18:37.681Z] Stage "Release" skipped due to earlier failure(s)
[2021-04-20T11:18:59.746Z] Running on Jenkins in /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1059
[2021-04-20T11:18:59.860Z] [INFO] getVaultSecret: Getting secrets
[2021-04-20T11:19:00.035Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-04-20T11:19:01.310Z] + chmod 755 generate-build-data.sh
[2021-04-20T11:19:01.310Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1059/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1059/runs/1 ABORTED 4766307
[2021-04-20T11:19:02.283Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1059/runs/1/steps/?limit=10000 -o steps-info.json
[2021-04-20T11:19:04.146Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1059/runs/1/tests/?status=FAILED -o tests-errors.json

@mdelapenya
Copy link
Contributor Author

Failure caused by it took more than 1h. Merging

@mdelapenya mdelapenya merged commit 850090b into elastic:7.11.x Apr 20, 2021
@mdelapenya mdelapenya deleted the backport/7.11.x/pr-1042_pr-1043_pr-1044_pr-1045_pr-1046_pr-1049 branch June 2, 2021 05:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants