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

feat: support passing KIBANA_VERSION (bp #905)#1013

Merged
mdelapenya merged 5 commits into7.12.xfrom
mergify/bp/7.12.x/pr-905
Apr 13, 2021
Merged

feat: support passing KIBANA_VERSION (bp #905)#1013
mdelapenya merged 5 commits into7.12.xfrom
mergify/bp/7.12.x/pr-905

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Apr 13, 2021

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

Cherry-pick of 7abccaf has failed:

On branch mergify/bp/7.12.x/pr-905
Your branch is up to date with 'origin/7.12.x'.

You are currently cherry-picking commit 7abccaf3.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	new file:   .ci/e2eKibana.groovy
	new file:   .ci/jobs/kibana-e2e-tests.yml
	modified:   e2e/README.md
	modified:   e2e/_suites/fleet/stand-alone.go
	modified:   e2e/_suites/fleet/world.go
	modified:   e2e/_suites/metricbeat/metricbeat_test.go
	modified:   e2e/utils.go
	modified:   e2e/utils_test.go

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   .ci/Jenkinsfile
	both modified:   cli/config/compose/profiles/fleet/docker-compose.yml
	both modified:   e2e/_suites/fleet/README.md
	both modified:   e2e/_suites/fleet/ingest_manager_test.go
	both modified:   e2e/_suites/metricbeat/README.md

To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/


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: support returning different fallback Docker namespaces

* chore: add KIBANA_VERSION variable

* docs: document new Kibana variable

* chore(ci): add regular to pipeline for Kibana PRs

It uses the generic-webhook-trigger to get Kibana PRs payloads, and with
that information trigger the e2e tests build.

* chore: only process kibana events

* chore: add PR author to the cause string

* chore: print PR sha in cause string

* chore: update Generic Trigger to match existing example

* chore: support manually running the tests for a PR

* chore: do not notify on slack on build greens

* fix: rename JJB as it's not a multibranch pipeline

* feat: build kibana image based on the PR or the UI params

* chore: simplify triggering the pipeline from the UI

* chore: simplify even more

* chore: use stackVersion if kibana version is not set

* docs: update docs about KIBANA_VERSION

* chore: rename variable

* chore: rename job

* fix: misleading param description

* fix: set the proper Docker namespace for Kibana

(cherry picked from commit 7abccaf)

# Conflicts:
#	.ci/Jenkinsfile
#	cli/config/compose/profiles/fleet/docker-compose.yml
#	e2e/_suites/fleet/README.md
#	e2e/_suites/fleet/ingest_manager_test.go
#	e2e/_suites/metricbeat/README.md
@mergify mergify bot added the conflicts There is a conflict in the backported pull request label Apr 13, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Apr 13, 2021

💔 Tests Failed

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

Expand to view the summary

Build stats

  • Build Cause: Pull request #1013 updated

  • Start Time: 2021-04-13T09:08:52.273+0000

  • Duration: 27 min 41 sec

  • Commit: d27200c

Test stats 🧪

Test Results
Failed 1
Passed 139
Skipped 0
Total 140

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_fleet_mode_agent / Un-installing the installed centos agent – Fleet Mode Agent
    Expand to view the error details

     Step the agent is listed in Fleet as "offline": The Agent is not in the offline status yet 
    

  • no stacktrace

Steps errors 1

Expand to view the steps failures

Run functional tests for fleet:fleet_mode_agent && ~@nightly && ~debian
  • Took 19 min 6 sec . View more details on here
  • Description: .ci/scripts/functional-test.sh "fleet" "fleet_mode_agent && ~@nightly && ~debian" "7.12-SNAPSHOT" "7.12-SNAPSHOT"

Log output

Expand to view the last 100 lines of log output

[2021-04-13T09:33:17.765Z] time="2021-04-13T09:33:17Z" level=debug msg="Agent listed in Fleet with online status" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:33:17.765Z] time="2021-04-13T09:33:17Z" level=warning msg="The Agent is not in the offline status yet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd elapsedTime=8m7.214988256s hostname=a15355fe8df2 isAgentInStatus=false retry=100 status=offline
[2021-04-13T09:33:18.340Z] {"level":"debug","time":"2021-04-13T09:33:18Z","message":"gathering metrics"}
[2021-04-13T09:33:23.643Z] time="2021-04-13T09:33:22Z" level=debug msg="Agent listed in Fleet with online status" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:33:23.643Z] time="2021-04-13T09:33:22Z" level=warning msg="The Agent is not in the offline status yet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd elapsedTime=8m12.711699764s hostname=a15355fe8df2 isAgentInStatus=false retry=101 status=offline
[2021-04-13T09:33:28.949Z] {"level":"debug","time":"2021-04-13T09:33:28Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-04-13T09:33:29.531Z] time="2021-04-13T09:33:29Z" level=debug msg="Agent listed in Fleet with online status" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:33:29.531Z] time="2021-04-13T09:33:29Z" level=warning msg="The Agent is not in the offline status yet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd elapsedTime=8m19.317682598s hostname=a15355fe8df2 isAgentInStatus=false retry=102 status=offline
[2021-04-13T09:33:36.348Z] time="2021-04-13T09:33:35Z" level=debug msg="Agent listed in Fleet with online status" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:33:36.348Z] time="2021-04-13T09:33:35Z" level=warning msg="The Agent is not in the offline status yet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd elapsedTime=8m25.320327275s hostname=a15355fe8df2 isAgentInStatus=false retry=103 status=offline
[2021-04-13T09:33:38.278Z] time="2021-04-13T09:33:38Z" level=debug msg="Agent listed in Fleet with online status" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:33:38.279Z] time="2021-04-13T09:33:38Z" level=warning msg="The Agent is not in the offline status yet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd elapsedTime=8m28.001759795s hostname=a15355fe8df2 isAgentInStatus=false retry=104 status=offline
[2021-04-13T09:33:43.601Z] time="2021-04-13T09:33:43Z" level=debug msg="Agent listed in Fleet with online status" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:33:43.602Z] time="2021-04-13T09:33:43Z" level=warning msg="The Agent is not in the offline status yet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd elapsedTime=8m33.229180096s hostname=a15355fe8df2 isAgentInStatus=false retry=105 status=offline
[2021-04-13T09:33:48.925Z] {"level":"debug","time":"2021-04-13T09:33:48Z","message":"gathering metrics"}
[2021-04-13T09:33:50.859Z] time="2021-04-13T09:33:50Z" level=debug msg="Agent listed in Fleet with online status" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:33:50.860Z] time="2021-04-13T09:33:50Z" level=warning msg="The Agent is not in the offline status yet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd elapsedTime=8m40.639503708s hostname=a15355fe8df2 isAgentInStatus=false retry=106 status=offline
[2021-04-13T09:33:57.542Z] time="2021-04-13T09:33:56Z" level=debug msg="Agent listed in Fleet with online status" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:33:57.542Z] time="2021-04-13T09:33:56Z" level=warning msg="The Agent is not in the offline status yet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd elapsedTime=8m46.933913088s hostname=a15355fe8df2 isAgentInStatus=false retry=107 status=offline
[2021-04-13T09:33:58.494Z] {"level":"debug","time":"2021-04-13T09:33:58Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-04-13T09:34:01.061Z] time="2021-04-13T09:34:00Z" level=debug msg="Agent listed in Fleet with online status" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:34:01.061Z] time="2021-04-13T09:34:01Z" level=warning msg="The Agent is not in the offline status yet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd elapsedTime=8m50.944145604s hostname=a15355fe8df2 isAgentInStatus=false retry=108 status=offline
[2021-04-13T09:34:07.653Z] time="2021-04-13T09:34:07Z" level=debug msg="Agent listed in Fleet with online status" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:34:07.653Z] time="2021-04-13T09:34:07Z" level=warning msg="The Agent is not in the offline status yet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd elapsedTime=8m57.250565123s hostname=a15355fe8df2 isAgentInStatus=false retry=109 status=offline
[2021-04-13T09:34:10.957Z] time="2021-04-13T09:34:10Z" level=debug msg="Agent listed in Fleet with online status" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:34:10.957Z] time="2021-04-13T09:34:10Z" level=warning msg="The Agent is not in the offline status yet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd elapsedTime=9m0.550470872s hostname=a15355fe8df2 isAgentInStatus=false retry=110 status=offline
[2021-04-13T09:34:15.167Z] time="2021-04-13T09:34:14Z" level=debug msg="Agent listed in Fleet with online status" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:34:15.167Z] time="2021-04-13T09:34:14Z" level=warning msg="The Agent is not in the offline status yet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd elapsedTime=9m4.866177752s hostname=a15355fe8df2 isAgentInStatus=false retry=111 status=offline
[2021-04-13T09:34:18.470Z] {"level":"debug","time":"2021-04-13T09:34:18Z","message":"gathering metrics"}
[2021-04-13T09:34:21.771Z] time="2021-04-13T09:34:21Z" level=debug msg="Agent listed in Fleet with online status" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:34:21.771Z] time="2021-04-13T09:34:21Z" level=warning msg="The Agent is not in the offline status yet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd elapsedTime=9m11.558488996s hostname=a15355fe8df2 isAgentInStatus=false retry=112 status=offline
[2021-04-13T09:34:25.975Z] time="2021-04-13T09:34:25Z" level=debug msg="Agent listed in Fleet with online status" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:34:25.975Z] time="2021-04-13T09:34:25Z" level=warning msg="The Agent is not in the offline status yet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd elapsedTime=9m15.247008459s hostname=a15355fe8df2 isAgentInStatus=false retry=113 status=offline
[2021-04-13T09:34:28.527Z] {"level":"debug","time":"2021-04-13T09:34:28Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-04-13T09:34:31.104Z] time="2021-04-13T09:34:30Z" level=debug msg="Agent listed in Fleet with online status" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:34:31.104Z] time="2021-04-13T09:34:30Z" level=warning msg="The Agent is not in the offline status yet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd elapsedTime=9m20.915855737s hostname=a15355fe8df2 isAgentInStatus=false retry=114 status=offline
[2021-04-13T09:34:36.391Z] time="2021-04-13T09:34:35Z" level=debug msg="Agent listed in Fleet with online status" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:34:36.391Z] time="2021-04-13T09:34:35Z" level=warning msg="The Agent is not in the offline status yet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd elapsedTime=9m25.936239426s hostname=a15355fe8df2 isAgentInStatus=false retry=115 status=offline
[2021-04-13T09:34:39.697Z] time="2021-04-13T09:34:38Z" level=debug msg="Agent listed in Fleet with online status" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:34:39.697Z] time="2021-04-13T09:34:38Z" level=warning msg="The Agent is not in the offline status yet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd elapsedTime=9m28.919009896s hostname=a15355fe8df2 isAgentInStatus=false retry=116 status=offline
[2021-04-13T09:34:42.242Z] time="2021-04-13T09:34:41Z" level=debug msg="Agent listed in Fleet with online status" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:34:42.242Z] time="2021-04-13T09:34:41Z" level=warning msg="The Agent is not in the offline status yet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd elapsedTime=9m31.577795163s hostname=a15355fe8df2 isAgentInStatus=false retry=117 status=offline
[2021-04-13T09:34:46.447Z] time="2021-04-13T09:34:46Z" level=debug msg="Agent listed in Fleet with online status" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:34:46.447Z] time="2021-04-13T09:34:46Z" level=warning msg="The Agent is not in the offline status yet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd elapsedTime=9m36.071991534s hostname=a15355fe8df2 isAgentInStatus=false retry=118 status=offline
[2021-04-13T09:34:48.359Z] {"level":"debug","time":"2021-04-13T09:34:48Z","message":"gathering metrics"}
[2021-04-13T09:34:51.663Z] time="2021-04-13T09:34:51Z" level=debug msg="Agent listed in Fleet with online status" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:34:51.663Z] time="2021-04-13T09:34:51Z" level=warning msg="The Agent is not in the offline status yet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd elapsedTime=9m41.55177097s hostname=a15355fe8df2 isAgentInStatus=false retry=119 status=offline
[2021-04-13T09:34:58.259Z] {"level":"debug","time":"2021-04-13T09:34:58Z","message":"sent request with 0 transactions, 0 spans, 0 errors, 1 metricset"}
[2021-04-13T09:34:58.831Z] time="2021-04-13T09:34:58Z" level=debug msg="Agent listed in Fleet with online status" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:34:58.831Z] time="2021-04-13T09:34:58Z" level=warning msg="The Agent is not in the offline status yet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd elapsedTime=9m48.730483688s hostname=a15355fe8df2 isAgentInStatus=false retry=120 status=offline
[2021-04-13T09:35:05.471Z] time="2021-04-13T09:35:04Z" level=debug msg="Agent listed in Fleet with online status" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:35:05.471Z] time="2021-04-13T09:35:04Z" level=warning msg="The Agent is not in the offline status yet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd elapsedTime=9m54.127116243s hostname=a15355fe8df2 isAgentInStatus=false retry=121 status=offline
[2021-04-13T09:35:09.713Z] time="2021-04-13T09:35:09Z" level=debug msg="Agent listed in Fleet with online status" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:35:09.713Z] time="2021-04-13T09:35:09Z" level=warning msg="The Agent is not in the offline status yet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd elapsedTime=9m59.601278709s hostname=a15355fe8df2 isAgentInStatus=false retry=122 status=offline
[2021-04-13T09:35:10.669Z] cat: /opt/Elastic/Agent/data/elastic-agent-34a84a/logs//elastic-agent-json.log: No such file or directory
[2021-04-13T09:35:10.669Z] time="2021-04-13T09:35:10Z" level=error msg="Could not execute command in service container" command="[cat /opt/Elastic/Agent/data/elastic-agent-34a84a/logs//elastic-agent-json.log]" error="Could not run compose file: [/var/lib/jenkins/workspace/PR-1013-4-1aee94bb-178a-4ac4-8e4c-a4684d2e04f1/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/PR-1013-4-1aee94bb-178a-4ac4-8e4c-a4684d2e04f1/.op/compose/services/centos-systemd/docker-compose.yml] - Local Docker compose exited abnormally whilst running docker-compose: [exec -T centos-systemd cat /opt/Elastic/Agent/data/elastic-agent-34a84a/logs//elastic-agent-json.log]. exit status 1" service=centos-systemd
[2021-04-13T09:35:10.670Z] time="2021-04-13T09:35:10Z" level=warning msg="Could not get agent logs in the container" containerName=a15355fe8df2 error="Could not run compose file: [/var/lib/jenkins/workspace/PR-1013-4-1aee94bb-178a-4ac4-8e4c-a4684d2e04f1/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/PR-1013-4-1aee94bb-178a-4ac4-8e4c-a4684d2e04f1/.op/compose/services/centos-systemd/docker-compose.yml] - Local Docker compose exited abnormally whilst running docker-compose: [exec -T centos-systemd cat /opt/Elastic/Agent/data/elastic-agent-34a84a/logs//elastic-agent-json.log]. exit status 1"
[2021-04-13T09:35:10.670Z] time="2021-04-13T09:35:10Z" level=debug msg="Un-enrolling agent in Fleet" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd hostname=a15355fe8df2
[2021-04-13T09:35:10.934Z] time="2021-04-13T09:35:10Z" level=debug msg="Fleet agent was unenrolled" agentID=2353e8f0-9c3a-11eb-9927-f511b270d4dd
[2021-04-13T09:35:11.886Z] Stopping fleet_centos-systemd_elastic-agent_1 ... 
[2021-04-13T09:35:18.509Z] {"level":"debug","time":"2021-04-13T09:35:18Z","message":"gathering metrics"}
[2021-04-13T09:35:22.764Z] 
Stopping fleet_centos-systemd_elastic-agent_1 ... done
Removing fleet_centos-systemd_elastic-agent_1 ... 
[2021-04-13T09:35:22.765Z] 
Removing fleet_centos-systemd_elastic-agent_1 ... done
Going to remove fleet_centos-systemd_elastic-agent_1
[2021-04-13T09:35:22.765Z] time="2021-04-13T09:35:22Z" level=debug msg="Docker compose executed." cmd="[rm -fvs centos-systemd]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1013-4-1aee94bb-178a-4ac4-8e4c-a4684d2e04f1/.op/compose/profiles/fleet/docker-compose.yml /var/lib/jenkins/workspace/PR-1013-4-1aee94bb-178a-4ac4-8e4c-a4684d2e04f1/.op/compose/services/centos-systemd/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.12.1-SNAPSHOT-linux-x86_64.tar.gz617386412 centos_systemdAgentBinaryTargetPath:/elastic-agent-7.12.1-SNAPSHOT-linux-x86_64.tar.gz centos_systemdContainerName:fleet_centos-systemd_elastic-agent_1 centos_systemdTag:latest kibanaConfigPath:/var/lib/jenkins/workspace/PR-1013-4-1aee94bb-178a-4ac4-8e4c-a4684d2e04f1/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml kibanaDockerNamespace:observability-ci kibanaVersion:7.12.1-SNAPSHOT stackVersion:7.12.1-SNAPSHOT]" profile=fleet
[2021-04-13T09:35:22.765Z] time="2021-04-13T09:35:22Z" level=debug msg="Service removed from compose" profile=fleet service=centos-systemd
[2021-04-13T09:35:23.031Z] time="2021-04-13T09:35:22Z" level=debug msg="The token was deleted" tokenID=1e4cd4c0-9c3a-11eb-9927-f511b270d4dd
[2021-04-13T09:35:23.031Z] time="2021-04-13T09:35:22Z" level=info msg="Integration deleted from the configuration" integration= packageConfigId= policyID=34976ca0-9c39-11eb-9927-f511b270d4dd version=
[2021-04-13T09:35:23.031Z] time="2021-04-13T09:35:22Z" level=debug msg="Destroying Fleet runtime dependencies"
[2021-04-13T09:35:23.982Z] Stopping fleet_kibana_1           ... 
[2021-04-13T09:35:23.983Z] Stopping fleet_elasticsearch_1    ... 
[2021-04-13T09:35:23.983Z] Stopping fleet_package-registry_1 ... 
[2021-04-13T09:35:25.094Z] 
Stopping fleet_kibana_1           ... done

Stopping fleet_package-registry_1 ... done

Stopping fleet_elasticsearch_1    ... done
Removing fleet_kibana_1           ... 
[2021-04-13T09:35:25.094Z] Removing fleet_elasticsearch_1    ... 
[2021-04-13T09:35:25.094Z] Removing fleet_package-registry_1 ... 
[2021-04-13T09:35:25.094Z] 
Removing fleet_package-registry_1 ... done

Removing fleet_kibana_1           ... done

Removing fleet_elasticsearch_1    ... done
Removing network fleet_default
[2021-04-13T09:35:25.671Z] time="2021-04-13T09:35:25Z" level=debug msg="Docker compose executed." cmd="[down --remove-orphans]" composeFilePaths="[/var/lib/jenkins/workspace/PR-1013-4-1aee94bb-178a-4ac4-8e4c-a4684d2e04f1/.op/compose/profiles/fleet/docker-compose.yml]" env="map[centos_systemdAgentBinarySrcPath:/tmp/elastic-agent-7.12.1-SNAPSHOT-linux-x86_64.tar.gz617386412 centos_systemdAgentBinaryTargetPath:/elastic-agent-7.12.1-SNAPSHOT-linux-x86_64.tar.gz centos_systemdContainerName:fleet_centos-systemd_elastic-agent_1 centos_systemdTag:latest kibanaConfigPath:/var/lib/jenkins/workspace/PR-1013-4-1aee94bb-178a-4ac4-8e4c-a4684d2e04f1/src/github.com/elastic/e2e-testing/e2e/_suites/fleet/configurations/kibana.config.yml kibanaDockerNamespace:observability-ci kibanaVersion:7.12.1-SNAPSHOT stackVersion:7.12.1-SNAPSHOT]" profile=fleet
[2021-04-13T09:35:25.671Z] time="2021-04-13T09:35:25Z" level=debug msg="Elastic Agent binary was removed." installer=centos-tar-7.12.1-SNAPSHOT path=/tmp/elastic-agent-7.12.1-SNAPSHOT-linux-x86_64.tar.gz617386412
[2021-04-13T09:35:25.671Z] time="2021-04-13T09:35:25Z" level=debug msg="Elastic Agent binary was removed." installer=centos-systemd-7.12.1-SNAPSHOT path=/tmp/elastic-agent-7.12.1-SNAPSHOT-x86_64.rpm140925211
[2021-04-13T09:35:25.671Z] Makefile:73: recipe for target 'functional-test' failed
[2021-04-13T09:35:25.671Z] make: *** [functional-test] Error 1
[2021-04-13T09:35:25.836Z] [INFO] Stopping Filebeat Docker container
[2021-04-13T09:35:26.139Z] + docker exec -t be476840e162e9c57da44b59c7b7a73ac833f09b49ae9405148dc2e345177890 chmod -R ugo+rw /output
[2021-04-13T09:35:26.405Z] + docker stop --time 30 be476840e162e9c57da44b59c7b7a73ac833f09b49ae9405148dc2e345177890
[2021-04-13T09:35:26.986Z] be476840e162e9c57da44b59c7b7a73ac833f09b49ae9405148dc2e345177890
[2021-04-13T09:35:27.011Z] Archiving artifacts
[2021-04-13T09:35:27.835Z] Recording test results
[2021-04-13T09:35:28.534Z] [Checks API] No suitable checks publisher found.
[2021-04-13T09:35:28.563Z] Archiving artifacts
[2021-04-13T09:35:28.620Z] Running in /var/lib/jenkins/workspace/PR-1013-4-1aee94bb-178a-4ac4-8e4c-a4684d2e04f1/src/github.com/elastic/e2e-testing
[2021-04-13T09:35:28.936Z] + go clean -modcache
[2021-04-13T09:35:29.689Z] Failed in branch ubuntu-18.04_fleet_fleet_mode_agent
[2021-04-13T09:35:30.873Z] Stage "Release" skipped due to earlier failure(s)
[2021-04-13T09:35:32.128Z] Running on worker-1244230 in /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1013
[2021-04-13T09:35:32.203Z] [INFO] getVaultSecret: Getting secrets
[2021-04-13T09:35:32.320Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-04-13T09:35:34.341Z] + chmod 755 generate-build-data.sh
[2021-04-13T09:35:34.341Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1013/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1013/runs/4 FAILURE 1600666
[2021-04-13T09:35:34.341Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1013/runs/4/steps/?limit=10000 -o steps-info.json
[2021-04-13T09:35:35.815Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1013/runs/4/tests/?status=FAILED -o tests-errors.json
[2021-04-13T09:35:36.519Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1013/runs/4/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 1
Passed 139
Skipped 0
Total 140

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_fleet_mode_agent / Un-installing the installed centos agent – Fleet Mode Agent

@mdelapenya mdelapenya merged commit 26b3ea9 into 7.12.x Apr 13, 2021
@mergify mergify bot deleted the mergify/bp/7.12.x/pr-905 branch April 13, 2021 10:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

conflicts There is a conflict in the backported pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants