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

Bug 2085187: terraform: revendor golang.org/x/sys #5896

Merged
merged 2 commits into from
May 29, 2022

Conversation

yselkowitz
Copy link
Contributor

This is necessary for these providers to build for Mac with Go 1.18.

golang/go#51706

@openshift-ci openshift-ci bot requested review from barbacbd and jstuever May 12, 2022 07:45
@barbacbd
Copy link
Contributor

Looks like the same versions were used from #5865

@barbacbd
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 12, 2022
@yselkowitz
Copy link
Contributor Author

/retest

@patrickdillon
Copy link
Contributor

Are there upstream fixes for this?

@yselkowitz
Copy link
Contributor Author

random: our version is behind, latest upstream version builds fine with 1.18
ignition: community-terraform-providers/terraform-provider-ignition#19

@patrickdillon
Copy link
Contributor

@yselkowitz your upstream ignition PR merged. Instead of revendoring x/sys locally can we bring in the new versions of these providers with the proper x/sys support?

Among other changes, this fixes the build on Mac OS with Go 1.18 by
revendoring golang.org/x/sys.
@yselkowitz
Copy link
Contributor Author

yselkowitz commented May 12, 2022

For ignition, no new version has been spun, but the revendoring would be the only upstream code change, so that still seems appropriate. For random, a rebase to v3.1.3 was more than I bargained for, but if you insist...

@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label May 12, 2022
@yselkowitz yselkowitz changed the title terraform: revendor golang.org/x/sys Bug 2085187: terraform: revendor golang.org/x/sys May 12, 2022
@openshift-ci openshift-ci bot added bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels May 12, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 12, 2022

@yselkowitz: This pull request references Bugzilla bug 2085187, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.11.0) matches configured target release for branch (4.11.0)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

No GitHub users were found matching the public email listed for the QA contact in Bugzilla ([email protected]), skipping review request.

In response to this:

Bug 2085187: terraform: revendor golang.org/x/sys

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@yselkowitz
Copy link
Contributor Author

/retest
/assign @patrickdillon

@yselkowitz
Copy link
Contributor Author

/retest

@yselkowitz
Copy link
Contributor Author

/assign @staebler

@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 19, 2022

@yselkowitz: GitHub didn't allow me to assign the following users: staebler.

Note that only openshift members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time.
For more information please see the contributor guide

In response to this:

/assign @staebler

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@yselkowitz
Copy link
Contributor Author

/assign @jstuever

@yselkowitz
Copy link
Contributor Author

/assign @patrickdillon @sdodson

@sdodson
Copy link
Member

sdodson commented May 26, 2022

@yselkowitz Do we ship builds built via this method or do we cross compile? Just trying to gauge urgency here.

@yselkowitz
Copy link
Contributor Author

yes, this affects the build of installer-artifacts, which is currently behind installer and the rest of OCP as a result.

@patrickdillon
Copy link
Contributor

@yselkowitz Do we ship builds built via this method or do we cross compile? Just trying to gauge urgency here.

This is urgent. ART is currently making an exception to build installer with go 1.18 until we get this merged. Thanks @yselkowitz for your work on this.

@patrickdillon
Copy link
Contributor

/test e2e-vsphere-upi

@patrickdillon
Copy link
Contributor

Azure uses the random provider and e2e-azure passed.
OpenStack uses ignition provider and it passed as well.

Testing vsphere-upi because it uses ignition, but through a different method than OpenStack.

/approve

Assuming ignition provider initializes with vsphere-upi we can LGTM

@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 26, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: patrickdillon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 26, 2022
@yselkowitz
Copy link
Contributor Author

@patrickdillon e2e-vsphere-upi passed

@patrickdillon
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 28, 2022
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 2 against base HEAD 62ed461 and 8 for PR HEAD afbae0f in total

@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 29, 2022

@yselkowitz: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/okd-e2e-aws afbae0f link false /test okd-e2e-aws
ci/prow/e2e-metal-assisted afbae0f link false /test e2e-metal-assisted
ci/prow/e2e-libvirt afbae0f link false /test e2e-libvirt
ci/prow/e2e-ibmcloud afbae0f link false /test e2e-ibmcloud
ci/prow/e2e-crc afbae0f link false /test e2e-crc
ci/prow/e2e-vsphere afbae0f link false /test e2e-vsphere

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yselkowitz
Copy link
Contributor Author

/retest-required

@openshift-merge-robot openshift-merge-robot merged commit 956c626 into openshift:master May 29, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 29, 2022

@yselkowitz: All pull requests linked via external trackers have merged:

Bugzilla bug 2085187 has been moved to the MODIFIED state.

In response to this:

Bug 2085187: terraform: revendor golang.org/x/sys

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

yselkowitz added a commit to yselkowitz/ocp-build-data that referenced this pull request May 29, 2022
The compile issue with 1.18 for darwin targets should be fixed by
openshift/installer#5896
@yselkowitz yselkowitz deleted the go118-darwin branch May 29, 2022 17:44
patrickdillon pushed a commit to patrickdillon/installer that referenced this pull request Oct 24, 2023
Bug 2085187: terraform: revendor golang.org/x/sys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants