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

Remove id_field_data from our docker compose file (backport #25239) #25317

Closed
wants to merge 1 commit into from

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Apr 26, 2021

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

Cherry-pick of 2ccf3d7 has failed:

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

You are currently cherry-picking commit 2ccf3d7e6b.
  (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:   CHANGELOG.next.asciidoc

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   testing/environments/snapshot.yml

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/

* Remove id_field_data from our docker compose file

The `id_field_data` was added in #14850

From Elasticsearch's team recommendation this should not be used.

* Changelog

(cherry picked from commit 2ccf3d7)

# Conflicts:
#	testing/environments/snapshot.yml
@mergify mergify bot added backport conflicts There is a conflict in the backported pull request labels Apr 26, 2021
@mergify mergify bot assigned ph Apr 26, 2021
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Apr 26, 2021
@botelastic
Copy link

botelastic bot commented Apr 26, 2021

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

@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 #25317 opened

  • Start Time: 2021-04-26T19:40:59.754+0000

  • Duration: 106 min 28 sec

  • Commit: 305af93

Test stats 🧪

Test Results
Failed 2
Passed 42174
Skipped 5140
Total 47316

Trends 🧪

Image of Build Times

Image of Tests

Test errors 2

Expand to view the tests failures

Build&Test / auditbeat-windows-8-windows-8 / TestNonRecursive – github.com/elastic/beats/v7/auditbeat/module/file_integrity/monitor
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestNonRecursive
        monitor_test.go:73: 
            	Error Trace:	monitor_test.go:73
            	Error:      	An error is expected but got nil.
            	Test:       	TestNonRecursive
        monitor_test.go:74: 
            	Error Trace:	monitor_test.go:74
            	Error:      	Not equal: 
            	            	expected: *errors.errorString(&errors.errorString{s:"read timeout"})
            	            	actual  : <nil>(<nil>)
            	Test:       	TestNonRecursive
    --- FAIL: TestNonRecursive (3.01s)
     
    

Build&Test / x-pack/heartbeat-build / TestZipUrlTargetDirectory – github.com/elastic/beats/v7/x-pack/heartbeat/monitors/browser/source
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestZipUrlTargetDirectory
    --- FAIL: TestZipUrlTargetDirectory (1.50s)
    panic: runtime error: invalid memory address or nil pointer dereference [recovered]
    	panic: runtime error: invalid memory address or nil pointer dereference
    [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x72b9a9]
    
    goroutine 82 [running]:
    testing.tRunner.func1.1(0x7734c0, 0xa35ea0)
    	/var/lib/jenkins/workspace/PR-25317-1-9c4751bb-5b0e-4f77-8566-280339c0598d/.gvm/versions/go1.15.9.linux.amd64/src/testing/testing.go:1072 +0x30d
    testing.tRunner.func1(0xc0003b0000)
    	/var/lib/jenkins/workspace/PR-25317-1-9c4751bb-5b0e-4f77-8566-280339c0598d/.gvm/versions/go1.15.9.linux.amd64/src/testing/testing.go:1075 +0x41a
    panic(0x7734c0, 0xa35ea0)
    	/var/lib/jenkins/workspace/PR-25317-1-9c4751bb-5b0e-4f77-8566-280339c0598d/.gvm/versions/go1.15.9.linux.amd64/src/runtime/panic.go:969 +0x1b9
    github.com/elastic/beats/v7/x-pack/heartbeat/monitors/browser/source.retryingZipRequest(0x7d6b87, 0x4, 0xc000155ef0, 0xe0, 0xd8, 0x7cb680)
    	/var/lib/jenkins/workspace/PR-25317-1-9c4751bb-5b0e-4f77-8566-280339c0598d/src/github.com/elastic/beats/x-pack/heartbeat/monitors/browser/source/zipurl.go:177 +0x189
    github.com/elastic/beats/v7/x-pack/heartbeat/monitors/browser/source.checkIfChanged(0xc000155ef0, 0x40f100, 0x0, 0x0)
    	/var/lib/jenkins/workspace/PR-25317-1-9c4751bb-5b0e-4f77-8566-280339c0598d/src/github.com/elastic/beats/x-pack/heartbeat/monitors/browser/source/zipurl.go:212 +0x6e
    github.com/elastic/beats/v7/x-pack/heartbeat/monitors/browser/source.(*ZipURLSource).Fetch(0xc000155ef0, 0x0, 0x0)
    	/var/lib/jenkins/workspace/PR-25317-1-9c4751bb-5b0e-4f77-8566-280339c0598d/src/github.com/elastic/beats/x-pack/heartbeat/monitors/browser/source/zipurl.go:34 +0x73
    github.com/elastic/beats/v7/x-pack/heartbeat/monitors/browser/source.fetchAndCheckDir(0xc0003b0000, 0xc000155ef0)
    	/var/lib/jenkins/workspace/PR-25317-1-9c4751bb-5b0e-4f77-8566-280339c0598d/src/github.com/elastic/beats/x-pack/heartbeat/monitors/browser/source/zipurl_test.go:118 +0x3f
    github.com/elastic/beats/v7/x-pack/heartbeat/monitors/browser/source.TestZipUrlTargetDirectory(0xc0003b0000)
    	/var/lib/jenkins/workspace/PR-25317-1-9c4751bb-5b0e-4f77-8566-280339c0598d/src/github.com/elastic/beats/x-pack/heartbeat/monitors/browser/source/zipurl_test.go:57 +0x14c
    testing.tRunner(0xc0003b0000, 0x7f2378)
    	/var/lib/jenkins/workspace/PR-25317-1-9c4751bb-5b0e-4f77-8566-280339c0598d/.gvm/versions/go1.15.9.linux.amd64/src/testing/testing.go:1123 +0xef
    created by testing.(*T).Run
    	/var/lib/jenkins/workspace/PR-25317-1-9c4751bb-5b0e-4f77-8566-280339c0598d/.gvm/versions/go1.15.9.linux.amd64/src/testing/testing.go:1168 +0x2b3
     
    

Steps errors 10

Expand to view the steps failures

auditbeat-build - mage build test
  • Took 4 min 59 sec . View more details on here
  • Description: mage build test
auditbeat-windows-8-windows-8 - mage build unitTest
  • Took 3 min 29 sec . View more details on here
  • Description: mage build unitTest
gsutil -m -q cp -a public-read test-build-artifacts-auditbeat-windows-8-windows-8-tgz gs://beats-ci-
  • Took 1 min 43 sec . View more details on here
  • Description: @echo off gsutil -m -q cp -a public-read test-build-artifacts-auditbeat-windows-8-windows-8-tgz gs://beats-ci-temp/Beats/beats/PR-25317-1
filebeat-build - mage build test
  • Took 6 min 24 sec . View more details on here
  • Description: mage build test
heartbeat-build - mage build test
  • Took 3 min 29 sec . View more details on here
  • Description: mage build test
libbeat-build - mage build test
  • Took 5 min 17 sec . View more details on here
  • Description: mage build test
x-pack/filebeat-build - mage build test
  • Took 4 min 22 sec . View more details on here
  • Description: mage build test
x-pack/heartbeat-build - mage build test
  • Took 4 min 59 sec . View more details on here
  • Description: mage build test
x-pack/libbeat-build - mage build test
  • Took 5 min 33 sec . View more details on here
  • Description: mage build test
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-26T21:25:59.531Z]  Go version:        go1.13.15
[2021-04-26T21:25:59.531Z]  Git commit:        48d30b5
[2021-04-26T21:25:59.531Z]  Built:             Fri Jan 29 14:33:34 2021
[2021-04-26T21:25:59.531Z]  OS/Arch:           linux/arm64
[2021-04-26T21:25:59.531Z]  Context:           default
[2021-04-26T21:25:59.531Z]  Experimental:      true
[2021-04-26T21:25:59.531Z] 
[2021-04-26T21:25:59.531Z] Server: Docker Engine - Community
[2021-04-26T21:25:59.531Z]  Engine:
[2021-04-26T21:25:59.531Z]   Version:          20.10.3
[2021-04-26T21:25:59.531Z]   API version:      1.41 (minimum version 1.12)
[2021-04-26T21:25:59.531Z]   Go version:       go1.13.15
[2021-04-26T21:25:59.531Z]   Git commit:       46229ca
[2021-04-26T21:25:59.531Z]   Built:            Fri Jan 29 14:31:49 2021
[2021-04-26T21:25:59.531Z]   OS/Arch:          linux/arm64
[2021-04-26T21:25:59.531Z]   Experimental:     false
[2021-04-26T21:25:59.531Z]  containerd:
[2021-04-26T21:25:59.531Z]   Version:          1.4.4
[2021-04-26T21:25:59.531Z]   GitCommit:        05f951a3781f4f2c1911b05e61c160e9c30eaa8e
[2021-04-26T21:25:59.531Z]  runc:
[2021-04-26T21:25:59.531Z]   Version:          1.0.0-rc93
[2021-04-26T21:25:59.531Z]   GitCommit:        12644e614e25b05da6fd08a38ffa0cfe1903fdec
[2021-04-26T21:25:59.531Z]  docker-init:
[2021-04-26T21:25:59.531Z]   Version:          0.19.0
[2021-04-26T21:25:59.531Z]   GitCommit:        de40ad0
[2021-04-26T21:25:59.531Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-04-26T21:25:59.531Z] Unable to find image 'arm64v8/alpine:3' locally
[2021-04-26T21:26:05.649Z] 3: Pulling from arm64v8/alpine
[2021-04-26T21:26:05.649Z] 595b0fe564bb: Pulling fs layer
[2021-04-26T21:26:06.154Z] 595b0fe564bb: Verifying Checksum
[2021-04-26T21:26:06.154Z] 595b0fe564bb: Download complete
[2021-04-26T21:26:06.855Z] 595b0fe564bb: Pull complete
[2021-04-26T21:26:06.855Z] Digest: sha256:8f18fae117ec6e5777cc62ba78cbb3be10a8a38639ccfb949521abd95c8301a4
[2021-04-26T21:26:06.855Z] Status: Downloaded newer image for arm64v8/alpine:3
[2021-04-26T21:26:25.126Z] Change permissions with write access of all files inside the specific folder
[2021-04-26T21:26:25.354Z] Running in /var/lib/jenkins/workspace/PR-25317-1-cf2a40ac-fa0a-4c8f-af49-650d38d9851f/src/github.com/elastic/beats/build
[2021-04-26T21:26:26.347Z] + rm -rf ve
[2021-04-26T21:26:26.347Z] + find . -type d -name vendor -exec rm -r {} ;
[2021-04-26T21:26:27.489Z] + python .ci/scripts/pre_archive_test.py
[2021-04-26T21:26:49.317Z] Copy ./x-pack/filebeat/build into build/x-pack/filebeat/build
[2021-04-26T21:26:49.317Z] Copy ./x-pack/filebeat/build/golang-crossbuild into build/x-pack/filebeat/build/golang-crossbuild
[2021-04-26T21:26:49.317Z] Copy ./x-pack/heartbeat/build into build/x-pack/heartbeat/build
[2021-04-26T21:26:49.317Z] Copy ./x-pack/heartbeat/build/golang-crossbuild into build/x-pack/heartbeat/build/golang-crossbuild
[2021-04-26T21:26:49.317Z] Copy ./x-pack/elastic-agent/build into build/x-pack/elastic-agent/build
[2021-04-26T21:26:49.317Z] Copy ./x-pack/elastic-agent/build/package/elastic-agent-ubi8/elastic-agent-linux-arm64.docker/docker-build into build/x-pack/elastic-agent/build/package/elastic-agent-ubi8/elastic-agent-linux-arm64.docker/docker-build
[2021-04-26T21:26:49.317Z] Copy ./x-pack/elastic-agent/build/package/elastic-agent/elastic-agent-linux-arm64.docker/docker-build into build/x-pack/elastic-agent/build/package/elastic-agent/elastic-agent-linux-arm64.docker/docker-build
[2021-04-26T21:26:49.317Z] Copy ./x-pack/elastic-agent/build/golang-crossbuild into build/x-pack/elastic-agent/build/golang-crossbuild
[2021-04-26T21:26:49.317Z] Copy ./x-pack/metricbeat/build into build/x-pack/metricbeat/build
[2021-04-26T21:26:49.317Z] Copy ./x-pack/metricbeat/build/golang-crossbuild into build/x-pack/metricbeat/build/golang-crossbuild
[2021-04-26T21:26:49.528Z] Running in /var/lib/jenkins/workspace/PR-25317-1-cf2a40ac-fa0a-4c8f-af49-650d38d9851f/src/github.com/elastic/beats/build
[2021-04-26T21:26:49.654Z] Recording test results
[2021-04-26T21:26:55.449Z] None of the test reports contained any result
[2021-04-26T21:26:55.464Z] [Checks API] No suitable checks publisher found.
[2021-04-26T21:26:56.655Z] + go clean -modcache
[2021-04-26T21:27:06.844Z] Cleaning up /var/lib/jenkins/workspace/PR-25317-1-cf2a40ac-fa0a-4c8f-af49-650d38d9851f
[2021-04-26T21:27:06.844Z] Client: Docker Engine - Community
[2021-04-26T21:27:06.844Z]  Version:           20.10.3
[2021-04-26T21:27:06.844Z]  API version:       1.41
[2021-04-26T21:27:06.844Z]  Go version:        go1.13.15
[2021-04-26T21:27:06.844Z]  Git commit:        48d30b5
[2021-04-26T21:27:06.844Z]  Built:             Fri Jan 29 14:33:34 2021
[2021-04-26T21:27:06.844Z]  OS/Arch:           linux/arm64
[2021-04-26T21:27:06.844Z]  Context:           default
[2021-04-26T21:27:06.844Z]  Experimental:      true
[2021-04-26T21:27:06.844Z] 
[2021-04-26T21:27:06.844Z] Server: Docker Engine - Community
[2021-04-26T21:27:06.844Z]  Engine:
[2021-04-26T21:27:06.844Z]   Version:          20.10.3
[2021-04-26T21:27:06.844Z]   API version:      1.41 (minimum version 1.12)
[2021-04-26T21:27:06.844Z]   Go version:       go1.13.15
[2021-04-26T21:27:06.844Z]   Git commit:       46229ca
[2021-04-26T21:27:06.844Z]   Built:            Fri Jan 29 14:31:49 2021
[2021-04-26T21:27:06.844Z]   OS/Arch:          linux/arm64
[2021-04-26T21:27:06.844Z]   Experimental:     false
[2021-04-26T21:27:06.844Z]  containerd:
[2021-04-26T21:27:06.844Z]   Version:          1.4.4
[2021-04-26T21:27:06.844Z]   GitCommit:        05f951a3781f4f2c1911b05e61c160e9c30eaa8e
[2021-04-26T21:27:06.844Z]  runc:
[2021-04-26T21:27:06.844Z]   Version:          1.0.0-rc93
[2021-04-26T21:27:06.844Z]   GitCommit:        12644e614e25b05da6fd08a38ffa0cfe1903fdec
[2021-04-26T21:27:06.844Z]  docker-init:
[2021-04-26T21:27:06.844Z]   Version:          0.19.0
[2021-04-26T21:27:06.844Z]   GitCommit:        de40ad0
[2021-04-26T21:27:06.844Z] Change ownership of all files inside the specific folder from root/root to current user/group
[2021-04-26T21:27:09.964Z] Change permissions with write access of all files inside the specific folder
[2021-04-26T21:27:10.200Z] Running in /var/lib/jenkins/workspace/PR-25317-1-cf2a40ac-fa0a-4c8f-af49-650d38d9851f
[2021-04-26T21:27:16.409Z] + gsutil --version
[2021-04-26T21:27:17.845Z] Masking supported pattern matches of $FILE_CREDENTIAL
[2021-04-26T21:27:18.228Z] + gcloud auth activate-service-account --key-file ****
[2021-04-26T21:27:18.799Z] Activated service account credentials for: [[email protected]]
[2021-04-26T21:27:19.238Z] + gsutil -m -q cp -a public-read eC1wYWNrL2VsYXN0aWMtYWdlbnQtcGFja2FnaW5nLWFybS1hcm0zMDVhZjkzZDJlZWRiNmQ0YjQ3YWMwM2QyZTQ0NGMyMmQ2ZWVhNzk3 gs://beats-ci-temp/ci/cache/
[2021-04-26T21:27:26.028Z] Stage "Packaging" skipped due to earlier failure(s)
[2021-04-26T21:27:26.184Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-25317/src/github.com/elastic/beats
[2021-04-26T21:27:26.513Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-25317
[2021-04-26T21:27:26.628Z] [INFO] getVaultSecret: Getting secrets
[2021-04-26T21:27:26.686Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-04-26T21:27:27.680Z] + chmod 755 generate-build-data.sh
[2021-04-26T21:27:27.680Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25317/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25317/runs/1 FAILURE 6387649
[2021-04-26T21:27:27.680Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25317/runs/1/steps/?limit=10000 -o steps-info.json
[2021-04-26T21:27:39.777Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-25317/runs/1/tests/?status=FAILED -o tests-errors.json

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Test stats 🧪

Test Results
Failed 2
Passed 42174
Skipped 5140
Total 47316

Genuine test errors 2

💔 There are test failures but not known flaky tests, most likely a genuine test failure.

  • Name: Build&Test / auditbeat-windows-8-windows-8 / TestNonRecursive – github.com/elastic/beats/v7/auditbeat/module/file_integrity/monitor
  • Name: Build&Test / x-pack/heartbeat-build / TestZipUrlTargetDirectory – github.com/elastic/beats/v7/x-pack/heartbeat/monitors/browser/source

@mergify
Copy link
Contributor Author

mergify bot commented May 25, 2021

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b mergify/bp/7.x/pr-25239 upstream/mergify/bp/7.x/pr-25239
git merge upstream/7.x
git push upstream mergify/bp/7.x/pr-25239

@jsoriano
Copy link
Member

Superseded by #26467

@jsoriano jsoriano closed this Jun 24, 2021
@mergify mergify bot deleted the mergify/bp/7.x/pr-25239 branch June 24, 2021 09:41
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.

3 participants