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 #21694 to 7.10: [Elastic Agent] Remove the service installer scripts from packaging #21809

Merged
merged 1 commit into from
Oct 14, 2020

Conversation

blakerouse
Copy link
Contributor

Cherry-pick of PR #21694 to 7.10 branch. Original message:

What does this PR do?

Removes the install-service.ps1 and uninstall-service.ps1 from the Windows .zip package, as the .\elastic-agent install should be used instead.

Why is it important?

To align of the usage of the install command on Windows.

Checklist

  • My code follows the style guidelines of this project
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] I have made corresponding change to the default configuration files
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

…lastic#21694)

* Remove the service installer scripts from packaging.

* Add changelog.

(cherry picked from commit e38d417)
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ingest-management (Team:Ingest Management)

@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 14, 2020
@blakerouse blakerouse self-assigned this Oct 14, 2020
@ph
Copy link
Contributor

ph commented Oct 14, 2020

change lgtm.

@elasticmachine
Copy link
Collaborator

💔 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 #21809 opened]

  • Start Time: 2020-10-14T15:17:51.094+0000

  • Duration: 99 min 11 sec

Test stats 🧪

Test Results
Failed 7
Passed 16297
Skipped 1365
Total 17669

Test errors 7

Expand to view the tests failures

  • Name: Build&Test / metricbeat-goIntegTest / TestFetch – activity

    • Age: 1
    • Duration: 35.5
    • Error Details: Failed
  • Name: Build&Test / x-pack/elastic-agent-build / TestFleetGateway – application

    • Age: 1
    • Duration: 0
    • Error Details: Failed
  • Name: Build&Test / x-pack/elastic-agent-build / TestFleetGateway/send_no_event_and_receive_no_action – application

    • Age: 1
    • Duration: 0
    • Error Details: Failed
  • Name: Build&Test / x-pack/elastic-agent-build / TestFleetGateway/Successfully_connects_and_receives_a_series_of_actions – application

    • Age: 1
    • Duration: 0
    • Error Details: Failed
  • Name: Build&Test / x-pack/elastic-agent-build / TestFleetGateway/Periodically_communicates_with_Fleet – application

    • Age: 1
    • Duration: 0
    • Error Details: Failed
  • Name: Build&Test / x-pack/elastic-agent-build / TestFleetGateway/send_event_and_receive_no_action – application

    • Age: 1
    • Duration: 0
    • Error Details: Failed
  • Name: Build&Test / x-pack/elastic-agent-build / TestFleetGateway/Test_the_wait_loop_is_interruptible – application

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

Steps errors 2

Expand to view the steps failures

  • Name: mage goIntegTest

    • Description: mage goIntegTest

    • Duration: 34 min 45 sec

    • Start Time: 2020-10-14T15:54:26.890+0000

    • log

  • Name: mage build test

    • Description: mage build test

    • Duration: 12 min 56 sec

    • Start Time: 2020-10-14T15:57:13.493+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-10-14T16:55:57.676Z]   Version:          1.0.0-rc10
[2020-10-14T16:55:57.676Z]   GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
[2020-10-14T16:55:57.676Z]  docker-init:
[2020-10-14T16:55:57.676Z]   Version:          0.18.0
[2020-10-14T16:55:57.676Z]   GitCommit:        fec3683
[2020-10-14T16:56:06.552Z] [INFO] unstashV2: JOB_GCS_BUCKET is set. bucket param got precedency instead.
[2020-10-14T16:56:06.575Z] [INFO] unstashV2: JOB_GCS_CREDENTIALS is set. credentialsId param got precedency instead.
[2020-10-14T16:56:06.654Z] [Google Cloud Storage Plugin] Found 1 files to download from pattern: gs://beats-ci-temp/Beats/beats/PR-21809-1/source/source.tgz
[2020-10-14T16:56:06.677Z] [Google Cloud Storage Plugin] Downloading: Beats/beats/PR-21809-1/source/source.tgz to local path: /var/lib/jenkins/workspace/Beats_beats_PR-21809/source.tgz
[2020-10-14T16:56:15.756Z] + tar --version
[2020-10-14T16:56:16.074Z] + tar -xpf source.tgz
[2020-10-14T16:56:28.899Z] + rm source.tgz
[2020-10-14T16:56:28.999Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats
[2020-10-14T16:56:29.036Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/lint-1602690167726
[2020-10-14T16:56:29.144Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/libbeat-stress-tests-1602690869650
[2020-10-14T16:56:29.249Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/auditbeat-crosscompile-1602690990438
[2020-10-14T16:56:29.353Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/journalbeat-unitTest-1602691071720
[2020-10-14T16:56:29.451Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/winlogbeat-crosscompile-1602691101893
[2020-10-14T16:56:29.546Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/libbeat-crosscompile-1602691148414
[2020-10-14T16:56:29.644Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/x-pack-dockerlogbeat-build-1602691190839
[2020-10-14T16:56:29.745Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/x-pack-functionbeat-build-1602691326707
[2020-10-14T16:56:29.846Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/metricbeat-unitTest-1602691385581
[2020-10-14T16:56:29.949Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/packetbeat-build-1602691396375
[2020-10-14T16:56:30.046Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/x-pack-elastic-agent-windows-windows-2019-1602691419515
[2020-10-14T16:56:30.142Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/heartbeat-build-1602691463456
[2020-10-14T16:56:30.237Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/auditbeat-windows-windows-2019-1602691471697
[2020-10-14T16:56:30.332Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/auditbeat-build-1602691481923
[2020-10-14T16:56:30.433Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/generator-metricbeat-test-1602691510076
[2020-10-14T16:56:30.532Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/heartbeat-windows-windows-2019-1602691546641
[2020-10-14T16:56:30.634Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/metricbeat-crosscompile-1602691548695
[2020-10-14T16:56:30.739Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/x-pack-auditbeat-windows-windows-2019-1602691561927
[2020-10-14T16:56:30.841Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/generator-beat-test-1602691566744
[2020-10-14T16:56:30.943Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/packetbeat-windows-windows-2019-1602691701313
[2020-10-14T16:56:31.069Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/filebeat-windows-windows-2019-1602691702167
[2020-10-14T16:56:31.168Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/x-pack-winlogbeat-build-windows-2019-1602691710253
[2020-10-14T16:56:31.263Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/winlogbeat-windows-windows-2019-1602691740294
[2020-10-14T16:56:31.360Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/x-pack-filebeat-windows-windows-2019-1602691743105
[2020-10-14T16:56:31.457Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/x-pack-functionbeat-windows-windows-2019-1602691745835
[2020-10-14T16:56:31.551Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/x-pack-elastic-agent-build-1602691755873
[2020-10-14T16:56:31.645Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/x-pack-auditbeat-build-1602691798423
[2020-10-14T16:56:31.745Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/x-pack-libbeat-build-1602691865581
[2020-10-14T16:56:31.839Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/metricbeat-windows-windows-2019-1602691993501
[2020-10-14T16:56:31.936Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/x-pack-metricbeat-windows-windows-2019-1602692057680
[2020-10-14T16:56:32.033Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/filebeat-build-1602692461507
[2020-10-14T16:56:32.130Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/metricbeat-pythonIntegTest-1602692846051
[2020-10-14T16:56:32.226Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/metricbeat-goIntegTest-1602692900327
[2020-10-14T16:56:32.323Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/libbeat-build-1602692965015
[2020-10-14T16:56:32.425Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/x-pack-filebeat-build-1602693548188
[2020-10-14T16:56:32.522Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/x-pack-metricbeat-build-1602694206618
[2020-10-14T16:56:32.954Z] + cat
[2020-10-14T16:56:32.954Z] + /usr/local/bin/runbld ./runbld-test-reports --job-name elastic+beats+pull-request
[2020-10-14T16:56:32.954Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-10-14T16:56:41.094Z] runbld>>> runbld started
[2020-10-14T16:56:41.094Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-10-14T16:56:43.007Z] runbld>>> The following profiles matched the job 'elastic+beats+pull-request' in order of occurrence in the config (last value wins).
[2020-10-14T16:56:43.007Z] runbld>>> Matches in the system config:
[2020-10-14T16:56:43.007Z] runbld>>> - Matched ^elastic\+beats
[2020-10-14T16:56:43.007Z] runbld>>> - Matched ^elastic\+beats\+pull-request
[2020-10-14T16:56:44.392Z] runbld>>> Debug logging enabled.
[2020-10-14T16:56:44.392Z] runbld>>> Storing result
[2020-10-14T16:56:44.392Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-10-14T16:56:44.392Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20201014165644-D5B9A986
[2020-10-14T16:56:44.392Z] runbld>>> Adding system facts.
[2020-10-14T16:56:45.782Z] runbld>>> Adding vcs info for the latest commit:  ac8f5c555eda24f6a2829455ebf0d46ebecb5340
[2020-10-14T16:56:45.782Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-10-14T16:56:45.782Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-10-14T16:56:46.044Z] Processing JUnit reports with runbld...
[2020-10-14T16:56:46.044Z] + echo 'Processing JUnit reports with runbld...'
[2020-10-14T16:56:46.305Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-10-14T16:56:46.305Z] runbld>>> DURATION: 36ms
[2020-10-14T16:56:46.305Z] runbld>>> STDOUT: 40 bytes
[2020-10-14T16:56:46.305Z] runbld>>> STDERR: 49 bytes
[2020-10-14T16:56:46.305Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-10-14T16:56:46.305Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-21809
[2020-10-14T16:56:47.697Z] runbld>>> Storing build metadata: 
[2020-10-14T16:56:47.697Z] runbld>>> Adding test report.
[2020-10-14T16:56:47.697Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats
[2020-10-14T16:56:48.270Z] runbld>>> Found 123 test output files
[2020-10-14T16:56:48.531Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/metricbeat-goIntegTest-1602692900327/metricbeat/build/TEST-go-integration-graphite.xml
[2020-10-14T16:56:48.531Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/metricbeat-goIntegTest-1602692900327/metricbeat/build/TEST-go-integration-windows.xml
[2020-10-14T16:56:48.792Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/x-pack-metricbeat-build-1602694206618/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-10-14T16:56:48.792Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/x-pack-metricbeat-build-1602694206618/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-10-14T16:56:48.792Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/x-pack-metricbeat-build-1602694206618/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-10-14T16:56:48.792Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/x-pack-metricbeat-build-1602694206618/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-10-14T16:56:48.792Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21809/src/github.com/elastic/beats/x-pack-metricbeat-build-1602694206618/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-10-14T16:56:52.092Z] runbld>>> Test output logs contained: Errors: 0 Failures: 7 Tests: 17669 Skipped: 1088
[2020-10-14T16:56:52.092Z] runbld>>> Storing result
[2020-10-14T16:56:52.092Z] runbld>>> FAILURES: 7
[2020-10-14T16:56:53.477Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-10-14T16:56:53.477Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20201014165644-D5B9A986
[2020-10-14T16:56:53.477Z] runbld>>> Email notification disabled by environment variable.
[2020-10-14T16:56:53.477Z] runbld>>> Slack notification disabled by environment variable.
[2020-10-14T16:56:59.018Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-21809
[2020-10-14T16:56:59.120Z] [INFO] getVaultSecret: Getting secrets
[2020-10-14T16:56:59.190Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-10-14T16:57:02.627Z] + chmod 755 generate-build-data.sh
[2020-10-14T16:57:02.627Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21809/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21809/runs/1 FAILURE 5951257
[2020-10-14T16:57:02.627Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21809/runs/1/steps/?limit=10000 -o steps-info.json
[2020-10-14T16:57:05.855Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21809/runs/1/tests/?status=FAILED -o tests-errors.json
[2020-10-14T16:57:06.105Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21809/runs/1/log/ -o pipeline-log.txt

@blakerouse blakerouse merged commit 07aa2ec into elastic:7.10 Oct 14, 2020
@blakerouse blakerouse deleted the backport_21694_7.10 branch October 14, 2020 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants