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 go version to go 1.14.3 #18829

Closed
wants to merge 9 commits into from
Closed

Conversation

blakerouse
Copy link
Contributor

@blakerouse blakerouse commented May 28, 2020

What does this PR do?

Updates the go version to go 1.14.4. Removes the -mod=vendor through out the make and mage files being that is the new default in go 1.14.

Why is it important?

To be on the latest version of go 1.14.

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.

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Use cases

Screenshots

Logs

@blakerouse blakerouse requested review from a team as code owners May 28, 2020 20:05
@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label Team:Automation Label for the Observability productivity team and removed needs_team Indicates that the issue/PR needs a Team:* label labels May 28, 2020
@blakerouse blakerouse added the Team:Services (Deprecated) Label for the former Integrations-Services team label May 28, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-services (Team:Services)

@blakerouse blakerouse self-assigned this May 28, 2020
@elasticmachine
Copy link
Collaborator

elasticmachine commented May 28, 2020

💔 Build Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #18829 updated]

  • Start Time: 2020-07-07T07:57:19.796+0000

  • Duration: 7 min 34 sec

Steps errors

Expand to view the steps failures

  • Name: Make check
    • Description: make check

    • Duration: 0 min 13 sec

    • Start Time: 2020-07-07T08:03:13.902+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-07-07T08:03:29.548Z] Stage "Generators" skipped due to earlier failure(s)
[2020-07-07T08:03:29.548Z] Stage "Kubernetes" skipped due to earlier failure(s)
[2020-07-07T08:03:29.631Z] Stage "Heartbeat" skipped due to earlier failure(s)
[2020-07-07T08:03:29.632Z] Stage "Libbeat" skipped due to earlier failure(s)
[2020-07-07T08:03:29.633Z] Stage "Metricbeat x-pack" skipped due to earlier failure(s)
[2020-07-07T08:03:29.634Z] Stage "Packetbeat" skipped due to earlier failure(s)
[2020-07-07T08:03:29.635Z] Stage "dockerlogbeat" skipped due to earlier failure(s)
[2020-07-07T08:03:29.636Z] Stage "Winlogbeat" skipped due to earlier failure(s)
[2020-07-07T08:03:29.636Z] Stage "Functionbeat" skipped due to earlier failure(s)
[2020-07-07T08:03:29.637Z] Stage "Journalbeat" skipped due to earlier failure(s)
[2020-07-07T08:03:29.638Z] Stage "Generators" skipped due to earlier failure(s)
[2020-07-07T08:03:30.159Z] Failed in branch Elastic Agent x-pack
[2020-07-07T08:03:30.160Z] Failed in branch Elastic Agent x-pack Windows
[2020-07-07T08:03:30.160Z] Failed in branch Elastic Agent Mac OS X
[2020-07-07T08:03:30.161Z] Failed in branch Filebeat oss
[2020-07-07T08:03:30.162Z] Failed in branch Filebeat x-pack
[2020-07-07T08:03:30.162Z] Failed in branch Filebeat Mac OS X
[2020-07-07T08:03:30.163Z] Failed in branch Filebeat x-pack Mac OS X
[2020-07-07T08:03:30.163Z] Failed in branch Filebeat Windows
[2020-07-07T08:03:30.164Z] Failed in branch Filebeat x-pack Windows
[2020-07-07T08:03:30.165Z] Failed in branch Auditbeat oss Linux
[2020-07-07T08:03:30.165Z] Failed in branch Auditbeat crosscompile
[2020-07-07T08:03:30.166Z] Failed in branch Auditbeat oss Mac OS X
[2020-07-07T08:03:30.166Z] Failed in branch Auditbeat oss Windows
[2020-07-07T08:03:30.167Z] Failed in branch Auditbeat x-pack
[2020-07-07T08:03:30.168Z] Failed in branch Auditbeat x-pack Mac OS X
[2020-07-07T08:03:30.169Z] Failed in branch Auditbeat x-pack Windows
[2020-07-07T08:03:30.169Z] Failed in branch Libbeat x-pack
[2020-07-07T08:03:30.170Z] Failed in branch Metricbeat OSS Unit tests
[2020-07-07T08:03:30.170Z] Failed in branch Metricbeat OSS Integration tests
[2020-07-07T08:03:30.171Z] Failed in branch Metricbeat Python integration tests
[2020-07-07T08:03:30.172Z] Failed in branch Metricbeat crosscompile
[2020-07-07T08:03:30.172Z] Failed in branch Metricbeat Mac OS X
[2020-07-07T08:03:30.173Z] Failed in branch Metricbeat x-pack Mac OS X
[2020-07-07T08:03:30.174Z] Failed in branch Metricbeat Windows
[2020-07-07T08:03:30.174Z] Failed in branch Metricbeat x-pack Windows
[2020-07-07T08:03:30.175Z] Failed in branch Winlogbeat Windows x-pack
[2020-07-07T08:03:30.176Z] Failed in branch Kubernetes
[2020-07-07T08:03:30.437Z] Stage "Heartbeat" skipped due to earlier failure(s)
[2020-07-07T08:03:30.438Z] Stage "Libbeat" skipped due to earlier failure(s)
[2020-07-07T08:03:30.439Z] Stage "Metricbeat x-pack" skipped due to earlier failure(s)
[2020-07-07T08:03:30.440Z] Stage "Winlogbeat" skipped due to earlier failure(s)
[2020-07-07T08:03:30.441Z] Stage "Functionbeat" skipped due to earlier failure(s)
[2020-07-07T08:03:30.442Z] Stage "Generators" skipped due to earlier failure(s)
[2020-07-07T08:03:30.498Z] Failed in branch Packetbeat
[2020-07-07T08:03:30.499Z] Failed in branch dockerlogbeat
[2020-07-07T08:03:30.500Z] Failed in branch Journalbeat
[2020-07-07T08:03:30.693Z] Stage "Heartbeat" skipped due to earlier failure(s)
[2020-07-07T08:03:30.694Z] Stage "Libbeat" skipped due to earlier failure(s)
[2020-07-07T08:03:30.696Z] Stage "Functionbeat" skipped due to earlier failure(s)
[2020-07-07T08:03:30.697Z] Stage "Generators" skipped due to earlier failure(s)
[2020-07-07T08:03:30.736Z] Failed in branch Metricbeat x-pack
[2020-07-07T08:03:30.737Z] Failed in branch Winlogbeat
[2020-07-07T08:03:30.911Z] Failed in branch Heartbeat
[2020-07-07T08:03:30.911Z] Failed in branch Libbeat
[2020-07-07T08:03:30.912Z] Failed in branch Functionbeat
[2020-07-07T08:03:30.913Z] Stage "Generators" skipped due to earlier failure(s)
[2020-07-07T08:03:30.987Z] Failed in branch Generators
[2020-07-07T08:03:31.111Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18829/src/github.com/elastic/beats
[2020-07-07T08:03:31.418Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-07-07T08:03:31.432Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18829/src/github.com/elastic/beats/Lint
[2020-07-07T08:03:31.824Z] + cat
[2020-07-07T08:03:31.824Z] + /usr/local/bin/runbld ./runbld-script
[2020-07-07T08:03:31.824Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-07-07T08:03:39.989Z] runbld>>> runbld started
[2020-07-07T08:03:39.989Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-07-07T08:03:41.380Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-18829' in order of occurrence in the config (last value wins).
[2020-07-07T08:03:42.327Z] runbld>>> Debug logging enabled.
[2020-07-07T08:03:42.327Z] runbld>>> Storing result
[2020-07-07T08:03:42.590Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-07-07T08:03:42.590Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200707080342-0409A2A5
[2020-07-07T08:03:42.590Z] runbld>>> Adding system facts.
[2020-07-07T08:03:43.988Z] runbld>>> Adding vcs info for the latest commit:  494dfda309f7c9c5974657b56d16f5b20176a473
[2020-07-07T08:03:43.988Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-07-07T08:03:43.988Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-07-07T08:03:43.988Z] Processing JUnit reports with runbld...
[2020-07-07T08:03:43.988Z] + echo 'Processing JUnit reports with runbld...'
[2020-07-07T08:03:44.250Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-07-07T08:03:44.250Z] runbld>>> DURATION: 22ms
[2020-07-07T08:03:44.250Z] runbld>>> STDOUT: 40 bytes
[2020-07-07T08:03:44.250Z] runbld>>> STDERR: 49 bytes
[2020-07-07T08:03:44.250Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-07-07T08:03:44.250Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18829/src/github.com/elastic/beats
[2020-07-07T08:03:45.198Z] runbld>>> Storing build metadata: 
[2020-07-07T08:03:45.198Z] runbld>>> Adding test report.
[2020-07-07T08:03:45.198Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18829/src/github.com/elastic/beats
[2020-07-07T08:03:46.149Z] runbld>>> Found 0 test output files
[2020-07-07T08:03:46.149Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 0 Skipped: 0
[2020-07-07T08:03:46.149Z] runbld>>> Storing result
[2020-07-07T08:03:46.415Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-07-07T08:03:46.415Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200707080342-0409A2A5
[2020-07-07T08:03:46.676Z] runbld>>> Email notification disabled by environment variable.
[2020-07-07T08:03:46.676Z] runbld>>> Slack notification disabled by environment variable.
[2020-07-07T08:03:52.503Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18829
[2020-07-07T08:03:52.746Z] [INFO] getVaultSecret: Getting secrets
[2020-07-07T08:03:52.820Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-07-07T08:03:53.838Z] + chmod 755 generate-build-data.sh
[2020-07-07T08:03:53.838Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18829/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18829/runs/20 FAILURE 393781
[2020-07-07T08:03:53.838Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18829/runs/20/steps/?limit=10000 -o steps-info.json
[2020-07-07T08:03:54.089Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-18829/runs/20/tests/?status=FAILED -o tests-errors.json

@elasticmachine
Copy link
Collaborator

Pinging @elastic/ingest-management (Team:Ingest Management)

Copy link
Contributor

@ph ph left a comment

Choose a reason for hiding this comment

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

Change LGTM, @urso any concerns about upgrading from 1.13.10 to 1.14.3 in master and 7.x? quick look at the open issue on Go's repository doesn't show anything problematic?

# OS X 10.11 Mountain Lion is the oldest supported by Go 1.13.
# https://golang.org/doc/go1.13#ports
# OS X 10.11 El Capitan is the oldest supported by Go 1.14.
# https://golang.org/doc/go1.14#ports
Copy link
Contributor

Choose a reason for hiding this comment

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

good catch

@ph
Copy link
Contributor

ph commented May 29, 2020

@blakerouse The failures of auditbeat and other beats seems related to theses changes?

@blakerouse
Copy link
Contributor Author

@ph Investigating them now, I know the metricbeat ones are related.

found = true
}
}
if !found {
assert.Failf(t, "", "expected an error containing 'request canceled (Client.Timeout exceeded'. Got %v", errs)
assert.Failf(t, "", "expected an error containing 'context deadline exceeded (Client.Timeout exceeded'. Got %v", errs)
Copy link
Contributor

@ph ph May 29, 2020

Choose a reason for hiding this comment

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

oh they changed the returned string vlue.

@urso
Copy link

urso commented May 29, 2020

Go 1.14.0 introduced a regression in the JSON parser. Due to some faulty state handling UTF-8 characters are not always handled correctly, which can result in 'splits' and invalid/mangled characters in input strings. The fix will only be available in go1.14.4. Related issues:

Checking the known issues, the JSON one is the last outstanding issue that can affect us and our users.

@ph
Copy link
Contributor

ph commented May 29, 2020

Go 1.14.0 introduced a regression in the JSON parser. Due to some faulty state handling UTF-8 characters are not always handled correctly, which can result in 'splits' and invalid/mangled characters in input strings. The fix will only be available in go1.14.4. Related issues:

https://github.com/golang/go/issues?q=milestone%3AGo1.14.4+label%3ACherryPickApproved

This is indeed a problem, there is no guarantee if it will be shipped before our next major.

@blakerouse could we make it work with 1.13.x?

@blakerouse
Copy link
Contributor Author

blakerouse commented May 29, 2020 via email

@ph
Copy link
Contributor

ph commented May 29, 2020

@blakerouse lets do that instead, I think it's worth it so we do not depend on Golang to release a fix. From what I've seen in the 1.14 had a rocky beginning :)

@blakerouse
Copy link
Contributor Author

Closing this, once go 1.14.4 is released we can update then.

@kvch
Copy link
Contributor

kvch commented Jun 2, 2020

@blakerouse FYI we have an open issue for updating Go to 1.14 with the required tasks: #16566

@blakerouse
Copy link
Contributor Author

@kvch I used it to create this branch and linked it to that issue.

Other than the regressions in go 1.14.0, I think this is close once 1.14.4 is released. I did the removal of -mod=vendor, but question if it was actually working correctly. Being that we are blocked on 1.14.4, I just closed it for now.

@blakerouse blakerouse reopened this Jun 2, 2020
@zube zube bot added [zube]: Inbox and removed [zube]: Done labels Jun 2, 2020
@kvch
Copy link
Contributor

kvch commented Jun 29, 2020

@blakerouse I've merged removing the vendor folder. Could you please update golang.org/x/tools to release-branch1.14 and rebase this PR?

@kuisathaverat
Copy link
Contributor

make mage fails with the following error, if we run GO111MODULE=off make mage the command works

[2020-07-06T10:46:45.210Z] Installing mage v1.9.0 from vendor dir.
[2020-07-06T10:46:45.210Z] go: inconsistent vendoring in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-18829/src/github.com/elastic/beats:
[2020-07-06T10:46:45.210Z] 	4d63.com/tz@v1.1.1-0.20191124060701-6d37baae851b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.210Z] 	cloud.google.com/go@v0.51.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.210Z] 	cloud.google.com/go/pubsub@v1.0.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.210Z] 	cloud.google.com/go/storage@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.210Z] 	code.cloudfoundry.org/go-diodes@v0.0.0-20190809170250-f77fb823c7ee: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	code.cloudfoundry.org/go-loggregator@v7.4.0+incompatible: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	code.cloudfoundry.org/rfc5424@v0.0.0-20180905210152-236a6d29298a: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/Azure/azure-event-hubs-go/v3@v3.1.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/Azure/azure-sdk-for-go@v37.1.0+incompatible: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/Azure/azure-storage-blob-go@v0.8.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/Azure/go-ansiterm@v0.0.0-20170929234023-d6e3b3328b78: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/Azure/go-autorest/autorest@v0.9.4: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/Azure/go-autorest/autorest/adal@v0.8.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/Azure/go-autorest/autorest/azure/auth@v0.4.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/Azure/go-autorest/autorest/date@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/Masterminds/semver@v1.4.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/Microsoft/go-winio@v0.4.15-0.20190919025122-fc70bd9a86b5: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/Shopify/sarama@v0.0.0-00010101000000-000000000000: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/StackExchange/wmi@v0.0.0-20170221213301-9f32b5905fd6: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/aerospike/aerospike-client-go@v1.27.1-0.20170612174108-0f3b54da6bdc: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/akavel/rsrc@v0.8.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/andrewkroh/sys@v0.0.0-20151128191922-287798fe3e43: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/antlr/antlr4@v0.0.0-20200225173536-225249fdaef5: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/apoydence/eachers@v0.0.0-20181020210610-23942921fe77: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/armon/go-socks5@v0.0.0-20160902184237-e75332964ef5: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/aws/aws-lambda-go@v1.6.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/aws/aws-sdk-go-v2@v0.9.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/awslabs/goformation/v4@v4.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/blakesmith/ar@v0.0.0-20150311145944-8bd4349a67f2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/bsm/sarama-cluster@v2.1.14-0.20180625083203-7e67d87a6b3f+incompatible: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/cavaliercoder/badio@v0.0.0-20160213150051-ce5280129e9e: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/cavaliercoder/go-rpm@v0.0.0-20190131055624-7a9c54e3d83e: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/cespare/xxhash/v2@v2.1.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/cloudfoundry-community/go-cfclient@v0.0.0-20190808214049-35bcce23fc5f: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/cloudfoundry/noaa@v2.1.0+incompatible: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/cloudfoundry/sonde-go@v0.0.0-20171206171820-b33733203bb4: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/containerd/fifo@v0.0.0-20190816180239-bda0ff6ed73c: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/coreos/go-systemd/v22@v22.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/coreos/pkg@v0.0.0-20180108230652-97fdf19511ea: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/davecgh/go-xdr@v0.0.0-20161123171359-e6a2ba005892: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/denisenkom/go-mssqldb@v0.0.0-20200206145737-bbfc9a55622e: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/devigned/tab@v0.1.2-0.20190607222403-0c15cf42f9a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/dgrijalva/jwt-go@v3.2.1-0.20190620180102-5e25c22bd5d6+incompatible: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/digitalocean/go-libvirt@v0.0.0-20180301200012-6075ea3c39a1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/dlclark/regexp2@v1.1.7-0.20171009020623-7632a260cbaf: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/docker/docker@v1.4.2-0.20170802015333-8af4db6f002a: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/docker/go-connections@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/docker/go-metrics@v0.0.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/docker/go-plugins-helpers@v0.0.0-20181025120712-1e6269c305b8: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/docker/go-units@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/dop251/goja@v0.0.0-00010101000000-000000000000: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.211Z] 	github.com/dop251/goja_nodejs@v0.0.0-20171011081505-adff31b136e6: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/dustin/go-humanize@v0.0.0-20171111073723-bb3d318650d4: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/eclipse/paho.mqtt.golang@v1.2.1-0.20200121105743-0d940dd29fd2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/elastic/ecs@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/elastic/elastic-agent-client/v7@v7.0.0-20200601155656-d6a9eb4f6d07: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/elastic/go-concert@v0.0.3: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/elastic/go-libaudit/v2@v2.0.0-20200515221334-92371bef3fb8: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/elastic/go-licenser@v0.3.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/elastic/go-lookslike@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/elastic/go-lumber@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/elastic/go-perf@v0.0.0-20191212140718-9c656876f595: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/elastic/go-seccomp-bpf@v1.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/elastic/go-structform@v0.0.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/elastic/go-sysinfo@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/elastic/go-txfile@v0.0.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/elastic/go-ucfg@v0.8.3: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/elastic/go-windows@v1.0.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/elastic/gosigar@v0.10.5: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/fatih/color@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/fsnotify/fsevents@v0.0.0-00010101000000-000000000000: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/fsnotify/fsnotify@v1.4.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/garyburd/redigo@v1.0.1-0.20160525165706-b8dc90050f24: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/go-ole/go-ole@v1.2.5-0.20190920104607-14974a1cf647: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/go-sourcemap/sourcemap@v2.1.2+incompatible: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/go-sql-driver/mysql@v1.4.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/gocarina/gocsv@v0.0.0-20170324095351-ffef3ffc77be: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/godbus/dbus@v0.0.0-20190422162347-ade71ed3457e: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/godror/godror@v0.10.4: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/gofrs/flock@v0.7.2-0.20190320160742-5135e617513b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/gofrs/uuid@v3.3.0+incompatible: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/gogo/protobuf@v1.3.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/golang/protobuf@v1.4.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/golang/snappy@v0.0.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/google/flatbuffers@v1.7.2-0.20170925184458-7a6b2bf521e9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/google/go-cmp@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/google/gopacket@v1.1.18-0.20191009163724-0ad7f2610e34: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/google/uuid@v1.1.2-0.20190416172445-c2e93f3ae59f: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/googleapis/gnostic@v0.3.1-0.20190624222214-25d8b0b66985: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/gorhill/cronexpr@v0.0.0-20161205141322-d520615e531a: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/gorilla/mux@v1.7.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/gorilla/websocket@v1.4.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/grpc-ecosystem/grpc-gateway@v1.13.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/h2non/filetype@v1.0.12: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/hashicorp/go-multierror@v1.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/hashicorp/go-retryablehttp@v0.6.6: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/hashicorp/golang-lru@v0.5.2-0.20190520140433-59383c442f7d: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/insomniacslk/dhcp@v0.0.0-20180716145214-633285ba52b2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/jmoiron/sqlx@v1.2.1-0.20190826204134-d7d95172beb5: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/joeshaw/multierror@v0.0.0-20140124173710-69b34d4ec901: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/josephspurrier/goversioninfo@v0.0.0-20190209210621-63e6d1acd3dd: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/jpillora/backoff@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.212Z] 	github.com/jstemmer/go-junit-report@v0.9.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/konsorten/go-windows-terminal-sequences@v1.0.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/lib/pq@v1.1.2-0.20190507191818-2ff3cb3adc01: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/magefile/mage@v1.9.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/mailru/easyjson@v0.7.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/mattn/go-colorable@v0.0.8: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/mattn/go-ieproxy@v0.0.0-20191113090002-7c0f6868bffe: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/mattn/go-isatty@v0.0.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/matttproud/golang_protobuf_extensions@v1.0.2-0.20181231171920-c182affec369: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/miekg/dns@v1.1.15: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/mitchellh/gox@v1.0.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/mitchellh/hashstructure@v0.0.0-20170116052023-ab25296c0f51: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/mitchellh/mapstructure@v1.1.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/morikuni/aec@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/oklog/ulid@v1.3.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/opencontainers/go-digest@v1.0.0-rc1.0.20190228220655-ac19fd6e7483: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/opencontainers/image-spec@v1.0.2-0.20190823105129-775207bd45b6: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/pierrre/gotestcover@v0.0.0-20160113212533-7b94f124d338: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/pkg/errors@v0.9.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/pmezard/go-difflib@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/poy/eachers@v0.0.0-20181020210610-23942921fe77: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/prometheus/client_golang@v1.1.1-0.20190913103102-20428fa0bffc: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/prometheus/client_model@v0.0.0-20190812154241-14fe0d1b01d4: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/prometheus/common@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/prometheus/procfs@v0.0.11: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/prometheus/prometheus@v2.5.0+incompatible: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/rcrowley/go-metrics@v0.0.0-20190826022208-cac0b30c2563: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/reviewdog/reviewdog@v0.9.17: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/samuel/go-parser@v0.0.0-20130731160455-ca8abbf65d0e: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/samuel/go-thrift@v0.0.0-20140522043831-2187045faa54: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/sanathkr/yaml@v1.0.1-0.20170819201035-0056894fa522: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/shirou/gopsutil@v2.19.11+incompatible: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/spf13/cobra@v0.0.3: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/spf13/pflag@v1.0.5: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/stretchr/objx@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/stretchr/testify@v1.6.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/tsg/go-daemon@v0.0.0-20200207173439-e704b93fd89b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/tsg/gopacket@v0.0.0-20200626092518-2ab8e397a786: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/urso/sderr@v0.0.0-20200210124243-c2a16f3d43ec: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/vmware/govmomi@v0.0.0-20170802214208-2cad15190b41: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/xdg/scram@v0.0.0-20180814205039-7eeb5667e42c: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	github.com/yuin/gopher-lua@v0.0.0-20170403160031-b402f3114ec7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	go.elastic.co/apm@v1.7.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	go.elastic.co/apm/module/apmelasticsearch@v1.7.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	go.elastic.co/apm/module/apmhttp@v1.7.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	go.elastic.co/ecszap@v0.1.1-0.20200424093508-cdd95a104193: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	go.elastic.co/go-licence-detector@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	go.etcd.io/bbolt@v1.3.4: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	go.uber.org/atomic@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	go.uber.org/multierr@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	go.uber.org/zap@v1.14.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	golang.org/x/crypto@v0.0.0-20200510223506-06a226fb4e37: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.213Z] 	golang.org/x/lint@v0.0.0-20200130185559-910be7a94367: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	golang.org/x/net@v0.0.0-20200226121028-0de0cce0169b: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	golang.org/x/oauth2@v0.0.0-20200107190931-bf48bf16ab8d: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	golang.org/x/sync@v0.0.0-20200317015054-43a5402ce75a: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	golang.org/x/sys@v0.0.0-20200202164722-d101bd2416d5: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	golang.org/x/text@v0.3.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	golang.org/x/time@v0.0.0-20191024005414-555d28b269f0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	golang.org/x/tools@v0.0.0-20200701041122-1837592efa10: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	google.golang.org/api@v0.15.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	google.golang.org/genproto@v0.0.0-20191230161307-f3c370f40bfb: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	google.golang.org/grpc@v1.29.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	gopkg.in/inf.v0@v0.9.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	gopkg.in/jcmturner/gokrb5.v7@v7.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	gopkg.in/mgo.v2@v2.0.0-20160818020120-3f83fa500528: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	gopkg.in/yaml.v2@v2.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	howett.net/plist@v0.0.0-20181124034731-591f970eefbb: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	k8s.io/api@v0.18.3: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	k8s.io/apimachinery@v0.18.3: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	k8s.io/client-go@v0.18.3: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	github.com/Azure/go-autorest: is replaced in go.mod, but not marked as replaced in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	github.com/Shopify/sarama: is replaced in go.mod, but not marked as replaced in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	github.com/cucumber/godog: is replaced in go.mod, but not marked as replaced in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	github.com/docker/docker: is replaced in go.mod, but not marked as replaced in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	github.com/docker/go-plugins-helpers: is replaced in go.mod, but not marked as replaced in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	github.com/dop251/goja: is replaced in go.mod, but not marked as replaced in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	github.com/fsnotify/fsevents: is replaced in go.mod, but not marked as replaced in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	github.com/fsnotify/fsnotify: is replaced in go.mod, but not marked as replaced in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	github.com/google/gopacket: is replaced in go.mod, but not marked as replaced in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	github.com/insomniacslk/dhcp: is replaced in go.mod, but not marked as replaced in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	github.com/tonistiigi/fifo: is replaced in go.mod, but not marked as replaced in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	golang.org/x/tools: is replaced in go.mod, but not marked as replaced in vendor/modules.txt
[2020-07-06T10:46:45.214Z] 	github.com/Shopify/sarama@v0.0.0-00010101000000-000000000000: is marked as replaced by github.com/elastic/sarama@v1.24.1-elastic.0.20200519143807-cbc80333a91e in vendor/modules.txt, but replaced by github.com/elastic/sarama@v1.19.1-0.20200629123429-0e7b69039eec in go.mod
[2020-07-06T10:46:45.214Z] 
[2020-07-06T10:46:45.214Z] run 'go mod vendor' to sync, or use -mod=mod or -mod=readonly to ignore the vendor directory
[2020-07-06T10:46:45.214Z] dev-tools/make/mage-install.mk:9: recipe for target 'mage' failed
[2020-07-06T10:46:45.214Z] make: *** [mage] Error 1

@kvch
Copy link
Contributor

kvch commented Jul 6, 2020

@kuisathaverat The branch is in an incorrect state at the moment. Turning off go modules is not the correct solution. We need to install it mage with modules enabled.

# Conflicts:
#	.ci/scripts/install-tools.bat
#	Jenkinsfile
#	auditbeat/make.bat
#	dev-tools/mage/fmt.go
#	dev-tools/mage/settings.go
#	dev-tools/make/mage-install.mk
#	filebeat/make.bat
#	heartbeat/make.bat
#	libbeat/make.bat
#	libbeat/scripts/Makefile
#	make.bat
#	metricbeat/make.bat
#	packetbeat/make.bat
#	winlogbeat/make.bat
#	x-pack/filebeat/make.bat
#	x-pack/winlogbeat/make.bat
Copy link
Contributor

@kvch kvch left a comment

Choose a reason for hiding this comment

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

Once changelog is updated and everything is green, merge.

@sayden sayden changed the title Update go version to go 1.14.3, remove -mod=vendor Update go version to go 1.14.3 Jul 6, 2020
@urso
Copy link

urso commented Jul 7, 2020

lint is failing. Check for usages of go mod. Unfortunately go1.14 changes a few things in the go mod command

@blakerouse
Copy link
Contributor Author

Setting go 1.14 in go.mod will make go default to vendoring. If you keep it as go 1.13 even though go 1.14 is being used it will keep using go modules.

@kvch
Copy link
Contributor

kvch commented Jul 8, 2020

@blakerouse We do not have vendor folder in our repositry. So go modules is not running in vendor mode.

When the main module contains a top-level vendor directory and its go.mod file specifies go 1.14 or higher, the go command now defaults to -mod=vendor for operations that accept that flag.

@kvch kvch mentioned this pull request Jul 8, 2020
6 tasks
@kvch kvch closed this in #19753 Jul 9, 2020
kvch added a commit that referenced this pull request Jul 9, 2020
## What does this PR do?

This PR adds support for Golang 1.14.4 in Beats. The dependency `golang.org/x/tools` is pinned to `release-branch.go1.14`.

The generated Beats no longer contain a vendor folder.

## Why is it important?

Go 1.14 has been out for quite some time. It is high time we update.

## Related issues

Closes #18829
Closes #16566
kvch added a commit to kvch/beats that referenced this pull request Jul 13, 2020
This PR adds support for Golang 1.14.4 in Beats. The dependency `golang.org/x/tools` is pinned to `release-branch.go1.14`.

The generated Beats no longer contain a vendor folder.

Go 1.14 has been out for quite some time. It is high time we update.

Closes elastic#18829
Closes elastic#16566

(cherry picked from commit 7580c72)
kvch added a commit that referenced this pull request Jul 13, 2020
This PR adds support for Golang 1.14.4 in Beats. The dependency `golang.org/x/tools` is pinned to `release-branch.go1.14`.

The generated Beats no longer contain a vendor folder.

Go 1.14 has been out for quite some time. It is high time we update.

Closes #18829
Closes #16566

(cherry picked from commit 7580c72)
melchiormoulin pushed a commit to melchiormoulin/beats that referenced this pull request Oct 14, 2020
## What does this PR do?

This PR adds support for Golang 1.14.4 in Beats. The dependency `golang.org/x/tools` is pinned to `release-branch.go1.14`.

The generated Beats no longer contain a vendor folder.

## Why is it important?

Go 1.14 has been out for quite some time. It is high time we update.

## Related issues

Closes elastic#18829
Closes elastic#16566
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Automation Label for the Observability productivity team Team:Services (Deprecated) Label for the former Integrations-Services team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Beats to Go 1.14
9 participants