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

docs: update docs versions 7.9.1 #20856

Closed
wants to merge 2 commits into from
Closed

Conversation

kuisathaverat
Copy link
Contributor

@kuisathaverat kuisathaverat commented Aug 31, 2020

Updates docs versions to 7.9.1.
Merge before the final Release build.
Ingest-dev ticket: https://github.com/elastic/ingest-dev/issues/771

@kuisathaverat kuisathaverat requested review from a team as code owners August 31, 2020 11:40
@kuisathaverat kuisathaverat added automation docs in progress Pull request is currently in progress. release Team:Automation Label for the Observability productivity team labels Aug 31, 2020
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Aug 31, 2020
@kuisathaverat kuisathaverat requested a review from a team August 31, 2020 11:40
@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Aug 31, 2020
@elasticmachine
Copy link
Collaborator

elasticmachine commented Aug 31, 2020

💔 Build Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #20856 updated]

  • Start Time: 2020-08-31T17:28:40.852+0000

  • Duration: 8 min 54 sec

Steps errors

Expand to view the steps failures

  • Name: Make check
    • Description: make check

    • Duration: 1 min 31 sec

    • Start Time: 2020-08-31T17:35:12.945+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-08-31T17:35:51.616Z] Failed in branch Elastic Agent x-pack
[2020-08-31T17:35:51.617Z] Failed in branch Elastic Agent x-pack Windows
[2020-08-31T17:35:51.618Z] Failed in branch Elastic Agent Mac OS X
[2020-08-31T17:35:51.618Z] Failed in branch Filebeat oss
[2020-08-31T17:35:51.619Z] Failed in branch Filebeat x-pack
[2020-08-31T17:35:51.619Z] Failed in branch Filebeat Mac OS X
[2020-08-31T17:35:51.620Z] Failed in branch Filebeat x-pack Mac OS X
[2020-08-31T17:35:51.620Z] Failed in branch Filebeat Windows
[2020-08-31T17:35:51.621Z] Failed in branch Filebeat x-pack Windows
[2020-08-31T17:35:51.621Z] Failed in branch Heartbeat oss
[2020-08-31T17:35:51.622Z] Failed in branch Heartbeat Mac OS X
[2020-08-31T17:35:51.623Z] Failed in branch Heartbeat Windows
[2020-08-31T17:35:51.623Z] Failed in branch Auditbeat oss Linux
[2020-08-31T17:35:51.624Z] Failed in branch Auditbeat crosscompile
[2020-08-31T17:35:51.624Z] Failed in branch Auditbeat oss Mac OS X
[2020-08-31T17:35:51.625Z] Failed in branch Auditbeat oss Windows
[2020-08-31T17:35:51.626Z] Failed in branch Auditbeat x-pack
[2020-08-31T17:35:51.626Z] Failed in branch Auditbeat x-pack Mac OS X
[2020-08-31T17:35:51.627Z] Failed in branch Auditbeat x-pack Windows
[2020-08-31T17:35:51.627Z] Failed in branch Libbeat x-pack
[2020-08-31T17:35:51.628Z] Failed in branch Metricbeat OSS Unit tests
[2020-08-31T17:35:51.628Z] Failed in branch Metricbeat OSS Integration tests
[2020-08-31T17:35:51.629Z] Failed in branch Metricbeat Python integration tests
[2020-08-31T17:35:51.630Z] Failed in branch Metricbeat crosscompile
[2020-08-31T17:35:51.630Z] Failed in branch Metricbeat Mac OS X
[2020-08-31T17:35:51.631Z] Failed in branch Metricbeat x-pack Mac OS X
[2020-08-31T17:35:51.631Z] Failed in branch Metricbeat Windows
[2020-08-31T17:35:51.632Z] Failed in branch Metricbeat x-pack Windows
[2020-08-31T17:35:51.632Z] Failed in branch Packetbeat Linux
[2020-08-31T17:35:51.633Z] Failed in branch Packetbeat Mac OS X
[2020-08-31T17:35:51.634Z] Failed in branch Packetbeat Windows
[2020-08-31T17:35:51.634Z] Failed in branch dockerlogbeat
[2020-08-31T17:35:51.635Z] Failed in branch Winlogbeat oss
[2020-08-31T17:35:51.635Z] Failed in branch Winlogbeat Windows
[2020-08-31T17:35:51.636Z] Failed in branch Winlogbeat Windows x-pack
[2020-08-31T17:35:51.636Z] Failed in branch Functionbeat x-pack
[2020-08-31T17:35:51.637Z] Failed in branch Functionbeat Mac OS X x-pack
[2020-08-31T17:35:51.637Z] Failed in branch Functionbeat Windows
[2020-08-31T17:35:51.638Z] Failed in branch Journalbeat
[2020-08-31T17:35:51.639Z] Failed in branch Generators Metricbeat Mac OS X
[2020-08-31T17:35:51.639Z] Failed in branch Generators Beat Mac OS X
[2020-08-31T17:35:51.640Z] Failed in branch Kubernetes
[2020-08-31T17:35:51.753Z] Stage "Libbeat" skipped due to earlier failure(s)
[2020-08-31T17:35:51.755Z] Stage "Metricbeat x-pack" skipped due to earlier failure(s)
[2020-08-31T17:35:51.756Z] Stage "Generators" skipped due to earlier failure(s)
[2020-08-31T17:35:51.873Z] Failed in branch Metricbeat x-pack
[2020-08-31T17:35:51.874Z] Failed in branch Generators
[2020-08-31T17:35:51.895Z] Stage "Libbeat" skipped due to earlier failure(s)
[2020-08-31T17:35:51.970Z] Failed in branch Libbeat
[2020-08-31T17:35:55.161Z] [INFO] unstashV2: JOB_GCS_BUCKET is set. bucket param got precedency instead.
[2020-08-31T17:35:55.182Z] [INFO] unstashV2: JOB_GCS_CREDENTIALS is set. credentialsId param got precedency instead.
[2020-08-31T17:35:55.246Z] [Google Cloud Storage Plugin] Found 1 files to download from pattern: gs://beats-ci-temp/Beats/beats/PR-20856-2/source/source.tgz
[2020-08-31T17:35:55.267Z] [Google Cloud Storage Plugin] Downloading: Beats/beats/PR-20856-2/source/source.tgz to local path: /var/lib/jenkins/workspace/Beats_beats_PR-20856/source.tgz
[2020-08-31T17:36:04.032Z] + tar --version
[2020-08-31T17:36:04.329Z] + tar -xpf source.tgz
[2020-08-31T17:36:14.655Z] + rm source.tgz
[2020-08-31T17:36:14.667Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20856/src/github.com/elastic/beats
[2020-08-31T17:36:14.690Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-20856/src/github.com/elastic/beats/Lint
[2020-08-31T17:36:15.100Z] + cat
[2020-08-31T17:36:15.100Z] + /usr/local/bin/runbld ./runbld-script --job-name elastic+beats+pull-request
[2020-08-31T17:36:15.100Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-08-31T17:36:21.698Z] runbld>>> runbld started
[2020-08-31T17:36:21.698Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-08-31T17:36:23.618Z] runbld>>> The following profiles matched the job 'elastic+beats+pull-request' in order of occurrence in the config (last value wins).
[2020-08-31T17:36:23.618Z] runbld>>> Matches in the system config:
[2020-08-31T17:36:23.618Z] runbld>>> - Matched ^elastic\+beats
[2020-08-31T17:36:23.618Z] runbld>>> - Matched ^elastic\+beats\+pull-request
[2020-08-31T17:36:25.007Z] runbld>>> Debug logging enabled.
[2020-08-31T17:36:25.007Z] runbld>>> Storing result
[2020-08-31T17:36:25.273Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-08-31T17:36:25.274Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200831173624-0168D510
[2020-08-31T17:36:25.274Z] runbld>>> Adding system facts.
[2020-08-31T17:36:26.221Z] runbld>>> Adding vcs info for the latest commit:  9757ae6e63664bab24230bdbb6fefac0e1d15b3b
[2020-08-31T17:36:26.221Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-08-31T17:36:26.221Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-08-31T17:36:26.485Z] + echo 'Processing JUnit reports with runbld...'
[2020-08-31T17:36:26.485Z] Processing JUnit reports with runbld...
[2020-08-31T17:36:26.750Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-08-31T17:36:26.750Z] runbld>>> DURATION: 30ms
[2020-08-31T17:36:26.750Z] runbld>>> STDOUT: 40 bytes
[2020-08-31T17:36:26.750Z] runbld>>> STDERR: 49 bytes
[2020-08-31T17:36:26.750Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-08-31T17:36:26.750Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-20856
[2020-08-31T17:36:27.697Z] runbld>>> Storing build metadata: 
[2020-08-31T17:36:27.697Z] runbld>>> Adding test report.
[2020-08-31T17:36:27.697Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-20856/src/github.com/elastic/beats
[2020-08-31T17:36:28.269Z] runbld>>> Found 0 test output files
[2020-08-31T17:36:28.269Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 0 Skipped: 0
[2020-08-31T17:36:28.529Z] runbld>>> Storing result
[2020-08-31T17:36:28.790Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-08-31T17:36:28.790Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200831173624-0168D510
[2020-08-31T17:36:28.790Z] runbld>>> Email notification disabled by environment variable.
[2020-08-31T17:36:28.790Z] runbld>>> Slack notification disabled by environment variable.
[2020-08-31T17:36:34.279Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-20856
[2020-08-31T17:36:34.384Z] [INFO] getVaultSecret: Getting secrets
[2020-08-31T17:36:34.444Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-08-31T17:36:35.211Z] + chmod 755 generate-build-data.sh
[2020-08-31T17:36:35.211Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20856/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20856/runs/2 FAILURE 474098
[2020-08-31T17:36:35.211Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20856/runs/2/steps/?limit=10000 -o steps-info.json
[2020-08-31T17:36:35.461Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-20856/runs/2/tests/?status=FAILED -o tests-errors.json

@kuisathaverat
Copy link
Contributor Author

kuisathaverat commented Aug 31, 2020

@urso @andrewkroh I dunno why the make update is changing too many files, it removes imports and some whitespace, is it correct?

Copy link
Contributor

@cachedout cachedout left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like it changes a lot that is unrelated to a docs version bump?

@kuisathaverat
Copy link
Contributor Author

kuisathaverat commented Aug 31, 2020

This seems like it changes a lot that is unrelated to a docs version bump?

yep, #20856 (comment) and it breaks the lint in the CI, locally I can run make check without issues so it is weird

These are the commands I executed

git clone git@github.com:elastic/beats.git
export GO_VERSION=$(cat .go-version); 
cd beats; 
gvm remove ${GO_VERSION}
eval $(gvm ${GO_VERSION})
make mage 
mage fmt 
make -n update
make check

ok, I got it mage fmt is formatting more than expected

@kuisathaverat kuisathaverat deleted the update_docs_version_7.9.1 branch August 31, 2020 18:32
@kuisathaverat
Copy link
Contributor Author

kuisathaverat commented Aug 31, 2020

superseded by #20873

@kuisathaverat
Copy link
Contributor Author

the culprit is go mod tidy for some reason remove dependencies in my local

go mod tidy -v
go: finding module for package github.com/cespare/xxhash
go: found github.com/cespare/xxhash in github.com/cespare/xxhash v1.1.0
unused github.com/cespare/xxhash/v2
unused github.com/cloudfoundry-community/go-cfclient
unused github.com/davecgh/go-xdr
unused github.com/elastic/go-perf
unused github.com/elastic/go-seccomp-bpf
unused github.com/hashicorp/go-multierror
unused github.com/hashicorp/go-retryablehttp
unused github.com/hectane/go-acl

@kuisathaverat
Copy link
Contributor Author

kuisathaverat commented Sep 3, 2020

It does not happen in a Docker container so is something in my local environment

git clone git@github.com:elastic/beats.git
cd beats;
git checkout origin/7.9 -b 7.9
export GO_VERSION=$(cat .go-version); 
docker run -it \
    -v $(pwd):/tmp/src/github.com/elastic/beats/v7 \
    -u $(id -u):$(id -g) \
    -w /tmp/src/github.com/elastic/beats/v7 \
    -e HOME=/tmp \
    -e GOPATH=/tmp \
    golang:${GO_VERSION} \
    go mod tidy -v

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation docs in progress Pull request is currently in progress. release Team:Automation Label for the Observability productivity team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants