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

OCPBUGS-24612: check for goexperimental >= 1.18 #143

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

rphillips
Copy link
Contributor

@rphillips rphillips commented Dec 8, 2023

Check for goexperimental with golang >= 1.18.

Fixed #81

@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Dec 8, 2023
@openshift-ci-robot
Copy link

@rphillips: This pull request references Jira Issue OCPBUGS-24612, which is invalid:

  • expected the bug to target the "4.16.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

Change the tags check to only run on <= 1.16.

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.

@openshift-ci openshift-ci bot requested review from kolyshkin and mrunalp December 8, 2023 13:42
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 8, 2023
@rphillips rphillips removed the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Dec 8, 2023
@joepvd
Copy link

joepvd commented Dec 8, 2023

Think the validator currently does not look at GOEXPERIMENT. This change potentially leads to saying FipsOrDie is enabled, when in reality, it is not.

@rphillips rphillips changed the title OCPBUGS-24612: change golang tags check to run only in <= 1.16 WIP: OCPBUGS-24612: change golang tags check to run only in <= 1.16 Dec 8, 2023
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 8, 2023
@openshift-ci-robot openshift-ci-robot added the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Dec 8, 2023
@openshift-ci-robot
Copy link

@rphillips: This pull request references Jira Issue OCPBUGS-24612, which is invalid:

  • expected the bug to target the "4.16.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

Change the tags check to only run on <= 1.16.

Fixed #81

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.

@rphillips rphillips changed the title WIP: OCPBUGS-24612: change golang tags check to run only in <= 1.16 OCPBUGS-24612: change golang tags check to run only in <= 1.16 Dec 8, 2023
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 8, 2023
@rphillips
Copy link
Contributor Author

This pr is ready. Passes on 4.14+.

@rphillips rphillips changed the title OCPBUGS-24612: change golang tags check to run only in <= 1.16 OCPBUGS-24612: check for goexperimental <= 1.16 Dec 8, 2023
@rphillips rphillips changed the title OCPBUGS-24612: check for goexperimental <= 1.16 OCPBUGS-24612: check for goexperimental >= 1.18 Dec 8, 2023
@joepvd
Copy link

joepvd commented Dec 8, 2023

Think the behavior with this change is:

-tags=strictfipsruntime GOEXPERIMENT=strictfipsruntime result
yes yes good
yes no bad
no yes bad
no no bad

I think the behavior should be:

-tags=strictfipsruntime GOEXPERIMENT=strictfipsruntime result
yes yes good
yes no good
no yes good
no no bad

@rphillips
Copy link
Contributor Author

Thanks. Updated the PR.

lint, test against 4.14 release

sync

blah

sync

sync
Copy link
Contributor

openshift-ci bot commented Dec 8, 2023

@rphillips: all tests passed!

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.

Copy link

@joepvd joepvd left a comment

Choose a reason for hiding this comment

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

Nice, thanks!

/lgtm

Copy link
Contributor

openshift-ci bot commented Dec 8, 2023

@joepvd: changing LGTM is restricted to collaborators

In response to this:

Nice, thanks!

/lgtm

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.

Copy link
Contributor

openshift-ci bot commented Dec 8, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: joepvd, rphillips

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

@rphillips rphillips removed the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Dec 8, 2023
@rphillips rphillips added the lgtm Indicates that a PR is ready to be merged. label Dec 8, 2023
@openshift-merge-bot openshift-merge-bot bot merged commit 3f6c44b into openshift:main Dec 8, 2023
@openshift-ci-robot
Copy link

@rphillips: Jira Issue OCPBUGS-24612: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-24612 has been moved to the MODIFIED state.

In response to this:

Check for goexperimental with golang >= 1.18.

Fixed #81

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.

}
}
return nil
}

Choose a reason for hiding this comment

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

Missing parentheses after bracket?: }()

Copy link
Contributor

Choose a reason for hiding this comment

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

I PR'd a change to fix this (execute the function): #240

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. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

go: binary has zero tags enabled (should have strictfipsruntime)
5 participants