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

Update Osquerybeat spec to get it downloading from the correct artifactory path #25076

Merged
merged 1 commit into from
Apr 14, 2021

Conversation

aleksmaus
Copy link
Member

What does this PR do?

Updates Osquerybeat spec to get it downloading from the correct artifactory path

Why is it important?

This updates the osquerybeat artifacts path.

Currently the agent fails to download osquerybeat on demand from artifactory

	* call to 'https://snapshots.elastic.co/8.0.0-c711755c/downloads/osquerybeat-8.0.0-SNAPSHOT-darwin-x86_64.tar.gz' returned unsuccessful status code: 404
	* call to 'https://artifacts.elastic.co/downloads/osquerybeat-8.0.0-SNAPSHOT-darwin-x86_64.tar.gz' returned unsuccessful status code: 404

After this update:

2021-04-14T09:07:28.295-0400	INFO	operation/operation_fetch.go:75	operation 'operation-fetch' downloaded osquerybeat.8.0.0-SNAPSHOT into /Users/amaus/elastic/beats/x-pack/elastic-agent/build/distributions/elastic-agent-8.0.0-SNAPSHOT-darwin-x86_64/data/elastic-agent-040415/downloads/osquerybeat-8.0.0-SNAPSHOT-darwin-x86_64.tar.gz

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.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/agent (Team:Agent)

@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 Apr 14, 2021
@elasticmachine
Copy link
Collaborator

💔 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: Pull request #25076 opened

  • Start Time: 2021-04-14T13:16:24.624+0000

  • Duration: 66 min 38 sec

  • Commit: bd42d2c

Test stats 🧪

Test Results
Failed 0
Passed 6740
Skipped 16
Total 6756

Trends 🧪

Image of Build Times

Image of Tests

Steps errors 2

Expand to view the steps failures

x-pack/elastic-agent-packaging-arm-arm - mage package
  • Took 21 min 9 sec . View more details on here
  • Description: mage package
Error signal
  • Took 0 min 0 sec . View more details on here
  • Description: Error 'hudson.AbortException: script returned exit code 1'

Log output

Expand to view the last 100 lines of log output

[2021-04-14T14:20:16.075Z]  Version:           20.10.3
[2021-04-14T14:20:16.075Z]  API version:       1.41
[2021-04-14T14:20:16.075Z]  Go version:        go1.13.15
[2021-04-14T14:20:16.075Z]  Git commit:        48d30b5
[2021-04-14T14:20:16.075Z]  Built:             Fri Jan 29 14:33:13 2021
[2021-04-14T14:20:16.075Z]  OS/Arch:           linux/amd64
[2021-04-14T14:20:16.075Z]  Context:           default
[2021-04-14T14:20:16.075Z]  Experimental:      true
[2021-04-14T14:20:16.075Z] 
[2021-04-14T14:20:16.075Z] Server: Docker Engine - Community
[2021-04-14T14:20:16.075Z]  Engine:
[2021-04-14T14:20:16.075Z]   Version:          20.10.3
[2021-04-14T14:20:16.075Z]   API version:      1.41 (minimum version 1.12)
[2021-04-14T14:20:16.075Z]   Go version:       go1.13.15
[2021-04-14T14:20:16.075Z]   Git commit:       46229ca
[2021-04-14T14:20:16.075Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-04-14T14:20:16.075Z]   OS/Arch:          linux/amd64
[2021-04-14T14:20:16.075Z]   Experimental:     false
[2021-04-14T14:20:16.075Z]  containerd:
[2021-04-14T14:20:16.075Z]   Version:          1.4.4
[2021-04-14T14:20:16.075Z]   GitCommit:        05f951a3781f4f2c1911b05e61c160e9c30eaa8e
[2021-04-14T14:20:16.075Z]  runc:
[2021-04-14T14:20:16.076Z]   Version:          1.0.0-rc93
[2021-04-14T14:20:16.076Z]   GitCommit:        12644e614e25b05da6fd08a38ffa0cfe1903fdec
[2021-04-14T14:20:16.076Z]  docker-init:
[2021-04-14T14:20:16.076Z]   Version:          0.19.0
[2021-04-14T14:20:16.076Z]   GitCommit:        de40ad0
[2021-04-14T14:20:16.076Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-04-14T14:20:16.076Z] Unable to find image 'alpine:3.4' locally
[2021-04-14T14:20:16.742Z] 3.4: Pulling from library/alpine
[2021-04-14T14:20:17.009Z] c1e54eec4b57: Pulling fs layer
[2021-04-14T14:20:17.593Z] c1e54eec4b57: Pull complete
[2021-04-14T14:20:17.593Z] Digest: sha256:b733d4a32c4da6a00a84df2ca32791bb03df95400243648d8c539e7b4cce329c
[2021-04-14T14:20:17.593Z] Status: Downloaded newer image for alpine:3.4
[2021-04-14T14:20:19.585Z] Change permissions with write access of all files inside the specific folder
[2021-04-14T14:20:20.617Z] Running in /var/lib/jenkins/workspace/PR-25076-1-380150b2-1d86-4a52-8e24-3bd312e5053d/src/github.com/elastic/beats/build
[2021-04-14T14:20:20.999Z] + rm -rf ve
[2021-04-14T14:20:20.999Z] + find . -type d -name vendor -exec rm -r {} ;
[2021-04-14T14:20:21.442Z] + python .ci/scripts/pre_archive_test.py
[2021-04-14T14:20:33.899Z] Copy ./x-pack/elastic-agent/build into build/x-pack/elastic-agent/build
[2021-04-14T14:20:33.899Z] Copy ./x-pack/elastic-agent/build/golang-crossbuild into build/x-pack/elastic-agent/build/golang-crossbuild
[2021-04-14T14:20:33.899Z] Copy ./x-pack/elastic-agent/build/package/elastic-agent/elastic-agent-linux-amd64.docker/docker-build into build/x-pack/elastic-agent/build/package/elastic-agent/elastic-agent-linux-amd64.docker/docker-build
[2021-04-14T14:20:33.899Z] Copy ./x-pack/elastic-agent/build/package/elastic-agent-ubi8/elastic-agent-linux-amd64.docker/docker-build into build/x-pack/elastic-agent/build/package/elastic-agent-ubi8/elastic-agent-linux-amd64.docker/docker-build
[2021-04-14T14:20:33.899Z] Copy ./x-pack/heartbeat/build into build/x-pack/heartbeat/build
[2021-04-14T14:20:33.899Z] Copy ./x-pack/heartbeat/build/golang-crossbuild into build/x-pack/heartbeat/build/golang-crossbuild
[2021-04-14T14:20:33.899Z] Copy ./x-pack/filebeat/build into build/x-pack/filebeat/build
[2021-04-14T14:20:33.899Z] Copy ./x-pack/filebeat/build/golang-crossbuild into build/x-pack/filebeat/build/golang-crossbuild
[2021-04-14T14:20:33.899Z] Copy ./x-pack/metricbeat/build into build/x-pack/metricbeat/build
[2021-04-14T14:20:33.899Z] Copy ./x-pack/metricbeat/build/golang-crossbuild into build/x-pack/metricbeat/build/golang-crossbuild
[2021-04-14T14:20:33.935Z] Running in /var/lib/jenkins/workspace/PR-25076-1-380150b2-1d86-4a52-8e24-3bd312e5053d/src/github.com/elastic/beats/build
[2021-04-14T14:20:33.990Z] Recording test results
[2021-04-14T14:20:34.690Z] None of the test reports contained any result
[2021-04-14T14:20:34.703Z] [Checks API] No suitable checks publisher found.
[2021-04-14T14:20:35.277Z] + go clean -modcache
[2021-04-14T14:20:39.031Z] Cleaning up /var/lib/jenkins/workspace/PR-25076-1-380150b2-1d86-4a52-8e24-3bd312e5053d
[2021-04-14T14:20:39.031Z] Client: Docker Engine - Community
[2021-04-14T14:20:39.031Z]  Version:           20.10.3
[2021-04-14T14:20:39.031Z]  API version:       1.41
[2021-04-14T14:20:39.031Z]  Go version:        go1.13.15
[2021-04-14T14:20:39.031Z]  Git commit:        48d30b5
[2021-04-14T14:20:39.031Z]  Built:             Fri Jan 29 14:33:13 2021
[2021-04-14T14:20:39.031Z]  OS/Arch:           linux/amd64
[2021-04-14T14:20:39.031Z]  Context:           default
[2021-04-14T14:20:39.031Z]  Experimental:      true
[2021-04-14T14:20:39.031Z] 
[2021-04-14T14:20:39.031Z] Server: Docker Engine - Community
[2021-04-14T14:20:39.031Z]  Engine:
[2021-04-14T14:20:39.031Z]   Version:          20.10.3
[2021-04-14T14:20:39.031Z]   API version:      1.41 (minimum version 1.12)
[2021-04-14T14:20:39.031Z]   Go version:       go1.13.15
[2021-04-14T14:20:39.031Z]   Git commit:       46229ca
[2021-04-14T14:20:39.031Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-04-14T14:20:39.031Z]   OS/Arch:          linux/amd64
[2021-04-14T14:20:39.031Z]   Experimental:     false
[2021-04-14T14:20:39.031Z]  containerd:
[2021-04-14T14:20:39.031Z]   Version:          1.4.4
[2021-04-14T14:20:39.031Z]   GitCommit:        05f951a3781f4f2c1911b05e61c160e9c30eaa8e
[2021-04-14T14:20:39.031Z]  runc:
[2021-04-14T14:20:39.031Z]   Version:          1.0.0-rc93
[2021-04-14T14:20:39.031Z]   GitCommit:        12644e614e25b05da6fd08a38ffa0cfe1903fdec
[2021-04-14T14:20:39.031Z]  docker-init:
[2021-04-14T14:20:39.031Z]   Version:          0.19.0
[2021-04-14T14:20:39.031Z]   GitCommit:        de40ad0
[2021-04-14T14:20:39.031Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-04-14T14:21:47.502Z] Change permissions with write access of all files inside the specific folder
[2021-04-14T14:21:47.558Z] Running in /var/lib/jenkins/workspace/PR-25076-1-380150b2-1d86-4a52-8e24-3bd312e5053d
[2021-04-14T14:21:54.379Z] + gsutil --version
[2021-04-14T14:21:56.044Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-04-14T14:21:56.522Z] + gcloud auth activate-service-account --key-file ****
[2021-04-14T14:21:57.111Z] Activated service account credentials for: [[email protected]]
[2021-04-14T14:21:57.522Z] + gsutil -m -q cp -a public-read eC1wYWNrL2VsYXN0aWMtYWdlbnQtcGFja2FnaW5nLWxpbnV4YmQ0MmQyYzM4NGI4MDNjNTI2MGU3MGNjN2QwNjZkNDAzMzVlODFkMA gs://beats-ci-temp/ci/cache/
[2021-04-14T14:21:59.859Z] Stage "Packaging" skipped due to earlier failure(s)
[2021-04-14T14:22:00.036Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-25076/src/github.com/elastic/beats
[2021-04-14T14:22:01.160Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-25076
[2021-04-14T14:22:01.272Z] [INFO] getVaultSecret: Getting secrets
[2021-04-14T14:22:01.405Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-04-14T14:22:02.690Z] + chmod 755 generate-build-data.sh
[2021-04-14T14:22:02.690Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25076/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25076/runs/1 FAILURE 3937778
[2021-04-14T14:22:03.241Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25076/runs/1/steps/?limit=10000 -o steps-info.json
[2021-04-14T14:22:04.604Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25076/runs/1/tests/?status=FAILED -o tests-errors.json

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 6740
Skipped 16
Total 6756

@urso urso merged commit a9ea77a into elastic:master Apr 14, 2021
@aleksmaus aleksmaus added the backport-v7.13.0 Automated backport with mergify label Apr 14, 2021
mergify bot pushed a commit that referenced this pull request Apr 14, 2021
…ctory path (#25076)

Updates Osquerybeat spec to get it downloading from the correct artifactory path

(cherry picked from commit a9ea77a)
aleksmaus added a commit that referenced this pull request Apr 14, 2021
…ctory path (#25076) (#25084)

Updates Osquerybeat spec to get it downloading from the correct artifactory path

(cherry picked from commit a9ea77a)

Co-authored-by: Aleksandr Maus <[email protected]>
v1v added a commit to v1v/beats that referenced this pull request Apr 15, 2021
* upstream/master:
  packer cache support for the 7.x and 7.latestMinor branches (elastic#25091)
  Remove EventFetcher and EventsFetcher interface (elastic#25093)
  Update go-structform to 0.0.8 (elastic#25051)
  Update copy_fields.asciidoc (elastic#25053)
  [elastic-agent] ensure container is backwards compatible (elastic#25092)
  Add --fleet-server-service-token. Rename --fleet-server to --fleet-server-es. (elastic#25083)
  Add cgroup.cpuacct percentages (elastic#25057)
  Add tests for truncated and symlinked files in filestream input (elastic#24425)
  Fix panic when Hearbeat monitor initialization fails twice (elastic#25073)
  [Filebeat][httpjson] Change append transform to initiate new fields as a slice (elastic#25074)
  Osquerybeat: Result values type translation (elastic#25012)
  Update Osquerybeat spec to get it downloading from the correct artifactory path (elastic#25076)
  Fix changelog (elastic#25079)
  Strip Azure EventHub connection string in debug logs (elastic#25066)
  Change googlecloud to gcp in field names (elastic#25038)
  Bump stack version to 7.12.0 for testing (elastic#24957)
  packer-cache: cache the existing docker images on ARM and some more (elastic#25068)
  Disable logstash TestFetch flaky test (elastic#25044)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
7.13 candidate backport-v7.13.0 Automated backport with mergify bug Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants