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

Cherry-pick #21880 to 7.9: Stop storing stateless kubernetes keystores #21985

Merged
merged 2 commits into from
Oct 20, 2020

Conversation

ChrsMark
Copy link
Member

@ChrsMark ChrsMark commented Oct 19, 2020

Cherry-pick of PR #21880 to 7.9 branch. Original message:

What does this PR do?

This PR removes kubernetesKeystores since it does not store anything that actually needs to be shared.

Related issues

@ChrsMark ChrsMark added [zube]: In Review backport Team:Platforms Label for the Integrations - Platforms team labels Oct 19, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-platforms (Team:Platforms)

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Oct 19, 2020
@elasticmachine
Copy link
Collaborator

elasticmachine commented Oct 19, 2020

❕ 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 #21985 updated]

  • Start Time: 2020-10-19T15:18:24.294+0000

  • Duration: 124 min 27 sec

Test stats 🧪

Test Results
Failed 2
Passed 15413
Skipped 1340
Total 16755

Test errors 2

Expand to view the tests failures

  • Name: Build&Test / libbeat-build / TestOutputReload – pipeline

    • Age: 1
    • Duration: 66.24
    • Error Details: Failed
  • Name: Build&Test / libbeat-build / TestOutputReload/network_client – pipeline

    • Age: 1
    • Duration: 36.99
    • Error Details: Failed

Steps errors 2

Expand to view the steps failures

  • Name: generator-beat-test - make -C generator/_templates/beat test test-package

    • Description: make -C generator/_templates/beat test test-package

    • Duration: 2 min 28 sec

    • Start Time: 2020-10-19T15:47:29.169+0000

    • log

  • Name: libbeat-build - mage build test

    • Description: mage build test

    • Duration: 22 min 35 sec

    • Start Time: 2020-10-19T15:47:25.877+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-10-19T16:42:07.243Z]  docker-init:
[2020-10-19T16:42:07.243Z]   Version:          0.18.0
[2020-10-19T16:42:07.243Z]   GitCommit:        fec3683
[2020-10-19T17:21:50.881Z] Cancelling nested steps due to timeout
[2020-10-19T17:21:50.921Z] Failed in branch auditbeat-crosscompile
[2020-10-19T17:22:00.298Z] [INFO] unstashV2: JOB_GCS_BUCKET is set. bucket param got precedency instead.
[2020-10-19T17:22:00.314Z] [INFO] unstashV2: JOB_GCS_CREDENTIALS is set. credentialsId param got precedency instead.
[2020-10-19T17:22:00.397Z] [Google Cloud Storage Plugin] Found 1 files to download from pattern: gs://beats-ci-temp/Beats/beats/PR-21985-2/source/source.tgz
[2020-10-19T17:22:00.415Z] [Google Cloud Storage Plugin] Downloading: Beats/beats/PR-21985-2/source/source.tgz to local path: /var/lib/jenkins/workspace/Beats_beats_PR-21985/source.tgz
[2020-10-19T17:22:14.753Z] + tar --version
[2020-10-19T17:22:15.052Z] + tar -xpf source.tgz
[2020-10-19T17:22:27.612Z] + rm source.tgz
[2020-10-19T17:22:27.667Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats
[2020-10-19T17:22:27.676Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/libbeat-stress-tests-1603122477693
[2020-10-19T17:22:27.711Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/winlogbeat-crosscompile-1603122544440
[2020-10-19T17:22:27.748Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/x-pack-elastic-agent-build-1603122563358
[2020-10-19T17:22:27.781Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/generator-beat-test-1603122603246
[2020-10-19T17:22:27.814Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/x-pack-dockerlogbeat-build-1603122618877
[2020-10-19T17:22:27.852Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/journalbeat-unitTest-1603122646011
[2020-10-19T17:22:27.890Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/libbeat-crosscompile-1603122738001
[2020-10-19T17:22:27.921Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/x-pack-functionbeat-build-1603122779221
[2020-10-19T17:22:27.958Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/packetbeat-build-1603122825629
[2020-10-19T17:22:27.996Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/x-pack-elastic-agent-windows-windows-2019-1603122922443
[2020-10-19T17:22:28.028Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/metricbeat-unitTest-1603122999408
[2020-10-19T17:22:28.071Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/auditbeat-windows-windows-2019-1603123048185
[2020-10-19T17:22:28.108Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/metricbeat-crosscompile-1603123066756
[2020-10-19T17:22:28.144Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/x-pack-auditbeat-build-1603123072564
[2020-10-19T17:22:28.178Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/heartbeat-build-1603123079408
[2020-10-19T17:22:28.215Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/heartbeat-windows-windows-2019-1603123096353
[2020-10-19T17:22:28.247Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/x-pack-winlogbeat-build-windows-2019-1603123117589
[2020-10-19T17:22:28.284Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/x-pack-auditbeat-windows-windows-2019-1603123121366
[2020-10-19T17:22:28.326Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/generator-metricbeat-test-1603123131534
[2020-10-19T17:22:28.355Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/auditbeat-build-1603123161249
[2020-10-19T17:22:28.391Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/x-pack-filebeat-windows-windows-2019-1603123218536
[2020-10-19T17:22:28.423Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/x-pack-libbeat-build-1603123237506
[2020-10-19T17:22:28.454Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/packetbeat-windows-windows-2019-1603123283000
[2020-10-19T17:22:28.488Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/winlogbeat-windows-windows-2019-1603123300815
[2020-10-19T17:22:28.520Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/filebeat-windows-windows-2019-1603123306761
[2020-10-19T17:22:28.554Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/x-pack-functionbeat-windows-windows-2019-1603123339748
[2020-10-19T17:22:28.586Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/metricbeat-windows-windows-2019-1603123538457
[2020-10-19T17:22:28.620Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/x-pack-metricbeat-windows-windows-2019-1603123576759
[2020-10-19T17:22:28.657Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/libbeat-build-1603123746587
[2020-10-19T17:22:28.700Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/x-pack-filebeat-build-1603124114876
[2020-10-19T17:22:28.734Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/filebeat-build-1603124125516
[2020-10-19T17:22:28.774Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/metricbeat-pythonIntegTest-1603124650185
[2020-10-19T17:22:28.810Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/metricbeat-goIntegTest-1603124703575
[2020-10-19T17:22:28.856Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/x-pack-metricbeat-build-1603125286076
[2020-10-19T17:22:29.198Z] + cat
[2020-10-19T17:22:29.198Z] + /usr/local/bin/runbld ./runbld-test-reports --job-name elastic+beats+pull-request
[2020-10-19T17:22:29.198Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-10-19T17:22:35.819Z] runbld>>> runbld started
[2020-10-19T17:22:35.819Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-10-19T17:22:37.744Z] runbld>>> The following profiles matched the job 'elastic+beats+pull-request' in order of occurrence in the config (last value wins).
[2020-10-19T17:22:37.744Z] runbld>>> Matches in the system config:
[2020-10-19T17:22:37.744Z] runbld>>> - Matched ^elastic\+beats
[2020-10-19T17:22:37.744Z] runbld>>> - Matched ^elastic\+beats\+pull-request
[2020-10-19T17:22:39.133Z] runbld>>> Debug logging enabled.
[2020-10-19T17:22:39.133Z] runbld>>> Storing result
[2020-10-19T17:22:39.133Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-10-19T17:22:39.133Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20201019172238-D8E3CDB7
[2020-10-19T17:22:39.133Z] runbld>>> Adding system facts.
[2020-10-19T17:22:40.522Z] runbld>>> Adding vcs info for the latest commit:  bdb546748076416813787c310b11eb4b4f98bf1d
[2020-10-19T17:22:40.522Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-10-19T17:22:40.522Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-10-19T17:22:40.522Z] Processing JUnit reports with runbld...
[2020-10-19T17:22:40.522Z] + echo 'Processing JUnit reports with runbld...'
[2020-10-19T17:22:41.097Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-10-19T17:22:41.097Z] runbld>>> DURATION: 22ms
[2020-10-19T17:22:41.097Z] runbld>>> STDOUT: 40 bytes
[2020-10-19T17:22:41.097Z] runbld>>> STDERR: 49 bytes
[2020-10-19T17:22:41.097Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-10-19T17:22:41.097Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-21985
[2020-10-19T17:22:42.044Z] runbld>>> Storing build metadata: 
[2020-10-19T17:22:42.044Z] runbld>>> Adding test report.
[2020-10-19T17:22:42.044Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats
[2020-10-19T17:22:42.619Z] runbld>>> Found 122 test output files
[2020-10-19T17:22:43.194Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/metricbeat-goIntegTest-1603124703575/metricbeat/build/TEST-go-integration-windows.xml
[2020-10-19T17:22:43.194Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/metricbeat-goIntegTest-1603124703575/metricbeat/build/TEST-go-integration-graphite.xml
[2020-10-19T17:22:44.591Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/x-pack-metricbeat-build-1603125286076/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-10-19T17:22:44.591Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/x-pack-metricbeat-build-1603125286076/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-10-19T17:22:44.591Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/x-pack-metricbeat-build-1603125286076/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-10-19T17:22:44.591Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/x-pack-metricbeat-build-1603125286076/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-10-19T17:22:44.591Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21985/src/github.com/elastic/beats/x-pack-metricbeat-build-1603125286076/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-10-19T17:22:46.157Z] runbld>>> Test output logs contained: Errors: 0 Failures: 2 Tests: 16755 Skipped: 1073
[2020-10-19T17:22:46.157Z] runbld>>> Storing result
[2020-10-19T17:22:46.157Z] runbld>>> FAILURES: 2
[2020-10-19T17:22:46.732Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-10-19T17:22:46.732Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20201019172238-D8E3CDB7
[2020-10-19T17:22:46.732Z] runbld>>> Email notification disabled by environment variable.
[2020-10-19T17:22:46.732Z] runbld>>> Slack notification disabled by environment variable.
[2020-10-19T17:22:50.882Z] Body did not finish within grace period; terminating with extreme prejudice
[2020-10-19T17:22:50.884Z] ERROR: runbld post build action failed.
[2020-10-19T17:22:50.884Z] Timeout has been exceeded
[2020-10-19T17:22:51.085Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-21985
[2020-10-19T17:22:51.110Z] [INFO] getVaultSecret: Getting secrets
[2020-10-19T17:22:51.152Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-10-19T17:22:51.718Z] + chmod 755 generate-build-data.sh
[2020-10-19T17:22:51.718Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21985/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21985/runs/2 ABORTED 7467164
[2020-10-19T17:22:51.718Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21985/runs/2/steps/?limit=10000 -o steps-info.json
[2020-10-19T17:22:54.946Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21985/runs/2/tests/?status=FAILED -o tests-errors.json

@ChrsMark ChrsMark merged commit 185fa1c into elastic:7.9 Oct 20, 2020
@zube zube bot removed the [zube]: Done label Jan 18, 2021
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Team:Platforms Label for the Integrations - Platforms team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants