-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 golang/x/[crypto|net|sys|text|tools] dependencies #6246
Update golang/x/[crypto|net|sys|text|tools] dependencies #6246
Conversation
This script updates one or all golang/x/<name> dependencies in the vendor folder. It calls `govendor` tool to update the dependencies to the specified version
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
WARNING: No version information found for: github.com/stretchr/objx
@ruflin there is a failing test in
When I run the test locally, I reproduce the same error. The simplified chinese string is actually decoded successfully.
this is after upgrading See golang/go#18898: |
After upgrading golang.org/x/text, All decoders should no longer return errors except for the opt-in error for UTF-16/32. Update the systen test case to try a broken UTF-16 string
test has been fixed and Travis is happy |
jenkins, test it |
@urso Could you have a look at the changes for the decoder? |
@cyrilleverrier Are the versions you picked the most recent once? I wonder as this is quite massive if we should update each dependency with a separate PR to better be able to track later some issue and nail it down to one dependency change. At the same time I'm hoping we don't hit any issues :-) @elastic/beats Any thoughts? |
@ruflin I used the latest versions. I think it's more appropriate to use the |
@cyrilleverrier Yes, definitively. I didn't even know they have go specific branches. |
python ./script/update_golang_x.py --revision release-branch.go1.9 net python ./script/update_golang_x.py --revision release-branch.go1.9 tools
|
Update of x/text LGTM. Happy it was not much effort. Last time we tried it didn't go that well. |
jenkins, test it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change LGTM. WFG (waiting for green).
@elastic/apm-server This change might also be relevant for you.
@cyrilleverrier There is one test on windows failing which might be related: https://beats-ci.elastic.co/job/elastic+beats+pull-request+multijob-windows/3090/beat=filebeat,label=windows/testReport/junit/test_harvester/Test/test_decode_error/ |
@ruflin I don't have a windows OS. Can someone else look into it ? |
@cyrilleverrier To move this forward, could you open 1 PR per lib update? I think the only blocking one is |
Individual PR have been submitted. Closing this one. |
Update golang/x/[crypto|net|sys|text|tools] dependencies in the vendor folder