Skip to content

Osquerybeat: Result values type translation (backport #25012)#25087

Merged
urso merged 2 commits into7.xfrom
mergify/bp/7.x/pr-25012
Apr 14, 2021
Merged

Osquerybeat: Result values type translation (backport #25012)#25087
urso merged 2 commits into7.xfrom
mergify/bp/7.x/pr-25012

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Apr 14, 2021

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

Cherry-pick of bcf6c92 has failed:

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

You are currently cherry-picking commit bcf6c92f97.
  (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:   go.sum
	modified:   x-pack/osquerybeat/beater/osquerybeat.go
	modified:   x-pack/osquerybeat/internal/osqueryd/client.go

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   NOTICE.txt
	both modified:   go.mod

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

Translates Osquery results values to appropriate type according to the column type information of the query.
Utilizes the GetQueryColumns osquery go client API, caches the types information per query in LRU cache.

(cherry picked from commit bcf6c92)

# Conflicts:
#	NOTICE.txt
#	go.mod
@mergify mergify bot added backport conflicts There is a conflict in the backported pull request labels Apr 14, 2021
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Apr 14, 2021
@aleksmaus aleksmaus added the Team:Elastic-Agent Label for the Agent team label Apr 14, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/agent (Team:Agent)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Apr 14, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Apr 14, 2021

❕ 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 #25087 updated

  • Start Time: 2021-04-14T16:03:15.164+0000

  • Duration: 187 min 3 sec

  • Commit: 0181b87

Test stats 🧪

Test Results
Failed 0
Passed 46685
Skipped 5176
Total 51861

Trends 🧪

Image of Build Times

Image of Tests

Steps errors 1

Expand to view the steps failures

Recursively delete the current directory from the workspace
  • Took 0 min 5 sec . View more details on here
  • Description: Unable to delete '/var/lib/jenkins/workspace/PR-25087-2-8a1c5daf-c0cc-4ab2-93dc-3e0ec7268359'. Tried

Log output

Expand to view the last 100 lines of log output

[2021-04-14T17:10:12.710Z]  Experimental:      true
[2021-04-14T17:10:12.710Z] 
[2021-04-14T17:10:12.710Z] Server: Docker Engine - Community
[2021-04-14T17:10:12.710Z]  Engine:
[2021-04-14T17:10:12.710Z]   Version:          20.10.3
[2021-04-14T17:10:12.710Z]   API version:      1.41 (minimum version 1.12)
[2021-04-14T17:10:12.710Z]   Go version:       go1.13.15
[2021-04-14T17:10:12.710Z]   Git commit:       46229ca
[2021-04-14T17:10:12.710Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-04-14T17:10:12.710Z]   OS/Arch:          linux/amd64
[2021-04-14T17:10:12.710Z]   Experimental:     false
[2021-04-14T17:10:12.710Z]  containerd:
[2021-04-14T17:10:12.710Z]   Version:          1.4.4
[2021-04-14T17:10:12.710Z]   GitCommit:        05f951a3781f4f2c1911b05e61c160e9c30eaa8e
[2021-04-14T17:10:12.710Z]  runc:
[2021-04-14T17:10:12.710Z]   Version:          1.0.0-rc93
[2021-04-14T17:10:12.710Z]   GitCommit:        12644e614e25b05da6fd08a38ffa0cfe1903fdec
[2021-04-14T17:10:12.710Z]  docker-init:
[2021-04-14T17:10:12.710Z]   Version:          0.19.0
[2021-04-14T17:10:12.710Z]   GitCommit:        de40ad0
[2021-04-14T17:10:12.710Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-04-14T17:10:12.710Z] Unable to find image 'alpine:3.4' locally
[2021-04-14T17:10:13.287Z] 3.4: Pulling from library/alpine
[2021-04-14T17:10:13.550Z] c1e54eec4b57: Pulling fs layer
[2021-04-14T17:10:13.812Z] c1e54eec4b57: Download complete
[2021-04-14T17:10:14.075Z] c1e54eec4b57: Pull complete
[2021-04-14T17:10:14.075Z] Digest: sha256:b733d4a32c4da6a00a84df2ca32791bb03df95400243648d8c539e7b4cce329c
[2021-04-14T17:10:14.075Z] Status: Downloaded newer image for alpine:3.4
[2021-04-14T17:10:16.215Z] Change permissions with write access of all files inside the specific folder
[2021-04-14T17:10:17.635Z] Running in /var/lib/jenkins/workspace/PR-25087-2-7cbbce58-6775-40bd-b3cd-ed5d4521eb6a/src/github.com/elastic/beats/build
[2021-04-14T17:10:17.945Z] + rm -rf ve
[2021-04-14T17:10:17.945Z] + find . -type d -name vendor -exec rm -r {} ;
[2021-04-14T17:10:18.282Z] + python .ci/scripts/pre_archive_test.py
[2021-04-14T17:10:33.208Z] Copy ./x-pack/elastic-agent/build into build/x-pack/elastic-agent/build
[2021-04-14T17:10:33.208Z] Copy ./x-pack/elastic-agent/build/golang-crossbuild into build/x-pack/elastic-agent/build/golang-crossbuild
[2021-04-14T17:10:33.208Z] 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-14T17:10:33.208Z] 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-14T17:10:33.208Z] Copy ./x-pack/heartbeat/build into build/x-pack/heartbeat/build
[2021-04-14T17:10:33.208Z] Copy ./x-pack/heartbeat/build/golang-crossbuild into build/x-pack/heartbeat/build/golang-crossbuild
[2021-04-14T17:10:33.208Z] Copy ./x-pack/filebeat/build into build/x-pack/filebeat/build
[2021-04-14T17:10:33.208Z] Copy ./x-pack/filebeat/build/golang-crossbuild into build/x-pack/filebeat/build/golang-crossbuild
[2021-04-14T17:10:33.208Z] Copy ./x-pack/filebeat/build/package/filebeat-ubi8/filebeat-linux-amd64.docker/docker-build into build/x-pack/filebeat/build/package/filebeat-ubi8/filebeat-linux-amd64.docker/docker-build
[2021-04-14T17:10:33.208Z] Copy ./x-pack/filebeat/build/package/filebeat/filebeat-linux-amd64.docker/docker-build into build/x-pack/filebeat/build/package/filebeat/filebeat-linux-amd64.docker/docker-build
[2021-04-14T17:10:33.208Z] Copy ./x-pack/metricbeat/build into build/x-pack/metricbeat/build
[2021-04-14T17:10:33.208Z] Copy ./x-pack/metricbeat/build/golang-crossbuild into build/x-pack/metricbeat/build/golang-crossbuild
[2021-04-14T17:10:33.208Z] Copy ./x-pack/metricbeat/build/package/metricbeat-ubi8/metricbeat-linux-amd64.docker/docker-build into build/x-pack/metricbeat/build/package/metricbeat-ubi8/metricbeat-linux-amd64.docker/docker-build
[2021-04-14T17:10:33.208Z] Copy ./x-pack/metricbeat/build/package/metricbeat/metricbeat-linux-amd64.docker/docker-build into build/x-pack/metricbeat/build/package/metricbeat/metricbeat-linux-amd64.docker/docker-build
[2021-04-14T17:10:33.234Z] Running in /var/lib/jenkins/workspace/PR-25087-2-7cbbce58-6775-40bd-b3cd-ed5d4521eb6a/src/github.com/elastic/beats/build
[2021-04-14T17:10:33.263Z] Recording test results
[2021-04-14T17:10:36.477Z] None of the test reports contained any result
[2021-04-14T17:10:36.487Z] [Checks API] No suitable checks publisher found.
[2021-04-14T17:10:36.864Z] + go clean -modcache
[2021-04-14T17:10:42.712Z] Cleaning up /var/lib/jenkins/workspace/PR-25087-2-7cbbce58-6775-40bd-b3cd-ed5d4521eb6a
[2021-04-14T17:10:42.712Z] Client: Docker Engine - Community
[2021-04-14T17:10:42.712Z]  Version:           20.10.3
[2021-04-14T17:10:42.712Z]  API version:       1.41
[2021-04-14T17:10:42.712Z]  Go version:        go1.13.15
[2021-04-14T17:10:42.712Z]  Git commit:        48d30b5
[2021-04-14T17:10:42.712Z]  Built:             Fri Jan 29 14:33:13 2021
[2021-04-14T17:10:42.712Z]  OS/Arch:           linux/amd64
[2021-04-14T17:10:42.713Z]  Context:           default
[2021-04-14T17:10:42.713Z]  Experimental:      true
[2021-04-14T17:10:42.713Z] 
[2021-04-14T17:10:42.713Z] Server: Docker Engine - Community
[2021-04-14T17:10:42.713Z]  Engine:
[2021-04-14T17:10:42.713Z]   Version:          20.10.3
[2021-04-14T17:10:42.713Z]   API version:      1.41 (minimum version 1.12)
[2021-04-14T17:10:42.713Z]   Go version:       go1.13.15
[2021-04-14T17:10:42.713Z]   Git commit:       46229ca
[2021-04-14T17:10:42.713Z]   Built:            Fri Jan 29 14:31:25 2021
[2021-04-14T17:10:42.713Z]   OS/Arch:          linux/amd64
[2021-04-14T17:10:42.713Z]   Experimental:     false
[2021-04-14T17:10:42.713Z]  containerd:
[2021-04-14T17:10:42.713Z]   Version:          1.4.4
[2021-04-14T17:10:42.713Z]   GitCommit:        05f951a3781f4f2c1911b05e61c160e9c30eaa8e
[2021-04-14T17:10:42.713Z]  runc:
[2021-04-14T17:10:42.713Z]   Version:          1.0.0-rc93
[2021-04-14T17:10:42.713Z]   GitCommit:        12644e614e25b05da6fd08a38ffa0cfe1903fdec
[2021-04-14T17:10:42.713Z]  docker-init:
[2021-04-14T17:10:42.713Z]   Version:          0.19.0
[2021-04-14T17:10:42.713Z]   GitCommit:        de40ad0
[2021-04-14T17:10:42.713Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-04-14T17:12:04.611Z] Change permissions with write access of all files inside the specific folder
[2021-04-14T17:12:04.640Z] Running in /var/lib/jenkins/workspace/PR-25087-2-7cbbce58-6775-40bd-b3cd-ed5d4521eb6a
[2021-04-14T17:12:11.873Z] + gsutil --version
[2021-04-14T17:12:13.319Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-04-14T17:12:13.647Z] + gcloud auth activate-service-account --key-file ****
[2021-04-14T17:12:14.222Z] Activated service account credentials for: [beats-ci-gcs-plugin@elastic-ci-prod.iam.gserviceaccount.com]
[2021-04-14T17:12:14.607Z] + gsutil -m -q cp -a public-read eC1wYWNrL2VsYXN0aWMtYWdlbnQtcGFja2FnaW5nLWxpbnV4MDE4MWI4NzI1NzgxYmUyYTkzYWYwMTQyOWUwMTRhOGJkMTU4NTFhNg gs://beats-ci-temp/ci/cache/
[2021-04-14T19:10:16.498Z] Cancelling nested steps due to timeout
[2021-04-14T19:10:16.523Z] Failed in branch x-pack/packetbeat-windows-10-windows-10
[2021-04-14T19:10:16.686Z] Stage "Packaging" skipped due to earlier failure(s)
[2021-04-14T19:10:16.760Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-25087/src/github.com/elastic/beats
[2021-04-14T19:10:17.221Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-25087
[2021-04-14T19:10:17.280Z] [INFO] getVaultSecret: Getting secrets
[2021-04-14T19:10:17.392Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-04-14T19:10:18.126Z] + chmod 755 generate-build-data.sh
[2021-04-14T19:10:18.126Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25087/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25087/runs/2 ABORTED 11222699
[2021-04-14T19:10:18.677Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25087/runs/2/steps/?limit=10000 -o steps-info.json
[2021-04-14T19:10:33.441Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25087/runs/2/tests/?status=FAILED -o tests-errors.json

@urso
Copy link
Copy Markdown

urso commented Apr 14, 2021

Test did succeed, but it looks like it timed out when trying to report the result. Merging.

@urso urso merged commit 914c7ac into 7.x Apr 14, 2021
@urso urso deleted the mergify/bp/7.x/pr-25012 branch April 14, 2021 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport conflicts There is a conflict in the backported pull request Team:Elastic-Agent Label for the Agent team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants