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 #26324) Osquerybeat: Align with the rest of the beats, set the ECS version #26333

Closed
wants to merge 1 commit into from

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jun 15, 2021

This is an automatic backport of pull request #26324 done by Mergify.
Cherry-pick of 8c810f9 has failed:

On branch mergify/bp/7.13/pr-26324
Your branch is up to date with 'origin/7.13'.

You are currently cherry-picking commit 8c810f9d8.
  (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)

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   x-pack/osquerybeat/cmd/root.go

no changes added to commit (use "git add" and/or "git commit -a")

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

…26324)

(cherry picked from commit 8c810f9)

# Conflicts:
#	x-pack/osquerybeat/cmd/root.go
@mergify mergify bot added backport conflicts There is a conflict in the backported pull request labels Jun 15, 2021
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jun 15, 2021
@botelastic
Copy link

botelastic bot commented Jun 15, 2021

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

@aleksmaus
Copy link
Member

Looks like this #25696 was not backported to 7.13 @michel-laterman, that causes the conflict on 7.13 while backported cleanly to 7.x. Assuming this change can go to 7.14 (next release) as well, so closing this backport PR.

@aleksmaus aleksmaus closed this Jun 15, 2021
@mergify mergify bot deleted the mergify/bp/7.13/pr-26324 branch June 15, 2021 19:34
@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 #26333 opened

  • Start Time: 2021-06-15T19:18:23.252+0000

  • Duration: 25 min 3 sec

  • Commit: 9ec1863

Trends 🧪

Image of Build Times

Steps errors 16

Expand to view the steps failures

Show only the first 10 steps failures

gsutil -m -q cp -a public-read test-build-artifacts-x-pack-osquerybeat-windows-2012-windows-2012-r2-
  • Took 0 min 2 sec . View more details on here
  • Description: @echo off gsutil -m -q cp -a public-read test-build-artifacts-x-pack-osquerybeat-windows-2012-windows-2012-r2-tgz gs://beats-ci-temp/Beats/beats/PR-26333-1
x-pack/osquerybeat-windows-10-windows-10 - mage build unitTest
  • Took 0 min 18 sec . View more details on here
  • Description: mage build unitTest
x-pack/osquerybeat-windows-2008-windows-2008-r2 - mage build unitTest
  • Took 0 min 11 sec . View more details on here
  • Description: mage build unitTest
gsutil -m -q cp -a public-read test-build-artifacts-x-pack-osquerybeat-windows-2008-windows-2008-r2-
  • Took 0 min 1 sec . View more details on here
  • Description: @echo off gsutil -m -q cp -a public-read test-build-artifacts-x-pack-osquerybeat-windows-2008-windows-2008-r2-tgz gs://beats-ci-temp/Beats/beats/PR-26333-1
x-pack/osquerybeat-windows-8-windows-8 - mage build unitTest
  • Took 0 min 13 sec . View more details on here
  • Description: mage build unitTest
gsutil -m -q cp -a public-read test-build-artifacts-x-pack-osquerybeat-windows-8-windows-8-tgz gs://
  • Took 0 min 4 sec . View more details on here
  • Description: @echo off gsutil -m -q cp -a public-read test-build-artifacts-x-pack-osquerybeat-windows-8-windows-8-tgz gs://beats-ci-temp/Beats/beats/PR-26333-1
x-pack/osquerybeat-windows-7-windows-7 - mage build unitTest
  • Took 0 min 12 sec . View more details on here
  • Description: mage build unitTest
gsutil -m -q cp -a public-read test-build-artifacts-x-pack-osquerybeat-windows-7-windows-7-tgz gs://
  • Took 0 min 2 sec . View more details on here
  • Description: @echo off gsutil -m -q cp -a public-read test-build-artifacts-x-pack-osquerybeat-windows-7-windows-7-tgz gs://beats-ci-temp/Beats/beats/PR-26333-1
x-pack/osquerybeat-packaging-linux - mage package
  • Took 2 min 54 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 2'

Log output

Expand to view the last 100 lines of log output

[2021-06-15T19:42:10.259Z]   COVERAGE_TOOL: null
[2021-06-15T19:42:10.259Z]   COVERAGE_TOOL_REPO: null
[2021-06-15T19:42:10.259Z]   DOCKER_CACHE: null
[2021-06-15T19:42:10.259Z]   DOCKER_COMPOSE_PROJECT_NAME: null
[2021-06-15T19:42:10.259Z]   DOCKER_COMPOSE: null
[2021-06-15T19:42:10.259Z]   FIND: null
[2021-06-15T19:42:10.259Z]   GOBUILD_FLAGS: null
[2021-06-15T19:42:10.259Z]   GOIMPORTS: null
[2021-06-15T19:42:10.259Z]   GOIMPORTS_REPO: null
[2021-06-15T19:42:10.259Z]   GOIMPORTS_LOCAL_PREFIX: null
[2021-06-15T19:42:10.259Z]   GOLINT: null
[2021-06-15T19:42:10.259Z]   GOLINT_REPO: null
[2021-06-15T19:42:10.259Z]   GOPACKAGES_COMMA_SEP: null
[2021-06-15T19:42:10.259Z]   GOX_FLAGS: -arch 386
[2021-06-15T19:42:10.259Z]   GOX_OS: null
[2021-06-15T19:42:10.259Z]   GOX_OSARCH: null
[2021-06-15T19:42:10.259Z]   HOME: C:\Users\jenkins\workspace\PR-26333-1-5a99c316-18fe-40ce-a5d6-dd310e89d98d
[2021-06-15T19:42:10.259Z]   NOSETESTS_OPTIONS: null
[2021-06-15T19:42:10.259Z]   NOW: null
[2021-06-15T19:42:10.259Z]   PATH: C:\Users\jenkins\workspace\PR-26333-1-5a99c316-18fe-40ce-a5d6-dd310e89d98d\bin;C:\Users\jenkins\workspace\PR-26333-1-5a99c316-18fe-40ce-a5d6-dd310e89d98d\.gvm\versions\go1.15.13.windows.amd64\bin;C:\ProgramData\chocolatey\bin;C:\Python38;C:\Python38\Scripts;C:\tools\mingw64\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Python38\Scripts\;C:\Python38\;C:\Python27\;C:\Python27\Scripts;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\PowerShell\7\;C:\ProgramData\chocolatey\bin;C:\ProgramData\GooGet;C:\Program Files\Google\Compute Engine\metadata_scripts;C:\Program Files\Google\Compute Engine\sysprep;C:\Program Files\infra\bin;C:\Program Files\Git\cmd;C:\Program Files\Java\jdk1.8.0_211\bin;C:\Program Files\golang\go\bin;C:\Program Files\golang\go;C:\Program Files\GoogleCloudSDK\google-cloud-sdk\bin;C:\Program Files\kubectl\bin;C:\Program Files\CMake\bin;C:\tools\mingw64\bin;C:\Program Files\dotnet\
[2021-06-15T19:42:10.260Z]   PKG_BUILD_DIR: null
[2021-06-15T19:42:10.260Z]   PKG_UPLOAD_DIR: null
[2021-06-15T19:42:10.260Z]   PIP_INSTALL_PARAMS: null
[2021-06-15T19:42:10.260Z]   PROJECTS: null
[2021-06-15T19:42:10.260Z]   PROJECTS_ENV: null
[2021-06-15T19:42:10.260Z]   PYTHON_ENV: null
[2021-06-15T19:42:10.260Z]   PYTHON_ENV_EXE: null
[2021-06-15T19:42:10.260Z]   PYTHON_EXE: null
[2021-06-15T19:42:10.260Z]   PYTHON_TEST_FILES: null
[2021-06-15T19:42:10.260Z]   PROCESSES: null
[2021-06-15T19:42:10.260Z]   STRESS_TESTS: null
[2021-06-15T19:42:10.260Z]   STRESS_TEST_OPTIONS: null
[2021-06-15T19:42:10.260Z]   SYSTEM_TESTS: null
[2021-06-15T19:42:10.260Z]   TESTIFY_TOOL_REPO: null
[2021-06-15T19:42:10.260Z]   TEST_ENVIRONMENT: null
[2021-06-15T19:42:10.260Z]   TEST_TAGS: null,oracle
[2021-06-15T19:42:10.260Z]   TESTING_ENVIRONMENT: null
[2021-06-15T19:42:10.260Z]   TIMEOUT: null
[2021-06-15T19:42:10.260Z]   USERPROFILE: C:\Users\jenkins\workspace\PR-26333-1-5a99c316-18fe-40ce-a5d6-dd310e89d98d
[2021-06-15T19:42:10.260Z]   VENV_PARAMS: null
[2021-06-15T19:42:10.260Z]   XPACK_SUFFIX: null
[2021-06-15T19:42:10.260Z]   ### END ENV DUMP ###
[2021-06-15T19:42:10.260Z]   
[2021-06-15T19:42:10.275Z] Running in C:\Users\jenkins\workspace\PR-26333-1-5a99c316-18fe-40ce-a5d6-dd310e89d98d\src\github.com\elastic\beats\x-pack\osquerybeat
[2021-06-15T19:42:10.612Z] 
[2021-06-15T19:42:10.612Z] C:\Users\jenkins\workspace\PR-26333-1-5a99c316-18fe-40ce-a5d6-dd310e89d98d\src\github.com\elastic\beats\x-pack\osquerybeat>mage build unitTest 
[2021-06-15T19:42:22.800Z] >> build: Building osquerybeat
[2021-06-15T19:42:22.800Z] cmd\root.go:12:1: expected 'STRING', found '<<'
[2021-06-15T19:42:22.800Z] Error: running "go build -o osquerybeat.exe -buildmode pie -ldflags -s -X github.com/elastic/beats/v7/libbeat/version.buildTime=2021-06-15T19:42:22Z -X github.com/elastic/beats/v7/libbeat/version.commit=9ec186332a9f98d295477b1262772412c1a7e659" failed with exit code 1
[2021-06-15T19:42:23.302Z] 
[2021-06-15T19:42:23.302Z] C:\Users\jenkins\workspace\PR-26333-1-5a99c316-18fe-40ce-a5d6-dd310e89d98d\src\github.com\elastic\beats>FOR / %d IN ("ve") DO @IF EXIST "%d" rmdir /s /q "%d" 
[2021-06-15T19:42:23.626Z] 
[2021-06-15T19:42:23.626Z] C:\Users\jenkins\workspace\PR-26333-1-5a99c316-18fe-40ce-a5d6-dd310e89d98d\src\github.com\elastic\beats>python .ci/scripts/pre_archive_test.py 
[2021-06-15T19:42:23.907Z] Running in C:\Users\jenkins\workspace\PR-26333-1-5a99c316-18fe-40ce-a5d6-dd310e89d98d\src\github.com\elastic\beats\build
[2021-06-15T19:42:23.951Z] Recording test results
[2021-06-15T19:42:24.392Z] None of the test reports contained any result
[2021-06-15T19:42:24.392Z] [Checks API] No suitable checks publisher found.
[2021-06-15T19:42:24.742Z] 
[2021-06-15T19:42:24.742Z] C:\Users\jenkins\workspace\PR-26333-1-5a99c316-18fe-40ce-a5d6-dd310e89d98d\src\github.com\elastic\beats\build>tar --version  1>NUL 
[2021-06-15T19:42:24.742Z] 'tar' is not recognized as an internal or external command,
[2021-06-15T19:42:24.742Z] operable program or batch file.
[2021-06-15T19:42:25.111Z] 
[2021-06-15T19:42:25.111Z] C:\Users\jenkins\workspace\PR-26333-1-5a99c316-18fe-40ce-a5d6-dd310e89d98d\src\github.com\elastic\beats\build>7z   1>NUL 
[2021-06-15T19:42:25.464Z] 
[2021-06-15T19:42:25.464Z] C:\Users\jenkins\workspace\PR-26333-1-5a99c316-18fe-40ce-a5d6-dd310e89d98d\src\github.com\elastic\beats\build>7z a -ttar -so -an .   | 7z a -si test-build-artifacts-x-pack-osquerybeat-windows-7-windows-7-tgz 
[2021-06-15T19:42:25.464Z] 
[2021-06-15T19:42:25.464Z] 7-Zip 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
[2021-06-15T19:42:25.464Z] 
[2021-06-15T19:42:25.464Z] Creating archive: test-build-artifacts-x-pack-osquerybeat-windows-7-windows-7-tgz.7z
[2021-06-15T19:42:25.464Z] 
[2021-06-15T19:42:25.464Z] Add new data to archive: 1 file
[2021-06-15T19:42:25.464Z] 
[2021-06-15T19:42:25.464Z] 
[2021-06-15T19:42:25.464Z] Files read from disk: 1
[2021-06-15T19:42:25.464Z] Archive size: 109 bytes (1 KiB)
[2021-06-15T19:42:25.464Z] Everything is Ok
[2021-06-15T19:42:25.938Z] 
[2021-06-15T19:42:25.938Z] C:\Users\jenkins\workspace\PR-26333-1-5a99c316-18fe-40ce-a5d6-dd310e89d98d\src\github.com\elastic\beats\build>gsutil --version  1>NUL 
[2021-06-15T19:42:31.226Z] Masking supported pattern matches of %FILE_CREDENTIAL%
[2021-06-15T19:42:31.840Z] 
[2021-06-15T19:42:31.840Z] C:\Users\jenkins\workspace\PR-26333-1-5a99c316-18fe-40ce-a5d6-dd310e89d98d\src\github.com\elastic\beats\build>gcloud auth activate-service-account --key-file **** 
[2021-06-15T19:42:33.210Z] Activated service account credentials for: [beats-ci-gcs-plugin@elastic-ci-prod.iam.gserviceaccount.com]
[2021-06-15T19:42:34.699Z] CommandException: No URLs matched: test-build-artifacts-x-pack-osquerybeat-windows-7-windows-7-tgz
[2021-06-15T19:42:34.700Z] CommandException: 1 file/object could not be transferred.
[2021-06-15T19:42:35.109Z] ERROR: script returned exit code 1
[2021-06-15T19:42:35.510Z] 
[2021-06-15T19:42:35.510Z] C:\Users\jenkins\workspace\PR-26333-1-5a99c316-18fe-40ce-a5d6-dd310e89d98d\src\github.com\elastic\beats>go clean -modcache 
[2021-06-15T19:42:44.350Z] Failed in branch x-pack/osquerybeat-windows-10-windows-10
[2021-06-15T19:43:23.514Z] Failed in branch x-pack/osquerybeat-windows-7-windows-7
[2021-06-15T19:43:23.961Z] Stage "Packaging" skipped due to earlier failure(s)
[2021-06-15T19:43:24.099Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-26333/src/github.com/elastic/beats
[2021-06-15T19:43:24.926Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-26333
[2021-06-15T19:43:25.026Z] [INFO] getVaultSecret: Getting secrets
[2021-06-15T19:43:25.076Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-06-15T19:43:26.271Z] + chmod 755 generate-build-data.sh
[2021-06-15T19:43:26.271Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26333/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26333/runs/1 FAILURE 1502738
[2021-06-15T19:43:26.271Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26333/runs/1/steps/?limit=10000 -o steps-info.json
[2021-06-15T19:43:27.182Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-26333/runs/1/tests/?status=FAILED -o tests-errors.json
[2021-06-15T19:43:27.182Z] Retry 1/3 exited 22, retrying in 1 seconds...
[2021-06-15T19:43:28.526Z] Retry 2/3 exited 22, retrying in 2 seconds...

❕ Flaky test report

No test was executed to be analysed.

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 needs_team Indicates that the issue/PR needs a Team:* label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants