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

[7.13.x](backport #707) feat: add support for running the tests in ARM#1220

Closed
mergify[bot] wants to merge 1 commit into7.13.xfrom
mergify/bp/7.13.x/pr-707
Closed

[7.13.x](backport #707) feat: add support for running the tests in ARM#1220
mergify[bot] wants to merge 1 commit into7.13.xfrom
mergify/bp/7.13.x/pr-707

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Jun 1, 2021

This is an automatic backport of pull request #707 done by Mergify.
Cherry-pick of e1a97f3 has failed:

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

You are currently cherry-picking commit e1a97f3.
  (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:
	modified:   .ci/.e2e-tests.yaml
	modified:   .ci/Jenkinsfile
	modified:   .ci/packer_cache.sh
	modified:   .ci/scripts/clean-docker.sh
	modified:   .ci/scripts/functional-test.sh
	modified:   .ci/scripts/install-helm-test-dependencies.sh
	modified:   cli/config/compose/profiles/fleet/configurations/kibana.config.yml
	modified:   cli/config/compose/services/elastic-agent/centos/docker-compose.yml
	modified:   cli/config/compose/services/elastic-agent/cloud/docker-compose.yml
	modified:   cli/config/compose/services/elastic-agent/debian/docker-compose.yml
	modified:   cli/config/compose/services/elastic-agent/docker-compose.yml
	modified:   cli/config/compose/services/elasticsearch/docker-compose.yml
	modified:   cli/config/compose/services/fleet-server-centos/docker-compose.yml
	modified:   cli/config/compose/services/fleet-server-debian/docker-compose.yml
	modified:   cli/config/compose/services/metricbeat/docker-compose.yml
	modified:   e2e/_suites/fleet/features/agent_endpoint_integration.feature
	modified:   e2e/_suites/fleet/ingest_manager_test.go
	modified:   e2e/_suites/metricbeat/metricbeat_test.go
	modified:   e2e/commons-test.mk
	new file:   internal/_testresources/beats/x-pack/elastic-agent/build/distributions/elastic-agent-8.0.0-SNAPSHOT-aarch64.rpm
	new file:   internal/_testresources/beats/x-pack/elastic-agent/build/distributions/elastic-agent-8.0.0-SNAPSHOT-arm64.deb
	new file:   internal/_testresources/beats/x-pack/elastic-agent/build/distributions/elastic-agent-8.0.0-SNAPSHOT-linux-arm64.docker.tar.gz
	new file:   internal/_testresources/beats/x-pack/elastic-agent/build/distributions/elastic-agent-8.0.0-SNAPSHOT-linux-arm64.tar.gz
	new file:   internal/_testresources/beats/x-pack/elastic-agent/build/distributions/elastic-agent-8.0.0-SNAPSHOT-linux-x86_64.tar.gz
	new file:   internal/_testresources/beats/x-pack/elastic-agent/build/distributions/elastic-agent-ubi8-8.0.0-SNAPSHOT-linux-arm64.docker.tar.gz
	modified:   internal/deploy/docker.go
	modified:   internal/deploy/docker_client.go
	modified:   internal/installer/base_test.go
	modified:   internal/utils/utils.go

Unmerged paths:
  (use "git add/rm <file>..." as appropriate to mark resolution)
	both modified:   cli/config/compose/profiles/fleet/docker-compose.yml
	both modified:   cli/config/compose/profiles/metricbeat/docker-compose.yml
	both modified:   e2e/_suites/fleet/stand-alone.go
	deleted by us:   internal/installer/elasticagent_deb.go
	deleted by us:   internal/installer/elasticagent_docker.go
	deleted by us:   internal/installer/elasticagent_rpm.go
	deleted by us:   internal/installer/elasticagent_tar.go
	both modified:   internal/utils/utils_test.go

To fix up this pull request, you can check it out 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/

* feat: add support for running the tests in ARM

* fix: arm workers are not immutable yet

* chore: calculate artifact from the GOARCH variable

At this moment we support amd64 and arm64

* chore: run elasticsearch in the right platform

* chore: add log for architecture

* chore: print env variable for GOARCH

* chore: set GOARCH based in the worker

* fix: wrong copy&paste

* chore: install k8s dependencies on ARM

* chore: install godog using GOARCH

* fix: proper values for GO env in Makefile

* chore: add log when requesting a node

* fix: define Groovy variable

* chore: use proper platform for kibana

* chore: simplify platforms selection logic

* fix: use proper CI label for node selector

* chore: remove running containers in clean-docker script

* chore: clean up docker state on mutable workers

* chore: use parallel branch name for filebeat logs

* fix: add forgotten double quotes

* chore: print Docker compose version On ARM

* chore: use aarch64 architecture for RPM packages

* chore: support ARM in tar installer

* fix: proper arch for TAR installer

* chore: log when the artifact is found

* chore: be defensive about no running containers

* chore: add tests for RPM artifact name

* chore: add tests for x86_64 TAR artifact

* chore: remove docker label from CI workers

* chore: separate ARM tests in a second parallel stage

This pretends to avoid using too many workers, adding a second layer for ARM.

* chore: update stage name

* fix: update arm target platform

* chore: use GOARCH in the junit file

* chore: use GOARCH in filebeat logs

* chore: run all stages in parallel

* chore: add platform to log when skipping tests

* fix: use a filebeat version that supports multiplatform

* chore: do not run integrations on ARM

See elastic/beats#25195

* chore: move test resources for ARM

* chore: use staging environment for package-registry

See https://github.com/elastic/package-storage

* fix: remove clean because arm workers are now immutable

* chore: use new multiplatform images

* chore: use new multiplatform base images for fleet-server

* chore: add platform to elastic-agent cloud flavour

* fix: use proper variable for platform

* chore: do not clean up installer's workspace

Because we are using ephemeral workers, we do not want to remove previous files

* Revert "chore: do not clean up installer's workspace"

This reverts commit 9104501.

* chore(ci): skip pull of images from code

* Revert "chore(ci): skip pull of images from code"

This reverts commit 01cc441.

* chore: set platform when pulling images

* chore: update packer cache with our systemd images

* fix: request proper platform image for the agent

* feat: exclude scenarios per platform

* chore: remove tags for endpoint, as they are not used at all

They are also blocking the addition of a parent tag at the feature level, as maximun number of tags is 3

* fix: skip endpoint integration on ARM64

* feat: provide supported platforms at the scenario level on CI

The scenario will be able to override its parent suite's platforms, making
possible to select different platforms at the scenario level.

* fix: use proper length method for groovy arrays

* fix: groovy arrays use size

* fix: override suite platforms per scenario

* chore: update Jenkins label for arm workers

Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>

* chore: simplify platforms, reusing stack

* chore: explicitly pass GOARCH to CI script

* Revert "chore: update Jenkins label for arm workers"

This reverts commit 9ef81ca.

Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
(cherry picked from commit e1a97f3)

# Conflicts:
#	cli/config/compose/profiles/fleet/docker-compose.yml
#	cli/config/compose/profiles/metricbeat/docker-compose.yml
#	e2e/_suites/fleet/stand-alone.go
#	internal/installer/elasticagent_deb.go
#	internal/installer/elasticagent_docker.go
#	internal/installer/elasticagent_rpm.go
#	internal/installer/elasticagent_tar.go
#	internal/utils/utils_test.go
@mergify mergify bot added the conflicts There is a conflict in the backported pull request label Jun 1, 2021
@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 #1220 opened

  • Start Time: 2021-06-01T14:53:06.925+0000

  • Duration: 7 min 42 sec

  • Commit: 9839150

Test stats 🧪

Test Results
Failed 2
Passed 52
Skipped 0
Total 54

Trends 🧪

Image of Build Times

Image of Tests

Test errors 2

Expand to view the tests failures

Initializing / Pre-Submit / Sanity checks / Check Yaml – pre_commit.lint
    Expand to view the error details

     error 
    

  • no stacktrace
Initializing / Pre-Submit / Sanity checks / golangcilint – pre_commit.lint
    Expand to view the error details

     error 
    

  • no stacktrace

Steps errors 2

Expand to view the steps failures

Build and test
  • Took 0 min 29 sec . View more details on here
  • Description: .ci/scripts/build-test.sh
Archive the artifacts
  • Took 0 min 0 sec . View more details on here
  • Description: [2021-06-01T14:56:23.912Z] Archiving artifacts script returned exit code 2

Log output

Expand to view the last 100 lines of log output

[2021-06-01T14:58:58.140Z] Collecting importlib-metadata
[2021-06-01T14:58:58.140Z]   Downloading importlib_metadata-4.4.0-py3-none-any.whl (17 kB)
[2021-06-01T14:58:58.140Z] Collecting appdirs<2,>=1.4.3
[2021-06-01T14:58:58.140Z]   Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
[2021-06-01T14:58:58.399Z] Collecting distlib<1,>=0.3.1
[2021-06-01T14:58:58.399Z]   Downloading distlib-0.3.2-py2.py3-none-any.whl (338 kB)
[2021-06-01T14:58:58.399Z] Collecting filelock<4,>=3.0.0
[2021-06-01T14:58:58.399Z]   Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
[2021-06-01T14:58:58.399Z] Collecting six<2,>=1.9.0
[2021-06-01T14:58:58.399Z]   Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
[2021-06-01T14:58:58.399Z] Collecting zipp>=0.5
[2021-06-01T14:58:58.657Z]   Downloading zipp-3.4.1-py3-none-any.whl (5.2 kB)
[2021-06-01T14:58:58.657Z] Collecting typing-extensions>=3.6.4
[2021-06-01T14:58:58.657Z]   Downloading typing_extensions-3.10.0.0-py3-none-any.whl (26 kB)
[2021-06-01T14:58:58.657Z] Installing collected packages: zipp, typing-extensions, six, importlib-resources, importlib-metadata, filelock, distlib, appdirs, virtualenv, toml, pyyaml, nodeenv, identify, cfgv, pre-commit
[2021-06-01T14:58:59.225Z] Successfully installed appdirs-1.4.4 cfgv-3.3.0 distlib-0.3.2 filelock-3.0.12 identify-2.2.7 importlib-metadata-4.4.0 importlib-resources-5.1.4 nodeenv-1.6.0 pre-commit-2.13.0 pyyaml-5.4.1 six-1.16.0 toml-0.10.2 typing-extensions-3.10.0.0 virtualenv-20.4.7 zipp-3.4.1
[2021-06-01T14:58:59.483Z] Downloading https://files.pythonhosted.org/packages/a4/e3/1f067de470e3a86875ed915438dc3bd781fb0346254f541190a09472b677/virtualenv-16.7.10.tar.gz
[2021-06-01T14:58:59.483Z] Done.
[2021-06-01T14:58:59.483Z] *******************************************************************************
[2021-06-01T14:58:59.483Z] Installing pre-commit to /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/bin/pre-commit
[2021-06-01T14:58:59.483Z] *******************************************************************************
[2021-06-01T14:58:59.941Z] + export PATH=/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/bin:/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/bin:/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/.gvm/versions/go1.15.9.linux.amd64/bin:/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/bin:/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/.ci/scripts
[2021-06-01T14:58:59.941Z] + pre-commit install --install-hooks
[2021-06-01T14:58:59.941Z] pre-commit installed at .git/hooks/pre-commit
[2021-06-01T14:58:59.941Z] [WARNING] The 'rev' field of repo 'git@github.com:elastic/apm-pipeline-library' appears to be a mutable reference (moving tag / branch).  Mutable references are never updated after first install and are not supported.  See https://pre-commit.com/#using-the-latest-version-for-a-repository for more details.  Hint: `pre-commit autoupdate` often fixes this.
[2021-06-01T14:58:59.941Z] [INFO] Initializing environment for git://github.com/pre-commit/pre-commit-hooks.
[2021-06-01T14:59:00.523Z] [INFO] Initializing environment for git://github.com/dnephin/pre-commit-golang.
[2021-06-01T14:59:00.805Z] [INFO] Initializing environment for git@github.com:elastic/apm-pipeline-library.
[2021-06-01T14:59:02.749Z] [INFO] Installing environment for git://github.com/pre-commit/pre-commit-hooks.
[2021-06-01T14:59:02.749Z] [INFO] Once installed this environment will be reused.
[2021-06-01T14:59:02.749Z] [INFO] This may take a few minutes...
[2021-06-01T14:59:08.536Z] + export PATH=/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/bin:/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/bin:/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/.gvm/versions/go1.15.9.linux.amd64/bin:/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/bin:/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/.ci/scripts
[2021-06-01T14:59:08.536Z] + set +e
[2021-06-01T14:59:08.536Z] + find /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/.cache/pre-commit -type d -name scripts
[2021-06-01T14:59:08.536Z] + grep .ci/scripts
[2021-06-01T14:59:08.536Z] + searchFile=/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/.cache/pre-commit/repo0h5fzrie/.ci/scripts
[2021-06-01T14:59:08.536Z] + [ -e /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/.cache/pre-commit/repo0h5fzrie/.ci/scripts ]
[2021-06-01T14:59:08.536Z] + export PATH=/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/bin:/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/bin:/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/.gvm/versions/go1.15.9.linux.amd64/bin:/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/bin:/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/.ci/scripts:/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/.cache/pre-commit/repo0h5fzrie/.ci/scripts
[2021-06-01T14:59:08.536Z] + set -e
[2021-06-01T14:59:08.536Z] + git diff-tree --no-commit-id --name-only -r 9839150c49e4fa1c511de1f4ade9f64cd14cce5c
[2021-06-01T14:59:08.536Z] + xargs pre-commit run --files
[2021-06-01T14:59:08.536Z] + tee pre-commit.out
[2021-06-01T14:59:08.536Z] [WARNING] The 'rev' field of repo 'git@github.com:elastic/apm-pipeline-library' appears to be a mutable reference (moving tag / branch).  Mutable references are never updated after first install and are not supported.  See https://pre-commit.com/#using-the-latest-version-for-a-repository for more details.  Hint: `pre-commit autoupdate` often fixes this.
[2021-06-01T14:59:08.797Z] Check for case conflicts.................................................Passed
[2021-06-01T14:59:08.797Z] Check that executables have shebangs.....................................Passed
[2021-06-01T14:59:08.797Z] Check JSON...........................................(no files to check)Skipped
[2021-06-01T14:59:09.056Z] Check for merge conflicts................................................Passed
[2021-06-01T14:59:09.056Z] Check Yaml...............................................................Failed
[2021-06-01T14:59:09.056Z] - hook id: check-yaml
[2021-06-01T14:59:09.056Z] - exit code: 1
[2021-06-01T14:59:09.056Z] 
[2021-06-01T14:59:09.057Z] while scanning a simple key
[2021-06-01T14:59:09.057Z]   in "cli/config/compose/profiles/fleet/docker-compose.yml", line 19, column 1
[2021-06-01T14:59:09.057Z] could not find expected ':'
[2021-06-01T14:59:09.057Z]   in "cli/config/compose/profiles/fleet/docker-compose.yml", line 20, column 10
[2021-06-01T14:59:09.057Z] while scanning a simple key
[2021-06-01T14:59:09.057Z]   in "cli/config/compose/profiles/metricbeat/docker-compose.yml", line 12, column 1
[2021-06-01T14:59:09.057Z] could not find expected ':'
[2021-06-01T14:59:09.057Z]   in "cli/config/compose/profiles/metricbeat/docker-compose.yml", line 13, column 10
[2021-06-01T14:59:09.057Z] 
[2021-06-01T14:59:09.057Z] Check Xml............................................(no files to check)Skipped
[2021-06-01T14:59:09.057Z] Fix End of Files.........................................................Passed
[2021-06-01T14:59:09.057Z] go fmt...................................................................Passed
[2021-06-01T14:59:09.319Z] go lint..................................................................Passed
[2021-06-01T14:59:09.319Z] Check files aren't using go's testing package........(no files to check)Skipped
[2021-06-01T14:59:27.466Z] golangci-lint............................................................Failed
[2021-06-01T14:59:27.466Z] - hook id: golangci-lint
[2021-06-01T14:59:27.466Z] - exit code: 3
[2021-06-01T14:59:27.466Z] 
[2021-06-01T14:59:27.466Z] level=warning msg="[runner] Can't run linter goanalysis_metalinter: S1005: failed prerequisites: [(inspect@github.com/elastic/e2e-testing/internal/installer [github.com/elastic/e2e-testing/internal/installer.test], isgenerated@github.com/elastic/e2e-testing/internal/installer [github.com/elastic/e2e-testing/internal/installer.test]): analysis skipped: errors in package: [/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_deb.go:24:99: ServiceOperator not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_deb.go:37:52: ServiceOperatorManifest not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_docker.go:23:102: ServiceOperator not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_docker.go:36:55: ServiceOperatorManifest not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_rpm.go:24:99: ServiceOperator not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_rpm.go:37:52: ServiceOperatorManifest not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_tar.go:24:99: ServiceOperator not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_tar.go:37:52: ServiceOperatorManifest not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_deb.go:33:18: i.deploy.AddFiles undefined (type deploy.Deployment has no field or method AddFiles) /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_deb.go:38:16: ServiceOperatorManifest not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_deb.go:90:18: i.deploy.Logs undefined (type deploy.Deployment has no field or method Logs) /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_docker.go:32:18: i.deploy.AddFiles undefined (type deploy.Deployment has no field or method AddFiles) /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_docker.go:37:16: ServiceOperatorManifest not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_docker.go:66:18: i.deploy.Logs undefined (type deploy.Deployment has no field or method Logs) /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_rpm.go:33:18: i.deploy.AddFiles undefined (type deploy.Deployment has no field or method AddFiles) /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_rpm.go:38:16: ServiceOperatorManifest not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_rpm.go:91:18: i.deploy.Logs undefined (type deploy.Deployment has no field or method Logs) /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_tar.go:33:18: i.deploy.AddFiles undefined (type deploy.Deployment has no field or method AddFiles) /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_tar.go:38:16: ServiceOperatorManifest not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_tar.go:79:18: i.deploy.Logs undefined (type deploy.Deployment has no field or method Logs)]]"
[2021-06-01T14:59:27.467Z] level=error msg="Running error: S1005: failed prerequisites: [(inspect@github.com/elastic/e2e-testing/internal/installer [github.com/elastic/e2e-testing/internal/installer.test], isgenerated@github.com/elastic/e2e-testing/internal/installer [github.com/elastic/e2e-testing/internal/installer.test]): analysis skipped: errors in package: [/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_deb.go:24:99: ServiceOperator not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_deb.go:37:52: ServiceOperatorManifest not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_docker.go:23:102: ServiceOperator not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_docker.go:36:55: ServiceOperatorManifest not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_rpm.go:24:99: ServiceOperator not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_rpm.go:37:52: ServiceOperatorManifest not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_tar.go:24:99: ServiceOperator not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_tar.go:37:52: ServiceOperatorManifest not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_deb.go:33:18: i.deploy.AddFiles undefined (type deploy.Deployment has no field or method AddFiles) /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_deb.go:38:16: ServiceOperatorManifest not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_deb.go:90:18: i.deploy.Logs undefined (type deploy.Deployment has no field or method Logs) /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_docker.go:32:18: i.deploy.AddFiles undefined (type deploy.Deployment has no field or method AddFiles) /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_docker.go:37:16: ServiceOperatorManifest not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_docker.go:66:18: i.deploy.Logs undefined (type deploy.Deployment has no field or method Logs) /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_rpm.go:33:18: i.deploy.AddFiles undefined (type deploy.Deployment has no field or method AddFiles) /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_rpm.go:38:16: ServiceOperatorManifest not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_rpm.go:91:18: i.deploy.Logs undefined (type deploy.Deployment has no field or method Logs) /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_tar.go:33:18: i.deploy.AddFiles undefined (type deploy.Deployment has no field or method AddFiles) /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_tar.go:38:16: ServiceOperatorManifest not declared by package deploy /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220/src/github.com/elastic/e2e-testing/internal/installer/elasticagent_tar.go:79:18: i.deploy.Logs undefined (type deploy.Deployment has no field or method Logs)]]"
[2021-06-01T14:59:27.467Z] 
[2021-06-01T14:59:27.467Z] check-bash-syntax........................................................Passed
[2021-06-01T14:59:27.467Z] check-jenkins-pipelines..................................................Passed
[2021-06-01T14:59:27.467Z] - hook id: check-jenkins-pipelines
[2021-06-01T14:59:27.467Z] - duration: 0.75s
[2021-06-01T14:59:27.467Z] check-unicode-non-breaking-spaces........................................Passed
[2021-06-01T14:59:27.467Z] remove-unicode-non-breaking-spaces.......................................Passed
[2021-06-01T14:59:27.467Z] check-en-dashes..........................................................Passed
[2021-06-01T14:59:27.467Z] remove-en-dashes.........................................................Passed
[2021-06-01T14:59:27.467Z] check-jjbb...........................................(no files to check)Skipped
[2021-06-01T14:59:27.467Z] - hook id: check-jjbb
[2021-06-01T14:59:42.354Z] check-gherkin-lint.......................................................Passed
[2021-06-01T14:59:42.437Z] $ ssh-agent -k
[2021-06-01T14:59:42.441Z] unset SSH_AUTH_SOCK;
[2021-06-01T14:59:42.441Z] unset SSH_AGENT_PID;
[2021-06-01T14:59:42.442Z] echo Agent pid 4804 killed;
[2021-06-01T14:59:42.451Z] [ssh-agent] Stopped.
[2021-06-01T14:59:44.759Z] Archiving artifacts
[2021-06-01T14:59:44.947Z] Recording test results
[2021-06-01T14:59:45.228Z] [Checks API] No suitable checks publisher found.
[2021-06-01T14:59:46.982Z] Stage "Build Docs" skipped due to earlier failure(s)
[2021-06-01T14:59:47.099Z] Stage "End-To-End Tests" skipped due to earlier failure(s)
[2021-06-01T14:59:47.220Z] Stage "Release" skipped due to earlier failure(s)
[2021-06-01T14:59:47.903Z] Running on Jenkins in /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-1220
[2021-06-01T14:59:47.996Z] [INFO] getVaultSecret: Getting secrets
[2021-06-01T14:59:48.174Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-06-01T14:59:49.228Z] + chmod 755 generate-build-data.sh
[2021-06-01T14:59:49.228Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1220/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1220/runs/1 FAILURE 402020
[2021-06-01T14:59:49.228Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/e2e-tests/e2e-testing-mbp/PR-1220/runs/1/steps/?limit=10000 -o steps-info.json

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Test stats 🧪

Test Results
Failed 2
Passed 52
Skipped 0
Total 54

Genuine test errors 2

💔 There are test failures but not known flaky tests, most likely a genuine test failure.

  • Name: Initializing / Pre-Submit / Sanity checks / Check Yaml – pre_commit.lint
  • Name: Initializing / Pre-Submit / Sanity checks / golangcilint – pre_commit.lint

@mdelapenya
Copy link
Copy Markdown
Contributor

Waiting for #1213 to be merged first

@mdelapenya
Copy link
Copy Markdown
Contributor

Closing, as we are going to resolve the conflicts locally

@mdelapenya mdelapenya closed this Jun 1, 2021
@mergify
Copy link
Copy Markdown
Contributor Author

mergify bot commented Jun 1, 2021

This pull request is now in conflict. Could you fix it @mergify[bot]? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b mergify/bp/7.13.x/pr-707 upstream/mergify/bp/7.13.x/pr-707
git merge upstream/7.13.x
git push upstream mergify/bp/7.13.x/pr-707

@mergify mergify bot deleted the mergify/bp/7.13.x/pr-707 branch June 1, 2021 16:10
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