Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.13](backport #25707) [Elastic Agent] Handle case where policy doesn't contain Fleet connection information #25714

Merged
merged 1 commit into from
May 14, 2021

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented May 14, 2021

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


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

…tion information (#25707)

* Handle case where policy doesn't contain Fleet connection information.

* Add changelog entry.

(cherry picked from commit e86109e)
@mergify mergify bot added the backport label May 14, 2021
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label May 14, 2021
@botelastic
Copy link

botelastic bot commented May 14, 2021

This pull request doesn't have a Team:<team> label.

@elasticmachine
Copy link
Collaborator

elasticmachine commented May 14, 2021

💔 Build 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: blakerouse commented: /test

  • Start Time: 2021-05-14T11:56:33.105+0000

  • Duration: 40 min 3 sec

  • Commit: c6c9aef

Trends 🧪

Image of Build Times

Log output

Expand to view the last 100 lines of log output

[2021-05-14T12:35:29.150Z]  Built:             Fri Jan 29 14:33:34 2021
[2021-05-14T12:35:29.150Z]  OS/Arch:           linux/arm64
[2021-05-14T12:35:29.150Z]  Context:           default
[2021-05-14T12:35:29.150Z]  Experimental:      true
[2021-05-14T12:35:29.150Z] 
[2021-05-14T12:35:29.150Z] Server: Docker Engine - Community
[2021-05-14T12:35:29.150Z]  Engine:
[2021-05-14T12:35:29.150Z]   Version:          20.10.3
[2021-05-14T12:35:29.150Z]   API version:      1.41 (minimum version 1.12)
[2021-05-14T12:35:29.150Z]   Go version:       go1.13.15
[2021-05-14T12:35:29.150Z]   Git commit:       46229ca
[2021-05-14T12:35:29.150Z]   Built:            Fri Jan 29 14:31:49 2021
[2021-05-14T12:35:29.150Z]   OS/Arch:          linux/arm64
[2021-05-14T12:35:29.150Z]   Experimental:     false
[2021-05-14T12:35:29.150Z]  containerd:
[2021-05-14T12:35:29.150Z]   Version:          1.4.4
[2021-05-14T12:35:29.150Z]   GitCommit:        05f951a3781f4f2c1911b05e61c160e9c30eaa8e
[2021-05-14T12:35:29.150Z]  runc:
[2021-05-14T12:35:29.150Z]   Version:          1.0.0-rc93
[2021-05-14T12:35:29.150Z]   GitCommit:        12644e614e25b05da6fd08a38ffa0cfe1903fdec
[2021-05-14T12:35:29.150Z]  docker-init:
[2021-05-14T12:35:29.150Z]   Version:          0.19.0
[2021-05-14T12:35:29.150Z]   GitCommit:        de40ad0
[2021-05-14T12:35:29.150Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-05-14T12:35:29.150Z] Unable to find image 'arm64v8/alpine:3' locally
[2021-05-14T12:35:30.207Z] 3: Pulling from arm64v8/alpine
[2021-05-14T12:35:30.208Z] 595b0fe564bb: Pulling fs layer
[2021-05-14T12:35:30.716Z] 595b0fe564bb: Verifying Checksum
[2021-05-14T12:35:30.716Z] 595b0fe564bb: Download complete
[2021-05-14T12:35:31.229Z] 595b0fe564bb: Pull complete
[2021-05-14T12:35:31.229Z] Digest: sha256:8f18fae117ec6e5777cc62ba78cbb3be10a8a38639ccfb949521abd95c8301a4
[2021-05-14T12:35:31.229Z] Status: Downloaded newer image for arm64v8/alpine:3
[2021-05-14T12:35:44.412Z] Change permissions with write access of all files inside the specific folder
[2021-05-14T12:35:45.116Z] Running in /var/lib/jenkins/workspace/PR-25714-2-c6704674-ec19-4a28-ad2e-385f3549868f/src/github.com/elastic/beats/build
[2021-05-14T12:35:45.962Z] + rm -rf ve
[2021-05-14T12:35:45.962Z] + find . -type d -name vendor -exec rm -r {} ;
[2021-05-14T12:35:47.011Z] + python .ci/scripts/pre_archive_test.py
[2021-05-14T12:36:08.983Z] Copy ./x-pack/filebeat/build into build/x-pack/filebeat/build
[2021-05-14T12:36:08.983Z] Copy ./x-pack/filebeat/build/golang-crossbuild into build/x-pack/filebeat/build/golang-crossbuild
[2021-05-14T12:36:08.983Z] Copy ./x-pack/heartbeat/build into build/x-pack/heartbeat/build
[2021-05-14T12:36:08.983Z] Copy ./x-pack/heartbeat/build/golang-crossbuild into build/x-pack/heartbeat/build/golang-crossbuild
[2021-05-14T12:36:08.983Z] Copy ./x-pack/elastic-agent/build into build/x-pack/elastic-agent/build
[2021-05-14T12:36:08.983Z] Copy ./x-pack/elastic-agent/build/golang-crossbuild into build/x-pack/elastic-agent/build/golang-crossbuild
[2021-05-14T12:36:08.983Z] Copy ./x-pack/elastic-agent/build/package/elastic-agent-ubi8/elastic-agent-linux-arm64.docker/docker-build into build/x-pack/elastic-agent/build/package/elastic-agent-ubi8/elastic-agent-linux-arm64.docker/docker-build
[2021-05-14T12:36:08.983Z] Copy ./x-pack/elastic-agent/build/package/elastic-agent/elastic-agent-linux-arm64.docker/docker-build into build/x-pack/elastic-agent/build/package/elastic-agent/elastic-agent-linux-arm64.docker/docker-build
[2021-05-14T12:36:08.983Z] Copy ./x-pack/metricbeat/build into build/x-pack/metricbeat/build
[2021-05-14T12:36:08.983Z] Copy ./x-pack/metricbeat/build/golang-crossbuild into build/x-pack/metricbeat/build/golang-crossbuild
[2021-05-14T12:36:09.184Z] Running in /var/lib/jenkins/workspace/PR-25714-2-c6704674-ec19-4a28-ad2e-385f3549868f/src/github.com/elastic/beats/build
[2021-05-14T12:36:09.260Z] Recording test results
[2021-05-14T12:36:12.857Z] None of the test reports contained any result
[2021-05-14T12:36:12.858Z] [Checks API] No suitable checks publisher found.
[2021-05-14T12:36:13.743Z] + go clean -modcache
[2021-05-14T12:36:22.393Z] Cleaning up /var/lib/jenkins/workspace/PR-25714-2-c6704674-ec19-4a28-ad2e-385f3549868f
[2021-05-14T12:36:22.393Z] Client: Docker Engine - Community
[2021-05-14T12:36:22.393Z]  Version:           20.10.3
[2021-05-14T12:36:22.393Z]  API version:       1.41
[2021-05-14T12:36:22.393Z]  Go version:        go1.13.15
[2021-05-14T12:36:22.393Z]  Git commit:        48d30b5
[2021-05-14T12:36:22.393Z]  Built:             Fri Jan 29 14:33:34 2021
[2021-05-14T12:36:22.393Z]  OS/Arch:           linux/arm64
[2021-05-14T12:36:22.393Z]  Context:           default
[2021-05-14T12:36:22.393Z]  Experimental:      true
[2021-05-14T12:36:22.393Z] 
[2021-05-14T12:36:22.393Z] Server: Docker Engine - Community
[2021-05-14T12:36:22.393Z]  Engine:
[2021-05-14T12:36:22.393Z]   Version:          20.10.3
[2021-05-14T12:36:22.393Z]   API version:      1.41 (minimum version 1.12)
[2021-05-14T12:36:22.393Z]   Go version:       go1.13.15
[2021-05-14T12:36:22.393Z]   Git commit:       46229ca
[2021-05-14T12:36:22.393Z]   Built:            Fri Jan 29 14:31:49 2021
[2021-05-14T12:36:22.393Z]   OS/Arch:          linux/arm64
[2021-05-14T12:36:22.393Z]   Experimental:     false
[2021-05-14T12:36:22.393Z]  containerd:
[2021-05-14T12:36:22.393Z]   Version:          1.4.4
[2021-05-14T12:36:22.393Z]   GitCommit:        05f951a3781f4f2c1911b05e61c160e9c30eaa8e
[2021-05-14T12:36:22.393Z]  runc:
[2021-05-14T12:36:22.393Z]   Version:          1.0.0-rc93
[2021-05-14T12:36:22.393Z]   GitCommit:        12644e614e25b05da6fd08a38ffa0cfe1903fdec
[2021-05-14T12:36:22.393Z]  docker-init:
[2021-05-14T12:36:22.393Z]   Version:          0.19.0
[2021-05-14T12:36:22.393Z]   GitCommit:        de40ad0
[2021-05-14T12:36:22.393Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-05-14T12:36:23.451Z] Change permissions with write access of all files inside the specific folder
[2021-05-14T12:36:24.165Z] Running in /var/lib/jenkins/workspace/PR-25714-2-c6704674-ec19-4a28-ad2e-385f3549868f
[2021-05-14T12:36:29.039Z] + gsutil --version
[2021-05-14T12:36:32.388Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-05-14T12:36:32.702Z] + gcloud auth activate-service-account --key-file ****
[2021-05-14T12:36:33.646Z] Activated service account credentials for: [[email protected]]
[2021-05-14T12:36:33.962Z] + gsutil -m -q cp -a public-read eC1wYWNrL2VsYXN0aWMtYWdlbnQtcGFja2FnaW5nLWFybS1hcm1jNmM5YWVmNWM3ZWRkMWMxZWIzYjI5ZTEzN2M4OTY4MzU0ZTJjNTE3 gs://beats-ci-temp/ci/cache/
[2021-05-14T12:36:35.472Z] Stage "Packaging" skipped due to when conditional
[2021-05-14T12:36:35.517Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-25714/src/github.com/elastic/beats
[2021-05-14T12:36:35.840Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-25714
[2021-05-14T12:36:35.880Z] [INFO] getVaultSecret: Getting secrets
[2021-05-14T12:36:35.914Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-05-14T12:36:36.536Z] + chmod 755 generate-build-data.sh
[2021-05-14T12:36:36.536Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25714/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25714/runs/2 UNSTABLE 2403171
[2021-05-14T12:36:36.536Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25714/runs/2/steps/?limit=10000 -o steps-info.json
[2021-05-14T12:36:36.786Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25714/runs/2/tests/?status=FAILED -o tests-errors.json
[2021-05-14T12:36:36.786Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-05-14T12:36:38.129Z] Retry 2/3 exited 22, retrying in 2 seconds...

❕ Flaky test report

No test was executed to be analysed.

@blakerouse
Copy link
Contributor

/test

@blakerouse blakerouse merged commit 71251ef into 7.13 May 14, 2021
@blakerouse blakerouse deleted the mergify/bp/7.13/pr-25707 branch May 14, 2021 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport needs_team Indicates that the issue/PR needs a Team:* label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants